############################################################ A startup item has been generated that will aid in# starting mysql5-server with launchd. It is disabled# by default. Execute the following command to start it,# and to cause it to launch at startup:## sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql5.plist###########################################################---> Installing mysql5-server @5.1.45_0******************************************************* In order to setup the database, you might want to run* sudo -u _mysql mysql_install_db5* if this is a new install******************************************************

$ sudo -u _mysql mysql_install_db5Installing MySQL system tables...OKFilling help tables...OKTo start mysqld at boot time you have to copysupport-files/mysql.server to the right place for your systemPLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !To do so, start the server, then issue the following commands:/opt/local/lib/mysql5/bin/mysqladmin -u root password 'new-password'/opt/local/lib/mysql5/bin/mysqladmin -u root -h MacBook.local password 'new-password'Alternatively you can run:/opt/local/lib/mysql5/bin/mysql_secure_installation

which will also give you the option of removing the testdatabases and anonymous user created by default. This isstrongly recommended for production servers.See the manual for more instructions.

b) Download the particular Cacti plugin(s) you want and copy their folders to /opt/local/share/cacti/plugins//.
For example:
/opt/local/share/cacti/plugins/weathermap/

c) Edit /opt/local/share/cacti/include/global.php - modify the url_path to reflect Cacti's default URL
and add an entry to load each plugin you install; the weathermap plugin is an example:

$config['url_path'] = '/cacti/';

$plugins = array();
$plugins = 'weathermap';

d) Enable the plugin in the Cacti web interface; this creates a top-level tab for the plugin in the Cacti interface
Console -> User Management (select a Cacti user and check the 'View Weathermaps' checkboxes)

7) Go to http://localhost/cacti/install/index.php.
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.