Free Time Bail Bonds

Information and Resources on Free Time Bail Bonds

Category : Software

Install Zenoss Core on Ubuntu 7.04

Installing Zenoss on Feisty Ubuntu 1. Install Ubuntu 7.04 Server from an installation CD. 2. Log in as the default user. 3. Install ssh so you can putty (remote terminal) from your desktop: sudo apt-get install ssh ifconfig | grep cast (to see what your IP is) 4. Either via SSH or on the box itself, become the root user: sudo su [Enter password] 5. Several dependencies are in the ‘universe’ repository, so we’ll need to modify your sources list (here we’ll use vim as an editor): vim /etc/apt/sources.list Find these two lines: deb http://us.archive.ubuntu.com/ubuntu feisty main restricted deb-src http://us.archive.ubuntu.com/ubuntu feisty main restricted And add the ‘universe’ repository: deb http://us.archive.ubuntu.com/ubuntu feisty main restricted universe deb-src http://us.archive.ubuntu.com/ubuntu feisty main restricted universe Save the file and close the editor. Then, back at the command line: apt-get update && apt-get upgrade 6. Now we can install the dependencies. From the command line: apt-get install mysql-server mysql-client python-dev python2.4 simulation software -dev build-essential subversion libmysqlclient15-dev snmpd autoconf snmp swig python-setuptools sysv-rc-conf bzip2 7. Add the ‘zenoss’ user that will run the application: adduser zenoss If security isn’t an issue, use the password ‘zenoss’. Use defaults for everything else. 8. Zenoss requires some environment variables to be set, so we need to add them to the ‘zenoss’ user’s bash startup script. Enter the command: vim /home/zenoss/.bashrc And add these lines to the end: export ZENHOME=/usr/local/zenoss export PYTHONPATH=$ZENHOME/lib/python export PATH=$ZENHOME/bin:$PATH Save the file and close the editor. 9. Now we’ll make the directory into which Zenoss will install. Run: mkdir /usr/local/zenoss chown zenoss /usr/local/zenoss 10. Feisty Fawn ships with Python 2.5, but certain dependencies of Zenoss are unable to build properly with this version. Once Zenoss has been installed, it will run just fine under 2.5, but we’ll need to change the symlink for the installation. Run: unlink /usr/bin/python && ln -s /usr/bin/python2.4 /usr/bin/python 11.