Apache install and uninstall
ctrl + F shortcut to find
1, download apache
64-Wei decompression official website: http: //httpd.apache.org/
file using Notepad or Sublime
2, modify the
open file in the conf apache directory to find httpd.conf file (this will be used editplus open)
the Apache in httpd.conf configuration issues
found ServerRoot
changed to the same directory with your apache installation directory. In the present embodiment installed in the apache D: / apache / apache24.
3, modify the port
to find listen 80 to change it to listen 8080.
4, these two lines into their own workspace directory
#DocumentRoot "$ {SRVROOT} / the htdocs"
# <Directory "$ {SRVROOT} / the htdocs">
E.g:
DocumentRoot "D: \ installation disk \ HBuilder \ Lilin"
<Directory "D: \ installation disk \ HBuilder \ lilin">
5, the following further commented
#LoadModule ssl_module modules/mod_ssl.so
6, we must remember that as an administrator to open the
cd D: \ setup disk \ HBuilder \ Apache24 \ bin
to start the service
httpd.exe the Apache -k install -n
7, the successful
emergence of this:
Installing at The 'the Apache' Service
at The ' Apache 'IS-Service Installed successfully.
Testing the httpd.conf ....
the Errors Reported here Wallpaper MUST BE-Service The corrected before CAN BE Started
8. Stop Apache
execute the command:
NET STOP Apache2.4
9, uninstall the service
sc the Delete apache2. 4
The final access to the server
localhost://60