Linux Command learning-general Linux technology-Linux technology and application information. The following is a detailed description. [I = s] This post was last edited by johnysqlinux at, January 15 ,.
Install Apache (a Patchy Server)
Command list:
# Tar-zxvf httpd-2.2.15.tar.gz // unzip
# Mv httpd-2.2.15 apache // rename the decompressed folder name
# Cd apache
#. /Configure -- prefix =/usr/local/apache -- enable-module = so -- enable-module = rewrite // install apache under/usr/local/apache, and start so and rewrite2 modules
# Make // compile
# Make install // install
So far, apache installation has been completed.
Start apache
#/Usr/local/apache/bin/apachectl start
The installation path may be different. If the installation is in/usr/local/apache2, use the following statement to start
#/Usr/local/apache2/bin/apachectl start
Then use ie to check the http: // server address. Whether the task is running.
Ntsysv // you can set the startup service.
Service iptables stop // disable Firewall
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service