- Lab
- A Cloud Guru
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.
Path 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
What's a lab?
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.