sudo: amazon-linux-extras: command not found

0

I want to deploy wordpress website using RDS and ec2 and for that i'm taking help of aws hands on tutorial to deploy wordpress with RDS. one point came deploy wordpress and this command is given but when im suing its showing error command : sudo amazon-linux-extras install -y lamp-mariadb10.2-php7.2 php7.2 error:sudo: amazon-linux-extras: command not found

Shree
已提問 1 年前檢視次數 1618 次
1 個回答
0
已接受的答案

Check the Amazon image version of your EC2 instance That is because you must have picked amazon linux 2023 ami while launching the server the command "amazon-linux-extras" will work only in amazon-linux-2.

profile picture
Arsalan
已回答 1 年前
  • ok I got it but one more question if you don't mind why to use amazon-linux-2 rather then amazon linux 2023 and whats the difference between them and how to know which ami to use.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南