- 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.
Table of Contents
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
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
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.