Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


ubuntu_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
Next revisionBoth sides next revision
ubuntu_notes [2019/10/15 15:42] juckinsubuntu_notes [2021/02/21 11:05] juckins
Line 1: Line 1:
-==== Ubuntu Notes ====+==== VirtualBox running Ubuntu 14 Notes ==== 
 + 
 +__20 Jul 2020__ 
 + 
 +Updated VirtualBox to 6.1.12 and Ubuntu 18 would not login after MATE authentication screen (just got black screen).  Went into /opt/VBoxGuestAdditions-6.1.8 and uninstalled the Guest Additions.  Rebooted, logged in correctly.  Then installed latest version of GuestAdditions.  Rebooted again, logged in and all worked correctly. 
 + 
 +If restarting makes the screen go black again, use CTRL-F in VirtualBox 2 times, and that restores it. 
 + 
 +__Other Notes__ 
 [[https://linuxize.com/post/how-to-install-teamviewer-on-ubuntu-18-04/|TeamViewer installation]] [[https://linuxize.com/post/how-to-install-teamviewer-on-ubuntu-18-04/|TeamViewer installation]]
  
Line 14: Line 23:
 lsb_release -a lsb_release -a
 </code> </code>
 +
 +View installed kernels:
 +<code>
 +# dpkg --list | grep linux-image
 +</code>
 +
 +Remove old kernels:
 +
 +  * https://code.launchpad.net/~jarnos/linux-purge/+git/linux-purge
 +    * # linux-purge -s
 +    * # linux-purge
 +    * # linux-purge -m
 +  * https://www.pontikis.net/blog/remove-old-kernels-debian-ubuntu (deprecated)
 +
 +[[https://packages.ubuntu.com/search?keywords=openconnect|Searching for Ubuntu Packages and versions]]
  
 View installed packages: View installed packages:
Line 34: Line 58:
   * Allow Virtualbox guest additions:   * Allow Virtualbox guest additions:
 <code> <code>
-sudo apt-get update +sudo apt update 
-sudo apt-get install build-essential gcc make perl +sudo apt install build-essential gcc make perl 
-sudo apt-get install vim+sudo apt install vim
 sudo apt install gnome-software sudo apt install gnome-software
-sudo apt-get install openssh-server+sudo apt install openssh-server
 reboot reboot
 </code> </code>
Line 60: Line 84:
 sudo apt update sudo apt update
 sudo apt upgrade sudo apt upgrade
-sudo apt-get --with-new-pkgs upgrade+sudo apt --with-new-pkgs upgrade
 </code> </code>
  
Line 101: Line 125:
   SET PASSWORD FOR 'username'@'localhost' = PASSWORD('password');   SET PASSWORD FOR 'username'@'localhost' = PASSWORD('password');
      
 +To allow logins to mysql via adminer:
 +
 +https://serverfault.com/questions/1001274/adminer-denied-acces-for-user
 +
 +  # su -
 +  # mysql -u root -p 
 +  > ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'YOUR_PASSWORD';
 +  # systemctl restart mysql
 +  # systemctl restart apache2.service
      
 +To upgrade MySQL v5.7 to 8.x follow [[https://www.javacodemonk.com/upgrade-mysql-from-5-7-to-8-on-ubuntu-18-04-bd9b5e46|this link]]
 +
 To fix this locale error upon login: To fix this locale error upon login:
  
ubuntu_notes.txt · Last modified: 2021/02/21 11:09 by juckins