전체 글 썸네일형 리스트형 [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.. 더보기 [리눅스] CentOS NET install 설치하기 centos.org 사이트에서 CentOS-x.x-i386-netinstall.iso 파일을 다운로드 리눅스 부팅 후 INSTALL METHOD : FTP 선택. Web Site Name : ftp.sayclub.co.kr CentOS Directory : /pub/centos/5.3/os/i386 Web Site Name : ftp.daum.net CentOS Directory : /centos/5.3/os/i386 INSTALL METHOD : HTTP 선택. Web site name : centos.mirror.cdnetworks.com CentOS directory : /5.5/os/i386/ 더보기 [리눅스] 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 * * .. 더보기 [랜덤] 임의의 패스워드 생성 php 임의(랜덤)의 패스워드 생성 vim passwdcreate.php 더보기 [리눅스] 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... 더보기 [보안] rootkit hunter (rkhunter) 설치 1. Rootkit 설치 옵션 설정 Rootkit Hunter installer 1.2.13 Usage: ./installer.sh Ordered valid parameters: --help (-h) : Show this help. --examples : Show layout examples. --layout : Choose installation template. The templates are: - default: (FHS compliant; the default) - /usr - /usr/local - oldschool: old version file locations - custom: supply your own installation directory - RPM: for building RPM'.. 더보기 [crontab] 시간 동기화 [crontab] 시간 동기화 [root@scbyun slave]# crontab -e 설정 00 03,15 * * * /usr/bin/rdate -s time.bora.net && clock -w &> /dev/null [root@scbyun slave]# crontab -l 확인 00 03,15 * * * /usr/bin/rdate -s time.bora.net && clock -w &> /dev/null 더보기 이전 1 ··· 202 203 204 205 206 207 208 ··· 223 다음