系统相关
首页 > 系统相关> > Amazon Linux 2上安装nginx

Amazon Linux 2上安装nginx

作者:互联网

起因:启动了Amazon Linux 2 无法 yum install nginx

# 解决办法
yum install -y amazon-linux-extras
amazon-linux-extras list | grep nginx
amazon-linux-extras install nginx1
systemctl enable nginx
systemctl start nginx

引用:https://aws.amazon.com/cn/premiumsupport/knowledge-center/ec2-install-extras-library-software/

标签:linux,amazon,nginx,Amazon,extras,install,Linux
来源: https://www.cnblogs.com/yunweizhijun/p/15383739.html