I am installing the Apache-2.0.44 process under Redhat Linux 6.2
Developer on Alibaba Coud: Build your first app with APIs, SDKs, and tutorials on the Alibaba Cloud. Read more ＞
I am the first time oh ... Cost me an all-night, failed four times, finally installed successfully found that the original is their own carelessness, Hongo, just loaded Apache to come up to the successful installation of the process written down ... This article is dedicated to the first Super rookie to contact Linux like me, ^_^
When I install redhat6.2, FTP and HTTP and database are not installed, basically just installed XFree86.
Run Lynx download apache-2.0.44.tar.gz at the command line
Save as/usr/local/src/httpd-2.0.44.tar.gz after downloading, press ' Q ' and answer y exit Lynx
To begin the installation:
#tar ZXVF httpd-2.0.44.tar.gz
(Note:--prefix=/usr/local/servers/apache2 This option is its own set of Apache installation purposes directory)
Wait, wait. , the configuration is over
This make seems to wait for n years ... It's hard.
Edit httpd.conf, press the Insert button on the keyboard, turn the page, find #servername xxxxx:80, the ServerName before the # removed, the xxxxx changed to its own machine full name, such as I changed to ServerName pig.home.cn The key is to change group #-1 to group Nobody, if it is omitted, then Apache is not able to start. Finally press the ESC key, input: Wq Enter to save and Exit VI Editor.
To test whether Apache is working, the exciting time has come, command line input:
Wow, really see the home page Yes ~ ~ ~ ~ ~
There will be a blackout during the day ... Java, JSP, and PHP can only be installed in the evening. Sigh
Forget to say, stop Apache is
This article is an English version of an article which is originally in the Chinese language on aliyun.com and is provided for information purposes only. This website makes no representation or warranty of any kind, either expressed or implied, as to the accuracy, completeness ownership or
reliability of the article or any translations thereof. If you have any concerns or complaints relating to the article, please send an email, providing a detailed description of the concern or
complaint, to firstname.lastname@example.org. A staff member will contact you within 5 working days. Once verified, infringing content will be removed immediately.
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:
and provide relevant evidence. A staff member will contact you within 5 working days.