How To Install ceph-mon on Ubuntu 20.04

In this tutorial we learn how to install ceph-mon on Ubuntu 20.04. ceph-mon is monitor server for the ceph storage system monitor server for the ceph storage system monitor server for the ceph storage system

Introduction

In this tutorial we learn how to install ceph-mon on Ubuntu 20.04.

What is ceph-mon

ceph-mon is:

Ceph is a massively scalable, open-source, distributed storage system that runs on commodity hardware and delivers object, block and file system storage.

This package contains the cluster monitor daemon for the Ceph storage system. One or more instances of ceph-mon form a Paxos part-time parliament cluster that provides extremely reliable and durable storage of cluster membership, configuration, and state.

Package: ceph-mon Architecture: amd64 Version: 15.2.12-0ubuntu0.20.04.1 Priority: optional Section: admin Source: ceph Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Ceph Packaging Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 13999 Depends: ceph-base (= 15.2.12-0ubuntu0.20.04.1), libboost-program-options1.71.0, libc6 (>= 2.29), libgcc-s1 (>= 3.0), libgoogle-perftools4, libleveldb1d, liblz4-1 (>= 0.0~r130), librados2 (>= 12.1.4), libsnappy1v5 (>= 1.1.8), libstdc++6 (>= 9), zlib1g (>= 1:1.1.4) Breaks: ceph (« 10.2.2-0ubuntu2~) Replaces: ceph (« 10.2.2-0ubuntu2~) Filename: pool/main/c/ceph/ceph-mon_15.2.12-0ubuntu0.20.04.1_amd64.deb Size: 3202384 MD5sum: 2dee5771778807bd33eb681ac341d250 SHA1: 215062c1e59216e57667f482891c488081d7334e SHA256: 05b2c013dacca3fcb8be05b2321f153a159ad5e21a409c102d3287eb6b29ed89 SHA512: a56931d49c1993a649d8aa5754cd01fe18d7e57a4a71959e80fd992068ecb75fefa06c888f7184317afcb66546e6bf6d8f0e77d3da5735f6ea20df797e852804 Homepage: http://ceph.com/ Description-en: monitor server for the ceph storage system Ceph is a massively scalable, open-source, distributed storage system that runs on commodity hardware and delivers object, block and file system storage.

This package contains the cluster monitor daemon for the Ceph storage system. One or more instances of ceph-mon form a Paxos part-time parliament cluster that provides extremely reliable and durable storage of cluster membership, configuration, and state.

Package: ceph-mon Architecture: amd64 Version: 15.2.1-0ubuntu1 Priority: optional Section: admin Source: ceph Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Ceph Packaging Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 30249 Depends: ceph-base (= 15.2.1-0ubuntu1), libboost-program-options1.71.0, libc6 (>= 2.29), libgcc-s1 (>= 3.0), libgoogle-perftools4, libleveldb1d, liblz4-1 (>= 0.0~r130), librados2 (>= 12.1.4), libsnappy1v5 (>= 1.1.8), libstdc++6 (>= 9), zlib1g (>= 1:1.1.4) Breaks: ceph (« 10.2.2-0ubuntu2~) Replaces: ceph (« 10.2.2-0ubuntu2~) Filename: pool/main/c/ceph/ceph-mon_15.2.1-0ubuntu1_amd64.deb Size: 6091660 MD5sum: 8da0349c45770f731743acffa2d8d362 SHA1: 4c0f2081fec254926d819d41be4756ff9527c828 SHA256: c416389688996de8e4b8ce81a32b91d1a82a743c33f6d6ba0ddb3dab4cdd933a Homepage: http://ceph.com/ Description-en: monitor server for the ceph storage system Ceph is a massively scalable, open-source, distributed storage system that runs on commodity hardware and delivers object, block and file system storage.

This package contains the cluster monitor daemon for the Ceph storage system. One or more instances of ceph-mon form a Paxos part-time parliament cluster that provides extremely reliable and durable storage of cluster membership, configuration, and state.

There are three methods to install ceph-mon on Ubuntu 20.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 ceph-mon Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install ceph-mon

Install ceph-mon Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ceph-mon

Install ceph-mon 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 ceph-mon using aptitude by running the following command:

sudo aptitude -y install ceph-mon

How To Uninstall ceph-mon on Ubuntu 20.04

To uninstall only the ceph-mon package we can use the following command:

sudo apt-get remove ceph-mon

Uninstall ceph-mon And Its Dependencies

To uninstall ceph-mon and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove ceph-mon

Remove ceph-mon Configurations and Data

To remove ceph-mon configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge ceph-mon

Remove ceph-mon configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ceph-mon

References

Summary

In this tutorial we learn how to install ceph-mon package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.