User Tools

Site Tools


ubuntu_tips_tricks_and_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
ubuntu_tips_tricks_and_notes [2025/06/22 01:06] mikeubuntu_tips_tricks_and_notes [2026/01/10 19:26] (current) mike
Line 1: Line 1:
 ====== Ubuntu Tips, Tricks and Notes ====== ====== Ubuntu Tips, Tricks and Notes ======
 ---- ----
 +==== Mirrors ====
 +The default mirror is **%%http://us.archive.ubuntu.com/ubuntu/%%**
 +
 +The preferred mirror is **%%http://mirrors.mit.edu/ubuntu/%%**
 +
 +  
 ==== Post-Installation ==== ==== Post-Installation ====
 Make the output of the **df** command more friendly and less cluttered by creating a system-wide alias for it: Make the output of the **df** command more friendly and less cluttered by creating a system-wide alias for it:
Line 52: Line 58:
  
 === Install phpmyadmin === === Install phpmyadmin ===
 +
   sudo apt update   sudo apt update
-  sudo apt install phpmyadmin+  sudo apt install phpmyadmin php-mbstring php-zip php-gd php-json php-curl 
 +  sudo phpenmod mbstring 
 +  sudo systemctl restart apache2
   mysql   mysql
 +  mysql> SELECT user,authentication_string,plugin,host FROM mysql.user;
   mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '<password>';   mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '<password>';
-  +
 === Installing Portainer to manage Docker containers === === Installing Portainer to manage Docker containers ===
  
Line 91: Line 101:
  
 If the issue persists afterwards, a reboot of the system should resolve it. If the issue persists afterwards, a reboot of the system should resolve it.
 +
 +=== Fixing the Low Battery Alert ===
 +Found on Reddit; will "clean it up" later...
 +
 +cd /etc/UPower\\
 +sudo nano UPower.conf\\
 +If you set UsePercentageForPolicy=true then edit the percentage lines to your liking, such as:\\
 +PercentageLow=50\\
 +PercentageCritical=35\\
 +If you prefer a time based approach, then set UsePercentageForPolicy to false and set the time notification options to your liking, such as:\\
 +TimeLow=1200\\
 +TimeCritical=300\\
 +Hit ctrl+X to save the UPower.conf file and close out of nano editor.\\
 +Reboot computer or sudo systemctl restart upower for changes to take effect.\\
 +
ubuntu_tips_tricks_and_notes.1750579575.txt.gz · Last modified: by mike

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki