title: Amazon Linux AMI EC2- Missing packages
body: <p>Following this tutorial: <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html" rel="noreferrer">https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html</a></p>
  
  <p>I've been stuck trying to install a LAMP web server on putty because the packages appear to be missing!</p>
  
  <p>I'll take you through the steps:-</p>
  
  <p>1) <code>sudo yum update -y</code><br>
  3) <code>sudo yum install -y httpd24 php70 mysql56-server php70-mysqlnd</code></p>
  
  <p>Then I get the following:-</p>
  
  <pre><code>Loaded plugins: langpacks, priorities, update-motd
  No package httpd24 available.
  No package php70 available.
  No package mysql56-server available.
  No package php70-mysqlnd available.
  Error: Nothing to do
  </code></pre>
  
  <p>4) <code>sudo yum repolist all</code></p>
  
  <pre><code>Loaded plugins: langpacks, priorities, update-motd
  repo id                             repo name                     status
  !amzn2-core/2017.12/x86_64          Amazon Linux 2 core repositor enabled: 7,711
  amzn2-core-debuginfo/2017.12/x86_64 Amazon Linux 2 core repositor disabled
  amzn2-core-source/2017.12           Amazon Linux 2 core repositor disabled
  repolist: 7,711
  </code></pre>
  
  <p>What am I missing??</p>
  
  <p>Thanks!</p>