注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 linux服务器被黑了
 帮助
2008-06-12 21:52:07
最近想做监控,于是打起了OPENNMS的主意。到OPENNMS官方网站上找到官方文档,其中YUM安装方式还是最容易。下面都是安装步骤(基本上都是官网英文资料):

环境:CentOS 5.1

1.[user@localhost]$ sudo yum install yum-fastestmirror
Setting up Install Process
...
Running Transaction
  Installing: yum-fastestmirror         ######################### [1/1]

Installed: yum-fastestmirror.noarch 0:1.1.9-2.fc8
Complete!
2. rpm -Uvh http://yum.opennms.org/repofiles/opennms-repo-unstable-rhel5.noarch.rpm

3.[user@localhost]$ sudo yum list opennms
...
Available Packages
opennms.noarch                   1.3.7-0.7377       opennms-snapshot

4.[user@localhost]$ sudo yum -y install postgresql-server
Setting up Install Process
...
Running Transaction
  Installing: postgresql-server         ######################### [1/1]

Installed: postgresql-server.x86_64 0:8.2.5-1.fc8
Complete!
5.[user@localhost]$ sudo yum install opennms
...
Setting up repositories
opennms-snapshot-rhel5   100% |=========================| 1.1 kB   00:00  
opennms-unstable-common   100% |=========================| 1.1 kB   00:00  
opennms-stable-common   100% |=========================| 1.1 kB   00:00  
opennms-unstable-rhel5   100% |=========================| 1.1 kB   00:00  
...
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for opennms to pack into transaction set.
opennms-1.3.7-0.7377.noar 100% |=========================| 5.4 kB   00:00  
---> Package opennms.noarch 0:1.3.7-0.7377 set to be updated
--> Running transaction check
--> Processing Dependency: opennms-core = 1.3.7-0.7377 for package: opennms
..
Dependencies Resolved

=============================================================================
Package           Arch     Version       Repository     Size
=============================================================================
Installing:
opennms           noarch   1.3.7-0.7377   opennms-snapshot-common 5.9 k
Installing for dependencies:
jicmp             i386     1.0-1         opennms-stable-rhel5   31 k
opennms-core         noarch   1.3.7-0.7377   opennms-snapshot-common   48 M
opennms-webapp-jetty   noarch   1.3.7-0.7377   opennms-snapshot-common   27 M
postgresql         i386     8.1.9-1.el5     updates       2.8 M
postgresql-server     i386     8.1.9-1.el5     updates       4.0 M

Transaction Summary
=============================================================================
Install     6 Package(s)      
Update     0 Package(s)      
Remove     0 Package(s)      

Total download size: 82 M
Is this ok [y/N]: y
Downloading Packages:
(1/6): opennms-core-1.3.7 100% |=========================| 48 MB   03:57  
...
Running Transaction
  Installing: postgresql             ######################### [1/6]
  Installing: postgresql-server         ######################### [2/6]
  Installing: jicmp                 ######################### [3/6]
  Installing: opennms-core           ######################### [4/6]
  Installing: opennms-webapp-jetty       ######################### [5/6]
  Installing: opennms               ######################### [6/6]
- moving *.sql.rpmnew files (if any)... done
- checking for old update files... done

*** Installation complete. You must still run the installer and
*** make a few other changes before you start OpenNMS. See the
*** install guide and release notes for details.

Installed: opennms.noarch 0:1.3.7-0.7377
Dependency Installed: jicmp.i386 0:1.0-1 opennms-core.noarch 0:1.3.7-0.7377 opennms-webapp-jetty.noarch 0:1.3.7-0.7377 postgresql.i386 0:8.1.9-1.el5 postgresql-server.i386 0:8.1.9-1.el5
Complete!
7.export OPENNMS_HOME=/opt/opennms

8.local   all       all                     trust
host   all       all       127.0.0.1/32       trust
host   all       all       ::1/128           trust
9.install_iplike.sh
10.$OPENNMS_HOME/bin/runjava -s
11.$OPENNMS_HOME/bin/runjava -S /usr/java/jdk1.5.0_12/bin/java

12.$OPENNMS_HOME/bin/install -dis
13.sudo /etc/init.d/opennms start

14.http://yourhost:8980/opennms/
[未完待续]




2008-05-29 10:37:58
    万众期待下,Windows XP sp3终于出来了,抢着第一时间,打上了SP3,结果却是不免有所失望。

      1.由于我公司网络使用了802.1x身份验证协议来对公司电脑进行身份验证,如果有验证成功可以登陆公司网络,如果验证失败则无法登陆公司网络。在Windows XP sp2下这个验证系统安全稳定的运行了很长一段时间。sp3的出现却让我郁闷至极:安装完XP sp3后,我发现在802.1x身份验证这一块,Microsoft将其分为了有线和无线两个服务来运行,其分别对应"Wired AutoConfig"和"Wireless Zero Configuration"两个服务。在SP2中,无论是无线还是有线都由"Wireless Zero Configuration"提供服务。开启"Wired AutoConfig"服务后,在本地连接中设置好验证选项,连上网络,刚开始验证通过,但第二次验证时,总是失败,使用很多方法仍然不行。最终无奈之下,将SP3卸载,在SP2下使用802.1X身份验证,一切正常。致电Microsoft客服中心,所给的解决方案全部失败。公司成百上千台电脑目前只能卸载SP3,这是一个极大的工作量,郁闷中。

    2.公司使用WMWARE虚拟化技术,当在XP SP3上安装VMWARE CLIENT是没有任何响应,无法安装,遂尝试安装VMWARE WORKSTATION,安装过程一切正常,安装完成后运行程序,还是无法运行,点击图标没有任何反应。最后找来一台SP2的机器,同样的环境再安装WMWARE CLIENT和WMWARE WORKSTATION,一切正常。目前没有找到原因。

    SP3的到来不但没有让我感觉XP有任何的改进,反而是让我进退两难。就我个人而言,SP3还真是鸡肋!



2008-05-03 19:58:00



2008-04-28 19:08:16



2008-04-27 00:25:46



2008-04-27 00:19:38



2008-04-27 00:00:03



2008-04-25 17:31:51



2008-04-25 17:28:53