Unzip the installation cacti in Apache supplement

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.