本安装手册为纯命令版,如果有什么疑问清参考官方安装手册,或给本贴留言。
[install yum on your Linux box]
选择任意Linux系统,安装上yum工具,在命令行测试 yum -v
[testing internet connection with those two URL]
测试是否能上网,用浏览器分别打开这两个网址
先别关闭这两个网页。
[Install opennms 开始安装:
- yum install yum-fastestmirror
- rpm -Uvh http://yum.opennms.org/repofiles/opennms-repo-snapshot-rhel4.noarch.rpm
- yum list opennms
- yum install opennms
[ post-install and config] 开始配置:
- export OPENNMS_HOME=/opt/opennms
- vi /var/lib/pgsql/data/pg_hba.conf
- 注释掉其中所有可用的行,加入下面三行
local all all trust
host all all 127.0.0.1/32 trust
host all all ::1/128 trust
- 注释掉其中所有可用的行,加入下面三行
- /sbin/service postgresql restart
- /usr/java/jdk1.5.0_15/bin/java -version
- $OPENNMS_HOME/bin/runjava -S /usr/java/jdk1.5.0_15/bin/java
- $OPENNMS_HOME/bin/install -disU -l /usr/lib/jni:/usr/lib
[ startup opennms and login ]启动登录:
- /etc/init.d/opennms start
- http://localhost:8980/opennms
- username and password are admin/admin
- 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.
没有评论:
发表评论