分类目录

Howto: 安装配置CentOS文件同步

Homepage: inotify-tools

master: the source host slave: the destination host

1. Download inotify-tools package and installation

master # cd ~ master # wget https://github.com/downloads/rvoicilas/inotify-tools/inotify-tools-3.14.tar.gz master # tar zxvf inotify-tools-3.14.tar.gz master # cd inotify-tools-3.14 master # ./configure master # make master # make install

2. Generate the SSH KEY to access without the password

master # [...]

Howto: Update php 5.1 to 5.2 in CentOS 5

使用yum升级php

# uname -a Linux hzserver2 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007 i686 i686 i386 GNU/Linux

# cat /etc/yum.repos.d/CentOS-Testing.repo [c5-testing] name=CentOS-5 Testing #baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/ baseurl=http://dev.centos.org/centos/5/testing/i386/ enabled=1 gpgcheck=1 gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing includepkgs=php*

# yum update php

Refer to: PHP 5.1 To 5.2

Howto: Installation & Config Cacti & Nagios

OS: Redhat AS 5 # uname -a Linux hzserver2 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007 i686 i686 i386 GNU/Linux

Installation # yum install net-snmp net-snmp-utils # yum install mrtg # yum install cacti # yum install nagios nagios-devel nagios-plugins nagios-plugins-all

Cacti Configuration # mysql -u root -p -e ‘create database [...]