I am using the Zenoss version: 3.1.0, System version: RHEL6.4
Installation Preparation
First, the installation of Zenoss requires support from software such as MySQL and SNMP, using Yum to install:
Yum-y install MySQL mysql-server net-snmp net-snmp-utils mysql-devel
After MySQL is installed, make sure you can log in using the root user.
Service mysqld Restart
Mysql-u root-p
In addition, after the installation process may be prompted to need autoconf,svn,gcc-c++ and other software, yum installation.
Start installation
First create a new Zenoss User:
Useradd Zenoss
Set Environment variables:
Vim/etc/profile
Add at end of file
Export Zenhome=/usr/local/zenoss
Export Pythonpath= $ZENHOME/lib/python
Export path= $ZENHOME/bin:/$ZENHOME/sbin: $PATH
The source command is required to make it effective:
Source/etc/profile
Create a Zenoss working directory and make it a master Zenoss account:
mkdir/usr/local/zenoss/
chmod Zenoss/usr/local/zenoss
Download the Zenoss installation package (e.g. wget):
cd/tmp/
wget http://downloads.sourceforge.net/zenoss/zenoss-3.1.0.tar.gz
TAR-ZXVF zenoss-3.1.0.tar.gz
CD zenoss-3.1.0
./install.sh
There is a step in the installation process that asks you: does want me to keep your existing database? (y/n)
Select N to create a new database to use for the Zenoss.
Finally, modify the properties for the Zensocket directory:
Chown Root:zenoss/usr/local/zenoss/bin/zensocket
chmod 04750/usr/local/zenoss/bin/zensocket
To open Zenoss with a script:
/usr/local/zenoss/bin/zenoss restart
After a long wait, enter the host address in the browser: 8080, you can use.
The installation was successful.
Install Zenoss under Linux