The first step is to edit your /etc/fstab file as follows: After the discard option, add usrquota and grpquota as follows: Reboot your machine. Finally, run the following command to…
How to enable quotas for ext4 Ubuntu 22.04
Change hostname Ubuntu 22.04
Most guides will suggest one of the following ways to change the hostname: You’ll find that if you’re running cloud-init, that none of these methods persist the hostname after a…
Setup TigerVNC over SSH tunnel on Ubuntu 22.04
By using VNC over an SSH tunnel you have all the security you require and there is no need to fiddle with SSL certificates etc. Install the Ubuntu Desktop environment:…
Improve battery life/performance on Ubuntu with TLP
TLP is a very nifty piece of software to improve battery life on Linux laptops, and it comes with external kernel modules for Lenovo ThinkPad’s which further improve battery life….
How to update Snap packages Ubuntu
To list all available updates to Snap packages on Ubuntu, run the following command: To update a specific package, run the following command: To update all Snap packages, run the…
Set timezone Ubuntu 20.04/22.04
The first step is to get a list of timezones: Once you have identified your timezone, simply run the following: An example, to set your timezone to Africa/Johannesburg, run the…
Install CSF on Ubuntu 20.04/22.04
Start by disabling any existing firewalls on Ubuntu: Next, update your package list: Install required packages: Download CSF: Extract and install CSF: Change the path for IPTABLES on Ubuntu: sudo…
Printer rejecting jobs Ubuntu/PopOS
When adding a network printer through the UI, and then attempting to print, you may find that you’ll receive the following error: “printer rejecting jobs” and the document fails to…
Compress/Reduce PDF size Linux terminal
Reduce the size of a pdf file from the Linux terminal using Ghostscript:
How to update Docker CE Ubuntu
Its always good to test things first, so let’s do a dry run to see if the update succeeds: If all looks good, let’s perform the actual update of docker-ce: