Virtual Machine Maintenance Summer ‘24
River Oaks Church - Updated July 2024
1. Set timezone correctly
1.1. Run the following command to configure the timezone:
sudo dpkg-reconfigure tzdata
1.1.1. Select either America/Indiana/Indianapolis or US/Eastern.
The specific timezone doesn’t matter, as long as it is set on the VM.
2. Update the VM's password for the primary user account
2.1. Run the following command to change the password:
passwd
2.2. Copy the old password (paste it into the terminal).
2.3. Regenerate the password in Bitwarden (edit the pencil icon -> rotate icon).
2.4. Paste the new password into the terminal twice to confirm.
2.5. Test the connection to the VM in a new terminal before closing out the original session.
3. Fully Update Ubuntu
3.1. Run the following command to update and upgrade the system:
sudo apt update -y && sudo apt upgrade -y && sudo apt full-upgrade -y && sudo apt autoremove -y
3.2. Reload services as needed.
4. Update Node-RED (If applicable)
4.1. Rerun the installation script. Instructions can be found here.
5. Check VM Resources
5.1. Use the htop command to check if the VM is maxing out CPU or RAM.
5.2. Use the df -h command to check if the VM is low on storage.
- Look specifically at /dev/mapper/ubuntu--vg-ubuntu--lv (filesystem).
6. Reboot if Necessary
6.1. Reboot the VM if it has a high uptime (greater than 200 days).