How To Install ceph-osd on Ubuntu 20.04
Introduction
In this tutorial we learn how to install ceph-osd
on Ubuntu 20.04.
What is ceph-osd
ceph-osd 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 Object Storage Daemon for the Ceph storage system. It is responsible for storing objects on a local file system and providing access to them over the network.
Package: ceph-osd 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: 53345 Pre-Depends: ceph-common (= 15.2.12-0ubuntu0.20.04.1) Depends: ceph-base (= 15.2.12-0ubuntu0.20.04.1), lvm2, smartmontools (>= 7.0), sudo, python3:any, libaio1 (>= 0.3.93), libblkid1 (>= 2.17.2), libboost-iostreams1.71.0, libboost-program-options1.71.0, libboost-thread1.71.0, libc6 (>= 2.29), libfuse2 (>= 2.8), libgcc-s1 (>= 3.4), libgoogle-perftools4, libibverbs1 (>= 1.1.6), libleveldb1d, liblz4-1 (>= 0.0~r130), librados2 (>= 12.1.4), librdmacm1 (>= 1.0.15), libsnappy1v5 (>= 1.1.8), libssl1.1 (>= 1.1.0), libstdc++6 (>= 9), libudev1 (>= 183), zlib1g (>= 1:1.1.4) Suggests: nvme-cli Breaks: ceph (« 10.2.2-0ubuntu2~), ceph-test (« 12.2.8+dfsg1-1~) Replaces: ceph (« 10.2.2-0ubuntu2~), ceph-test (« 12.2.8+dfsg1-1~) Filename: pool/main/c/ceph/ceph-osd_15.2.12-0ubuntu0.20.04.1_amd64.deb Size: 15553424 MD5sum: bff60d79d75f10df54f3ae500f67a57a SHA1: be5f00ea39403818f12f61937bc31059258a648d SHA256: 187164f3243479482331788a1a2b47a7f1676273fdf818e6c1f9862e29db37d7 SHA512: 860c53f7b94cca89e9b29f2cd3a5dd7c613058cb867d6b42a8642a384c04db48bd431eef7ba82f88c091a8f1dedf1459fb00033d7f1f9edecb21efc2f4e9c514 Homepage: http://ceph.com/ Description-en: OSD 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 Object Storage Daemon for the Ceph storage system. It is responsible for storing objects on a local file system and providing access to them over the network.
Package: ceph-osd 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: 86645 Pre-Depends: ceph-common (= 15.2.1-0ubuntu1) Depends: ceph-base (= 15.2.1-0ubuntu1), lvm2, smartmontools (>= 7.0), sudo, python3:any, libaio1 (>= 0.3.93), libblkid1 (>= 2.17.2), libboost-iostreams1.71.0, libboost-program-options1.71.0, libboost-thread1.71.0, libc6 (>= 2.29), libfuse2 (>= 2.8), libgcc-s1 (>= 3.4), libgoogle-perftools4, libibverbs1 (>= 1.1.6), libleveldb1d, liblz4-1 (>= 0.0~r130), librados2 (>= 12.1.4), librdmacm1 (>= 1.0.15), libsnappy1v5 (>= 1.1.8), libssl1.1 (>= 1.1.0), libstdc++6 (>= 9), libudev1 (>= 183), zlib1g (>= 1:1.1.4) Suggests: nvme-cli Breaks: ceph (« 10.2.2-0ubuntu2~), ceph-test (« 12.2.8+dfsg1-1~) Replaces: ceph (« 10.2.2-0ubuntu2~), ceph-test (« 12.2.8+dfsg1-1~) Filename: pool/main/c/ceph/ceph-osd_15.2.1-0ubuntu1_amd64.deb Size: 19645880 MD5sum: ab0e4d7aaeabdc8542bbd10e26d54e38 SHA1: 6b11f1576afbdbae09039ee6199143f8ae163ddc SHA256: fe4e2b66a56e088513dad1769dd22d7cde42e829d293e5613882e4bdb4dc33d3 Homepage: http://ceph.com/ Description-en: OSD 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 Object Storage Daemon for the Ceph storage system. It is responsible for storing objects on a local file system and providing access to them over the network.
There are three methods to install ceph-osd
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-osd 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-osd
using apt-get
by running the following command:
sudo apt-get -y install ceph-osd
Install ceph-osd Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ceph-osd
using apt
by running the following command:
sudo apt -y install ceph-osd
Install ceph-osd 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-osd
using aptitude
by running the following command:
sudo aptitude -y install ceph-osd
How To Uninstall ceph-osd on Ubuntu 20.04
To uninstall only the ceph-osd
package we can use the following command:
sudo apt-get remove ceph-osd
Uninstall ceph-osd And Its Dependencies
To uninstall ceph-osd
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove ceph-osd
Remove ceph-osd Configurations and Data
To remove ceph-osd
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge ceph-osd
Remove ceph-osd configuration, data, and all of its dependencies
We can use the following command to remove ceph-osd
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ceph-osd
References
Summary
In this tutorial we learn how to install ceph-osd
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.