Ceph:Manual Install storage

From Define Wiki
Jump to navigation Jump to search

Storage Cluster Install

Ubuntu / Debian

sudo apt-get update && sudo apt-get install ceph ceph-mds


Redhat

  • Install the plugin priority package:
sudo yum install yum-plugin-priorities


  • Ensure the priorities plugin is enabled in /etc/yum/pluginconf.d/priorities.conf
[main]
enabled = 1
  • Set the ceph repos to priority 2 in the ceph.repo file:
[ceph]
name=Ceph packages for $basearch
baseurl=http://ceph.com/rpm-{ceph-release}/{distro}/$basearch
enabled=1
priority=2
gpgcheck=1
type=rpm-md
gpgkey=https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc


  • Install the packages
sudo yum install snappy leveldb gdisk python-argparse gperftools-libs
sudo yum install ceph

Installing a Build

sudo make install