由于nginx不支持chkconfig 故需要编辑脚本来添加,如下脚本可以使nginx支持chkconfig. [root@RHE5 init.d]# vi nginx #!/bin/sh # # nginx - this script starts and stops the nginx daemon # # chkconfig: - 85 15 # description: Nginx is an HTTP(S) server, HTTP(S) reverse \ # prox…
由于nginx不支持chkconfig 故需要编辑脚本来添加,如下脚本可以使nginx支持chkconfig. [root@RHE5 init.d]# vi nginx #!/bin/sh # # nginx - this script starts and stops the nginx daemon # # chkconfig: - 85 15 # description: Nginx is an HTTP(S) server, HTTP(S) reverse \ # prox…
Redhat Enterprise5.5下安装nginx+php+mysql nginx版本:nginx-1.0.6.tar.gz php版本:php-5.2.17.tar.gz php-5.2.17-fpm-0.5.14.diff.gz mysql版本:mysql-5.5.15.tar.gz 一、安装nginx 安装pcre [root@RHE5 soft]# tar zxvf pcre-8.13.tar.gz [root@RHE5 soft]# cd pcre-8.13 [root@RHE5 pcre-8.13…