- yum install yum-fastestmirror
- rpm -Uvh http://yum.opennms.org/repofiles/opennms-repo-stable-rhel5.noarch.rpm
- wget http://www.pgrpms.org/9.0/redhat/rhel-5-x86_64/pgdg-centos-9.0-2.noarch.rpm
- rpm -i pgdg-centos-9.0-2.noarch.rpm
- yum install postgresql90-server postgresql90-devel
- /etc/init.d/postgresql-9.0 initdb
- vi /var/lib/pgsql/9.0/data/pg_hba.conf, to change ident to trust for all local, IPv4, and IPv6.
- vi /var/lib/pgsql/9.0/data/postgresql.conf to modify work_mem, vacuum_cost_delay, wal_buffer, checkpoint_segment, etc to meet your need.
- /etc/init.d/postgresql-9.0 restart
- createdb -U postgres opennms
- wget http://sourceforge.net/projects/opennms/files/IPLIKE/stable-2.0/iplike-2.0.0.tar.gz
- tar xfz iplike-2.0.0.tar.gz
- cd iplike-2.0.0
- ./configure --with-pgsql=/usr/pgsql-9.0/bin/pg_config
- make
- make install
- /usr/local/sbin/install_iplike.sh
- psql -U postgres -h localhost -d opennms -c '\df+ iplike|head'
- yum install opennms --nogpgcheck
- /opt/opennms/bin/runjava -s
- /opt/opennms/bin/install -dis
- /etc/init.d/opennms start
Monday, February 28, 2011
Install OpenNMS with postgreSQL 9 on CentOS 5.5
Subscribe to:
Posts (Atom)