环境说明 服务端配置 第一个里程碑:在m01上部署LNP架构 nginx_install.sh __脚本内容 base setting mkdir -p /server/tools install nginx killall nginx yum install -y pcre-devel openssl-devel useradd -M -s /sbin/nologin www -u 501 cd /server/tools/ \rm -rf /application/nginx-1.10.2 wget http://nginx.org/download/nginx-1.10.2.tar.gz tar xf nginx-1.10.2.tar.gz cd /server/tools/nginx-1.10.2 ./configure –prefix=/application/nginx-1.10.2 –user=www –group=www –with-http_stub_status_module –with-http_ssl_module make make install ln -sf /application/nginx-1.10.2 /application/nginx cd /application/nginx/conf/ egrep -v “#|^$” nginx.conf.default >nginx.conf /application/nginx/sbin/nginx php_install.sh __脚本内容 killall php-fpm killall php-fpm devel anzhuang yum install zlib-devel libxml2-devel libjpeg-devel libjpeg-turbo-devel libiconv-devel freetype-devel libpng-devel gd-devel libcurl-devel libxslt-devel -y yum install -y zlib-devel libxml2-devel libjpeg-devel libjpeg-turbo-devel libiconv-devel freetype-devel libpng-devel gd-devel libcurl-devel libxslt-devel libiconv INSTALL cd /server/tools http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz tar zxf libiconv-1.14.tar.gz cd libiconv-1.14 ./configure –prefix=/usr/local/libiconv……
阅读全文