sudo apt-get install nginx
提示找不到nginx
网上提示先sudo apt-get update,再试。还是没有用。
换个方式,用apt安装成功:
sudo apt install nginx
安装后,查看nginx版本:
$ nginx -V
nginx version: nginx/1.10.3 (Ubuntu)
built with OpenSSL 1.0.2g 1 Mar 2016
TLS SNI support enabled
sudo apt-get install nginx
提示找不到nginx
网上提示先sudo apt-get update,再试。还是没有用。
换个方式,用apt安装成功:
sudo apt install nginx
安装后,查看nginx版本:
$ nginx -V
nginx version: nginx/1.10.3 (Ubuntu)
built with OpenSSL 1.0.2g 1 Mar 2016
TLS SNI support enabled