Ao tentar executar a seguinte linha:
amazon-linux-extras install -y lamp-mariadb10.2-php7.2 php7.2
Ocorre o erro: [ec2-user@ip-172-31-2-134 ~]$ amazon-linux-extras install -y lamp-mariadb10.2-php7.2 php7.2 -bash: [ec2-user@ip-172-31-2-134: command not found [ec2-user@ip-172-31-2-134 ~]$ -bash: amazon-linux-extras: command not found