ubuntu 安装nginx提示找不到包

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

猜你喜欢

转载自blog.csdn.net/weixin_40433334/article/details/126070897
今日推荐