安装nginx
来源:互联网 发布:qq三国80js书哪里爆 编辑:程序博客网 时间:2024/05/04 17:18
在安装nginx前,需要确保系统安装了g++、gcc、openssl-devel、pcre-devel和zlib-devel软件。安装必须软件:
yum install gcc-c++
yum -y install zlib zlib-devel openssl openssl--devel pcre pcre-devel
将安装包文件上传到/usr/local中执行以下操作:
tar -zxv -f nginx-1.2.6.tar.gz
cd /usr/local/nginx-1.2.6
./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_realip_module && make
make install
启动
cd /usr/local/nginx/sbin
./nginx
停止
pkill -9 nginx
平滑重启
./nginx -s reload
0 0
- nginx笔记:nginx安装
- Nginx-----源码安装nginx
- 【nginx】nginx的安装
- 安装Nginx
- nginx安装
- 安装 nginx
- 安装nginx
- 安装 Nginx
- nginx安装
- Nginx安装
- 安装Nginx
- 安装nginx
- nginx安装
- 安装nginx
- Nginx安装
- nginx安装
- nginx安装
- nginx 安装
- <context:component-scan>使用说明
- Android Scroller与computeScroll的调用机制关系
- python SyntaxError: Non-ASCII character '\xe4' in file server.py
- ListView三种适配器介绍ArrayListAdapter,SimpleAdapter,BaseAdapter
- GDI+学习及代码总结之------画刷Brush .
- 安装nginx
- CS231n笔记7-ConvNets Typical Architecture与VGGNet
- multipartResolver
- Android Studio Error:Execution failed for task
- 链接数据库, IP 后跟 斜杠“\” 的方式
- Android Gradle配置Debug和release参数的方法
- perl 使用SUPER类来访问覆盖的方法
- IIS部署网站
- 为什么天朝互联网的三巨头是BAT