Cacti (home)ForumsDocumentation

Differences

This shows you the differences between two versions of the page.

manual:100:1_installation.1_install_unix.8_selinux [2012/02/19 14:14] (current)
Line 1: Line 1:
 +===== SELinux Settings =====
 +SELinux setting greatly depend on which exact setup you are running. E.g. when installing Cacti into /var/www/html/cacti (which is the default installation location), the web server httpd usually has the required permissions to execute as required. But when e.g. installing into a private directory, e.g. ~/mycacti, you will have to provide specific SELinux settings.
  
 +==== Global SELinux Settings ====
 +
 +This is an excerpt from my personal settings when installing into private directory. Any or all of them may be obsolete, when using the default location. \\ 
 +<code>/usr/sbin/setsebool httpd_read_user_content=1
 +/usr/sbin/setsebool httpd_tty_comm=1
 +/usr/sbin/setsebool httpd_can_network_connect=1
 +/usr/sbin/setsebool httpd_builtin_scripting=1
 +/usr/sbin/setsebool httpd_enable_homedirs=1
 +/usr/sbin/setsebool httpd_enable_cgi=1</code>
 +
 +
 +==== SELinux Settings for Plugins ====
 +
 +=== BOOST ===
 +
 +In case you are using BOOST server network setup, it was reported that
 +<code>/usr/sbin/setsebool httpd_can_network_connect=1</code> has to be set.





Personal Tools