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

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
답변함 일 년 전
  • 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.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인