Installing Zenoss on Ubuntu 10.04

Zenoss (Network Monitoring and IT Management tool) has been running with Python2.4 for quite a while now, making it impossible to be run in a few Ubuntu releases. However, this has now changed. Few days ago they announced the migration of Zenoss to Python 2.6. Please see the announcement here.

If you wish to help testing, you can refer to this Ubuntu Installation Notes, or do the following:

First we need to install the necessary dependencies:

$ sudo apt-get install rsync python-dev build-essential make bzip2 sudo sysv-rc-conf snmpd swig autoconf mysql-server-5.0 libmysqlclient15-dev libmysqlclient15off ttf-liberation ttf-linux-libertine unzip subversion librrd4

Second, we need to create the zenoss user, and create the destination path with the right permissions:

$ sudo adduser zenoss
$ sudo mkdir /usr/local/zenoss
$ sudo chown zenoss /usr/local/zenoss

Third, we need to configure the environment for zenoss user. So, we need first to log in as the zenoss user:

$ sudo -i -u zenoss

Then add the following to .bashrc

export ZENHOME=/usr/local/zenoss
export PYTHONPATH=$ZENHOME/lib/python
export PATH=$ZENHOME/bin:$PATH

And reload .bashrc
$ source .bashrc

Fourth, we obtain the trunk while logged into the zenoss user:

$ svn co http://dev.zenoss.org/svn/trunk/inst zenossinst

Finally, we install zenoss.

$ cd zenossinst
$ ./install.sh

This entry was posted in Planet, Ubuntu and tagged , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

2 Comments