Zenoss Install on Debian Etch

Just a quick cheat-sheet for myself:

# aptitude install mysql-server libmysqlclient15-dev python-dev build-essential swig autoconf snmp bind9-host python-setuptools
# adduser zenoss
# mkdir /usr/local/zenoss
# chown zenoss /usr/local/zenoss
# su - zenoss

$ vi ~/.bashrc # add a few env vars:

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

$ source ~/.bashrc
$ wget http://downloads.sourceforge.net/zenoss/zenoss-2.1.2-0.tar.gz
$ tar xzf zenoss-2.1.2-0.tar.gz
$ cd zenoss-2.1.2/
$ ./install.sh # logout as zenoss

# chown root:zenoss /usr/local/zenoss/bin/zensocket
# chmod 04750 /usr/local/zenoss/bin/zensocket

http://hostname:8080/zport/dmd 🙂

as the zenoss user to {start|stop|restart|status|list} the zenoss services:
$ $ZENHOME/bin/zenoss start
$ $ZENHOME/bin/zenoss status

Read zenoss-2.1.2/INSTALL.txt for further notes on sysctl settings, etc.. Other configurations *should* be done in a production environment – this was only a quick scratch install for testing.