Everything from simple in line with the principle of do, to yum / rpm, and determined not to manually compile 🙂 The deployment environment is based on CentOS 6.3 x86_64 systems. 0.5 Preparations
1 2 3 4 5 6 |
yum [root@imysql ~]# yum -y update [root@imysql ~]# yum install libaio-devel.x86_64 [root@imysql ~]# yum install curl-devel [root@imysql ~]# yum -y install libpng-devel libjpeg-devel freetype-devel gmp-devel libxml2-devel |
1. Install nginx
1 2 3 |
[root@imysql ~]# rpm -ivh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm [root@imysql ~]# yum -y install nginx [root@imysql ~]# chkconfig nginx on |
2. Install php-fpm
1 2 |
[root@imysql ~]# rpm -ivh rpm -Uvh http://repo.webtatic.com/yum/el6/latest.rpm [root@imysql ~]# yum -y install php54w |
3. Configure nginx + php /etc/nginx/nginx.conf profile can not make any changes. Edit […]