I put the downloaded package into the virtual machine/home directory, the virtual machine is centos6.4If you want to know the Nginx source installation http://blog.csdn.net/zkg510168343/article/details/43703635MySQL Source installation
LAMP platform deployment and lamp deploymentLAMP platform Overview
LAMP environment script deployment: https://github.com/spdir/ShellScripts/tree/master/lamp
Introduction to LAMP: Baidu encyclopedia
Components of the LAMP platform:
Linux operating
Install the LNMP environment by source code compilation and configure multiple virtual hosts Based on Domain Name access
Lab environment and software version:
CentOS version: 6.6 (2.6.32.-504. el6.x86 _ 64)
Apache version: nginx-1.6.2
Mysql version:
1: first download the corresponding software version from the official website. 2: install the required third-party library yum-yinstallgccgcc-c ++ autoconfmakelibjpeglibjpeg-devel \ libpnglibpng-develfreetypefreetype-develzlib \...
1: first
prepare two servers, one for installation Apache, one installation MySQLinstallation Apache1. Download and installYum Install Zlib-devel-ywgethttp://mirror.bit.edu.cn/apache/httpd/httpd-2.2.31.tar.gztar XF HTTPD-2.2.31.TAR.GZCD
1: first download the corresponding software version from the official website.2: install required third-party Libraries Yum-y install gcc-c ++ autoconf make libjpeg-devel \Libpng-devel freetype-devel zlib \Zlib-devel glibc-devel glib2 glib2-devel
Install PHP1.yum-y Install PHP php-fpm(1), confirm that your Linux is not installed MCrypt library, if installed, skip the installation steps# Yum List Installed|grep MCryptlibmcrypt.x86_64 2.5.8-9.el6 @epellibmcrypt-devel.x86_64 2.5.8-9.el6
PHP Installation Prerequisites ====> need to successfully install MySQL firstCheck the compilation libraries required to install PHP:Yum install-y zlib-devel libxml2-devel libjpeg-turbo-devel libiconv-develYum install-y freetype-devel libpng-devel
Specific operation:First, download the package1, download PHP (version to be consistent with the system installation)Http://pan.baidu.com/s/1mifTbfE2, download libmcrypt (install MCrypt need this package)Http://pan.baidu.com/s/1mifTbfE3, download
There are a lot of lnmp/lamp on the web. The installation of a script, the compilation of installation parameters to modify the script, this script integrates lamp and LNMP, in any network of Red Hat or CentOS server automatically configured LNMP or
Because the production environment is FreeBSD platform, before also wrote a FreeBSD installation mysql5.1.70+php5.2.17 (FastCGI) + nginx1.0.1 high-performance Web server, there are children's shoes want to help write an article on the installation
Based on the Lanny one-click installation package: (including LNMP required software and configuration files)Install Nginx:wget-o/etc/Yum. Repos.d/centos-base.repo http://Mirrors.aliyun.com/repo/centos-7.repowget-o/etc/Yum. Repos.d/epel.repo
It is not necessary to mcrypt this library when installing OpenCart in the past. But the new version is needed. Add your own is the MAC environment. At that time trouble, it has not been installed. This afternoon will be thinking about loading it! 1.
CentOS 5.5 Installation mysql5.1.57+php5.2.17 (FastCGI) +nginx1.0.1 high Performance Web server [reprint]September 05, 2012 ⁄linux Technology ⁄ a total of 12362 characters ⁄ font size small big ⁄ no comments ⁄ read the page As the production
Part of the content of PHP5.3.8 compiled by CentOS6 comes from the internet. download the following software package and select the latest one.
wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gzwget
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.