ubuntu_notes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
ubuntu_notes [2020/11/30 12:59] – juckins | ubuntu_notes [2021/02/21 11:09] – juckins | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== Ubuntu Notes ==== | + | ==== VirtualBox running |
- | + | ||
- | __20 Jul 2020__ | + | |
- | + | ||
- | Updated VirtualBox to 6.1.12 and Ubuntu 18 would not login after MATE authentication screen (just got black screen). | + | |
- | + | ||
- | If restarting makes the screen go black again, use CTRL-F in VirtualBox 2 times, and that restores it. | + | |
- | + | ||
- | __Other Notes__ | + | |
- | + | ||
- | [[https:// | + | |
- | + | ||
- | [[https:// | + | |
- | + | ||
- | [[http:// | + | |
- | + | ||
- | [[https:// | + | |
- | + | ||
- | [[https:// | + | |
- | + | ||
- | Release info: | + | |
- | < | + | |
- | lsb_release -a | + | |
- | </ | + | |
- | + | ||
- | View installed kernels: | + | |
- | < | + | |
- | # dpkg --list | grep linux-image | + | |
- | </ | + | |
- | + | ||
- | Remove old kernels: | + | |
- | + | ||
- | * https:// | + | |
- | * # linux-purge -s | + | |
- | * # linux-purge | + | |
- | * # linux-purge -m | + | |
- | * https:// | + | |
- | + | ||
- | [[https:// | + | |
- | + | ||
- | View installed packages: | + | |
- | < | + | |
- | # apt list --installed | + | |
- | # dpkg --get-selections | grep -v deinstall |grep unifi | + | |
- | </ | + | |
- | + | ||
- | Remove installed package: | + | |
- | < | + | |
- | # dpkg -r package_name | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | ---- | + | |
- | + | ||
- | Ubuntu 18.04 LTS | + | |
- | * After initial login, change preferences in terminal and remove undesired favorites | + | |
- | * [[https:// | + | |
- | * Allow Virtualbox guest additions: | + | |
- | < | + | |
- | sudo apt update | + | |
- | sudo apt install build-essential gcc make perl | + | |
- | sudo apt install vim | + | |
- | sudo apt install gnome-software | + | |
- | sudo apt install openssh-server | + | |
- | reboot | + | |
- | </ | + | |
- | + | ||
- | * [[https:// | + | |
- | * [[https:// | + | |
- | * [[Install UniFi on Ubuntu|Install UniFi on Ubuntu]] | + | |
- | + | ||
- | __12 Sep 2019__ | + | |
- | + | ||
- | [[https:// | + | |
- | + | ||
- | __26 Jan 2019__ | + | |
- | + | ||
- | Logging into Desktop GUI only gives a blank screen: | + | |
- | * Tried updating VirtualBox Guest Additions to v5.2-5.2.24 but no change | + | |
- | * Tried updating packages using commands below | + | |
- | + | ||
- | Use these commands to update packages, as it allows interactive use to answer questions: | + | |
- | < | + | |
- | sudo apt update | + | |
- | sudo apt upgrade | + | |
- | sudo apt --with-new-pkgs upgrade | + | |
- | </ | + | |
- | + | ||
- | Very slow using Ubuntu GUI now: | + | |
- | * Enable 3D acceleration in VirtualBox settings | + | |
- | * Allocate 128MB video RAM | + | |
- | * Restart and test | + | |
- | * Also see these links: | + | |
- | * [[https:// | + | |
- | * [[https:// | + | |
- | + | ||
- | Check that 3D acceleration is supported: | + | |
- | + | ||
- | sudo apt install nux-tools | + | |
- | / | + | |
- | + | ||
- | + | ||
- | Installing mysql: | + | |
- | + | ||
- | < | + | |
- | sudo apt install mysql-client-core-5.7 | + | |
- | sudo apt install mysql-server | + | |
- | sudo / | + | |
- | </ | + | |
- | + | ||
- | Then login like this: | + | |
- | sudo mysql -u root -p | + | |
- | + | ||
- | Login with a non-root user like this: | + | |
- | mysql -u username -p | + | |
- | + | ||
- | See notes at [[https:// | + | |
- | + | ||
- | Other SQL commands/ | + | |
- | + | ||
- | + | ||
- | CREATE USER ' | + | |
- | GRANT ALL PRIVILEGES ON *.* TO ' | + | |
- | CREATE DATABASE dbname; | + | |
- | SET PASSWORD FOR ' | + | |
- | + | ||
- | To allow logins to mysql via adminer: | + | |
- | + | ||
- | https:// | + | |
- | + | ||
- | # su - | + | |
- | # mysql -u root -p | + | |
- | > ALTER USER ' | + | |
- | # systemctl restart mysql | + | |
- | # systemctl restart apache2.service | + | |
- | + | ||
- | To upgrade MySQL v5.7 to 8.x follow [[https:// | + | |
- | + | ||
- | To fix this locale error upon login: | + | |
- | + | ||
- | < | + | |
- | -bash: warning: setlocale: LC_ALL: cannot change locale (en_US) | + | |
- | </ | + | |
- | + | ||
- | run the following: | + | |
- | + | ||
- | sudo locale-gen en_US | + | |
- | locale -a | + | |
- | + | ||
- | and confirm you see en_US now. See [[https:// | + | |
- | + | ||
- | ---- | + | |
Ubuntu 14.04.5 LTS Notes | Ubuntu 14.04.5 LTS Notes |
ubuntu_notes.txt · Last modified: 2021/02/21 11:09 by juckins