Source deployment installation for LAMP--apache

Source: Internet
Author: User

I. Apache theory section
1.lamp-linux+apache+mysql+php together form a powerful Web application platform and the most powerful web-based solution. Apache is the mainstream HTTP service software.
Features of 2.Apache:
1). Powerful, simple configuration, fast, wide application, stable and reliable, can do proxy server or load balancer.
2). From NCSA httpd Service
Application Scenarios for 3.Apache
(1). Use Apache to run static HTML pages and images.
(2). Use Apache with PHP engine to run PHP
(3). Proxy load Balancing using Apache

Two. Source Deployment installation Combat
1. Upload the source package to the server via Lrzsz software

2. Unzip the source package

3. Compile the extracted source package

Error One:
Description Missing Zlib Library
Workaround: Yum install-y zlib-devel

4. Compile and install: Make && make install

5. Create a soft link

6. Launch Apache Service

Error Two:
Workaround: Add the local servername to the Apache configuration file

7. Restart Apache Service (boot success)


8. Configure the firewall so that it can pass the 80 port

9. Test (Success)

Source deployment installation for LAMP--apache

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.