日期:2014-05-16 浏览次数:20775 次
scp root@192.168.6.153:/data/cache5/rcms_software/nginx/nginx-0.7.67.tar.gz .
./configure make && make install
vi /usr/local/nginx/conf/nginx.conf 写入以下配置 worker_processes 2; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; #default_type text/plain; sendfile on; keepalive_timeout 65; #gzip on; server { listen 80; location / { root /data/cache1/rcms; } } }