2009-01-11

opennms 1.6.1-1 quick start guide



本安装手册为纯命令版,如果有什么疑问清参考官方安装手册,或给本贴留言。

[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 开始安装:

  1. yum install yum-fastestmirror

  2. rpm -Uvh http://yum.opennms.org/repofiles/opennms-repo-snapshot-rhel4.noarch.rpm

  3. yum list opennms

  4. yum install opennms


[ post-install and config] 开始配置:

  1. export OPENNMS_HOME=/opt/opennms

  2. vi /var/lib/pgsql/data/pg_hba.conf

    1. 注释掉其中所有可用的行,加入下面三行
      local all all trust
      host all all 127.0.0.1/32 trust
      host all all ::1/128 trust



  3. /sbin/service postgresql restart

  4. /usr/java/jdk1.5.0_15/bin/java -version

  5. $OPENNMS_HOME/bin/runjava -S /usr/java/jdk1.5.0_15/bin/java

  6. $OPENNMS_HOME/bin/install -disU -l /usr/lib/jni:/usr/lib


[ startup opennms and login ]启动登录:

  1. /etc/init.d/opennms start

  2. http://localhost:8980/opennms

  3. username and password are admin/admin

  4. 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.

没有评论:

发表评论