库存信息,速尔快递查询单号,卜案qvod
debian 7编译nginx前的准备工作:
apt-get install -y gcc make vim
apt-get install libpcre+*
apt-get install -y grep zlib1g*
apt-get install -y libssl1.0.0
apt-get install -y libssl-dev
编译nginx:
ufo@ufo:~/$ tar zxvf nginx-1.6.2.tar.gz
ufo@ufo:~/$ cd nginx-1.6.2/
ufo@ufo:~/nginx-1.6.2$ ./configure
ufo@ufo:~/nginx-1.6.2$ make
ufo@ufo:~/nginx-1.6.2$ make install
执行nginx 程序:
ufo@ufo:~/nginx-1.6.2$ sudo /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
ufo@ufo:~/nginx-1.6.2$ ps aux | grep nginx
root 41764 0.0 0.0 28240 768 ? ss 11:57 0:00 nginx: master process /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
nobody 41765 0.0 0.1 28668 1412 ? s 11:57 0:00 nginx: worker process
ufo 41767 0.0 0.0 8064 872 pts/1 s+ 11:58 0:00 grep nginx
如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!!
点击进行留言回复
相关文章:
-
-
-
-
-
-
nginx实现动静分离实例讲解
为了加快网站的解析速度,可以把动态页面和静态页面由不同的服务器来解析,加快解析速度。降低原 来单个服务器的压力。 简单来说,就是使用正则表达式匹配过滤,然后交个...
[阅读全文]
-
-
-
-
-
网友评论