How do I update Apache2 on Ubuntu 18.04?
Linode
Linode Staff
What is the best way to upgrade Apache2 for my Ubuntu 18.04 Linode? Do I need to add the ppa:ondrej/apache2 repository?
1 Reply
When upgrading your Apache2 web server on Ubuntu 18.04 you will want to add the ppa:ondrej/apache2 repository. To get Apache2 updated, enter the following commands:
sudo add-apt-repository ppa:ondrej/apache2
Then run the updates.
sudo apt update
Then install the most recent version of Apache2.
sudo apt install apache2
This should get your Apache2 fully updated.