nginx安装
来源:互联网 发布:网络公选课答案智慧树 编辑:程序博客网 时间:2024/06/16 10:39
下载稳定版
http://nginx.org/en/download.html
解压:tar -zxvf nginx-1.10.1.tar.gz
cd nginx-1.10.1/
./configure
checking for OS + Linux 3.13.0-32-generic x86_64checking for C compiler ... found + using GNU C compiler + gcc version: 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3) checking for gcc -pipe switch ... found…… 一长串checkingchecking for md5 in system md library ... not foundchecking for md5 in system md5 library ... not foundchecking for md5 in system OpenSSL crypto library ... not foundchecking for sha1 in system md library ... not foundchecking for sha1 in system OpenSSL crypto library ... not foundchecking for zlib library ... foundcreating objs/MakefileConfiguration summary + using system PCRE library + OpenSSL library is not used + using builtin md5 code + sha1 library is not found + using system zlib library nginx path prefix: "/usr/local/nginx" nginx binary file: "/usr/local/nginx/sbin/nginx" nginx modules path: "/usr/local/nginx/modules" nginx configuration prefix: "/usr/local/nginx/conf" nginx configuration file: "/usr/local/nginx/conf/nginx.conf" nginx pid file: "/usr/local/nginx/logs/nginx.pid" nginx error log file: "/usr/local/nginx/logs/error.log" nginx http access log file: "/usr/local/nginx/logs/access.log" nginx http client request body temporary files: "client_body_temp" nginx http proxy temporary files: "proxy_temp" nginx http fastcgi temporary files: "fastcgi_temp" nginx http uwsgi temporary files: "uwsgi_temp"
make install
切到
nginx binary file: “/usr/local/nginx/sbin/nginx”
执行./nginx
root@ubuntu:/usr/local/nginx/sbin# ps -ef |grep nginxroot 19874 1 0 19:44 ? 00:00:00 nginx: master process ./nginxnobody 19875 19874 0 19:44 ? 00:00:00 nginx: worker process
说明安装成功
0 0
- nginx笔记:nginx安装
- Nginx-----源码安装nginx
- 【nginx】nginx的安装
- 安装Nginx
- nginx安装
- 安装 nginx
- 安装nginx
- 安装 Nginx
- nginx安装
- Nginx安装
- 安装Nginx
- 安装nginx
- nginx安装
- 安装nginx
- Nginx安装
- nginx安装
- nginx安装
- nginx 安装
- 构造干净的 Git 历史线索
- 第2章 Java内存区域与内存溢出异常
- MyEclipse快捷键大全
- liunx程序运行状态
- 猴子摘桃
- nginx安装
- 对于future异步的思考
- 从如何解决问题到如何学习算法
- 文章标题
- scipy module 1 -- Scipy Tutorial 2 Interpolation(插值)
- hdu 5213(容斥原理+莫队算法)
- An internal error occurred during: "Retrieving archetypes:". GC overhead limit exceeded
- 使用Junit编写webdriver脚本-访问chrome浏览器的百度地图
- Javascript中延迟加载js文件