Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

834
Views
Amazon Linux AMI EC2- Missing packages

Following this tutorial: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html

I've been stuck trying to install a LAMP web server on putty because the packages appear to be missing!

I'll take you through the steps:-

1) sudo yum update -y
3) sudo yum install -y httpd24 php70 mysql56-server php70-mysqlnd

Then I get the following:-

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

4) sudo yum repolist all

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

What am I missing??

Thanks!

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

You're using an Amazon Linux 2 instance (as shown by the amzn2-core references in the yum repolist all output), but trying to use the tutorial for Amazon Linux 1. Try this tutorial instead.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!