[33930] trunk/dports/net/cacti/Portfile
markd at macports.org
markd at macports.org
Thu Feb 7 14:24:29 PST 2008
Revision: 33930
http://trac.macosforge.org/projects/macports/changeset/33930
Author: markd at macports.org
Date: 2008-02-07 14:24:28 -0800 (Thu, 07 Feb 2008)
Log Message:
-----------
ui_msg changes only.
Modified Paths:
--------------
trunk/dports/net/cacti/Portfile
Modified: trunk/dports/net/cacti/Portfile
===================================================================
--- trunk/dports/net/cacti/Portfile 2008-02-07 20:50:11 UTC (rev 33929)
+++ trunk/dports/net/cacti/Portfile 2008-02-07 22:24:28 UTC (rev 33930)
@@ -53,12 +53,14 @@
After PHP is installed, make sure that your httpd.conf file has these
lines uncommented for CLI support.
- 'LoadModule php4_module ...' (Apache 1 & 2)
- 'AddModule mod_php4.c' (Apache 1)
+ 'LoadModule php5_module ...' (Apache 1 & 2)
+ 'AddModule mod_php5.c' (Apache 1)
- Set mysql.default_socket path to ${prefix}/var/run/mysql5/mysqld.sock in file:
- ./phpx/lib/php.ini (in /usr/local, ${prefix}, or /Library depending on PHP package)
+ 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:
+ php -i
+ 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}/
@@ -109,11 +111,11 @@
sudo -u <cactiuser> crontab -e
Insert the crontab entry below:
- 0,5,10,15,20,25,30,35,40,45,50,55 * * * * ${cactidir}/poller.php > /dev/null 2>&1
+ */5 * * * * ${prefix}/bin/php ${cactidir}/poller.php > /dev/null 2>&1
7) Go to http://localhost/cacti/install/index.php.
- The default login information is admin/admin. Select 'New Install' and
- then enter the SNMP and RRDtool paths (see below) and click 'Finish'.
+ The default user/password is admin/admin. Select 'New Install', enter
+ the paths for SNMP / RRDtool / PHP (see below), and click 'Finish'.
You may now use Cacti at http://localhost/cacti/index.php.
Paths:
@@ -121,7 +123,7 @@
snmpget binary path: /usr/bin/snmpget
RRDtool binary path: ${prefix}/bin/rrdtool
- PHP binary path: /usr/bin/php (or appropriate PHP path)
+ PHP binary path: ${prefix}/bin/php (if not using MacPorts PHP, use appropriate path)
\n"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080207/9f303ff5/attachment.html
More information about the macports-changes
mailing list