debian下nginx安装
2018-10-11 本文已影响0人
夜星_3872
预先步骤
apt-get install gcc
apt-get install libpcre3 libpcre3-dev openssl libssl-dev libperl-dev
apt-get install make
下载nginx
wget http://nginx.org/download/nginx-1.8.1.tar.gz
解压
tar zxvf nginx-1.8.1.tar.gz
进入解压后的目录
cd nginx-1.8.1
依次运行
./configure
make
sudo make install