description Cacti is a complete RRDtool network graphing solution.
long_description Cacti is a complete network graphing solution designed \
to harness the power of RRDtool's data storage and \
homepage http://www.cacti.net
master_sites http://www.cacti.net/downloads
checksums md5 acb40deae073ca22e5c01a8e3ba389fb \
rmd160 a2c88961565c6b5d593b4f2603514139800c9145
depends_lib path:bin/mysql_config5:mysql5 \
set cactidir ${prefix}/share/cacti
file mkdir ${destroot}${cactidir}
system "cp -R ${worksrcpath}/* ${destroot}${cactidir}"
**** To complete the Cacti installation ****
The full documentation may be found at http://www.cacti.net/documentation.php.
1) Install PHP and MySQL 5 (not covered). These instructions assume MySQL 5 was
Check to make sure the PHP variable \"mysql.default_socket\" is set to path
${prefix}/var/run/mysql5/mysqld.sock by viewing the output of this terminal command:
If not, locate the php.ini file for your version of PHP and type the path there.
2) Set Cacti permissions.
sudo chown -R <cacti-user>:<cacti-group> ${prefix}/share/${name}/
3) Setup MySQL and prepare it for Cacti.
Configure MySQL (new MySQL installs)
sudo -u mysql ${prefix}/lib/mysql5/bin/mysql_install_db