I have recently configured several Web servers and posted Installation notes. You don't have time to write the system as you did before. Sorry. For detailed configuration, see the old article: blog. s135.comng1_php_v61. Install Nginx: mkdir-pDatatgzcdDatatgzyuminstallwgetyuminstallpcre
I have recently configured several Web servers and posted Installation notes. You don't have time to write the system as you did before. Sorry. Detailed configuration, you can see the previous article: http://blog.s135.com/nginx_php_v6 1, install Nginx: mkdir-p/Data/tgz cd/Data/tgz yum install wget yum install pcre
I have recently configured several Web servers and posted Installation notes. You don't have time to write the system as you did before. Sorry. For detailed configuration, see the previous article:
Http://blog.s135.com/nginx_php_v6
1. Install Nginx:
Mkdir-p/Data/tgz
Cd/Data/tgz
Yum install wget
Yum install pcre
Yum install openssl *
Yum-y install gcc-c ++ autoconf libjpeg-devel libpng-devel freetype-devel libxml2 libxml2-devel zlib-devel glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses- devel curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn-devel openssl-devel openldap-devel nss_ldap openldap-clients openldap-servers make
Yum-y install gd gd2 gd-devel gd2-devel
/Usr/sbin/groupadd www
/Usr/sbin/useradd-g www
Ulimit-SHn 65535
Wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.32.tar.gz
Tar zxvf pcre-8.32.tar.gz
Cd pcre-8.32
./Configure -- prefix =/Data/apps/pcre
Make & make install
Cd ../
Wget http://nginx.org/download/nginx-1.5.2.tar.gz
Tar zxvf nginx-1.5.2.tar.gz
Cd nginx-1.5.2
./Configure -- user = www -- group = www -- prefix =/Data/apps/nginx -- with-http_stub_status_module -- with-http_ssl_module -- with-pcre =/Data/tgz/pcre-8.32 -- with-http_realip_module -- with-http_image_filter_module
Make
Make install
Cd ../
............
Tags-nginx, php, mysql, linux, centos
Original article address: Nginx 1.5.2 + PHP 5.5.1 + MySQL 5.6.10 in CentOS. Thank you for sharing it with me.