OpenNMS安裝----freebsd7.3

Building On FreeBSD7.3 From OpenNMS

環境
install Tomcat6
cd /usr/ports
make search key='tomcat'
找到install位置安裝

install PostgreSQL
參考資料庫安裝


下載OpenNMS
http://www.geeklan.co.uk/files/opennms/opennms-165-freebsd-port.tgz

解壓縮
tar -zxvf opennms-164-freebsd-port.tgz -C /usr/ports/net-mgmt/

要更新ports树,否则你安装会遇到很多麻烦

install opennms
cd /usr/ports/net-mgmt/opennms
make install

安装jdk
安装过程需要准备几个文件,缺的文件,系统会提示你去哪里下载,安装上面的提示下载就是了,比较麻烦。下载了以后把它们放到/usr/ports/distfiles/里面

安裝後的訊息!請跟著步驟作!

Once everything has been built & installed the following message will be shown on your screen:
1st run
${OPENNMSHOME}/bin/runjava -s------------->/usr/local/opennms/bin/runjava -s
Then create
${OPENNMSHOME}/etc/opennms.conf
& add
START_TIMEOUT=0 to it
then run
${OPENNMSHOME}/bin/install -dis
to initialise the DB
edit /etc/rc.conf & add
opennms_enable="YES"
& run
%%PREFIX%%/etc/rc.d/opennms start--------->/usr/local/etc/rc.d/opennms start
you should now be able to login to opennms by pointing your browser to
http://localhost:8980------------------>後來發現應http://localhost:8980/opennms/
u: admin
p: admin


Please make sure the hostname that your system is configured with is either resolvable via dns or locally via /etc/hosts
otherwise you will have issues trying to start OpenNMS.





[本日志由 tseng 于 2009-05-22 08:47 AM 编辑]
文章来自: 本站原创
引用通告: 查看所有引用 | 我要引用此文章
Tags: OpenNMS
评论: 0 | 引用: 0 | 查看次数: 6542
发表评论
昵 称:
密 码: 游客发言不需要密码.
内 容:
验证码: 验证码
选 项:
虽然发表评论不用注册,但是为了保护您的发言权,建议您注册帐号.
字数限制 1000 字 | UBB代码 开启 | [img]标签 关闭