Log-in as root and run the following commands.
yum -y install mysql mysql-server net-snmp net-snmp-utils
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: perl-DBI ######################### [1/8]
Installing: mysql ######################### [2/8]
Installing: net-snmp-libs ######################### [3/8]
Installing: perl-DBD-MySQL ######################### [4/8]
Installing: lm_sensors ######################### [5/8]
Installing: net-snmp ######################### [6/8]
Installing: net-snmp-utils ######################### [7/8]
Installing: mysql-server ######################### [8/8]
Check if MySQL is running.
service mysqld status
If it is not running start it.
service mysqld start
***DO NOT CHANGED THE ROOT MYSQL PASSWORD IT MUST BE BLANK FOR THE INSTALL TO WORK***
cd to the zenoss RPM and install.
rpm -Uvh zenoss-2.0.0-0.el5.i386.rpm
[root@dan ~]# rpm -Uvh zenoss-2.0.0-0.el5.i386.rpm
Preparing… ########################################### [100%]
1:zenoss ########################################### [100%]
Start snmpd.
/etc/init.d/snmpd start
Start zenoss.
/etc/init.d/zenoss start
[root@dan ~]# /etc/init.d/zenoss start
Zenoss not initialized. Performing first-boot initialization…
Stopping snmpd: [FAILED] <———– Not a problem, you did not do the “Start snmpd” step above.
Starting snmpd: [ OK ] <————– Problem fixed itself.
Stopping MySQL: [ OK ]
Starting MySQL: [ OK ]
Wrote file /opt/zenoss/etc/zeo.conf
Wrote file /opt/zenoss/bin/zeoctl
Changed mode for /opt/zenoss/bin/zeoctl to 755
Wrote file /opt/zenoss/bin/runzeo
Changed mode for /opt/zenoss/bin/runzeo to 755
Starting Zope Object Database
. daemon process started, pid=3355
Loading initial Zenoss objects into the Zeo database
(this can take a few minutes) <——————————————- Understatement of the year.
ZentinelPortal loaded at zport
Stopping Zope Object Database
. daemon process stopped
Zenoss initialization complete.
Daemon: zeoctl . daemon process started, pid=3409
Daemon: zopectl . daemon process started, pid=3413
Daemon: zenhub starting…
Daemon: zenping starting…
Daemon: zensyslog starting…
Daemon: zenstatus starting…
Daemon: zenactions starting…
Daemon: zentrap starting…
Daemon: zenmodeler starting…
Daemon: zenperfsnmp starting…
Daemon: zencommand starting…
Daemon: zenprocess starting…
Daemon: zenwin starting…
Daemon: zeneventlog starting…
Daemon: zenwinmodeler starting…
–22:19:25– http://localhost.localdomain:8080/zport/dmd/DeviceLoader/loadDevice?deviceName=localhost.localdomain&devicePath=/Server/Linux
Resolving localhost.localdomain… 127.0.0.1
Connecting to localhost.localdomain|127.0.0.1|:8080… connected.
HTTP request sent, awaiting response… 200 OK
Length: unspecified [text/html]
Saving to: `/dev/null’
[ <=> ] 11,880 3.20K/s in 3.6s
22:19:29 (3.20 KB/s) – `/dev/null’ saved [11880]
If you have a firewall open port 8080 inbound accept.
iptables -I RH-Firewall-1-INPUT -p tcp –dport 8080 -j ACCEPT
Now open a browser (firefox) and go to.
http://example.com:8080
Also check that everthing is set to start up after reboot. If not add it.
chkconfig –level 345 mysqld on
chkconfig –level 345 snmpd on
Tags:check, command, connection, databases, firewall, install, linux, mysql, passwords, port, ports, roots, servers, services, stop

