Source Code Compilation Installation httpd

Source: Internet
Author: User

Mount the image into the Cd/media CD package
RPM-IVH gcc Finish installation completed
.1. Download the tar httpd first. GZ to root host directory
The first step is to unpack the tar-zxvf httpd suffix named tar. Gz
2-c Specify the location I usually unzip in/usr/src/then CD switch path to/usr/src/httpd3/
3. Enter the configuration installation location under current path./execute./Configure--PREFIX=/USR/LOCAL/SRC/HTTPD--enable-so Open
--ENABLE-CGI Open Public Gateway Interface
Then come out a bunch of input information.
4. Compile and install a piece of execution using the meaning of & make &&make Install
5. Use the VIM editor because my current path is in the host directory so I hit the absolute path vim/usr/local/src/httpd/conf/httpd.conf
6. Change the server:80 to cancel the previous # I insertion mode
ESC Exit shift+: Enter Wq save and exit
7. Next configure the IP address Vim/etc/sysconfig/network-scripts/ifcfg-eth0
8.DHCP static Onboot no change to Yes

    1. Enter Capital ipaddr=192.168.1.10
      netmake=255.255.255.0
      Wq Saving and exiting the service network restart restart activating the NIC
      Open Apache/usr/local/src/httpd/apache Start
      Open Firefox input 127.0.0.1 or 192.168.1.10
      LT works Apache works fine ...
      The summary is not good, the idea is clear. If there are errors please point out, support!

Source Code Compilation Installation httpd

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.