How to tune Linux extended (ext) filesystems using dumpe2fs and tune2fs

The ext2, ext3 and ext4 filesystems are some of the most known and used filesystems specifically designed for Linux. The first one, ext2 (second extended filesystems) is, as its name suggests, the older of the three. It has no journal feature, which is the biggest advantage of its successor over him: ext3. Released in 2008, ext4 is the more recent, and currently the default filesystem on many Linux distributions.

Read more

SQLite Linux Tutorial

SQLite Linux Tutorial for Beginners

This SQLite Linux tutorial is intended for beginners who wish to learn how to get started with SQLite database. SQLite is one of the world’s most widely-used Database programs. So, what is a Database, and what is SQLite?

Read more

Adjusting the size of the virtual machine's hard disk

VirtualBox increase disk size on Linux

In this tutorial you will learn how to increase disk size on VirtualBox. One of the great things about installing an operating system into a virtual machine is that we can easily change the machine’s CPU utilization limit, its memory usage, and the amount of hard drive space it has. With VirtualBox, all of these hardware specifications can even be changed long after the virtual machine is created.

Read more

wipefs Linux command tutorial with examples

wipefs Linux command tutorial with examples

The wipefs Linux command utility can be used to erase various types of signatures from a device (partition tables, filesystem signatures, etc…). It is available in the repository of all the most used Linux distributions, and it is usually installed by default as part of of the util-linux package, which contains also other essentials utilities aimed at system maintenance, so we should never have to install it explicitly. In this tutorial we will see how to use wipefs to gather information about the existing signatures and how to erase them.

Read more

logrotate command in Linux with examples

logrotate command in Linux with examples

In Linux, many applications and system services will store log files. These log files give a Linux administrator insight into how their system is performing, and are invaluable when troubleshooting issues. However, log files can get unwieldy very quickly. For example, if your web server software logs every visit to your website, and you get thousands of viewers per day, there will be way too much information to feasibly squeeze into one text file.

Read more

Logged into the root account in GUI on Kali Linux

Set Kali root password and enable root login

Until recently, Kali Linux used the root account by default and now you need to set Kali root password manually. In the latest versions of Kali, root login is disabled, forcing you to login to the GUI as your normal user account. The reasoning behind this change should be obvious, but if you’re a Kali user, you probably know your way around a Linux system by now, and there’s not much risk in letting you use the root account to login.

Read more

Netplan static ip on Ubuntu configuration

Netplan static IP on Ubuntu configuration

In this article 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

Ubuntu uninstall package Tutorial

Ubuntu Uninstall Package Tutorial

The following Ubuntu uninstall package tutorial, we’ll take you through the step by step instructions for uninstalling a package on Ubuntu from both GUI and command line. We’ll also show you options for deleting or keeping the configuration files that are associated with a package. Use whichever method below that you find most convenient for your situation.

Read more

Rsync examples in Linux

Rsync examples in Linux

rsync stands for “remote sync” and is a powerful command line utility for synchronizing directories either on a local system or with remote machines. It’s built into nearly every Linux system by default and this tutorial will help you to understand rsync better by providing you most common rsync examples administrators use to keep the data synchronised across multiple server/hosts.

Some users mistakenly think of rsync as a file copying tool, like cp or scp.While there’s some overlap, rsync excels in synchronization, specifically. In other words, it can take a source directory and make an identical destination directory.

Read more

Migrate WordPress multisite to new server

WordPress is a free and open source Content Management System written in PHP and is what a vast segment of websites is based on. The platforms has a vary nice feature: it allows the creation and management of multiple websites from the same installation. While migrating a WordPress installation is quite easy, to migrate WordPress multisite to a new server requires additional steps. In this tutorial we see how to proceed.

Read more