Cacti (home)ForumsDocumentation

Differences

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

manual:088:1_installation.2_install_windows.2_configure_webserver [2012/10/25 04:22]
BSOD2600
manual:088:1_installation.2_install_windows.2_configure_webserver [2019/10/29 15:16] (current)
Line 5: Line 5:
 == Install == == Install ==
   * [[http://technet.microsoft.com/en-us/library/aa998483%28v=exchg.65%29.aspx|How to Install IIS 6 on Windows Server 2003]]   * [[http://technet.microsoft.com/en-us/library/aa998483%28v=exchg.65%29.aspx|How to Install IIS 6 on Windows Server 2003]]
-  * [[http://www.iis.net/learn/install/installing-iis-7/installing-iis-7-and-above-on-windows-server-2008-or-windows-server-2008-r2|How to Install IIS 7 on Windows Server 2008 / R2]] +  * [[http://www.iis.net/learn/install/installing-iis-7/installing-iis-7-and-above-on-windows-server-2008-or-windows-server-2008-r2|How to Install IIS 7.0/7.5 on Windows Server 2008 / R2]] 
 +  * [[http://www.iis.net/learn/install/installing-iis-85/installing-iis-85-on-windows-server-2012-r2|How to Install IIS 8.0/8.5 on Windows Server 2012 R2]] 
 +  
 == Configure == == Configure ==
 Follow: Follow:
Line 14: Line 15:
 After following the above guides: After following the above guides:
  
-//Note: IIS6 has the IIS_WPG user account. IIS7 it's called IIS_USRS//+<note>IIS6 has the IIS_WPG user account. IIS7 it's called IIS_IUSRS</note>
  
   - Give the COMPUTERNAME\IUSR_ and COMPUTERNAME\IIS_WPG users Read & Execute permissions to the file  C:\Windows\system32\cmd.exe.   Yes, this can be a large security hole, but it's required so RRDTool can be launched for graphing by the anonymous web account.  For slightly improved security, one can specify a separate custom //User account// which would be used for the /wwwroot/Cacti/ site.  Then, instead of using IUSR_ everywhere throughout this document, replace it with the custom User account.  This way, only a security hole in Cacti's code could exploit cmd.exe and not all sites on the IIS server.   - Give the COMPUTERNAME\IUSR_ and COMPUTERNAME\IIS_WPG users Read & Execute permissions to the file  C:\Windows\system32\cmd.exe.   Yes, this can be a large security hole, but it's required so RRDTool can be launched for graphing by the anonymous web account.  For slightly improved security, one can specify a separate custom //User account// which would be used for the /wwwroot/Cacti/ site.  Then, instead of using IUSR_ everywhere throughout this document, replace it with the custom User account.  This way, only a security hole in Cacti's code could exploit cmd.exe and not all sites on the IIS server.
Line 41: Line 42:
 net stop iisadmin net stop iisadmin
 net start w3svc</code> net start w3svc</code>
-  - Verify PHP is functional by running: **php -m** at the command prompt.\\ //Note: If messages with, Cannot find module appearing, then there is something wrong with the MIBDIRS variable or missing mib files in the PHP\Extras\mib folder.  Make sure the MySQL, SNMP and Sockets PHP modules are in the list.// 
  
 \\ \\
Line 47: Line 47:
  
 === Apache === === Apache ===
-  * Make sure you have stopped any IIS web servers before you proceed with Apache installation or make sure Apache is configured on an alternate port.+<note important>Make sure to stop the IIS web services before proceeding with the Apache installation **or** make sure Apache is configured on an alternate port.</note>
  
  
Line 59: Line 59:
   - Manually run **httpd.exe** at a command prompt to check for errors.   - Manually run **httpd.exe** at a command prompt to check for errors.
   - Once error free, execute **httpd.exe -k install**   - Once error free, execute **httpd.exe -k install**
- 





Personal Tools