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 03:06]
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 ==
-Instead of retyping all the instructions configuring PHP for FastCGI, follow these guides.  +Follow: 
-  * [[http://www.iis.net/fastcgi/configuration|IIS 7]] +  * [[http://www.iis.net/fastcgi/phpon60|Using FastCGI to Host PHP Applications on IIS 6]] 
-  * [[http://www.iis.net/fastcgi/phpon60|IIS 5.1 and 6]]+  * [[http://www.iis.net/fastcgi/configuration|Using FastCGI to Host PHP Applications on IIS 7]]
  
 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 installationor 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>
  
  
 == Install == == Install ==
-  - Make sure to read the [[https://httpd.apache.org/docs/2.4/platform/windows.html|Windows specific notes]]. 
   - Download the latest version from [[http://www.apachelounge.com/download/|Apache Lounge]].   - Download the latest version from [[http://www.apachelounge.com/download/|Apache Lounge]].
-    Recommended path is <root>:\Apache2\ due to issues with paths with spaces.+  Make sure to read the [[https://httpd.apache.org/docs/2.4/platform/windows.html|Windows specific notes]] for other Windows tips. 
 +  - Extract the ZIP file to C:\Apache2\  
 +    - Edit \Apache2\conf\httpd.conf  
 +      - Set ServerRoot 
 +      - Set ServerName 
 +  - Manually run **httpd.exe** at a command prompt to check for errors. 
 +  - Once error free, execute **httpd.exe -k install**





Personal Tools