I uploaded the spec and diff files into another site:
Spec: http://omega.xtreemhost.com/cacti.spec
Diff File: http://omega.xtreemhost.com/cacti-0.8.7g-patched-PA-v2.9.diff
This site not have restrictions
-------- Mensaje original --------
Asunto: [sugess] cacti-0.8.7g with patchs and PIAv2.9
De: Fernando Herrero Peletero <alpha...@gmail.com>
Para: suggest@lists.rpmforge.net
Fecha: 28 De Febrero De 2011 23:08:19
Hello.
I created a new version of the package cacti-0.8.7g-2.rf.src.rpm
because the cacti-0.8.7g-3.rf.src.rpm not work well on my CentOS 5.5.
The sources are the same:
http://www.cacti.net/downloads/cacti-0.8.7g.tar.gz
I created a diff file to apply all current patches and add the Plugin
Architecture 2.9:
http://www.cacti.net/downloads/pia/cacti-plugin-0.8.7g-PA-v2.9.tar.gz
Spec: http://artza.net/cacti.spec
Diff File: http://artza.net/cacti-0.8.7g-patched-PA-v2.9.diff
The installation process is as follows:
Prerequisites:
yum install -y httpd mysql-server php php-gd php-mysql php-cli
php-ldap php-snmp php-mbstring php-mcrypt rrdtool net-snmp-utils
chkconfig httpd on
chkconfig mysqld on
chkconfig snmpd on
service snmpd start
service mysqld start
service httpd start
mysqladmin -u root password dbadmin
Installation:
yum cacti-0.8.7g-3_PIAv2.9.noarch.
rpm
vi /etc/httpd/conf.d/cacti.conf (need to modify the directive "allow"
because only you can see from localhost)
mysql -u root -pdbadmin-e 'CREATE DATABASE `cacti` DEFAULT CHARACTER
SET utf8 COLLATE utf8_general_ci;'
mysql -u root -pdbadmin-e "CREATE USER 'cactiuser'@'localhost'
IDENTIFIED BY 'cactiuser';"
mysql -u root -pdbadmin-e 'GRANT ALL PRIVILEGES ON `cacti` . * TO
'cactiuser'@'localhost';'
mysql -u cactiuser -pcactiuser cacti < /var/www/cacti/cacti.sql
service httpd restart
I am Spanish and I helped the Google translation, sorry for my English.
_______________________________________________
suggest mailing list
suggest@lists.rpmforge.net
http://lists.rpmforge.net/mailman/listinfo/suggest