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