Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1121969
  • 博文数量: 165
  • 博客积分: 5957
  • 博客等级: 大校
  • 技术积分: 2015
  • 用 户 组: 普通用户
  • 注册时间: 2010-11-24 15:04
文章分类

全部博文(165)

文章存档

2014年(10)

2013年(14)

2012年(9)

2011年(22)

2010年(17)

2009年(17)

2008年(26)

2007年(34)

2006年(16)

我的朋友

分类: LINUX

2007-10-08 19:13:25

Pandora has six components: Pandora Data Server, Pandora Network Server, Pandora SNMP Console, Pandora Agents, Pandora Database and Pandora Web Management System (Web Console).
 
1、安装mysql-5.0.45/php/apache等
过程略
mysql> create database pandora;
 
修改/usr/local/lib/php.ini中
session.bug_compat_42 = 1
 
下载pandora_console包,移至apache的htdocs目录下
mysql -D pandora -u root -p < pandoradb.sql
mysql -D pandora -u root -p < pandoradb_data.sql
 
mysql> grant all on pandora.* to identified by 'pandora';
mysql> set password for = old_password('你所设置的password');
mysql> flush privileges;
 
检查include中的config.php db相关配置是否有问题
 
下载pandora_server包
useradd pandora -d /home/pandora
mkdir /home/pandora -p
chown pandora /home/pandora
 
mv pandora_server /opt/pandora
检查conf/pandora_server.conf db相关配置是否有问题
 
cp pandora_server /etc/init.d/
 
 
 
2、Pandora Data Server需要准备安装以下模块
Requires SSH Servr and Perl v5.8 or higher
the next Perl Modules:
    XML::Simple, useful XML functions
    Digest::MD5, MD5 generation
    Time::Local, Date and Time basic manipulation
    DBI, DB interface with MySQL
    Date::Manip, needed to manipulate Date and Time formats of input, output and compare
 
Next, you need to set the TZ (Time Zone) environment variable.
 
3、Pandora Network Server需要准备安装以下模块
Requires SSH Server and Perl v5.8 or higher
the next Perl Modules:
    IO::Socket, manage and manipulation of TCP/UDP sockets
    Time::HiRes, needed for ICMP times
    Time::Local, Date and Time basic manipulation
    Net::Ping, to calculate latency times (it's required that the server runs as root user).
    Net::Ping::External, needed to "ping" to remote systems
    SNMP, for SNMP management
    Date::Manip, needed to manipulate Date and Time formats of input, output and compare
To use SNMP fuctions it's needed also to have installed the net-snmp package. It's worth to say that to run modules of GENERIC_ICMP_DATA type (calculate ICMP latency time) Pandora Network Server must run with root privileges.
 
4、Pandora SNMP Console,安装snmp就ok了
 
5、配置pandora console
先安装jpgraph
wget
修改/usr/local/lib/php.ini中
output_buffering = Off
error_reporting = E_ALL
 
未完,待续
 
 
 
阅读(4816) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~