| 1 | EL 5 RPM Installation Instructions |
|---|
| 2 | |
|---|
| 3 | These instructions are for installing the Zenoss RPM (Red Hat Package Manager). |
|---|
| 4 | This version works with Enterprise Linux version 5. Follow these steps on the |
|---|
| 5 | machine where you want to run Zenoss. Note: All commands should be run as root. |
|---|
| 6 | Also if you do have MySQL already installed please follow steps 1b and 2b |
|---|
| 7 | instead of 1a and 2a. |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | 1. The Yellow Dog Updater, Modified (YUM) is used to install several packages |
|---|
| 11 | Zenoss depends on in order to properly function. To run yum, issue the |
|---|
| 12 | following command: |
|---|
| 13 | |
|---|
| 14 | # yum -y install mysql mysql-server net-snmp net-snmp-utils gmp swig autoconf |
|---|
| 15 | |
|---|
| 16 | |
|---|
| 17 | 2. Download the latest Zenoss RPM from the SourceForge downloads page, and |
|---|
| 18 | install it using the following command: |
|---|
| 19 | |
|---|
| 20 | # rpm -ivh zenoss-2.2.0-0.el5.i386.rpm |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | |
|---|
| 24 | 3. Setup your MySQL access permissions or access details: |
|---|
| 25 | |
|---|
| 26 | MySQL freshly installed: Start MySQL and adjust the permissions |
|---|
| 27 | # /etc/init.d/mysqld restart |
|---|
| 28 | # /usr/bin/mysqladmin -u root password 'new-password' |
|---|
| 29 | # /usr/bin/mysqladmin -u root -h YOUR_SERVER_NAME -p password 'new-password' |
|---|
| 30 | |
|---|
| 31 | MySQL already installed on system: Edit the file /opt/zenoss/bin/zenoss_init_pre |
|---|
| 32 | and adjust MYSQLHOST, MYSQLROOTUSER and MYSQLROOTPASSWD accordingly. Then start |
|---|
| 33 | MySQL with: |
|---|
| 34 | |
|---|
| 35 | # /etc/init.d/mysqld restart |
|---|
| 36 | |
|---|
| 37 | |
|---|
| 38 | |
|---|
| 39 | 4. Start Zenoss using the command: |
|---|
| 40 | |
|---|
| 41 | # /etc/init.d/zenoss start |
|---|
| 42 | |
|---|
| 43 | |
|---|
| 44 | |
|---|
| 45 | 5. Several ports need to be open for Zenoss to operate. One option for doing |
|---|
| 46 | this is to disable the firewall: |
|---|
| 47 | |
|---|
| 48 | # service iptables stop # chkconfig iptables off |
|---|
| 49 | |
|---|
| 50 | Alternatively you can open the following ports in your firewall: |
|---|
| 51 | 8080 - HTTP access to the zenoss console |
|---|
| 52 | 514 - syslog |
|---|
| 53 | 162 - SNMP traps |
|---|
| 54 | |
|---|