본문 바로가기

변상철

[리눅스] [error] ucspi-tcp-0.88 make 오류 | exec: gcc: not found ./choose clr trypoll iopause.h1 iopause.h2 > iopause.h ./choose clr tryulong64 uint64.h1 uint64.h2 > uint64.h ./compile tcpserver.c ./compile: line 3: exec: gcc: not found make: *** [tcpserver.o] 오류 127 [해결] # yum -y install gcc gcc-c++ 더보기
[BIND] bind-9.9.3rc2 소스 컴파일 # wget http://ftp.isc.org/isc/bind9/9.9.3rc2/bind-9.9.3rc2.tar.gz # ./configure --prefix=/usr/local/bind9.9.3rc2 --sysconfdir=/etc --localstatedir=/var # make # make isntall 더보기
BIND DNS에서 TSIG를 설정하는 방법 BIND DNS에서 TSIG를 설정하는 방법 DNS 역할 아이피 주소 도메인 비고 Master 192.168.56.51 ns1.bind.sangchul.kr Slave 192.168.56.52 ns2.bind.sangchul.kr 도메인 위임 1. TSIG 키 생성 (마스터 - node1) Kexample.cohttp://m.+165+12345.key 및 Kexample.com.+165+12345.private와 같은 두 파일을 생성합니다. 2. 생성된 TSIG 키 확인 (마스터 - node1) 3. 마스터 BIND 구성 파일 편집 (node1) 다음과 같이 TSIG 키를 추가합니다. 4. BIND 서버 재시작 (마스터 - node1) 5. 슬레이브 BIND 구성 파일 편집 (node2) 다음과 같이 T.. 더보기
[Cacti] cacti 설치 2 cacti 설치 - OS 설치 - 기본 보안 설정 - APM 설치 - net-snmp 설치 yum -y install net-snmp net-snmp-devel net-snmp-utils net-snmp-libs 환경 설정 export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig - rrdtool 설치 시 필요한 라이브러리 설치 yum -y install pango pango-devel cairo cairo-devel libart_lgpl libart_lgpl-devel - rrdtool 설치 $ ./configure --prefix=/usr/local/rrdtool --bindir=/usr/local/bin --sbindir=/usr/loc.. 더보기
[Cacti] cacti 설치1 APM 설치 1. apache 설치 # yum -y install httpd 2. mysqㅣ 설치 # yum -y install mysql mysql-server mysql-devel 3. 필요 라이브러리 설치 # yum -y install gd gd-devel libpng libpng-devel libjpeg libjpeg-devel freetype freetype-devel fontconfig fontconfig-devel libxml2 libxml2-devel openssl openssl-devel gmp gmp-devel mhash mhash-devel libmcrypt libmcrypt-devel 4. php 및 php-mysql 연동 설치 # yum -y install php php-mysql.. 더보기
[리눅스] sysstat (sar) sysstat (sar) ## 소스 설치 http://pagesperso-orange.fr/sebastien.godard/download.html wget http://pagesperso-orange.fr/sebastien.godard/sysstat-9.0.5.tar.gz [root@localhost sysstat-9.0.5]# ./configure [root@localhost sysstat-9.0.5]# make [root@localhost sysstat-9.0.5]# make install [root@localhost sysstat-9.0.5]# cat /etc/cron.d/sysstat #run system activity accownting tool every to minutes */10 * * .. 더보기
[리눅스] localtime 한국(서울)로 변경하기 localtime 한국(서울)로 변경하기 localtime # ls -al /etc/localtime -rw-r--r-- 1 root root 3519 Feb 26 2006 /etc/localtime 한국(서울) localtime 으로 변경하기 # ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime # ls -al /etc/localtime lrwxrwxrwx 1 root root 30 May 15 01:02 /etc/localtime -> /usr/share/zoneinfo/Asia/Seoul 시간 동기화 rdate -s time.bora.net && clock -w 더보기
[Cacti] cacti Patches [0.8.7g] Download Official Patches [0.8.7g] // 0.8.7g 패치 wget http://www.cacti.net/downloads/patches/0.8.7g/data_source_deactivate.patch wget http://www.cacti.net/downloads/patches/0.8.7g/graph_list_view.patch wget http://www.cacti.net/downloads/patches/0.8.7g/html_output.patch wget http://www.cacti.net/downloads/patches/0.8.7g/ldap_group_authenication.patch wget http://www.cacti.net/downloads/patches/0... 더보기