Set up Zenoss Core on Ubuntu 7.04

Setting up Zenoss on Feisty Ubuntu

1. Set up Ubuntu 7.04 Server from a setup CD.

2. Visit as the default user.

3. Set up ssh so you can putty (remote terminal) from your desktop:

sudo apt-get set up ssh

ifconfig|grep cast (to see exactly what your IP is)

4. Either through SSH or on package itself, end up being the root user:

sudo su

[Go into password]
5. A number of reliances remain in the 'universe' repository, so we'll have to

customize your sources list (here we'll utilize vim as an editor):

vim/ etc/apt/sources. list

Discover these 2 lines:

deborah http://us.archive.ubuntu.com/ubuntu spirited primary limited

deb-src http://us.archive.ubuntu.com/ubuntu lively primary limited

And include the 'universe' repository:

deborah http://us.archive.ubuntu.com/ubuntu lively primary limited universe

deb-src http://us.archive.ubuntu.com/ubuntu lively primary limited universe

Conserve the file and close the editor. Then, back at the command line:

apt-get upgrade & & apt-get upgrade

|Back at the command line:

apt-get upgrade & & apt-get upgrade

6. Now we can set up the reliances. From the command line:

apt-get set up mysql-server mysql-client python-dev python2.4-dev

build-essential subversion libmysqlclient15-dev snmpd autoconf

snmp swig python-setuptools sysv-rc-conf bzip2

7. Include the 'zenoss' user that will run the application:

adduser zenoss

If security isn't really a problem, utilize the password 'zenoss'. Usage defaults for

whatever else.

8. Zenoss needs some environment variables to be set, so we have to include them

to the 'zenoss' user's celebration start-up script. Go into the command:

vim/ home/zenoss/. bashrc

And include these lines to the end:

export ZENHOME=/ usr/local/zenoss

export PYTHONPATH=$ZENHOME/lib/python

export COURSE=$ZENHOME/bin:$COURSE

Conserve the file and close the editor.

9. Now we'll make the directory site into which Zenoss will set up. Run:

mkdir/ usr/local/zenoss

chown zenoss/ usr/local/zenoss

10. Spirited Fawn ships with Python 2.5, however specific reliances of Zenoss are

not able to develop appropriately with this variation. When Zenoss has actually been set up,

it will run simply great under 2.5, however we'll have to alter the symlink for

the setup. Run:

unlink/ usr/bin/python & & ln -s/ usr/bin/python2.4/ usr/bin/python

11. Now it's time to set up. Initially, end up being the zenoss user:

su zenoss

|End up being the zenoss user:

su zenoss

cd

You remain in the zenoss user's house directory site. Download the most recent variation of

Zenoss here. If you wish to utilize svn to download it, run:

svn co http://dev.zenoss.org/svn/trunk/inst zenoss-install

If you wish to utilize a tarball, download it to this directory site and run:

tar xzf zenoss- [X.XX] tar.gz

Changing the [X.XX] with the variation you have actually downloaded.

Now that you have actually got Zenoss, cd to the directory site that was simply produced. All

that's delegated do is:

./ install.sh

The setup script will ask you a couple of concerns, then set up Zenoss.

If you encounter any issues and have to run the setup once again, tidy

up exactly what's currently been finished with:

make tidy

12. When Zenoss has actually been set up effectively, end up being root once again by typing:

exit

Or striking Ctrl-D. Set zensocket to setuid:

chown root: zenoss/ usr/local/zenoss/ bin/zensocket

chmod 04750/ usr/local/zenoss/ bin/zensocket

Change back the Python symlinks:

unlink/ usr/bin/python & & ln -s/ usr/bin/python2.5/ usr/bin/python

And have Zenoss operate on system start-up:

ln -s/ usr/local/zenoss/ bin/zenoss/ etc/init. d

sysv-rc-conf

Include Zenoss to runlevels 2, 3, 4 and 5. Restart, and inspect that Zenoss

began correctly with:

/ usr/local/zenoss/ bin/zenoss status

13. To monitor your Zenoss server, set up SNMP representative:

apt-get set up snmpd

You have to configure it to enable 'public' to check out all

OIDs (default is to check out few OIDs):

cp/ etc/snmp/snmpd. conf ,. bak

snmpconf (configure snmpd representative to enable public read)

cp snmpd.conf/ etc/snmp/

/ etc/init. d/snmpd reboot

14. Default ubuntu mail representative (MTA) is exim4, which might have to be

setup if you desire e-mail informs to deal with a remote mail server

(mail.mydomain.inc):

dpkg-reconfigure exim4-config

Select default choices, other than:

mail sent out by smarthost; gotten through SMTP or fetchmail

mail.mydomain.inc

15. To evaluate mail representative, have to set up a frontend (MUA - mail) to

exim4:

apt-get set up mailutils

mail youremail@yourdomain.inc!.?.! (press go into for Cc:, enter

subject, press go into)(enter body of message, then go into).(enter single duration, then go into,

to end composing and e-mail is queued)mailq (to see if mail is sent out or still in
line )16. For Windows tracking, set up SNMP from add/remove Windows keeping track of elements, then set up SNMP-Informant: www.snmp-informant.com- download the totally free SNMP for Windows. 17. Check out the Admin guide at http://www.zenoss.com/download/ To find out more, please go to http://www.zenoss.com|Now we'll make the directory site into which Zenoss will set up. You're in the zenoss user's house directory site. Now that you have actually got Zenoss, cd to the directory site that was simply produced.

Back to Top