下载稳定版
http://
nginx
.org/en/download.html
解压:tar -zxvf nginx-1.10.1.tar.gz
cd nginx-1.10.1/
./configure
make install
切到
nginx binary file: “/usr/local/nginx/sbin/nginx”
执行./nginx
说明安装成功
').addClass('pre-numbering').hide();
$(this).addClass('has-numbering').parent().append($numbering);
for (i = 1; i ').text(i));
};
$numbering.fadeIn(1700);
});
});
以上就介绍了 nginx安装,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。
checking for OS
+ Linux 3.13.0-32-generic x86_64
checking 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
…… 一长串checking
checking for md5 in system md library... not found
checking for md5 in system md5 library... not found
checking for md5 in system OpenSSL crypto library... not found
checking for sha1 in system md library... not found
checking for sha1 in system OpenSSL crypto library... not found
checking for zlib library... found
creating objs/Makefile
Configuration 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"root@ubuntu:/usr/local/nginx/sbin# ps -ef |grep nginx
root 198741019:44 ? 00:00:00nginx: master process ./nginx
nobody 1987519874019:44 ? 00:00:00nginx: worker process