ArticlesBase.com - Free Articles Directory
Free Online Articles Directory
11.10.2008 Sign In Register Hello Guest
Email:
Password:
Remember Me 
forgot your password?


Install Zenoss Core on Ubuntu 7.04

Author: Sharon Smith Author Ranking Blue | Posted: 27-09-2007 | Comments: 0 | Views: 693 | Rating:  (249) Article Popularity - Blue (?) Got a Question? Ask.
Sign Up Now!

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-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. Now it's time to install. First, become the zenoss user:

su zenoss

cd

You're in the zenoss user's home directory. Download the latest version of

Zenoss here. If you want to use svn to download it, run:

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



If you want to use a tarball, download it to this directory and run:



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



Replacing the [X.XX] with the version you've downloaded.

Now that you've got Zenoss, cd to the directory that was just created. All

that's left to do is:

./install.sh

The installation script will ask you a few questions, then install Zenoss.

If you run into any problems and need to run the installation again, clean

up what's already been done with:



make clean

12. Once Zenoss has been installed successfully, become root again by typing:

exit



Or hitting Ctrl-D. Set zensocket to setuid:

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

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

Switch back the Python symlinks:

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

And have Zenoss run on system startup:

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

sysv-rc-conf

Add Zenoss to runlevels 2, 3, 4 and 5. Reboot, and check that Zenoss

started properly with:

/usr/local/zenoss/bin/zenoss status

13. To monitor your Zenoss server, install SNMP agent:

apt-get install snmpd

You need to configure it to allow 'public' to read all

OIDs (default is to read very few OIDs):

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

snmpconf (configure snmpd agent to allow public read)

cp snmpd.conf /etc/snmp/

/etc/init.d/snmpd restart

14. Default ubuntu mail agent (MTA) is exim4, which may need to be

setup if you want email alerts to work with a remote mail server

(mail.mydomain.inc):

dpkg-reconfigure exim4-config

Select default options, except:

mail sent by smarthost; received via SMTP or fetchmail

mail.mydomain.inc

15. To test mail agent, need to install a frontend (MUA - mail) to

exim4:

apt-get install mailutils

mail youremail@yourdomain.inc

(press enter for Cc:, type in subject, press enter)

(type in body of message, then enter)

. (type in single period, then enter, to end composing and email is queued)

mailq (to see if mail is sent or still in queue)

16. For Windows monitoring, install SNMP from add/remove Windows

monitoring components, then install SNMP-Informant:

www.snmp-informant.com - download the free SNMP for Windows.

17. Read the Admin guide at http://www.zenoss.com/download/

For more information, please visit http://www.zenoss.com

Rate this Article: Current: 0 / 5 stars - 0 vote(s).

Article Source: http://www.articlesbase.com/software-articles/install-zenoss-core-on-ubuntu-704-221984.html

Print this Article Print article   Email to a Friend Send to friend   Publish this Article on your Website Publish this Article   Send Author Feedback Author feedback  
About the Author:
http://www.zenoss.com
Submitting articles has become one of the most popular means of generating quality backlinks and targeted traffic to your website. Join us today - It's Free!

Article Comments

Comment on this article Comment on this article
Your Name
Your Email:
Comment Body
Enter Validation Code: Captcha


Got a Question? Ask.

Ask the community a question about this article:

Q&A Powered by:
Powered by Yedda 

Latest Software Articles

Sap Business One Integration: Sb1 Reseller Chicago, Atlanta Newsflash
By: Andrew Karasev | 10/10/2008
SAP B1 becoming more and more popular among small and even mid-size businesses, especially in light manufacturing, assembly, services, warehouse management, transportation, logistics. However all mentioned business niches often require ongoing data integration

Qc Software Sees Spike in Wcs Business Due to State Tax Incentives
By: Thomas Cutler | 10/10/2008
QC Software Sees Spike in WCS Business Due to State Tax Incentives

Tracegains Dramatically Reducing Perishable Shrink
By: Thomas Cutler | 10/10/2008
TraceGains Dramatically Reducing Perishable Shrink

Ultimate Factories Program Looks at Optimation Client Pierce Manufacturing
By: Thomas Cutler | 10/10/2008
Ultimate Factories Program Looks at Optimation Client Pierce Manufacturing

Delete Porn-delete Porn From Any Computer Fast!
By: Valeri Tkatchenko | 09/10/2008
There are many ways you could delete porn but you need to be well aware of the software that you are using! Free delete porn software in fact causes a lot of problems and loads even more porn fragments and garbage on your hard drive. It also includes spyware and viruses to make the matters worse for you... The big problem with porn is it can enter your computer by default and without you knowing it so, if you are surfing the web at work and the firewall software is bad... read on

Hertzler Systems Sponsors Aberdeen Group Hosted Summit in Boston November 4-5
By: Thomas Cutler | 09/10/2008
Hertzler Systems Sponsors Aberdeen Group Hosted Summit in Boston November 4-5

Great Plains Consultant Newsflash: Custom Edi
By: Andrew Karasev | 09/10/2008
Microsoft Dynamics GP ERP application, or popular old name Great Plains Dynamics and eEnterprise, if you have relatively recent version, is based in Microsoft SQL Server. If you are experienced SQL DBA yourself, just this fact should give you the idea on structuring select statement and make it Electronic Document Interchange code compliant.

How to Remotely Spy on Another Pc
By: Jeek sun | 09/10/2008
Do you know How to remotely Spy on another PC? This tutorial will help you to spy on computers with Realtime-Spy Remote spy software

Article Categories






Give Feedback

Sign up for our email newsletter

Receive updates, enter your email below