Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


ubuntu_22_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
ubuntu_22_notes [2022/05/21 10:35] juckinsubuntu_22_notes [2022/05/22 10:20] juckins
Line 4: Line 4:
  
 Install network stuff to run ifconfig, etc: Install network stuff to run ifconfig, etc:
- +  sudo apt install net-tools 
-  apt install net-tools +   
 +[[https://linuxconfig.org/ubuntu-22-04-change-hostname|Change hostname]] 
 +   
 +  
 [[https://computingforgeeks.com/install-and-configure-ssh-server-on-ubuntu/|Fix SSH]]: [[https://computingforgeeks.com/install-and-configure-ssh-server-on-ubuntu/|Fix SSH]]:
-  apt install openssh-server +  sudo apt install openssh-server 
-  systemctl start ssh +  sudo systemctl start ssh 
-  systemctl enable ssh+  sudo systemctl enable ssh
  
-[[https://linuxconfig.org/how-to-enable-disable-firewall-on-ubuntu-22-04-lts-jammy-jellyfish-linux|Disable Firewall]]:+[[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)": Fix bash locale error "-bash: warning: setlocale: LC_ALL: cannot change locale (en_US)":
Line 18: Line 20:
   locale -a   locale -a
  
-  * confirm you see en_US now.  +  * Confirm you see en_US now.  
   * See [[https://ubuntuforums.org/showthread.php?t=1675347&page=2]] for more info.   * 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]]: [[https://www.linuxcapable.com/install-mate-desktop-on-ubuntu-22-04-lts/|Install MATE]]:
- 
   * Add these to top panel: Firefox, xterm, pluma   * Add these to top panel: Firefox, xterm, pluma
  
 Customize grub to show boot options and keep messages on screen during boot: Customize grub to show boot options and keep messages on screen during boot:
  
-  su - root 
   cd /etc/default   cd /etc/default
-  cp grub grub.YYYYMMDD +  sudo cp grub grub.YYYYMMDD 
-  vi grub+  sudo vi grub
  
   * Comment out: GRUB_TIMEOUT_STYLE=hidden   * Comment out: GRUB_TIMEOUT_STYLE=hidden
Line 37: Line 37:
   * Comment out: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"   * Comment out: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  
-  update-grub+  sudo update-grub
  
   * Reboot to test   * Reboot to test
  
 [[https://www.smarthomebeginner.com/move-unifi-controller/|Move Unifi Controller to new host]] [[https://www.smarthomebeginner.com/move-unifi-controller/|Move Unifi Controller to new host]]
 +
 +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 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
ubuntu_22_notes.txt · Last modified: 2022/05/22 10:34 by juckins