How To Install lizardfs-cgi on Ubuntu 18.04

In this tutorial we learn how to install lizardfs-cgi on Ubuntu 18.04. lizardfs-cgi is LizardFS - CGI monitor

Introduction

In this tutorial we learn how to install lizardfs-cgi on Ubuntu 18.04.

What is lizardfs-cgi

lizardfs-cgi is:

CGI application to monitor LizardFS through 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-cgi on Ubuntu 18.04. 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-cgi 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-cgi using apt-get by running the following command:

sudo apt-get -y install lizardfs-cgi

Install lizardfs-cgi Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install lizardfs-cgi

Install lizardfs-cgi 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install lizardfs-cgi

How To Uninstall lizardfs-cgi on Ubuntu 18.04

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

sudo apt-get remove lizardfs-cgi

Uninstall lizardfs-cgi And Its Dependencies

To uninstall lizardfs-cgi and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove lizardfs-cgi

Remove lizardfs-cgi Configurations and Data

To remove lizardfs-cgi configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge lizardfs-cgi

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

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

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

References

Summary

In this tutorial we learn how to install lizardfs-cgi package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.