备案/许可证编号:粤ICP备17106855号,工信部网站(http://www.beian.miit.gov.cn)
12345678910111213141516171819202122232425262728293031323334353637
1.下载nginx:porschan@porschan-virtual-machine:~$ wget http://nginx.org/download/nginx-1.14.2.tar.gz2.解压nginx:porschan@porschan-virtual-machine:~$ tar -xzf nginx-1.14.2.tar.gz 目录:auto - 辅助configure文件提供服务CHANGES - 版本特性历史CHANGES.ru - 版本特性历史(俄罗斯语言)conf - configure 的democonfigure - 配置文件contrib - 脚本(nginx 语法标色)html - 50x错误跳转页面和首页LICENSEman - 帮助文件READMEsrc - 源代码objs - 中间文件3.cp -r contrib/vim/* ~/.vim/(未成功)sudo cp -r /contrib/vim/* ~/.vim/4.查看安装情况:porschan@porschan-virtual-machine:~/nginx-1.14.2$ ./configure --help | morewith(默认不添加)、without(默认添加)5.编译:porschan@porschan-virtual-machine:~/nginx-1.14.2$ ./configure --help | more6../configure --prefix=/home/geek/nginx7.make && make install