First, Lamp introduction
LAMP (linux-apache-mysql-php) website architecture is a popular web framework, consisting of: Linux operating system, Apache network server, MySQL database, PHP programming language, all components are open source software, is a popular and mature architecture framework in the world, and many popular commercial applications have adopted this architecture.
Lamp has a common, cross-platform, high-performance, low-cost advantages, so lamp whether it is performance, quality or price is the preferred platform for enterprises to build websites.
Second, the relevant instructions
1, this article (LAMPseries) mainly introduces the building of the whole platform architecture:Apache2.4.9the compilation installation,mysql-5.5.33the installation,php-5.4.26installation, as well as the interconnection of the entire platform, the second chapter will introduce theLAMPof thePHPAcceleration SoftwareXCacheinstallation and performance testing, and the third article will introduce theLAMPtheApacheUseDNSachieve load balancing.
2, for the real implementation, the simulation environment will use 3 servers, Apache server, PHP server and MySQL database server
3, about IP:Apache(172.16.22.100), PHP ( 172.16.22.101 ), Mysql ( 172.16.22.102 )
4, about the construction of the DNS server this article does not do a detailed, but instead of using the change Hosts file to do name resolution
650) this.width=650; "Width=" 594 "height=" 454 "title=" Image001.png "style=" Width:733px;height:342px;float:none; "alt = "Wkiom1psvcex3iypaae7n0rvcrc085.jpg" src= "Http://s3.51cto.com/wyfs02/M02/45/DE/wKiom1Psvcex3IypAAE7n0RVCRc085.jpg"/>
Third, the compilation and installation of Apache2.4.9
1. Solve the dependency relationship
httpd-2.4.9 requires a newer version of APR and Apr-util, so it needs to be upgraded beforehand. In advance we should also install the development package group and Pcre.
This article is from the "Gentoo" blog, be sure to keep this source http://linuxgentoo.blog.51cto.com/7678232/1540191