June 8,2009

My Saga of OpenNMS LiveCD / LiveUSB creation, using Fedora Revisor

(Originally posted to opennms-discuss@lists.sourceforge.net around April 22, 2009)

Hi,

Using revisor 2.1.3 on my Fedora 10, I've successfully re-spin a LiveCD with only Fedora base-system packages, plus OpenNMS packages from the repo mentioned in http://www.opennms.org/documentation/installguide.html

Also I use Fedora liveusb-creator to install this re-spin onto my 1G USB flash drive. It took 400+ MB of space, and I created a persistent storage of several hundred MBs.

After boot up with this re-spin, I use the above mentioned Installation Guide to do the *configuration*, i.e. configure postgresql, find java, run installer, modify discovery-configuration.xml, then viola! Since this is a text-only setup, I launched Firefox from another machine to access http://ip.address:8980/opennms/

The gotchas that I could recall:
1. You need to turn SELinux to permissive mode so that Revisor GUI could start.
2. In the GUI, you need to uncheck repo "updates-newkey" https://bugzilla.redhat.com/show_bug.cgi?id=474630 (Seems that this is fixed in Revisor 2.1.4 http://koji.fedoraproject.org/koji/buildinfo?buildID=96963)
3. Remember to set the discovery range: http://thread.gmane.org/gmane.network.opennms.install/4661

Future improvements:
a. Use kickstart %post script to do modify root password, configure postgresql, find java, run installer, modify discovery range, etc.
http://fedoraproject.org/wiki/Classroom/Creating_Fedora_Remix
b. Use CLI instead of Revisor GUI, or at least know how to save the Revisor configuration
c. Find a place to host the re-spin .iso file
d. Use CentOS instead of Fedora (Seems that Revisor package could be found in EPEL repo: http://kanarip.livejournal.com/6276.html )

Regards,
Austin (PowerOp)


Posted by ystuan at 樂多Roodo! │18:04 │回應(0)引用(0)自由軟體-網路管理
樂多分類:網路/3C 共同主題:自由軟體 工具:編輯本文
Ads by Roodo! 

引用URL

http://cgi.blog.roodo.com/trackback/9186527