Programster's Blog

Tutorials focusing on Linux, programming, and open-source

CentOS 7 - Install Ceph Deploy

Execute the script below to install Ceph Deploy for the Hammer LTS release on your CentOS 7 box.

sudo yum install yum-utils -y && \
sudo yum-config-manager --add-repo https://dl.fedoraproject.org/pub/epel/7/x86_64/ && \
sudo yum install --nogpgcheck epel-release -y && \
sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 && \
sudo rm /etc/yum.repos.d/dl.fedoraproject.org*

# Add the hammer release to our repos
# check http://docs.ceph.com/docs/master/releases/ to see if hammer is the latest LTS
sudo echo "[ceph-noarch]
name=Ceph noarch packages
baseurl=http://download.ceph.com/rpm-hammer/el7/noarch
enabled=1
gpgcheck=1
type=rpm-md
gpgkey=https://download.ceph.com/keys/release.asc" | sudo tee /etc/yum.repos.d/ceph.repo

sudo yum update -y && sudo yum install ceph-deploy -y

References

Last updated: 14th January 2025
First published: 16th August 2018

This blog is created by Stuart Page

I'm a freelance web developer and technology consultant based in Surrey, UK, with over 10 years experience in web development, DevOps, Linux Administration, and IT solutions.

Need support with your infrastructure or web services?

Get in touch