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 [2024/12/24 10:40] – ↷ Page name changed from ubuntu_installation_checklist to ubuntu_tips_tricks_and_notes mikeubuntu_tips_tricks_and_notes [2024/12/27 20:40] (current) mike
Line 8: Line 8:
  
 === Disable IPv6 === === Disable IPv6 ===
-The recommend method to disable IPv6 on Ubuntu 18.04 after reboot is to configure the GRUB boot loader to pass kernel parameter during the boot time+To disable IPv6 on Ubuntu during boot timeopen the /etc/default/grub file using your favorite text editor with root privileges and change/add:
- +
-To do so open the /etc/default/grub file using your favorite text editor with root privileges and change/add:+
   FROM:   FROM:
   GRUB_CMDLINE_LINUX_DEFAULT=""   GRUB_CMDLINE_LINUX_DEFAULT=""
Line 17: Line 15:
   GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1"   GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1"
   GRUB_CMDLINE_LINUX="ipv6.disable=1"   GRUB_CMDLINE_LINUX="ipv6.disable=1"
-Once you have made the above change within the /etc/default/grub file execute the following commands to apply the GRUB changes:+Once you have made the above change within the /etc/default/grub file execute the following command to apply the GRUB changes:
   sudo update-grub   sudo update-grub
 +  
 +Reboot the system afterwards.
  
 === Enable console screen blanking === === Enable console screen blanking ===
-Edit the /etc/default/grub file using your favorite text editor with root privileges and add the string **consoleblank=600** to the GRUB_CMDLINE_LINUX_DEFAULT and GRUB_CMDLINE_LINUX lines for a 10-minute timeout.  Save the file and apply the GRUB changes:+Edit the /etc/default/grub file using your favorite text editor with root privileges and add the string **consoleblank=600** to the GRUB_CMDLINE_LINUX_DEFAULT and GRUB_CMDLINE_LINUX lines for a 10-minute timeout.   
 + 
 +Once you have made the above change within the /etc/default/grub file execute the following command to apply the GRUB changes:
   sudo update-grub   sudo update-grub
 +
 +Reboot the system afterwards.
  
 === To install Samba: === === To install Samba: ===
Line 46: Line 50:
   sudo apt install php-mysql php-gd php-xml   sudo apt install php-mysql php-gd php-xml
   sudo apt install phpmyadmin php-mbstring php-gettext   sudo apt install phpmyadmin php-mbstring php-gettext
 +
 +=== Install phpmyadmin ===
 +  sudo apt update
 +  sudo apt install phpmyadmin
 +  mysql
 +  mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '<password>';
 +  
 +=== Installing Portainer to manage Docker containers ===
 +
 +  sudo docker run -d -p 9443:9443 -p 8000:8000 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest
  
 === Disable interactive restart prompt while upgrading packages with apt === === Disable interactive restart prompt while upgrading packages with apt ===
ubuntu_tips_tricks_and_notes.1735065645.txt.gz · Last modified: 2024/12/24 10:40 by mike

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki