Ubuntu18.4安装nginx
时间:2021-04-21 12:21:58
收藏:0
阅读:0
第一步:apt upgrade所有软件包
第二步:下载Nginx
apt install nginx
第三步:查看是否安装成功,启动状态
命令: nginx -v systemctl status nginx
第四步:本地查看是否有默认页面
命令:curl 127.0.0.1
添加开机启动命令:systemctl enable nginx
评论(0)