Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Debian 9 - Install Ceph Deploy Tool

Run the script below to install the the ceph-deploy tool for the latest LTS version of Ceph (Luminous), on the latest version of Debian.

#!/bin/bash

sudo apt update
sudo apt-get install apt-transport-https

# add the key to trust repo we are about to add
wget -q -O- 'https://download.ceph.com/keys/release.asc' \
| sudo apt-key add -

# add ceph repo
echo deb https://download.ceph.com/debian-luminous/ $(lsb_release -sc) main \
| sudo tee /etc/apt/sources.list.d/ceph.list

# install ceph-deploy.
sudo apt update
sudo apt install ceph-deploy -y

Now if you run ceph-deply --version, you should see 2.0.0.

References