OpenNMS 1.7.0-SNAPSHOT 安裝筆記
Date: 2008/11/28
Platform: Fedora 9 on VMware Workstation 6.0.5 (Memory 512MB)
依照http://www.opennms.org/documentation/installguide.html 步驟操作,附上畫面抓圖。
1) 安裝Yum Fastest Mirror Plugin
圖001 Yum Fastest Mirror Plugin 開始安裝
![]()
圖002 Yum Fastest Mirror Plugin 安裝完成
![]()
2) 安裝OpenNMS Repository RPM
圖003 OpenNMS Repository RPM 開始安裝
![]()
圖004 OpenNMS Repository RPM 安裝完成
![]()
3) 安裝 Java
圖007 jdk 開始安裝
![]()
圖008 確定安裝
![]()
圖009 確定安裝key
![]()
圖010 安裝完成
![]()
4) 安裝postgresql-server
圖011 開始安裝
![]()
圖012 安裝完成
![]()
5) 設定postgresql-server
圖013 /var/lib/pgsql/dat 是空的
![]()
圖014 執行postgresql initdb
![]()
圖015 執行postgresql initdb成功
![]()
圖016 /var/lib/pgsql/dat 起始資料產生了
![]()
圖017 編輯postgresql.conf
![]()
圖018 找listen_addresses
![]()
圖019 確認listen_addresses = ‘localhost’
![]()
圖020 找max_connections
![]()
圖021 改為256
![]()
圖022 找shared_buffers
![]()
圖023 改為1024
![]()
圖024 儲存postgresql.conf
![]()
圖025 編輯pg_hba..conf
![]()
圖027 將 ‘ident sameuser’ 改為 ‘trust’ (共3個)並儲存
![]()
圖029 啟動postgresql
![]()
圖030 postgresql啟動成功
![]()
6) 安裝JICMP
圖031 開始安裝JICMP
![]()
圖032 確認安裝
![]()
圖033 安裝完成
![]()
7) 安裝OPENNMS
圖034 開始安裝OPENNMS
![]()
圖035 確認安裝
![]()
圖036 安裝完成
![]()
8) 設定JAVA
圖037 尋找JRE
![]()
9) 執行OPENNMS INSTALLER
圖038 執行OPENNMS INSTALLER
![]()
圖039 安裝完成
![]()
10) 啟動OPENNMS
圖040 啟動postgresql
![]()
圖041 postgresql啟動成功後,啟動opennms
![]()
圖042 opennms啟動成功
![]()
圖043 防火牆port 8980 tcp打開
![]()
圖044 成功
![]()
圖045 設定開機後就啟動opennms
![]()
圖046 觀看系統設定
![]()
11) 後記
去年安裝opennms 1.3版失敗,就安裝CACTI來使用,現在嘗試1.7版成功,太好了。1.7版的安裝比較簡單。接下來要設定網路資料,完成後再和CACTI做個比較。