- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Installing and Managing Packages on Debian/Ubuntu Systems
Installation and removal of packages is a core skill for anyone managing Linux distributions. During this activity, the student will work with the package manager and installation utilities `apt` and `dpkg` to manage packages on Ubuntu/Debian Linux distributions.

Lab Info
Table of Contents
-
Challenge
Install the Apache Web Server Package
You've been provisioned with an Ubuntu 16.04 LTS server and will need to install the Apache web server and Wget on it using the standard package manager:
sudo apt install apache2 wget
Note: Ubuntu/Debian systems will usually start a service automatically, once its package is installed. You may need to update the package manager.
sudo apt update
-
Challenge
Verify the Server is Running and Capture the Result
Using the wget package, capture the output of a request to the local Apache server's default site in a file in the home directory called
local_index.response
.You can verify the service is running with:
sudo systemctl status apache2
And capture the output via the command:
wget --output-document=local_index.response http://localhost
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.