Tag: linux-basics
-
10-bit Color on Ubuntu AMDGPU Driver
I was having trouble getting my Radeon E9173 to output 10-bit color to my Denon AVR-X4100W receiver and Sony KDL-65W850A TV. This guide will show you how to output 10-bit color using the AMDGPU driver on Ubuntu 22.04 Jammy. Set DefaultDepth 30 Newer AMD cards support 10bpc color, but the default is 24-bit color and…
-
Performance Tuning for ZFS Pool
ZFS is a popular file system for managing large amounts of data due to its robustness, data integrity, and ease of use. However, optimizing ZFS for maximum performance can be a daunting task. In this blog post, we will explore some tips and best practices for tuning ZFS performance. About ZFS ZFS, short for Zettabyte…
-
Use Bonnie++ to benchmark Linux disk and file system
Bonnie++ is a free disk and file system benchmarking tool for measuring I/O performance on Linux systems. In Ubuntu, use the apt command to install the bonnie++ package: Run bonnie++ with the following attributes: For example, to benchmark a ZFS pool located at /tank on a system with 16G of RAM, with “MyTest” as the name of the label for…
-
How to Identify Network Manager for Ubuntu
There have been three approaches to managing network configurations in Linux: The oldest uses the /etc/network/interfaces file and ifup/ifdown scripts to manage network interfaces. After that came the network-manager daemon (often written Network-Manager or NetworkManager), which has a GUI available to manage interfaces. And most recently the systemd-networkd daemon (sometimes abbreviated just ‘networkd’) which is based on systemd unit files. In this post, we will explain…
-
How to Change from NetworkManager to Networkd
By default, the desktop version of Ubuntu uses NetworkManager to configure and manage your network interfaces. NetworkManager provides a GUI, so in most desktop environments, it is the preferred way to handle networking. The server edition of Ubuntu does not have a desktop environment installed by default, so NetworkManager is not possible and therefore not…
-
How to Setup LACP Bonding on Ubuntu
Network bonding or teaming refers to a process of combining two or more network interfaces into one. Network bonding can enhance performance and capacity by increasing throughput and bandwidth, and provide network redundancy and load balancing. This guide will show how to connect multiple network interfaces into a single bond interface on Ubuntu 20.04. Requirements…
-
Sample Bash Codes to Increase Productivity with Command Line
Here is a collection of my bash commands in /home/username/.bash_aliases Change Bash Aliases Nano Change to Dropbox User Session SSH to Server Files and Directories Journalctl Systemctl List Ports Docker Compose Apt Package Manager Pi-hole Update for Lighttpd Telegraf Nginx Home Assistant Frigate Transmission-Daemon SAMBA smbd Cron Go to Directory NFS
-
How to Get Rid of Cloud-Init Datasource DataSourceNone Error on Ubuntu Server
On my new installation of Ubuntu Server 22.04 LTS on ProxMox 7.2, I was receiving an error message about ‘cloud-init’ and ‘DataSourceNone’ whenever I logged into the Ubuntu Server. If you don’t need cloud functionality, you can get rid of the error by disabling the cloud-init process: Note: If you’re having trouble logging into shell…
-
How to Read Mail in Linux Command Line Terminal – “You have mail”
When I first logged into the command line of my Linux container (LXC) for Pi-hole, there was a message in the terminal that said I had mail. That seemed strange to me because I had just created the LXC and had not setup anything for emails. After some digging, I learned that “You have mail”…
