How To Install lizardfs-master on Debian 9

In this tutorial we learn how to install lizardfs-master on Debian 9. lizardfs-master is LizardFS - master server

Introduction

In this tutorial we learn how to install lizardfs-master on Debian 9.

What is lizardfs-master

lizardfs-master is:

LizardFS master (metadata) server.

LizardFS is a reliable, scalable and efficient distributed file system. It spreads data over a number of physical servers, making it visible to an end user as a single file system.

Functions such as data replication, checksums, instant snapshots and easy connection of additional servers make LizardFS a perfect solution for users who need fault-proof storage ready for future expansion. LizardFS features include:

  • High availbility.
  • Quotas.
  • POSIX Access Control Lists and POSIX Extended Attributes.
  • I/O bandwidth limiting.

LizardFS can be used whenever one needs to store large quantities of data in a secure way and process them swiftly. LizardFS is a fork of MooseFS.

There are three methods to install lizardfs-master on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install lizardfs-master Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install lizardfs-master using apt-get by running the following command:

sudo apt-get -y install lizardfs-master

Install lizardfs-master Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install lizardfs-master using apt by running the following command:

sudo apt -y install lizardfs-master

Install lizardfs-master Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install lizardfs-master using aptitude by running the following command:

sudo aptitude -y install lizardfs-master

How To Uninstall lizardfs-master on Debian 9

To uninstall only the lizardfs-master package we can use the following command:

sudo apt-get remove lizardfs-master

Uninstall lizardfs-master And Its Dependencies

To uninstall lizardfs-master and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove lizardfs-master

Remove lizardfs-master Configurations and Data

To remove lizardfs-master configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge lizardfs-master

Remove lizardfs-master configuration, data, and all of its dependencies

We can use the following command to remove lizardfs-master configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge lizardfs-master

Dependencies

lizardfs-master have the following dependencies:

References

Summary

In this tutorial we learn how to install lizardfs-master package on Debian 9 using different package management tools: apt, apt-get and aptitude.