filmov
tv
How to Install Apache on a Windows Server
Показать описание
In this video, we demonstrate how to install Apache on a Windows server.
Commands used:
1. Extract the compressed Apache download. While you can extract it to any directory it is the best practice to extract it to the root directory of the drive it is located on (our example folder is located in C:\Apache24). This is the location we will be using for these instructions. Please note that once installed you can see Apache’s base path by opening the configuration file and checking the “ServerRoot” directive).apache_extract
2. Open an “Administrator” command prompt. (Click the Windows “Start” icon, then type “cmd”. Right-click the “Command Prompt” item which appears, and select “Run As Administrator.”)
3. Change to the installation directory (For our purposes C:\Apache24\bin).
5. You will likely notice a dialogue box from the Windows Firewall noting that some features are being blocked. If this appears, place a checkmark in “Private Networks…” as well as “Public Networks…”, and then click “Allow access.”
6. As noted in the ApacheHaus instructions:
7. Now that you have confirmed the Apache server is working and shut it down, you are ready to install Apache as a system service.
10. Look for the service “Apache HTTP Server.” Looking towards the left of that line you should see “Automatic.” If you do not, double-click the line and change the Startup Type to “Automatic.”
Video by: Justin Palmer
Commands used:
1. Extract the compressed Apache download. While you can extract it to any directory it is the best practice to extract it to the root directory of the drive it is located on (our example folder is located in C:\Apache24). This is the location we will be using for these instructions. Please note that once installed you can see Apache’s base path by opening the configuration file and checking the “ServerRoot” directive).apache_extract
2. Open an “Administrator” command prompt. (Click the Windows “Start” icon, then type “cmd”. Right-click the “Command Prompt” item which appears, and select “Run As Administrator.”)
3. Change to the installation directory (For our purposes C:\Apache24\bin).
5. You will likely notice a dialogue box from the Windows Firewall noting that some features are being blocked. If this appears, place a checkmark in “Private Networks…” as well as “Public Networks…”, and then click “Allow access.”
6. As noted in the ApacheHaus instructions:
7. Now that you have confirmed the Apache server is working and shut it down, you are ready to install Apache as a system service.
10. Look for the service “Apache HTTP Server.” Looking towards the left of that line you should see “Automatic.” If you do not, double-click the line and change the Startup Type to “Automatic.”
Video by: Justin Palmer