首先安装必要的基础设施组件:
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
curl -O http://yum.postgresql.org/9.1/redhat/rhel-6-i386/pgdg-centos91-9.1-4.noarch.rpm rpm -ivh pgdg-centos91-9.1-4.noarch.rpm sudo yum -y install postgresql91-server初始化:
sudo service postgresql-9.1 initdb开机启动:
sudo chkconfig postgresql-9.1 on控制命令:
sudo service postgresql-9.1 start[stop, restart, reload]
作者:archimedes_zht 发表于2013-1-7 11:18:41 原文链接
阅读:50 评论:0 查看评论