==== VirtualBox running Ubuntu 22 Notes ==== Install and run [[https://launchpad.net/linux-purge|linux-purge]] linux-purge -s linux-purge linux-purge -m New install May 2022 Set root password sudo passwd root Turn off screensaver Add my .bashrc and my alias for apt updates: alias au='apt update; apt -y upgrade' Install network stuff to run ifconfig, etc: sudo apt install net-tools [[https://linuxconfig.org/ubuntu-22-04-change-hostname|Change hostname]] For Guest Additions: sudo apt install gcc make perl [[https://computingforgeeks.com/install-and-configure-ssh-server-on-ubuntu/|Fix SSH]]: sudo apt install openssh-server sudo systemctl start ssh sudo systemctl enable ssh [[https://linuxconfig.org/how-to-enable-disable-firewall-on-ubuntu-22-04-lts-jammy-jellyfish-linux|Disable Firewall]] Fix bash locale error "-bash: warning: setlocale: LC_ALL: cannot change locale (en_US)": sudo locale-gen en_US locale -a * Confirm you see en_US now. * See [[https://ubuntuforums.org/showthread.php?t=1675347&page=2]] for more info. [[https://www.linuxcapable.com/install-mate-desktop-on-ubuntu-22-04-lts/|Install MATE]]: * Add these to top panel: Firefox, xterm, pluma Customize grub to show boot options and keep messages on screen during boot: cd /etc/default sudo cp grub grub.YYYYMMDD sudo vi grub * Comment out: GRUB_TIMEOUT_STYLE=hidden * Instead of a value of 0, modify GRUB_TIMEOUT=5 * Comment out: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" sudo update-grub * Reboot to test Set up [[gmail_as_a_relay_on_linux_centos8|GMail as a Relay]], crontab, vi/vim and .vimrc [[https://www.smarthomebeginner.com/move-unifi-controller/|Move Unifi Controller using steps below]] * Install UniFi using the [[https://community.ui.com/questions/UniFi-Installation-Scripts-or-UniFi-Easy-Update-Script-or-UniFi-Lets-Encrypt-or-UniFi-Easy-Encrypt-/ccbc7530-dd61-40a7-82ec-22b17f027776|Easy Installation Script]] * Make Backup of Unifi on old VM using script above * Shutdown old VM and new VM * Change IP address of new VM to match that of old VM (use MAC if DHCP) * Start new VM * Restore UniFi config from backup