Relocating a Full /var Directory in Linux

How to Move /var to Another Directory on a Full Partition

When the var partition full problem occurs, it can disrupt system operations and applications due to lack of space for logging, caching, and other dynamic data handling tasks that occur in the /var directory. This article provides a comprehensive guide on how to relocate the /var directory to another partition to mitigate issues with space constraints. This procedure is crucial for maintaining the integrity and performance of your systems.

Read more

Change IP address on Ubuntu Server

Change IP address on Ubuntu Server

You have two options when configuring the IP address on your Ubuntu Server, and that is either a static IP address or DHCP. A static IP address allows you to manually select your IP address by configuring it on the Linux system, whereas DHCP relies on the router or DHCP server to lease you an IP address – either a reserved one or the next available one that is currently free, depending on the setup.

Read more

Linux File Types: Identification and Management

Linux File Types: Identification and Management

Linux systems support various file types, each designated by a unique character in directory listings, crucial for system management. These characters, such as ‘-‘ for regular files and ‘d’ for directories, help users quickly discern the nature of each file at a glance. This tutorial will guide you through identifying and creating different types of files in Linux, providing practical skills for optimizing your workflow and enhancing your system’s organization. By mastering these concepts, you will gain a deeper understanding of how Linux structures its filesystem and how you can manipulate it to your advantage.

Read more

Managing BIND DNS Server Cache: Viewing and Clearing Cache

Managing BIND DNS Server Cache: Viewing and Clearing Cache

This article explores the process of managing the cache in a BIND DNS server, specifically focusing on how to view and clear the cache effectively. Managing cache is crucial for maintaining the performance and accuracy of DNS resolutions in your network. Efficient cache management ensures that your DNS server can handle requests rapidly while minimizing the likelihood of outdated or incorrect data affecting user queries. Furthermore, it assists in optimizing resource usage, which can significantly enhance the overall stability and reliability of network services.

Read more

Netplan network configuration tutorial for beginners

Netplan network configuration tutorial for beginners

Netplan is a utility developed by Canonical, the company behind Ubuntu. It provides a network configuration abstraction over the currently supported two “backend” system (“renderer” in Netplan terminology): networkd and NetworkManager. Using Netplan, both physical and virtual network interfaces are configured via yaml files which are translated to configurations compatible with the selected backend.

Read more

Ubuntu Network Configuration Guide

Ubuntu Network Configuration Guide

Network setup for Ubuntu can range from easy to hard, depending on what you’re trying to do. Canonical prides itself on making their Ubuntu Linux operating system very simple to use, even if you do not have a lot of technical knowledge. Despite its simplicity, Ubuntu has a lot going on under the hood to make things work, including networking configuration that allows you to connect to local devices or servers across the world.

Read more

Netplan static ip on Ubuntu configuration

Netplan static IP on Ubuntu configuration

In this tutorial, we will discuss a netplan static IP configuration on Ubuntu Linux. Netplan allows for straightforward network IP address configuration using human-readable data-serialization language YAML. The article will also discuss a default Netplan network settings and the location of the Netplan configuration file.

Read more

How to Check MX Records Using the DIG Command

How to Check MX Records Using the DIG Command

The Domain Information Groper (DIG) command is a versatile tool for querying Domain Name System (DNS) servers. It is commonly used by network administrators to troubleshoot DNS issues because of its flexibility in showing the various records associated with a domain. In this article, you will learn how to utilize the DIG command specifically to query for Mail Exchange (MX) records, which are essential for determining the mail servers responsible for email reception for a domain.

Read more

Using the Find Command to Search for Files by Size

Using the Find Command to Search for Files by Size

Understanding how to efficiently locate files by size on a Linux system is a critical task for both system administrators and casual users. In the following guide, we delve into the granular use of the Linux find command to search for files based on their size – a powerful skill for effective file management and disk space optimization.

Read more

Extracting Specific Files and Directories from GZIP Archives

Extracting Specific Files and Directories from GZIP Archives

Extracting files from compressed archives is a common task in Linux, essential for managing software, scripts, or datasets. Gzip with tar is widely used due to its efficiency in handling multiple files and directories. In this guide, we’ll explore how to effectively extract specific components from a gzip-compressed tar archive using ‘data.tar.gz’ as our example.

Read more

How to perform Internet speed test on Raspberry Pi

How to perform Internet speed test on Raspberry Pi

Performing an internet speed test from your Raspberry Pi is a good way to confirm that you are getting the expected download and upload speeds to your device. If you suspect that websites or other external connections are loading slower than they should be, performing a speed test is the first troubleshooting step to take, and allows us to see if our suspicions are correct. After the speed test, we can pinpoint the source of slow downs as either the connection to a router or other local device, or perhaps the ISP itself is the problem.

Read more