Install Zenoss under Linux

Source: Internet
Author: User
Tags snmp

I am using the Zenoss version: 3.1.0, System version: RHEL6.4


Installation Preparation

First, the installation of Zenoss requires support from software such as MySQL and SNMP, using Yum to install:

Yum-y install MySQL mysql-server net-snmp net-snmp-utils mysql-devel


After MySQL is installed, make sure you can log in using the root user.

Service mysqld Restart

Mysql-u root-p


In addition, after the installation process may be prompted to need autoconf,svn,gcc-c++ and other software, yum installation.


Start installation

First create a new Zenoss User:

Useradd Zenoss


Set Environment variables:

Vim/etc/profile

Add at end of file

Export Zenhome=/usr/local/zenoss

Export Pythonpath= $ZENHOME/lib/python

Export path= $ZENHOME/bin:/$ZENHOME/sbin: $PATH


The source command is required to make it effective:

Source/etc/profile


Create a Zenoss working directory and make it a master Zenoss account:

mkdir/usr/local/zenoss/

chmod Zenoss/usr/local/zenoss


Download the Zenoss installation package (e.g. wget):

cd/tmp/

wget http://downloads.sourceforge.net/zenoss/zenoss-3.1.0.tar.gz

TAR-ZXVF zenoss-3.1.0.tar.gz

CD zenoss-3.1.0

./install.sh

There is a step in the installation process that asks you: does want me to keep your existing database? (y/n)

Select N to create a new database to use for the Zenoss.


Finally, modify the properties for the Zensocket directory:

Chown Root:zenoss/usr/local/zenoss/bin/zensocket

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


To open Zenoss with a script:

/usr/local/zenoss/bin/zenoss restart

After a long wait, enter the host address in the browser: 8080, you can use.


The installation was successful.


Install Zenoss under Linux

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.