본문 바로가기

반응형

분류 전체보기

[리눅스] 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 * * .. 더보기
C276x260 php 임의의 패스워드 생성 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'.. 더보기
C276x260 crontab을 이용한 서버 시간 동기화 설정 crontab을 이용한 서버 시간 동기화 설정crontab을 이용해 서버 시간을 주기적으로 동기화하는 방법입니다.crontab 설정crontab 편집crontab -e00 03,15 * * * /usr/bin/rdate -s time.bora.net && /sbin/clock -w &> /dev/null00 : 분 (00분)03,15 : 시 (03시, 15시)* * * : 매일 실행rdate -s : 지정된 타임 서버와 시간 동기화clock -w : 시스템 시간을 하드웨어 시계(HW Clock)에 기록&> /dev/null : 표준 출력 및 에러 메시지 제거설정 확인crontab 등록 여부를 확인한다.crontab -l00 03,15 * * * /usr/bin/rdate -s time.bora.net &.. 더보기
C276x260 DNS 캐싱(caching) 유형 DNS 캐싱(caching) 유형 DNS 캐싱은 DNS(Domain Name System) 서버에서 이전에 수행한 DNS 조회 결과를 저장하여 미래의 조회에서 속도를 향상시키는 메커니즘입니다. DNS 캐싱은 일반적으로 세 가지 유형으로 나뉩니다. 캐싱(Caching) 긍정 캐싱(Positive Caching) 부정 캐싱(Negative Caching). DNS 캐시되지 않은 응답 DNS 캐시된 응답 1. 캐싱 (Caching) DNS 서버는 이전에 수행한 DNS 조회 결과를 메모리나 디스크와 같은 로컬 저장소에 저장합니다. 이는 동일한 조회가 반복될 때 재조회를 하지 않고 저장된 결과를 반환함으로써 네트워크 대역폭을 절약하고 조회 응답 시간을 단축시킵니다. 일반적으로 DNS 캐시의 만료 시간(TTL)을 .. 더보기
C276x260 rsync 소스 컴파일 설치 방법 rsync 소스 컴파일 설치 방법(xinetd 기반 Server/Client 구성)rsync 데몬 모드(rsync daemon)를 이용하여 서버–클라이언트 간 디렉터리를 동기화하는 방법입니다.테스트 환경OS : Linux (CentOS/RHEL 계열)rsync 버전 : 3.0.7통신 포트 : TCP 873rsync Server 설치(Source Build)rsync 소스 다운로드cd /usr/local/srcwget http://rsync.samba.org/ftp/rsync/rsync-3.0.7.tar.gz압축 해제 및 컴파일tar xvfz rsync-3.0.7.tar.gzcd rsync-3.0.7./configuremakemake install설치 완료 후 rsync 바이너리는 기본적으로 다음 경로에 .. 더보기

728x90
반응형