If you are not installing CACTI to the Apache default network Directory folder location, then add the profile cacti.conf in/ETC/HTTPD/CONF.D and edit it as follows. Set/your/cacti/dir as your own cacti directory name. Update the Allow from 127.0.0.1 for any configuration you need (for example, a subnet segment for your company). Be aware of the configuration hints in the comments, especially if you have SELinux enabled!
# cacti-the Complete rrdtool-based Graphing Solution
#
# allows only localhost by default
#
# allowing cacti to anyone other than localhost should be considered
# Dangerous unless properly secured by SSL
# Make sure, that httpd can read your cacti directories.
# at minimum, need
# chmod Ugo+r-r/your/cacti/dir
# Make sure to replace with your directories
# When using SELinux, set the following:
# chcon-r-h-t Httpd_sys_content_t/your/cacti/dir
# When using SELinux and you private Homedir, enable
# setsebool-p Httpd_enable_homedirs 1
# setsebool-p Httpd_read_user_content 1
Alias/cacti/your/cacti/dir
<Directory/your/cacti/dir>
AllowOverride None
Order Deny,allow
Deny from all
Allow from 127.0.0.1
Allow from:: 1
Options Indexes includes FollowSymLinks
</Directory>
# These directories do not require access over HTTP
#
<Directory/your/cacti/dir/cli>
Order Deny,allow
Deny from all
Allow from None
</Directory>MySQL Settings
Set a password for the root user of MySQL.
shell> mysqladmin--user=root Password Somepassword
shell> mysqladmin--user=root--password Reload
Unzip the installation cacti in Apache supplement