installing cacti on centos 5.3
Moderators: Developers, Moderators
installing cacti on centos 5.3
Hi,
Can someone help me install cacti on my web server. I followed the instructions on the manual about downloading the files and setting up the mysql login etc.
Could anyone help me over msn?
Thanks
Can someone help me install cacti on my web server. I followed the instructions on the manual about downloading the files and setting up the mysql login etc.
Could anyone help me over msn?
Thanks
Re: installing cacti on centos 5.3
Hi, you can follow this link to install new cacti on CentOSowens wrote:Hi,
Can someone help me install cacti on my web server. I followed the instructions on the manual about downloading the files and setting up the mysql login etc.
Could anyone help me over msn?
Thanks
http://blogs.kranich.org/karl/2006/09/1 ... -with-yum/
Good luck!
This is what happeneds when I try to install yum
root@thor [~]# yum install cacti
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* extras: mirror.liteserver.nl
* updates: ftp.nluug.nl
* base: mirror.sov.uk.goscomb.net
* addons: mirror.sov.uk.goscomb.net
dag | 1.1 kB 00:00
extras | 1.1 kB 00:00
updates | 951 B 00:00
base | 2.1 kB 00:00
addons | 951 B 00:00
Excluding Packages in global exclude list
Finished
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package cacti.noarch 0:0.8.7e-1.el5.rf set to be updated
--> Processing Dependency: php-snmp for package: cacti
--> Processing Dependency: webserver for package: cacti
--> Processing Dependency: rrdtool for package: cacti
--> Processing Dependency: php for package: cacti
--> Processing Dependency: php-mysql for package: cacti
--> Running transaction check
---> Package rrdtool.i386 0:1.3.8-2.el5.rf set to be updated
--> Processing Dependency: ruby for package: rrdtool
--> Processing Dependency: perl(RRDs) for package: rrdtool
--> Processing Dependency: xorg-x11-fonts-Type1 for package: rrdtool
--> Processing Dependency: perl(RRDp) for package: rrdtool
---> Package cacti.noarch 0:0.8.7e-1.el5.rf set to be updated
--> Processing Dependency: php-snmp for package: cacti
--> Processing Dependency: webserver for package: cacti
--> Processing Dependency: php for package: cacti
--> Processing Dependency: php-mysql for package: cacti
--> Running transaction check
---> Package rrdtool.i386 0:1.3.8-2.el5.rf set to be updated
--> Processing Dependency: ruby for package: rrdtool
--> Processing Dependency: perl(RRDs) for package: rrdtool
--> Processing Dependency: perl(RRDp) for package: rrdtool
---> Package xorg-x11-fonts-Type1.noarch 0:7.1-2.1.el5 set to be updated
---> Package cacti.noarch 0:0.8.7e-1.el5.rf set to be updated
--> Processing Dependency: php-snmp for package: cacti
--> Processing Dependency: webserver for package: cacti
--> Processing Dependency: php for package: cacti
--> Processing Dependency: php-mysql for package: cacti
--> Finished Dependency Resolution
cacti-0.8.7e-1.el5.rf.noarch from dag has depsolving problems
--> Missing Dependency: php-snmp is needed by package cacti-0.8.7e-1.el5.rf.noarch (dag)
cacti-0.8.7e-1.el5.rf.noarch from dag has depsolving problems
--> Missing Dependency: php-mysql is needed by package cacti-0.8.7e-1.el5.rf.noarch (dag)
rrdtool-1.3.8-2.el5.rf.i386 from dag has depsolving problems
--> Missing Dependency: perl(RRDp) is needed by package rrdtool-1.3.8-2.el5.rf.i386 (dag)
rrdtool-1.3.8-2.el5.rf.i386 from dag has depsolving problems
--> Missing Dependency: ruby is needed by package rrdtool-1.3.8-2.el5.rf.i386 (dag)
cacti-0.8.7e-1.el5.rf.noarch from dag has depsolving problems
--> Missing Dependency: webserver is needed by package cacti-0.8.7e-1.el5.rf.noarch (dag)
rrdtool-1.3.8-2.el5.rf.i386 from dag has depsolving problems
--> Missing Dependency: perl(RRDs) is needed by package rrdtool-1.3.8-2.el5.rf.i386 (dag)
cacti-0.8.7e-1.el5.rf.noarch from dag has depsolving problems
--> Missing Dependency: php is needed by package cacti-0.8.7e-1.el5.rf.noarch (dag)
Error: Missing Dependency: perl(RRDp) is needed by package rrdtool-1.3.8-2.el5.rf.i386 (dag)
Error: Missing Dependency: webserver is needed by package cacti-0.8.7e-1.el5.rf.noarch (dag)
Error: Missing Dependency: php-mysql is needed by package cacti-0.8.7e-1.el5.rf.noarch (dag)
Error: Missing Dependency: ruby is needed by package rrdtool-1.3.8-2.el5.rf.i386 (dag)
Error: Missing Dependency: php-snmp is needed by package cacti-0.8.7e-1.el5.rf.noarch (dag)
Error: Missing Dependency: perl(RRDs) is needed by package rrdtool-1.3.8-2.el5.rf.i386 (dag)
Error: Missing Dependency: php is needed by package cacti-0.8.7e-1.el5.rf.noarch (dag)
Do this first!
Do you edit this file?
Configure yum. Since I want to use yum as much as possible, and cacti is not in the default CentOS repositories, I added Dag to my list of repositories. This is as simple as creating the file /etc/yum.repos.d/Dag.repo and putting the following in it:
[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=0
enabled=1
protect=0
First time, you must
yum update
install gcc gcc-c++ kernel kernel-devel net-snmp net-snmp-utils mysql mysql-server httpd php php-mysql php-snmp rrdtool tcl clamav libtool
When you install cacti or other require (net-snmp, mysql, v.v...) you must login to root of you CentOs
Configure yum. Since I want to use yum as much as possible, and cacti is not in the default CentOS repositories, I added Dag to my list of repositories. This is as simple as creating the file /etc/yum.repos.d/Dag.repo and putting the following in it:
[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=0
enabled=1
protect=0
First time, you must
yum update
install gcc gcc-c++ kernel kernel-devel net-snmp net-snmp-utils mysql mysql-server httpd php php-mysql php-snmp rrdtool tcl clamav libtool
When you install cacti or other require (net-snmp, mysql, v.v...) you must login to root of you CentOs
Last edited by trungtano on Tue Oct 27, 2009 3:40 am, edited 1 time in total.
I guess the only add-ons I need are
the following messing ones?
the following messing ones?
Error: Missing Dependency: perl(RRDp) is needed by package rrdtool-1.3.8-2.el5.rf.i386 (dag)
Error: Missing Dependency: webserver is needed by package cacti-0.8.7e-1.el5.rf.noarch (dag)
Error: Missing Dependency: php-mysql is needed by package cacti-0.8.7e-1.el5.rf.noarch (dag)
Error: Missing Dependency: ruby is needed by package rrdtool-1.3.8-2.el5.rf.i386 (dag)
Error: Missing Dependency: php-snmp is needed by package cacti-0.8.7e-1.el5.rf.noarch (dag)
Error: Missing Dependency: perl(RRDs) is needed by package rrdtool-1.3.8-2.el5.rf.i386 (dag)
Error: Missing Dependency: php is needed by package cacti-0.8.7e-1.el5.rf.noarch (dag)
after trying to install rrdtools manualy I got this at the bottom
Do you have msn at all?Error: Missing Dependency: perl(RRDp) is needed by package rrdtool-1.3.8-2.el5.rf.i386 (dag)
Error: Missing Dependency: webserver is needed by package cacti-0.8.7e-1.el5.rf.noarch (dag)
Error: Missing Dependency: php-mysql is needed by package cacti-0.8.7e-1.el5.rf.noarch (dag)
Error: Missing Dependency: ruby is needed by package rrdtool-1.3.8-2.el5.rf.i386 (dag)
Error: Missing Dependency: php-snmp is needed by package cacti-0.8.7e-1.el5.rf.noarch (dag)
Error: Missing Dependency: perl(RRDs) is needed by package rrdtool-1.3.8-2.el5.rf.i386 (dag)
Error: Missing Dependency: php is needed by package cacti-0.8.7e-1.el5.rf.noarch (dag)
for the -perl
Similar for -ruby (says about no package for rrdtools-ruby available)root@thor [~]# yum -y install rrdtools-perl
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* extras: mirror.liteserver.nl
* updates: ftp.nluug.nl
* base: mirror.sov.uk.goscomb.net
* addons: mirror.sov.uk.goscomb.net
Excluding Packages in global exclude list
Finished
Setting up Install Process
Parsing package install arguments
No package rrdtools-perl available.
Nothing to do
-
- Posts: 2
- Joined: Tue Oct 27, 2009 4:12 am
- Location: JHB ZA
Heya
I installed Cacti on my CentOS Box about 2 days ago using the RPMFORGE http://wiki.centos.org/AdditionalResour ... s/RPMForge Repositories ... Hope this helps
I installed Cacti on my CentOS Box about 2 days ago using the RPMFORGE http://wiki.centos.org/AdditionalResour ... s/RPMForge Repositories ... Hope this helps
Who is online
Users browsing this forum: No registered users and 1 guest