upgrade-ubuntu-20-04-to-22-04/
Procedure to upgrade Ubuntu 20.04 to 22.04. Wait till August 4th for 22.04.1. The first stable version. Most of the bugs will be worked out by then.
Procedure to upgrade Ubuntu 18.04 to 20.04
- Create a backup of your server or vm.
- Upgrade all installed packages of Ubuntu version 18.04 by running sudo apt update && sudo apt upgrade command.
sudo apt update
sudo apt list --upgradable
sudo apt upgrade - Reboot the Ubuntu Linux system by tying the sudo reboot command
- Install the Ubuntu update tool, run: sudo apt install update-manager-core
- Start the upgrade procdure, run: sudo do-release-upgrade -d
- Reboot the box, run: sudo reboot
- Verify upgrades
These notes are from previous installs for reference only
I am rebuilding the Ubuntu server. I created the VMs with 4 hard drives. Each for one partition listed below:
/boot partition 2 GB
/ partition 25 GB
/swap partition 4 GB
/var partition 250 GB and 330 GB.
Current Virtual Web Sites:
Internally I created a Dropbox server for my wife to use for her pictures and videos on her phone. It syncs will her account on the cloud. It is on Ubuntu 16.04.6 like the other servers. My next project is moving the Dropbox server into the VMWare environment from the external box.
The new Ubuntu WordPress servers backups more than twice as fast at the CentOS 7 server. In DMESG, I can see the gigabit full duplex NIC settings. The 160 GB + VMs take under an hour to backup to the eSATA drive. I have dedicated pages for this topic.
4.2.2019 New Apache Web Server Bug Threatens Security of Shared Web Hosts
“In Apache HTTP Server 2.4 releases 2.4.17 to 2.4.38, with MPM event, worker or prefork, code executing in less-privileged child processes or threads (including scripts executed by an in-process scripting interpreter) could execute arbitrary code with the privileges of the parent process (usually root) by manipulating the scoreboard. Non-Unix systems are not affected,” the advisory says.
6.30.2019: Upgraded UbuntuWPSCSI to 18.04.2 using do-release-upgrade. It worked! I did the same to UbuntuWPMM and it had issues with Apache2. I rolled it back.
7.7.2019 I migrated all the web sites to the new Ubuntu 18.04.2 server with LTS Enablement.
I decided to create both IPv4 and IPv6 addresses. I disabled dhcp. Fortinet doesn’t do DHCPv6 reservations. I can’t match IPv4 to IPv6.
A Boolean represents a true/false value. Booleans are formatted as English words (“true”/“false”, “yes”/“no” or “on”/“off”) for readability and may be abbreviated as a single character “y”/“n” or “Y”/“N”.
They moved the network configuration to here: etc/netplan$ sudo vi 01-netcfg.yaml
network:
version: 2
renderer: networkd
ethernets:
ens32:
dhcp4: false
dhcp6: false
addresses: [192.168.1.65/24, ‘fd00:192:168:1::65/64’]
gateway4 : 192.168.1.173
gateway6 : fd00:192:168:1::173
nameservers:
addresses: [208.91.112.53, 208.91.112.52]
Sudo netplan try: tests it
Sudo netplan apply : enables it.