Here's how I installed Zenoss on SLES 10 SP1. I followed several of the steps listed in bothunbr's post.
bothunbr wrote: > > 4. Turn off software firewall > bothunbr wrote: > > Install some dependencies from Yast: > 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 > Installed autoconf via yast because it was listed as a requirement in the "Install from Source" installation guide. Installed swig: Goto: http://software.opensuse.org/search Select "SUSE Linux 10.1" from the drop down menu Downloaded and installed the RPM. I did not install MySQL via yast because I already had the following RPMs installed and configured from MySQL: MySQL-client-community-5.0.37-0.sles10 MySQL-devel-community-5.0.41-0.sles10 MySQL-server-community-5.0.37-0.sles10 MySQL-shared-community-5.0.37-0.sles10 bothunbr wrote: > > Create a user and group for Zenoss: > useradd -m zenoss > passwd zenoss > groupadd zenoss > I then added the zenoss user to the zenoss group via yast. bothunbr wrote: > > Setup the zenoss environment: > vi /home/zenoss/.bashrc > Paste in the following lines: > export ZENHOME="/opt/zenoss" > export PATH="${ZENHOME}/bin:${PATH}" > export PYTHONPATH="/opt/zenoss/lib/python" > export LD_LIBRARY_PATH="/opt/zenoss/lib" > > Create the Zenoss install directory: > mkdir -p /opt/zenoss > Downloaded python 2.4.4 source: ./configure --prefix=/opt/zenoss/python make make install Installed zope.interface-3.3.0 from http://www.zope.org/Products/ZopeInterface: tar -zxvf zope.interface-3.3.0.tar.gz cd zope.interface-3.3.0/ /opt/zenoss/python/bin/python setup.py build /opt/zenoss/python/bin/python setup.py install Downloaded the latest version of Zenoss (zenoss-2.1.0-0.tar.gz) to /usr/local/src tar -zxvf zenoss-2.1.0-0.tar.gz Instead of using this method (which I have done in the past): bothunbr wrote: > > Note: This is a hack and not a very good one. > Use python 2.3.6 to install Zenoss > cd /usr/bin > rm python > mv python2.4 oldpython2.4 > Link to the 2.3.6 version of python > ln -s /opt/zenoss/python/bin/python2.3 python > ln -s /opt/zenoss/python/bin/python2.3 python2.4 > I did this: The Zenoss install script needs to use python installed at opt/zenoss/python so I edited the file usr/local/src/zenoss-2.1.0/build-functions.sh and changed: # look for python for p in /usr/local/bin/python2.4 \ /usr/local/bin/python2.3 \ /usr/bin/python2.4 \ /usr/bin/python To this: # look for python for p in /opt/zenoss/python/bin/python Changed ownership: chown -R zenoss:zenoss /usr/local/src/zenoss-2.1.0 chown -R zenoss:zenoss /opt/zenoss Installed Zenoss 2.1.0.0 as zenoss user: su - zenoss cd /usr/local/src/zenoss-2.1.0 make clean ./install.sh bothunbr wrote: > > After the installation: > chown root:zenoss /opt/zenoss/bin/zensocket > chmod 04750 /opt/zenoss/bin/zensocket > Started Zenoss while logged in a zenoss user: /opt/zenoss/bin/zenoss start Note: Once I added a couple servers and a switch, I noticed the throughput graphs were not displaying the proper bits/sec. I had to edit the ethernetCsmacd as described here: http://community.zenoss.com/forums/viewtopic.php?t=3793 and add "8,*" to the RPN field. -------------------- m2f -------------------- Read this topic online here: http://community.zenoss.com/forums/viewtopic.php?p=13472#13472 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
