# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
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 https://www.cacti.net
master_sites https://www.cacti.net/downloads
checksums rmd160 313d40867437bbae1c8cde3a5ca106e41b70e50d \
sha256 b4a5aa2a772aff7eb5abae31d07ed86a1c00300094d3c3c63091554fbb0deea9
depends_lib path:bin/mysql_config5:mysql57 \
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
sudo ${prefix}/share/mysql5/mysql/mysql.server start