Tag Archives: Yum
opennms 1.6.1-1 quick start guide
本安装手册为纯命令版,如果有什么疑问清参考官方安装手册,或给本贴留言。 [install yum on your Linux box] 选择任意Linux系统,安装上yum工具,在命令行测试 yum -v [testing internet connection with those two URL] 测试是否能上网,用浏览器分别打开这两个网址 http://www.martinliu.cn/2007/12/13/opennms-yum-install/ http://yum.opennms.org/repofiles/ 先别关闭这两个网页。 [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
OpenNMS的Yum的安装方式,安装简单了很多
OpenNMS网站的安装文档: http://www.opennms.org/index.php/Installation:Yum 下面是我在一个CentOS4的机器上按照上面文档安装的。 先浏览一下这个页面 http://yum.opennms.org/repofiles/ 找到适合你的OS的那一行。 我选择安装的是1.3.10-0.8030.snapshot 这是当前开发的最新版本的OpenNMS; 运行命令: rpm -Uvh http://yum.opennms.org/repofiles/opennms-repo-snapshot-rhel4.noarch.rpm 检查是否安装成功, 运行命令: yum list opennms ;我能看到如下输出结果 [root@jng-hkg-48-dyn3328831 ~]# yum list opennms Repository opennms-stable-common is listed more than once in the configuration Repository opennms-stable-rhel4 is listed more than once in the configuration Setting up repositories Reading repository metadata in from local files Available Packages
Install Smokeping via yum
From : http://ai.net.nz/horde/wicked/display.php?page=SmokePing Install needed packages rrdtool yum install rrdtool perl-CGI-SpeedyCGI yum install perl-CGI-SpeedyCGI fping yum install fping Or do them all together: yum install rrdtool perl-CGI-SpeedyCGI fping Smokeping wget http://people.ee.ethz.ch/~oetiker/webtools/smokeping/pub/smokeping-2.0.9.tar.gztar xvzf smokeping-2.0.9.tar.gzmv smokeping-2.0.9 /usr/local/smokepingchown -R root:root /usr/local/smokeping cd /usr/local/smokeping/binfor foo in *.dist; do cp $foo `basename $foo .dist`; done cd /usr/local/smokeping/etc/for foo in *.dist;