百度智能云

All Product Document

          Cloud Compute Service

          Apache Environment of Windows Installation and Configuration

          1. Download at the Apache official website

          image2020-12-30_17-57-34.png

          image2020-12-30_17-58-7.png

          image2020-12-30_17-59-0.png

          image2020-12-30_18-1-27.png

          1. Open the decompressed file, modify the http.conf service path and port in the conf file.

          image2020-12-30_18-3-45.png

          1. Install the apache

          image2020-12-30_18-23-13.png

          An error occurs is because to have Apache installed, the latest Visual C++Redistributable 2015 shall be available. Its download address: https://www.microsoft.com/zh-CN/download/details.aspx?id=48145

          image2020-12-30_18-25-48.png

          image2020-12-30_18-26-6.png

          image2020-12-30_18-26-23.png

          Have Visual C++Redistributable 2015 installed before executing httpd -k install

          image2020-12-30_18-26-53.png

          1. Start the apache

          Type net start apache2.4 to start Apache, as shown in the figure:

          image2020-12-30_18-28-47.png

          1. Verification

          Access the http://localhost default page

          image2020-12-30_18-30-30.png

          1. You need to upload HTML pages to this place C:\Apache24\htdocs with file information as shown in the figure:

          image2020-12-30_18-34-4.png

          image2020-12-30_18-35-5.png

          1. Configure a Firewall rule

          Windows server enables advanced firewall by default. Once a service is up and running, you need to open a corresponding port or shut down firewall in inbound rules of the firewall.

          To shut down firewall, see the documentation:https://cloud.baidu.com/doc/BCC/s/bjxlq3hzn

          Previous
          BCC Deployment SSL Certificate-IIS
          Next
          BCC Deployment SSL Certificate