Ubuntu 20.04 System Backup and Restore

Ubuntu 20.04 System Backup and Restore

In this tutorial we will use Timeshift to create the full system backup snapshot of Ubuntu 20.04 system. Furthermore, you will learn how to restore from your previously created backup snapshot.

In this tutorial you will learn:

  • How to create full system backup snapshot
  • How to restore from backup snapshot
  • How to create and restore backup from the command line

Read more

ZFS on Ubuntu 20.04

Configuring ZFS on Ubuntu 20.04

Once you have finished installing ZFS on Ubuntu 20.04, the next step is to do some configuration with your hard disks. There are a lot of possibilities with ZFS, and what you decide to do will depend on how many drives you have available and what your storage goals are. For example, would you rather your storage array focus on speed or redundancy? Do you have 3 disks or 20? What about encryption?

Whichever type of configuration you’re going for, we’ll show you how to get started in this guide. Read on as we cover basic usage commands in ZFS and setting up zpools, RAID-Z, encryption, and more.

In this tutorial you will learn:

  • How to install ZFS on Ubuntu 20.04
  • How to create and destroy zpools
  • Configure different levels of RAID and RAID-Z
  • How to use encryption with ZFS

Read more

Formatting drives with ZFS on Ubuntu 20.04

Install Ubuntu 20.04 with ZFS

ZFS is a file system focused on storage and redundancy. It’s designed with file servers in mind, where high availability and data integrity are absolutely paramount. That’s one reason it’s interesting, but very exciting, to see it natively available on a desktop operating system like Ubuntu. Note that ZFS on Ubuntu is a new feature and therefore still flagged as “experimental.”

The newest iteration of Ubuntu, Ubuntu 20.04 Focal Fossa, offers a new option during installation that hasn’t been present in previous LTS releases. We now have the ability to format drives with the Z File System (ZFS) inside the Ubuntu installation process. Ubuntu itself still uses the ext4 file system, but the rest of your partitions or hard drives can be formatted with ZFS.

In this tutorial, we’ll guide you through installing Ubuntu 20.04 with ZFS as our file system on a few drives. If you already have Ubuntu installed and aren’t yet using ZFS, there’s no need to do a fresh install. We’ll show you how to install ZFS on an already established Ubuntu 20.04 install as well.

In this tutorial you will learn:

  • How to install Ubuntu 20.04 with ZFS (fresh install)
  • How to install ZFS on Ubuntu 20.04

Read more

Enabled SELinux on Ubuntu 20.04 Focal Fossa Linux

How to disable/enable SELinux on Ubuntu 20.04 Focal Fossa Linux

The objective of this article is to install, enable and disable SELinux on Ubuntu 20.04 Focal Fossa Linux.

WARNING
Make sure that you know what you are doing! Ubuntu offers AppArmor as an alternative to SELinux. While SELinux is available on Ubuntu, it is rather in an experimental stage and most likely will beak your system if set to enforcing mode. In case you must use SELinux, make sure to disable AppArmor first. Also set SELinux first to permissive mode and check your logs for potential issues before you enable enforcing mode.

In this tutorial you will learn:

  • How to install SELinux
  • How to enable SELinux
  • How to disable SELinux

Read more

FileZilla FTP client on Ubuntu 20.04

FTP client list and installation on Ubuntu 20.04 Linux Desktop/Server

When it comes to FTP clients, there’s no shortage of choices available on Ubuntu 20.04 Focal Fossa. Variety is nice, but it makes it a little more challenging to select the very best tool for the job. We hope to make that decision easier for you in this guide as we look at some of the most popular FTP clients available and compare their features.

Selecting an FTP client can depend on many factors, especially since some only support basic FTP functionality and other clients may support additional protocols such as SFTP, SMB, AFP, DAV, SSH, FTPS, NFS, etc. Whatever your requirements may be, you’ll be able to make an informed decision after reading our breakdown of the different software.

In this tutorial you will learn:

  • How to install and use various FTP clients

Read more

How to configure Samba Server share on Ubuntu 20.04 Focal Fossa Linux

How to configure Samba Server share on Ubuntu 20.04 Focal Fossa Linux

The objective of this tutorial is to configure a basic Samba server on Ubuntu 20.04 to share user home directories as well as provide read-write anonymous access to selected directory.

There are myriads of possible other Samba configurations, however the aim of this guide is to get you started with some basics which can be later expanded to implement more features to suit your needs.

In this tutorial you will learn:

  • How to install Samba server
  • How to configure basic Samba share
  • How to share user home directories and public anonymous directory
  • How to mount Samba share on MS Windows 10

Read more

How to Create Backups with Fsarchiver on Linux

How to Create Backups with Fsarchiver on Linux

Fsarchiver is a free software utility that let us create file-level backups of one or multiple filesystems in a single archive. One big advantage of this kind of backup is that we can restore it on a filesystem smaller than the original one (but of course large enough to contain all the files); this is usually impossible when performing block-level backups, using tools like partclone or dd. In this article we will learn how to install and use the application and its main features.

Read more

ARCH Linux on ThinkPad X1 Carbon Gen 7 Laptop

Install ARCH Linux on ThinkPad X1 Carbon Gen 7 with encrypted filesystem and UEFI

In this article we will be installing Arch Linux on ThinkPad X1 Carbon Gen 7 Laptop. This tutorial contains installation instructions, basic configuration as well as some post-install tuning of Arch Linux to get you started.

Most of the instructions are Arch Linux installation generic hence with a simple modifications this tutorial can be used for any UEFI system installations. However, some points are specific to ThinkPad X1 Carbon Gen 7 therefore basic Linux Administration skills are required in case you are installing Arch Linux PC/Laptop other then ThinkPad X1 Carbon Gen 7.

PLEASE NOTE
This guide will only get you started. If you have some additional tips and tricks on how to improve performance please use the comments below so we can incorporate them into this guide.
Thank you.

After completing this tutorial you will end up with:

  • Installed Arch Linux with GNOME desktop
  • Encrypted / directory using luks encryption
  • Configured Linux boot loader using systemd-boot
  • Created Logical Volumes and partitions to host your swap and / directory
  • Configured EFI parition for your /boot directory
  • Basic System configuration and fine-tuning
  • Ability to use wireless to connect to your WiFi from GNOME desktop
  • Functioning Bluetooth and Thunderbolt controller
  • Ability up upgrade a firmware on your ThinkPad X1 Carbon Gen 7

Read more

Creating new physical volume with LVM

Using LVM to manage physical volumes, volume groups, and logical volumes – RHCSA Objective Preparation

As part of the RHCSA exam preparation, we already learned how to manage partitions on disk. Partitions are useful to separate disk space (for example, separating database-related files from webserver-related files), but we have a much more flexible solution that can separate or aggregate storage space.

This solution is called LVM, the Logical Volume Manager. LVM allows us to see multiple disks as one filesystem, thus overcoming the limitations of a physical disk’s site. We can also create software mirroring on disks to protect or data written to the filesystem. In this tutorial we’ll cover the basics: we’ll manage the three layers of LVM, physical volumes, volume groups and logical volumes.

In this tutorial you will learn:

  • How to create and remove physical volumes
  • How to assign physical volumes to volume groups
  • How to create and delete logical volumes

Read more

Mounting filesystem by label

Configure systems to mount file systems at boot by universally unique ID (UUID) or label – RHCSA Objective Preparation

While in the desktop world we rarely change our hard drive – and that mostly indicated by hardware failure – in the server world it isn’t uncommon for the underlying storage environment to change over time.

In a SAN (Storage Area Network) environment, for High Availability, a server can reach it’s storage trough many paths, in reality distributed and mirrored to multiple disks in the storage network. If some paths change, the server needs to identify the “disk” again. That’s why it is recommended to use special identifiers set on the device, and mount by these identifiers, not by device name which may change. In this part of RHCSA exam preparation tutorial, we’ll add a new disk to our test machine, and configure mounting by UUID (Universally Unique IDentifier) and by label.

In this tutorial you will learn:

  • How to get UUID of a given device
  • How to get and set label of a device
  • How to mount device by UUID
  • How to mount device by label

Read more