opennms 1.6.1-1 quick start guide

字数:300 |大约阅读时间 1 分钟
标签: OpenNMS   Yum  

本安装手册为纯命令版,如果有什么疑问清参考官方安装手册,或给本贴留言。[install yum on your Linux box]选择任意Linux系统,安装上yum工具,在命令行测试 yum -v[testing internet connection with those two URL]测试是否能上网,用浏览器分别打开这两个网址

  1. http://www.martinliu.cn/2007/12/13/opennms-yum-install/
  2. http://yum.opennms.org/repofiles/ 先别关闭这两个网页。[Install opennms 开始安装:
  3. yum install yum-fastestmirror
  4. rpm -Uvh http://yum.opennms.org/repofiles/opennms-repo-snapshot-rhel4.noarch.rpm
  5. yum list opennms
  6. yum install opennms [ post-install and config] 开始配置:
  7. export OPENNMS_HOME=/opt/opennms
  8. vi /var/lib/pgsql/data/pg_hba.conf 1. 注释掉其中所有可用的行,加入下面三行local all all trusthost all all 127.0.0.1/32 trusthost all all ::1/128 trust
  9. /sbin/service postgresql restart
  10. /usr/java/jdk1.5.0_15/bin/java -version
  11. $OPENNMS_HOME/bin/runjava -S /usr/java/jdk1.5.0_15/bin/java
  12. $OPENNMS_HOME/bin/install -disU -l /usr/lib/jni:/usr/lib [ startup opennms and login ]启动登录:
  13. /etc/init.d/opennms start
  14. http://localhost:8980/opennms
  15. username and password are admin/admin
  16. click Admin / Add Interface, input a ipaddress and press Add button OK, I have get oepnnms 1.6.1-1 installed on my home pc, I hope you good luck and have fun.
DevOps教练在知乎

See Also