立即学习:https://edu.csdn.net/course/play/27216/358400?utm_source=blogtoedu
Ubuntu下nginx的安装步骤:
- apt-get install build-essential
- apt-get install libtool
- apt-get install libpcre3 libpcre3-dev
- apt-get install zlib1g-dev
- apt-get install openssl
- apt-get install libssl-dev
- wget http://nginx.org/download/nginx-1.13.11.tar.gz
- tar -zxvf nginx-1.13.11.tar.gz
- ./configure --prefix=/usr/local/nginx --with-http_ssl_module (用来配置编译后文件的输出位置)
- make
- make install