Hey guys, This is my guide for installing Zenoss on SuSE. I found that the one in the actual "How To" section didn't work for us so I set out to make my own.
Special thanks to both Bothunbr and Malvin for their previous work on the subject. HowTo Install Zenoss on Suse Linux Enterprise Server 10.1 Preparation 1. Turn of software firewall 2. Make sure you are logged in as root Code: su 3. Install dependencies via yast Code: yast -i openssl openssl-devel net-snmp perl-Digest-HMAC perl-DBI perl-Net-SNMP perl-Crypt-DES pyxml mysql-client mysql mysql-devel yast -i gmp gmp-devel autoconf 4. Install swig Code: cd wget http://download.opensuse.org/repositories/Subversion/Apache_SuSE_Linux_10.1/i586/swig-1.3.33-3.1.i586.rpm rpm âi *.rpm NOTE: Make sure Yast sources include Suse CDâs or DVD; certain dependencies do not exist on online repositories! 5. Start MySQL Code: /etc/init.d/mysql start 6. Assign a password for the MySQL root user Code: /usr/bin/mysqladmin -u root password 'newmysqlpassword' 7. Create a group and user for zenoss Code: groupadd zenoss useradd âm âG zenoss passwd zenoss 8. Set the zenoss environmental variables Code: vi /home/zenoss/.bashrc Paste the following at the end of the file Code: export ZENHOME="/opt/zenoss" export PATH="${ZENHOME}/bin:${PATH}" export PYTHONPATH="/opt/zenoss/lib/python" export LD_LIBRARY_PATH="/opt/zenoss/lib" 9. Create the Zenoss install directory Code: mkdir -p /opt/zenoss Installing Software 10. Download Python 2.4 Code: cd wget http://www.python.org/ftp/python/2.4.5/Python-2.4.5.tgz tar âxzvf Python-2.4.5.tgz cd Python-2.4.5 ./configure --prefix=/opt/zenoss/python make make install NOTE: The latest version of Python (2.5) is currently not supported at the writing of this document. 11. Download and extract the latest version of Zenoss Code: cd /usr/local/src/ Browse to the Zenoss website and download the latest zenoss file. Code: tar âxzvf zenoss-2.1.x.x.tar.gz 12. Change python install dependency Code: vi /usr/local/src/zenoss-2.1.x.x/build-functions.sh Replace: # look for python for p in /usr/local/bin/python2.4 \ With: # look for python for p in /opt/zenoss/python/bin/python 13. Change ownerships Code: chown -R zenoss:zenoss /usr/local/src/zenoss-2.1.0 chown -R zenoss:zenoss /opt/zenoss 14. Install Zenoss as user zenoss Code: su zenoss cd /usr/local/src/zenoss-2.1.x.x make clean install.sh Configuration and Start 15. Set permissions Code: chown root:zenoss /opt/zenoss/bin/zensocket chmod 04750 /opt/zenoss/bin/zensocket 16. Start Zenoss as user zenoss Code: /opt/zenoss/bin/zenoss start Hope this helps someone. Chris -------------------- m2f -------------------- Read this topic online here: http://community.zenoss.com/forums/viewtopic.php?p=18508#18508 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
