bash command not found

0

getting error while using amazon-linux-extras install nginx1.12 -y getting error :bash command not found

已提问 1 年前300 查看次数
1 回答
1

If you are using a newer version of the Amazon image it will not have extras in it.

You can run the following command to check your image version.

cat /etc/image-id

If it is Amazon Linux 2023, it does not have extras.

However, most of the packages are already included in the distro.

You can run sudo yum install nginx which will install version 1.22

AWS
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则