본문 바로가기

전체 글

[리눅스] 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 더보기
DNS 캐싱(caching) 유형 DNS 캐싱(caching) 유형 DNS 캐싱은 DNS(Domain Name System) 서버에서 이전에 수행한 DNS 조회 결과를 저장하여 미래의 조회에서 속도를 향상시키는 메커니즘입니다. DNS 캐싱은 일반적으로 세 가지 유형으로 나뉩니다. 캐싱(Caching) 긍정 캐싱(Positive Caching) 부정 캐싱(Negative Caching). DNS 캐시되지 않은 응답 DNS 캐시된 응답 1. 캐싱 (Caching) DNS 서버는 이전에 수행한 DNS 조회 결과를 메모리나 디스크와 같은 로컬 저장소에 저장합니다. 이는 동일한 조회가 반복될 때 재조회를 하지 않고 저장된 결과를 반환함으로써 네트워크 대역폭을 절약하고 조회 응답 시간을 단축시킵니다. 일반적으로 DNS 캐시의 만료 시간(TTL)을 .. 더보기
[리눅스] rsync 설치 [rsync Server 설치] [root@sangchul src]# wget http://rsync.samba.org/ftp/rsync/rsync-3.0.7.tar.gz [root@sangchul src]# tar xvfz rsync-3.0.7.tar.gz [root@sangchul rsync-3.0.7]# ./configure [root@sangchul rsync-3.0.7]# make [root@sangchul rsync-3.0.7]# make install [root@sangchul rsync-3.0.7]# vi /etc/xinetd.d/rsync # default: off # description: The rsync server is a good addition to an ftp server, .. 더보기

반응형