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/01/26 12:12] juckinsubuntu_notes [2019/03/25 16:19] juckins
Line 1: Line 1:
 ==== Ubuntu Notes ==== ==== Ubuntu Notes ====
-[[http://howtoubuntu.org/how-to-install-lamp-on-ubuntu|LAMP install]]+[[https://linuxconfig.org/how-to-install-lamp-ubuntu-18-04-bionic-beaver-linux-apache-mysql-php|LAMP on Ubuntu 18.04]] 
 + 
 +[[http://howtoubuntu.org/how-to-install-lamp-on-ubuntu|General LAMP install]]
  
 [[https://help.ubuntu.com/stable/ubuntu-help/net-firewall-on-off.html|Firewall settings]] [[https://help.ubuntu.com/stable/ubuntu-help/net-firewall-on-off.html|Firewall settings]]
 +
 +[[https://askubuntu.com/questions/44418/how-to-enable-root-login|Enabling root]] (or use sudo -i)
  
 Release info:   Release info:  
Line 39: Line 43:
 </code> </code>
  
-Very slow using Ubuntu GUI now - check [[https://thomas.vanhoutte.be/miniblog/guide-speed-up-ubuntu-virtualbox/|Speeding up Ubuntu]]+Very slow using Ubuntu GUI now
 +  * Basically enable 3D acceleration in VirtualBox settings 
 +  * Allocate 128MB video RAM 
 +  * Also see these links: 
 +    * [[https://thomas.vanhoutte.be/miniblog/guide-speed-up-ubuntu-virtualbox/|Speeding up Ubuntu]] 
 +    * [[https://www.linuxbabe.com/virtualbox/speed-up-ubuntu-virtualbox]] 
 + 
 +Check that 3D acceleration is supported: 
 + 
 +  sudo apt install nux-tools 
 +  /usr/lib/nux/unity_support_test -p 
  
 Installing mysql: Installing mysql:
Line 49: Line 64:
 </code> </code>
  
-Then login with this:+Then login like this:
   sudo mysql -u root -p   sudo mysql -u root -p
 +  
 +Login with a non-root user like this:
 +  mysql -u username -p
      
 See notes at [[https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-18-04]] for setting up a new user See notes at [[https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-18-04]] for setting up a new user
Line 61: Line 79:
   CREATE DATABASE dbname;   CREATE DATABASE dbname;
   SET PASSWORD FOR 'username'@'localhost' = PASSWORD('password');   SET PASSWORD FOR 'username'@'localhost' = PASSWORD('password');
 +  
 +  
 +To fix this locale error upon login:
 +
 +<code>
 +-bash: warning: setlocale: LC_ALL: cannot change locale (en_US)
 +</code>
 +
 +run the following:
 +  
 +  sudo locale-gen en_US
 +  locale -a
 +  
 +and confirm you see en_US now.  See [[https://ubuntuforums.org/showthread.php?t=1675347&page=2]] for more info.
 +
 ---- ----
  
ubuntu_notes.txt · Last modified: 2021/02/21 11:09 by juckins