新闻动态

nginx 高性能服务器

发布日期:2019-09-12 15:01 | 文章来源:网络

香港服务器

香港CN2服务器、企业级CN2 GIA双程专线高速回国T3机房香港、美国、韩国、海外物理服务器热销中!

Nginx
高性能HTTP,反向代理
========================================================================================================
基本安装
pcre
支持正则表达式,地址重写rewrite
root@node3~#tarxvfpcre-8.10.tar.gz
root@node3pcre-8.10#./configure&&make&&makeinstall
root@node3pcre-8.10#echo$?
0
nginx
root@node3~#useraddwww
root@node3nginx-1.2.0#./configure--user=www--group=www--prefix=/usr/local/nginx--with-http_stub_status_module--with-http_sub_module--with-http_ssl_module
root@node3nginx-1.2.0#make&&makeinstall
root@node3~#tree/usr/local/nginx/
/usr/local/nginx/
|--conf
||--fAStcgi.conf
||--fastcgi.conf.default
||--fastcgi_params
||--fastcgi_params.default
||--koi-utf
||--koi-win
||--mime.types
||--mime.types.default
||--nginx.conf
||--nginx.conf.default
||--scgi_params
||--scgi_params.default
||--uwsgi_params
||--uwsgi_params.default
|`--win-utf
|--html
||--50x.html
|`--index.html
|--logs
`--sbin
`--nginx
4directories,18files
========================================================================================================
启动nginx
root@node3~#/usr/local/nginx/sbin/nginx-c/usr/local/nginx/conf/nginx.conf
root@node3~#ps-ef|grepnginx

root207211014:14?00:00:00nginx:masterprocess/usr/local/nginx/sbin/nginx-c/usr/local/nginx/conf/nginx.conf
www2072220721014:14?00:00:00nginx:workerprocess
root207385923014:19pts/100:00:00grepnginx

Tags:香港服务器,nginx 高性能服务器

版权声明:本站文章来源标注为YINGSOO的内容版权均为本站所有,欢迎引用、转载,请保持原文完整并注明来源及原文链接。禁止复制或仿造本网站,禁止在非www.yingsoo.com所属的服务器上建立镜像,否则将依法追究法律责任。本站部分内容来源于网友推荐、互联网收集整理而来,仅供学习参考,不代表本站立场,如有内容涉嫌侵权,请联系alex-e#qq.com处理。

相关文章

实时开通

自选配置、实时开通

免备案

全球线路精选!

全天候客户服务

7x24全年不间断在线

专属顾问服务

1对1客户咨询顾问

在线
客服

在线客服:7*24小时在线

客服
热线

400-630-3752
7*24小时客服服务热线

关注
微信

关注官方微信
顶部