在CentOS 6.2 安裝 Reconnoiter 監控系統首先安裝必要的基礎設施組件:
sudo yum -y install autoconf apr-devel apr-util-devel java-devel libssh2-devel libtermcap-devel libxslt-devel ncurses-devel net-snmp-devel openldap-devel openssl-devel pcre-devel postgresql-devel udns-devel uuid-devel zlib-devel libtool
源碼安裝protobuf-c
svn checkout http://protobuf-c.googlecode.com/svn/trunk/ protobuf-c-read-only
./autogen.sh
configure
make
sudo make install
然後下載編譯安裝:
git clone git://github.com/omniti-labs/reconnoiter.git
autoconf
./configure
make
sudo make install
安裝PostgresSQL數據庫:
http://wiki.postgresql.org/wiki/YUM_Installation
初始化:
sudo service postgresql-9.1 initdb
開機啟動:
sudo chkconfig postgresql-9.1 on
控制命令:
sudo service postgresql-9.1 start[stop, restart, reload]
刪除:
sudo yum -y erase postgresql91*