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

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

Megatools Linux install and Basic Introduction

Megatools Linux install and Basic Introduction

This tutorial will deal with Megatools Linux install and Basic Introduction. MEGA is one of the most famous cloud storage and file hosting services available. The service offered by the company are normally accessible via web interface or dedicated applications also on smartphone operating systems such as Android or iOS. In this article we see how to access the service from the command line via a free and open source set of tools written in Python: Megatools.

Read more

ampache raspberry pi

Ampache Raspberry Pi installation

In this Ampache Raspberry Pi installation you will learn how to setup a web based audio/video streaming application, which allow us to access our music and videos remotely. It is a completely open source project, written in PHP. The source code is hosted on github, and at the moment of writing, the latest available release is 4.4.3. In this tutorial we see how to install it on a Raspberry Pi OS, so to create a self-hosted media server.

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

How build grub from source on Linux

GRUB compile from source on Linux

GRUB is the acronym for GNU GRand Unified Bootloader: it is the bootloader used in practically all Linux distributions out there. Early in the boot stage, the bootloader is loaded by the machine firmware, either BIOS or UEFI (GRUB supports both of them), and it loads one of the available kernels. Being an essential software, grub is installed by default and available in the official repositories of distribution we are using;

Read more

main-image

Introductory tutorial to Git on Linux

Git is without doubt the most used version control system in the world. The software is open source, released under the GPLv2 license, and was created by Linus Torvalds, which is also the father of Linux. In this tutorial we learn
the basic concepts behind its usage, we see how to create or clone a git repository and how to perform the basic actions involved in the git workflow.

In this tutorial you will learn:

  • The basic git concepts
  • How to create a git repository
  • How to clone a git repository
  • How to add file contents to the repository index
  • How to create a commit
  • How to push changes to a remote repository
  • How to pull changes from a remote repository
main-image

Introductory tutorial to Git on Linux

Read more

main-image

How to query packages information with the rpm package manager

RPM is the recursive acronym for RPM Package Manager: it is the default low level package manager in some of the most famous and most used Linux distributions, such as Fedora, Red Hat Enterprise Linux, CentOS, OpenSUSE and their derivatives. The software, as you can expect, is free and open source; when invoked with the -q option it can be used to query packages to retrieve specific information, such as dependencies, recommendations, files etc. In this tutorial we learn how to perform such queries.

In this tutorial you will learn:

  • How to run rpm in “query” mode
  • How to obtain general information about a package
  • How to read a package changelog
  • How to list the files provided by a package
  • How to list the scripts used by a package
  • How to list a package dependencies and recommendations
  • How to list packages rendered obsolete by an rpm
main-image

How to query packages information with the rpm package manager

Read more

How to work with dnf package groups

How to work with dnf package groups

Dnf is the default high-level package manager in the Red Hat family of distributions, which includes Fedora, Red Hat Enterprise Linux and all its clones. It is the successor of Yum, and indeed using the yum command in recent versions of the distributions mentioned above, is just another way to call dnf. Dnf has a lot of nice features
and plugins which help us install, update and remove software packaged in the “.rpm” format. In this tutorial we explore dnf package groups and learn how to handle them.

In this tutorial you will learn:

  • What is a package group
  • How to get information about a package group
  • How to list all available package groups
  • How to install, upgrade and remove a package group
How to work with dnf package groups

How to work with dnf package groups

Read more

ansible-logo

Ansible tutorial for beginners on Linux

A system administrator, in the vast majority of cases, has to take care of more than one server, so he often has to perform repetitive tasks on all of them. In these cases automation is a must. Ansible is an open source software owned by Red Hat; it is written in the Python programming lanaguage, and it is a provisioning and configuration management software which help us in the aforementioned cases. In this tutorial we will see how to install it and the basic concepts behind its usage.

In this tutorial you will learn:

  • How to install Ansible on the most used Linux distributions
  • How to configure Ansible
  • What is the Ansible inventory
  • What are the Ansible modules
  • How to run a module from the command line
  • How to create and run a playbook
ansible-logo

Read more

maim

Introduction to Ranger file manager

Ranger is a free and open source file manager written in Python. It is designed to work from the command line and its keybindings are inspired by the Vim text editor. The application has a lot of features and, working together with other utilities, can display previews for a vast range of files. In this tutorial we learn how to use it, and explore some of its functionality.

In this tutorial you will learn:

  • How to install Ranger on the most used Linux distributions
  • How to launch Ranger and copy its configuration files locally
  • Ranger basic movements and keybindings
  • How to visualize hidden files
  • How to get preview of various types of documents
  • How to create, access and remove bookmarks
  • How to select files and perform actions on them
maim

Read more