1 ==============================
2 Install Ceph Storage Cluster
3 ==============================
5 This guide describes installing Ceph packages manually. This procedure
6 is only for users who are not installing with a deployment tool such as
7 ``cephadm``, ``chef``, ``juju``, etc.
13 Once you have added either release or development packages to APT, you should
14 update APT's database and install Ceph::
16 sudo apt-get update && sudo apt-get install ceph ceph-mds
22 To install Ceph with RPMs, execute the following steps:
25 #. Install ``yum-plugin-priorities``. ::
27 sudo yum install yum-plugin-priorities
29 #. Ensure ``/etc/yum/pluginconf.d/priorities.conf`` exists.
31 #. Ensure ``priorities.conf`` enables the plugin. ::
36 #. Ensure your YUM ``ceph.repo`` entry includes ``priority=2``. See
37 `Get Packages`_ for details::
40 name=Ceph packages for $basearch
41 baseurl=https://download.ceph.com/rpm-{ceph-release}/{distro}/$basearch
45 gpgkey=https://download.ceph.com/keys/release.asc
48 name=Ceph noarch packages
49 baseurl=https://download.ceph.com/rpm-{ceph-release}/{distro}/noarch
53 gpgkey=https://download.ceph.com/keys/release.asc
56 name=Ceph source packages
57 baseurl=https://download.ceph.com/rpm-{ceph-release}/{distro}/SRPMS
61 gpgkey=https://download.ceph.com/keys/release.asc
64 #. Install pre-requisite packages::
66 sudo yum install snappy leveldb gdisk python-argparse gperftools-libs
69 Once you have added either release or development packages, or added a
70 ``ceph.repo`` file to ``/etc/yum.repos.d``, you can install Ceph packages. ::
78 If you build Ceph from source code, you may install Ceph in user space
79 by executing the following::
83 If you install Ceph locally, ``make`` will place the executables in
84 ``usr/local/bin``. You may add the Ceph configuration file to the
85 ``usr/local/bin`` directory to run Ceph from a single directory.
87 .. _Get Packages: ../get-packages