ubuntu_notes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
ubuntu_notes [2015/03/07 08:19] – juckins | ubuntu_notes [2019/01/27 10:58] – juckins | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ==== Ubuntu Notes ==== | ||
+ | [[http:// | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | Release info: | ||
+ | < | ||
+ | lsb_release -a | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | Ubuntu 18.04 LTS | ||
+ | * After initial login, change preferences in terminal and remove undesired favorites | ||
+ | * [[https:// | ||
+ | * Allow Virtualbox guest additions: | ||
+ | < | ||
+ | sudo apt-get update | ||
+ | sudo apt-get install build-essential gcc make perl | ||
+ | sudo apt-get install vim | ||
+ | sudo apt install gnome-software | ||
+ | sudo apt-get install openssh-server | ||
+ | reboot | ||
+ | </ | ||
+ | |||
+ | * [[https:// | ||
+ | * [[Install UniFi on Ubuntu|Install UniFi on Ubuntu]] | ||
+ | |||
+ | __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 | ||
+ | </ | ||
+ | |||
+ | Very slow using Ubuntu GUI now - check [[https:// | ||
+ | |||
+ | 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 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 | ||
+ | * sudo apt-get install linux-headers-generic | ||
+ | * sudo apt-get install apache2 | ||
+ | * sudo apt-get install mysql-server | ||
+ | * sudo apt-get install php5 libapache2-mod-php5 | ||
+ | * sudo apt-get install gufw | ||
+ | * sudo apt-get install php5-mcrypt | ||
+ | * sudo apt-get install openssh-server openssh-client | ||
+ | |||
+ | Edit php.ini to include the following line: | ||
+ | extension=mcrypt.so | ||
+ | |||
+ | Restart apache: | ||
+ | sudo / | ||
+ | | ||
+ | | ||
[[https:// | [[https:// | ||
* Choose download updates while installing | * Choose download updates while installing | ||
* Choose to install 3rd party software | * Choose to install 3rd party software | ||
+ | * At first load, unlock unnecessary icons from launcher | ||
+ | * Use sudo -i instead of root | ||
Install VirtualBox Guest Additions | Install VirtualBox Guest Additions | ||
Line 10: | Line 110: | ||
Install MyUnity to tweak fonts | Install MyUnity to tweak fonts | ||
* https:// | * https:// | ||
+ | * All 10 except for Monospace (11) | ||
+ | * Show some icons on desktop | ||
- | Use sudo -i instead of root | + | If you cannot |
- | + | ||
- | Cannot | + | |
* Manage some network settings through the System Settings Menu | * Manage some network settings through the System Settings Menu | ||
* Edit / | * Edit / | ||
Line 19: | Line 119: | ||
* sudo service network-manager restart | * sudo service network-manager restart | ||
- | Install and configure vpnc packages | + | Install and configure vpnc packages |
- | * If it can't find these packages, may need to check / | + | |
- | * Added this line: deb http:// | + | |
- | * Precise (12.04 release) | + | |
- | * Searched for " | + | |
- | * It then installed these 3 packages | + | |
- | * http:// | + | |
- | * http:// | + | |
- | * http:// | + | |
- | * Lucid (10.04 release) | + | |
- | * http:// | + | |
- | * http:// | + | |
- | * http:// | + | |
* In Ubuntu Software Center, choose All Software and search for network-manager-vpn | * In Ubuntu Software Center, choose All Software and search for network-manager-vpn | ||
* You should see network-manager-vpnc-gnome and network-manager-vpnc; | * You should see network-manager-vpnc-gnome and network-manager-vpnc; | ||
+ | * If it can't find these packages, may need to check / | ||
+ | * Example line to add: deb http:// | ||
+ | * sudo apt-get update | ||
* Now 3 vpn software packages should be installed: | * Now 3 vpn software packages should be installed: | ||
* network-manager-vpnc | * network-manager-vpnc | ||
Line 41: | Line 132: | ||
* In advanced options of VPN configuration, | * In advanced options of VPN configuration, | ||
* Also changed line in / | * Also changed line in / | ||
+ | * Precise (12.04 release) | ||
+ | * Searched for " | ||
+ | * It then installed these 3 packages | ||
+ | * http:// | ||
+ | * If necessary, save this file and install manually. | ||
+ | * http:// | ||
+ | * http:// | ||
+ | * Lucid (10.04 release) | ||
+ | * http:// | ||
+ | * http:// | ||
+ | * http:// | ||
[[http:// | [[http:// | ||
+ | |||
+ | Install periodic updates: | ||
+ | * You may be able to right-click a little icon in the upper right hand corner of the screen that looks like a gear cog. It should indicate status of pending updates. | ||
+ | * From the command line, use: '' | ||
+ | * Then a little icon called " | ||
+ | * Choose the files to update through that GUI | ||
+ | |||
+ | Download and install a .deb package: | ||
+ | * Save the .deb file to some folder | ||
+ | * sudo apt install ./name.deb |
ubuntu_notes.txt · Last modified: 2021/02/21 11:09 by juckins