在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*