Ubuntu LTS update Apache2 to the lastest version via SSH
To update Apache2 to the lasted version on Ubuntu is quite simpe:
- Verify current Apache version:
-
1sudo apache2 -v
- Add Apache repository:
-
1sudo add-apt-repository ppa:ondrej/apache2
-
- Update apt:
-
1sudo apt update
-
- Upgrade apt:
-
1sudo apt upgrade
-
And now ( in my case, with Ubuntu 22.04 current date) my new Apache2 release is: