Blog Small
Travel
Journal
When, while the lovely valley teems with vapour around me, and the meridian sun strikes the upper surface of the impenetrable foliage of my trees.
vi color vi로 파일을 열때 특정 option이 자동수행되게 하려면 ~/.vimrc에 option을 미리 지정하면 됩니다. 예를들어, 라인번호가 항상 나오게 하려면 set number 라는걸 ~/.vimrc에 넣어놓으면 됩니다. 색깔 지정하는걸 Syntax Highlighting이라 하는데 :syntax on 하여 색상이 나오지 않으면 vi가 다 설치되지 않은것입니다. root로 로긴 후 # rpm -qa | grep vim-enhanced 라 하여 아무것도 나오지 않으면 vim-enhanced를 설치해 주어야 합니다. 현시스템에 인스톨 되어 있는 목록 [root@roomie001 install]# rpm -qa |grep vim vim-enhanced-6.3.046-0.40E.7 vim-common-6.3.046-0.40E.7 vim-minimal-6.3.046-0.40E.7 vim-X11-6.3.046-0.40E.7 http://www.rpmfind.net <= 여기 가서 알맞는 버젼을 찾아보십시오. 설치 완료후엔 재접속 하십시오.^^; 컬러설정 확인 ※ 컬러 설정을 했을때 컬러부분의 문장에 언더라인으로 표시되는것은 화면이 […]
bind-9.3.6-4.P1.el5_4.2 설치 yum -y install bind\* 하시면 bind에 대한건 다 설치합니다. 또는 # yum -y install bind bind-libs ypbind yp-tools bind-utils bind-chroot bind-devel 하세요. yum -y install caching-nameserver 설치하면 설정 파일이 생성됩니다. 2개 명령으로 설치 완료 입니다^^ 외부 포트허용 # iptables -A INPUT -p tcp -m tcp –sport 53 -j ACCEPT # iptables -A INPUT -p tcp -m udp –sport 53 -j ACCEPT vi /etc/named.caching-nameserver.conf 화일을 열어서 몇가지 수정해주면 됩니다. options { listen-on port 53 { 127.0.0.1; }; >> listen-on port 53 […]
1. /etc/named.conf options { directory “/var/named”;}; controls { inet 127.0.0.1 port 953 allow { localhost; } keys { rndckey; };}; zone “.” { type hint; file “named.ca”;}; zone “0.0.127.in-addr-arpa” { type master; file “named.local”;};zone “webhost.co.kr” { type slave; file “webhost.zone”; masters { 110.45.100.2; //마스터 ip address };}; include “/etc/rndc.key”; 2. named.local 과 named.ca 준비 /var/namednamed.localnamed.ca 3. 1차네임서버에서 2차서버 ip 허용 vi named.conf controls { inet 127.0.0.1 port 953 allow { localhost; 110.45.100.3; } keys { rndckey; }; }; 110.45.100.3 은 2차네임서버이다. 4. […]
bind 소스받기 https://www.isc.org/ 상단첫번째 DOWNLOADS > BIND 에서 최신버전 tar.gz 다운로드 1. 파일 다운로드 받고 컴파일 하기 # gzip -dc bind-9.3.0.tar.gz | tar xvf –# cd bind-9.3.0# ./configure # make# make install 2. /etc/rndc.key 생성하기 solaris10[/bind/bin/rndc] # ./rndc-confgen -a -k rndckeysolaris10[/bind/bin/rndc] # cat /etc/rndc.key# Start of rndc.confkey “rndckey” { algorithm hmac-md5; secret “Y9iC3cahZ7I3+3NrtlG6nQ==”;};생성 끝. 3. /etc/named.conf 구성하기====================================================== vi /etc/named.conf // generated by named-bootconf.pl options { directory “/var/named”; /* * If there is a firewall between you and nameservers you want * to talk to, you might need to uncomment […]
rocky linux8 ssh 에서 한국어 언어설정입니다. # vim /etc/locale.conf LANG=”ko_KR.UTF8″ 저장후 # source /etc/locale.conf 또는 서버 reboot 설정확인하기 # localectl status System locale: LANG=ko_KR.UTF8 VC keymap: us X11 Layout: us # 작성일자 : 2025.03.20
