출처 : http://www.osqna.com Cacti Install ~ Configure Cacti 의 작동원리 DATA 추출 -> DATA 저장 -> DATA 발표 Cacti 설치 요구사항 RRDTool 1.0.49 or 1.2.x or 그 이상 MySQL 4.1.x or 5.x or 그 이상 PHP 4.3.6 or 그 이상, 5.x 이상이 부가적 기능 이용할수 있고 추천한다고 한다. Apache 부가적으로 snmp host, agent (모니터링 대상 host는 반드시 snmp허용이 되어야한다.) rrdtool은 수동 설치방법에 대해서는 생략한다. snmp도 다 설치했다고 보고 생략한다. 수동설치가 귀찮은 사람은 이렇게 하면 된다. 여기 가면 왠만한 소스들은 모두 rpm 제공한다. 자주 애용하는 곳이다. http://dag.wieers.com/rpm/ url http://dag.wieers.com/rpm/packages/rrdtool/ 에 보면 최신 버전이 존재하므로 rpm 받아서 설치한다. wget http://dag.wieers.com/rpm/packages/rrdtool/perl-rrdtool-1.2.23-1.el5.rf.i386.rp
웹서버 비교리스트 링크 : http://en.wikipedia.org/wiki/Comparison_of_web_servers Server Developed by Cost (USD) Open source Software license Last stable version Release date Abyss Web ServerApreliumFree - $59Noproprietary2.62009-01-21And-httpdJames AntillFreeYesLGPL0.99.112006-09-11AOLserverNaviSoftFreeYesAOLserver Public License4.5.12009-02-02Apache HTTP ServerApache Software FoundationFreeYesApache License2.2.132009-08-08Apache TomcatApache Software FoundationFreeYesApache License6.0.202009-06-01AppWeb Web ServerEmbedthis SoftwareFree and Commercial VersionsYesGPL2.4.22008-03-14BadBlueWorking Resources
빈줄 삭제:g/^$/d # 해당 문자열이 들어간 라인 삭제설명 : 이 문자열이 들어간 라인은 모두 삭제:% g/문자열/d # 특정 문자열만 들어간 라인 삭제설명 : 문자열 앞 뒤로 < 와 > 를 감싸주면 해당 단어만을 의미한다.:% g/<문자열>/d
Setting static ports for NFS on LinuxThis document (7000524)is provided subject to the disclaimerat the end of this document. EnvironmentNovell SUSE Linux Enterprise Server 11Novell SUSE Linux Enterprise Server 10SituationIn some cases, especially for firewall considerations, static ports need to be set for NFS services. This can be more complex that initially thought, because NFS relies on a collection or various services. ResolutionOverview NFS services (v2 and v3) generally require 5 services be running an accessible through a firewall:portmappernfsdmountdlockdstatdIf there are firewalls be
############################# # 하드추가와 파티션 나누기 # 2005. 5. 11 이황배 # kosthb@gmail.com ############################# [root@112s /]# fdisk /dev/sdc ==> 세번째 하드 추가/파티션나누기 The number of cylinders for this disk is set to 4462. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): p ==> 하드 상태를 본다 "p" 엔터 isk /dev/sdc: 255 heads, 63 sectors, 4462 cylinders Unit
1. 천생연분 직장을 찾아라.진정 자기가 좋아하고 잘할 수 있는 일이 무엇인지 깊이 생각해 보고 직업 선택을 해야 한다. 미래는 고소득 직종이라는 말이 사라지고 어느 분야에서든 전문성과 차별성을 가진 사람이 살아남는 시대가 올 것이다.2. 맞춤형 전략을 갖자.인생이라는 그라운드를 뛰고 있는 우리에겐 자신의 일에서 성공을 쟁취하기 위한 꼼꼼한 전략이 필요하다. 주의해야 할 점은 남이 하는대로 무조건 따라하는 것이 아니라 자신을 먼저 파악하고 그에 맞는 전략을 세워야 한다는 것.3. 같은 꿈을 꾸는 사람들과 자주 만나라.20대는 많은 부류의 사람들과 어울릴 수 있는 시기다. 이때 자신과 같은 꿈을 갖고 있는 사람들과 만나는 게 중요하다. 정보를 함께 공유하고 꿈을 이루기 위한 여러 가지 방안도 함께 생각해 볼 수 있다.4. 외국어 공부하는 비법을 터득하라.글로벌 시대, 영어 공부의 중요성은 더 이상 설명할 필요가 없다. 영어공부는 치열한 생존수단이다. 영어 잘하는 것 하나만으로 더 좋은 조건의 직장을 찾을 수가 있고 몸값을 두 배로 받는 세상이다. 영어 실력은 부를 끌어 오는 적극적인 수단이다.5. 역할 모델을 따라해라.목표를 갖게 되었으면 목표를 이룬 사람을
하드디스크 속도체크 # 버퍼링되어 있지않은 데이터의 디스크 ACCESS 속도 검사 hdparm -t /dev/sda # 버퍼링되어 있는 데이터의 디스크 ACCESS속도 검사 hdparm -T /dev/sda # CD-ROM 드라이브 읽는속도 검사 hdparm -t /dev/cdrom
출처 : http://www.otl.ne.kr/tag/iptraf (1)IPTraf 이란 실시간 패킷 분석 프로그램으로 네트워크 인터페이스 별 모니터링과 각 프로토콜 별 송수신 패킷 전송량 측정, 송수신 IP 실시간 감시 등을 TEXT 그래픽 인터페이스로 제공하는 프로그램입니다. (2)다운로드 및 설치방법 -IPTraf 홈페이지 http://iptraf.seul.org/ ①홈페이지에 접속하셔서 직접 소스를 다운받아 서버에 옮기시거나 서버상에서 다음의 명령어를 입력하셔서 국내 사이트를 통해 다운로드 받습니다. [root@nextline ~]#wget http://www.superuser.co.kr/home/files/iptraf-3.0.0.tar.gz ②다운받은 파일을 tar 명령어를 이용하여 해제합니다. [root@nextline ~]#tar zxvf iptraf-3.0.0.tar.gz ③파일을 해제하고 생성된 디렉토리로 이동하여 ./Setup 명령어로 설치하여 줍니다. [root@nextline ~]#cd iptraf-3.0.0 [root@nextline iptraf-3.0.0]#./Setup (3) 실행 및 사용방법 설치가 완료 되었으면 프롬프트창
Is this ok [y/N]: y Downloading Packages Getting kernel-2.4.21-63.EL.i686.rpm kernel-2.4.21-63.EL.i686. 100% |=========================| 7.9 MB 09:56 warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 025e513b Error: Could not find the GPG Key necessary to validate pkg /var/cache/yum/update/packages/kernel-2.4.21-63.EL.i686.rpm Error: You may want to run yum clean or remove the file: /var/cache/yum/update/packages/kernel-2.4.21-63.EL.i686.rpm Error: You may also check that you have the correct GPG keys installed centos 기준으로 설명합니다. 우선 배포판 확인하기 cat /etc/*release 해결하기 배포판이 3.x 일 경우 :
# gd 소스 설치 tar xvfpz gd-2.0.33.tar.gzcd gd-2.0.33./configure --prefix=/opt/webapps/gd makemake install
출처는 http://www.ysy2080.com/uribury/1170 NFS? NFS는 Network File System의 약어로 다른 호스트에 있는 파일 시스템의 일부를 자신의 디렉토리처럼 사용할 수 있도록 해주는 것이다. 즉 하나의 서버에 디스크를 집중 관리하고 그것을 공유하여 나머지 시스템들이 사용할 수 있게 해주는 것이다. 1) nfs설정을 시작하기전에 nfs패키지들이 설치되어있는지 확인해보자 rpm -qa portmap rpm -qa nfs-utils 대부분 설치되어있으며, 설치가 안되어있을경우 간단히 yum install portmap nfs-utils 2)portmap과 nfs를 시작한다 /etc/init.d/portmap start /etc/init.d/nfs start ※반드시 portmap부터 시작 후 nfs를 시작해야 된다 nfs부터 시작 할 경우 NFS 쿼터를 시작 중: 서비스를 등록할 수 없습니다: RPC: 받을 수 없음; errno = 연결이 거부됨 rpc.rquotad: unable to register (RQUOTAPROG, RQUOTAVERS, udp 에러메시지 출력됨 3) NFS 서버의 공유 목록을 관리하는 파일은 /etc
############################# # 하드추가와 파티션 나누기 # 2005. 5. 11 이황배 # kosthb@gmail.com ############################# [root@112s /]# fdisk /dev/sdc ==> 세번째 하드 추가/파티션나누기 The number of cylinders for this disk is set to 4462. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): p ==> 하드 상태를 본다 "p" 엔터 isk /dev/sdc: 255 heads, 63 sectors, 4462 cylinders Unit