Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


This is an old revision of the document!

VirtualBox running Ubuntu 22 Notes

New install May 2022

Install network stuff to run ifconfig, etc:

sudo apt install net-tools

Change hostname

Fix SSH:

sudo apt install openssh-server
sudo systemctl start ssh
sudo systemctl enable ssh

Disable Firewall

Fix bash locale error "-bash: warning: setlocale: LC_ALL: cannot change locale (en_US)":

sudo locale-gen en_US
locale -a

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

Move Unifi Controller to new host

Set up GMail as a Relay, crontab, vi/vim and .vimrc

Move Unifi

  • Install UniFi using the 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
ubuntu_22_notes.1653229062.txt.gz · Last modified: 2022/05/22 10:17 by juckins