- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Core Tech
Amazon Linux Package Management & Service Configuration
In this lab, you'll provision and configure a complete LAMP stack on an Amazon Linux 2023 EC2 instance. You'll install and secure Apache, MariaDB, and PHP, configure services with systemd, and use the systemd journal to diagnose and resolve service failures. By the end of the lab, you'll have hands-on experience performing common Linux server administration tasks used to deploy and maintain production web servers
Lab Info
Table of Contents
-
Challenge
Install and configure a LAMP stack on Amazon Linux 2023 using DNF module streams
Install and configure a LAMP stack on Amazon Linux 2023 by installing Apache, PHP, and MariaDB using
dnf. -
Challenge
Configure systemd services for automatic startup and create a custom service unit file
Configure Apache, MariaDB, and PHP-FPM to start automatically using systemd, create a custom service unit to initialize an application, and verify service status using
systemctl. -
Challenge
Retrieve and analyze systemd journal logs to diagnose and resolve service failures
Retrieve, analyze, and filter systemd journal logs to diagnose and resolve a failed custom service.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.