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

Author

Programster

Stuart is a software developer with a passion for Linux and open source projects.

comments powered by Disqus