Install apache on the Chinese version of Windows server <original>
Source: Internet
Author: User
Install apache on Windows server
1. Download apache1.3
Http://www.apache.org/dist/binaries/win32/apache_1_3_12_win32.exe
2. Install apache
I installed apache under D: Program FilesApache GroupApache.
Then I use notepad to open the httpd. conf file in the conf directory and edit it.
Change Port 80 to Port 81 because IIS 5 is installed on my machine and Port 80 is occupied.
Find # ServerName new. host. name, remove #, and change it to ServerName spf. My machine name is spf.
4. Run apache
Run D: Program FilesApache GroupApacheapache.exe directly.
3. Open the browser and enter http: // localhost: 81/to view a page.
Said:
If you can see this, it means that the installation of the Apache web server software on this system was successful ......
It indicates that the installation is successful.
4. Then, based on the connection I found on this page, set apache to a service in win2k.
Fortunately, I found the method in 5minutes.
First, close the apache program that was just run and press ctrl + c in the dos window.
Enter
D: Program FilesApache GroupApacheapache.exe-I-n "apache_svr"
Net start apache_svr
----------------------------------------------------------------------
Done! Hehe is quite simple.
We will continue to study the further configuration and use of apache tomorrow night.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.