Nginx
先安装以下依赖:
sudo apt-get install build-essentialsudo apt-get install libtoolsudo apt-get updatesudo apt-get install libpcre3 libpcre3-devsudo apt-get install zlib1g-devsudo apt-get install openssl
下载nginx软件包
wget http://nginx.org/download/nginx-1.15.7.tar.gz
安装nginx
./configure --prefix=/usr/local/nginxmakemake install
添加nginx软链接
ln -s /usr/local/nginx/sbin/nginx /usr/sbin/