Env:Ubuntu 14.04.2 LTS
Nginx安装:
由于Ubuntu的默认仓库只有1.4.6,所以不能直接进行安装。
1.添加PPA(Personal Package Archive site:https://launchpad.net)
add-apt-repository ppa:nginx/stable(如果提示未找到此命令,安装apt-get install software-properties-common[python-software-properties])
apt-get update
apt-get install nginx
2.源码安装:参考 Nginx安装