OpenNMS安裝----freebsd7.3
作者:tseng 日期:2009-05-20
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.
環境
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.
评论: 0 | 引用: 0 | 查看次数: 6540
发表评论