2020-03-23 13:49:09 +00:00
|
|
|
.. _packages:
|
|
|
|
|
2013-10-22 20:26:30 +00:00
|
|
|
==============
|
|
|
|
Get Packages
|
|
|
|
==============
|
|
|
|
|
2013-10-30 22:17:12 +00:00
|
|
|
To install Ceph and other enabling software, you need to retrieve packages from
|
2020-03-23 13:49:09 +00:00
|
|
|
the Ceph repository.
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2020-03-23 13:49:09 +00:00
|
|
|
There are three ways to get packages:
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2020-03-23 13:49:09 +00:00
|
|
|
- **Cephadm:** Cephadm can configure your Ceph repositories for you
|
|
|
|
based on a release name or a specific Ceph version. Each
|
2013-10-30 22:17:12 +00:00
|
|
|
:term:`Ceph Node` in your cluster must have internet access.
|
2015-09-18 18:13:02 +00:00
|
|
|
|
2020-03-23 13:49:09 +00:00
|
|
|
- **Configure Repositories Manually:** You can manually configure your
|
|
|
|
package management tool to retrieve Ceph packages and all enabling
|
|
|
|
software. Each :term:`Ceph Node` in your cluster must have internet
|
|
|
|
access.
|
|
|
|
|
2014-06-02 18:28:22 +00:00
|
|
|
- **Download Packages Manually:** Downloading packages manually is a convenient
|
|
|
|
way to install Ceph if your environment does not allow a :term:`Ceph Node` to
|
|
|
|
access the internet.
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2020-03-23 13:49:09 +00:00
|
|
|
Install packages with cephadm
|
|
|
|
=============================
|
|
|
|
|
|
|
|
#. Download the cephadm script::
|
|
|
|
|
|
|
|
curl --silent --remote-name --location https://github.com/ceph/ceph/raw/octopus/src/cephadm/cephadm
|
|
|
|
chmod +x cephadm
|
|
|
|
|
|
|
|
#. Configure the Ceph repository based on the release name::
|
|
|
|
|
|
|
|
./cephadm add-repo --release nautilus
|
|
|
|
|
|
|
|
For Octopus (15.2.0) and later releases, you can also specify a specific
|
|
|
|
version::
|
|
|
|
|
|
|
|
./cephadm add-repo --version 15.2.1
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2020-03-23 13:49:09 +00:00
|
|
|
For development packages, you can specify a specific branch name::
|
|
|
|
|
|
|
|
./cephadm add-repo --dev my-branch
|
|
|
|
|
|
|
|
#. Install the appropriate packages. You can install them using your
|
|
|
|
package management tool (e.g., APT, Yum) directly, or you can also
|
|
|
|
use the cephadm wrapper. For example::
|
|
|
|
|
|
|
|
./cephadm install ceph-common
|
|
|
|
|
|
|
|
|
|
|
|
Configure Repositories Manually
|
|
|
|
===============================
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2015-09-18 18:13:02 +00:00
|
|
|
All Ceph deployments require Ceph packages (except for development). You should
|
|
|
|
also add keys and recommended packages.
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2015-09-18 18:13:02 +00:00
|
|
|
- **Keys: (Recommended)** Whether you add repositories or download packages
|
2013-10-30 22:17:12 +00:00
|
|
|
manually, you should download keys to verify the packages. If you do not get
|
2020-03-23 13:49:09 +00:00
|
|
|
the keys, you may encounter security warnings.
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2015-09-18 18:13:02 +00:00
|
|
|
- **Ceph: (Required)** All Ceph deployments require Ceph release packages,
|
|
|
|
except for deployments that use development packages (development, QA, and
|
2020-03-23 13:49:09 +00:00
|
|
|
bleeding edge deployments only).
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2015-09-18 18:13:02 +00:00
|
|
|
- **Ceph Development: (Optional)** If you are developing for Ceph, testing Ceph
|
|
|
|
development builds, or if you want features from the bleeding edge of Ceph
|
2020-03-23 13:49:09 +00:00
|
|
|
development, you may get Ceph development packages.
|
2013-10-30 22:17:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Add Keys
|
2020-03-23 13:49:09 +00:00
|
|
|
--------
|
2013-10-30 22:17:12 +00:00
|
|
|
|
|
|
|
Add a key to your system's list of trusted keys to avoid a security warning. For
|
2019-06-19 08:39:24 +00:00
|
|
|
major releases (e.g., ``luminous``, ``mimic``, ``nautilus``) and development releases
|
2017-08-14 14:09:13 +00:00
|
|
|
(``release-name-rc1``, ``release-name-rc2``), use the ``release.asc`` key.
|
2013-10-30 22:17:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
APT
|
2020-03-23 13:49:09 +00:00
|
|
|
~~~
|
2013-10-30 22:17:12 +00:00
|
|
|
|
|
|
|
To install the ``release.asc`` key, execute the following::
|
|
|
|
|
2015-10-26 19:18:19 +00:00
|
|
|
wget -q -O- 'https://download.ceph.com/keys/release.asc' | sudo apt-key add -
|
2013-10-30 22:17:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
RPM
|
2020-03-23 13:49:09 +00:00
|
|
|
~~~
|
2013-10-30 22:17:12 +00:00
|
|
|
|
|
|
|
To install the ``release.asc`` key, execute the following::
|
|
|
|
|
2015-10-26 19:18:19 +00:00
|
|
|
sudo rpm --import 'https://download.ceph.com/keys/release.asc'
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2020-03-23 13:49:09 +00:00
|
|
|
Ceph Release Packages
|
|
|
|
---------------------
|
2013-10-30 22:17:12 +00:00
|
|
|
|
|
|
|
Release repositories use the ``release.asc`` key to verify packages.
|
|
|
|
To install Ceph packages with the Advanced Package Tool (APT) or
|
|
|
|
Yellowdog Updater, Modified (YUM), you must add Ceph repositories.
|
|
|
|
|
2015-09-18 18:13:02 +00:00
|
|
|
You may find releases for Debian/Ubuntu (installed with APT) at::
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2016-08-12 13:01:50 +00:00
|
|
|
https://download.ceph.com/debian-{release-name}
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2015-09-18 18:13:02 +00:00
|
|
|
You may find releases for CentOS/RHEL and others (installed with YUM) at::
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2016-08-12 13:01:50 +00:00
|
|
|
https://download.ceph.com/rpm-{release-name}
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2020-03-23 13:49:09 +00:00
|
|
|
For Octopus and later releases, you can also configure a repository for a
|
|
|
|
specific version ``x.y.z``. For Debian/Ubuntu packages::
|
2016-08-27 18:11:04 +00:00
|
|
|
|
2020-03-23 13:49:09 +00:00
|
|
|
https://download.ceph.com/debian-{version}
|
|
|
|
|
|
|
|
For RPMs::
|
|
|
|
|
|
|
|
https://download.ceph.com/rpm-{version}
|
|
|
|
|
|
|
|
The major releases of Ceph are summarized at: :ref:`ceph-releases-general`
|
2016-08-27 18:11:04 +00:00
|
|
|
|
2017-08-14 14:19:57 +00:00
|
|
|
.. tip:: For non-US users: There might be a mirror close to you where
|
|
|
|
to download Ceph from. For more information see: `Ceph Mirrors`_.
|
2013-10-30 22:17:12 +00:00
|
|
|
|
|
|
|
Debian Packages
|
2020-03-23 13:49:09 +00:00
|
|
|
~~~~~~~~~~~~~~~
|
2013-10-30 22:17:12 +00:00
|
|
|
|
|
|
|
Add a Ceph package repository to your system's list of APT sources. For newer
|
2015-09-18 18:13:02 +00:00
|
|
|
versions of Debian/Ubuntu, call ``lsb_release -sc`` on the command line to
|
2020-08-28 10:26:26 +00:00
|
|
|
get the short codename, and replace ``{codename}`` in the following command.
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2020-08-28 10:26:26 +00:00
|
|
|
.. prompt:: bash $
|
|
|
|
:substitutions:
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2020-08-28 10:26:26 +00:00
|
|
|
sudo apt-add-repository 'deb https://download.ceph.com/debian-|stable-release|/ {codename} main'
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2020-08-28 10:26:26 +00:00
|
|
|
For early Linux distributions, you may execute the following command
|
|
|
|
|
|
|
|
.. prompt:: bash $
|
|
|
|
:substitutions:
|
|
|
|
|
|
|
|
echo deb https://download.ceph.com/debian-|stable-release|/ $(lsb_release -sc) main | sudo tee /etc/apt/sources.list.d/ceph.list
|
2013-10-30 22:17:12 +00:00
|
|
|
|
|
|
|
For earlier Ceph releases, replace ``{release-name}`` with the name with the
|
|
|
|
name of the Ceph release. You may call ``lsb_release -sc`` on the command line
|
|
|
|
to get the short codename, and replace ``{codename}`` in the following command.
|
2017-08-14 14:09:13 +00:00
|
|
|
|
2020-08-28 10:26:26 +00:00
|
|
|
.. prompt:: bash $
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2020-08-28 10:26:26 +00:00
|
|
|
sudo apt-add-repository 'deb https://download.ceph.com/debian-{release-name}/ {codename} main'
|
2013-10-30 22:17:12 +00:00
|
|
|
|
|
|
|
For older Linux distributions, replace ``{release-name}`` with the name of the
|
2020-08-28 10:26:26 +00:00
|
|
|
release
|
|
|
|
|
|
|
|
.. prompt:: bash $
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2016-08-12 13:01:50 +00:00
|
|
|
echo deb https://download.ceph.com/debian-{release-name}/ $(lsb_release -sc) main | sudo tee /etc/apt/sources.list.d/ceph.list
|
2013-10-30 22:17:12 +00:00
|
|
|
|
|
|
|
For development release packages, add our package repository to your system's
|
|
|
|
list of APT sources. See `the testing Debian repository`_ for a complete list
|
2020-08-28 10:26:26 +00:00
|
|
|
of Debian and Ubuntu releases supported.
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2020-08-28 10:26:26 +00:00
|
|
|
.. prompt:: bash $
|
|
|
|
|
|
|
|
echo deb https://download.ceph.com/debian-testing/ $(lsb_release -sc) main | sudo tee /etc/apt/sources.list.d/ceph.list
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2017-08-14 14:19:57 +00:00
|
|
|
.. tip:: For non-US users: There might be a mirror close to you where
|
|
|
|
to download Ceph from. For more information see: `Ceph Mirrors`_.
|
|
|
|
|
2013-10-30 22:17:12 +00:00
|
|
|
|
|
|
|
RPM Packages
|
2020-03-23 13:49:09 +00:00
|
|
|
~~~~~~~~~~~~
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2019-06-19 08:39:24 +00:00
|
|
|
RHEL
|
2020-03-23 13:49:09 +00:00
|
|
|
^^^^
|
2019-06-19 08:39:24 +00:00
|
|
|
|
2013-10-30 22:17:12 +00:00
|
|
|
For major releases, you may add a Ceph entry to the ``/etc/yum.repos.d``
|
|
|
|
directory. Create a ``ceph.repo`` file. In the example below, replace
|
2020-08-28 10:26:26 +00:00
|
|
|
``{ceph-release}`` with a major release of Ceph (e.g., ``|stable-release|``)
|
|
|
|
and ``{distro}`` with your Linux distribution (e.g., ``el8``, etc.). You
|
2016-08-12 13:01:50 +00:00
|
|
|
may view https://download.ceph.com/rpm-{ceph-release}/ directory to see which
|
2016-05-02 16:50:37 +00:00
|
|
|
distributions Ceph supports. Some Ceph packages (e.g., EPEL) must take priority
|
|
|
|
over standard packages, so you must ensure that you set
|
2020-08-28 10:26:26 +00:00
|
|
|
``priority=2``.
|
|
|
|
|
|
|
|
.. code-block:: ini
|
2013-10-30 22:17:12 +00:00
|
|
|
|
|
|
|
[ceph]
|
|
|
|
name=Ceph packages for $basearch
|
2016-08-12 13:01:50 +00:00
|
|
|
baseurl=https://download.ceph.com/rpm-{ceph-release}/{distro}/$basearch
|
2013-10-30 22:17:12 +00:00
|
|
|
enabled=1
|
2014-08-12 01:04:39 +00:00
|
|
|
priority=2
|
2013-10-30 22:17:12 +00:00
|
|
|
gpgcheck=1
|
2015-10-26 19:18:19 +00:00
|
|
|
gpgkey=https://download.ceph.com/keys/release.asc
|
2013-10-30 22:17:12 +00:00
|
|
|
|
|
|
|
[ceph-noarch]
|
|
|
|
name=Ceph noarch packages
|
2016-08-12 13:01:50 +00:00
|
|
|
baseurl=https://download.ceph.com/rpm-{ceph-release}/{distro}/noarch
|
2013-10-30 22:17:12 +00:00
|
|
|
enabled=1
|
2014-08-12 01:04:39 +00:00
|
|
|
priority=2
|
2013-10-30 22:17:12 +00:00
|
|
|
gpgcheck=1
|
2015-10-26 19:18:19 +00:00
|
|
|
gpgkey=https://download.ceph.com/keys/release.asc
|
2013-10-30 22:17:12 +00:00
|
|
|
|
|
|
|
[ceph-source]
|
|
|
|
name=Ceph source packages
|
2016-08-12 13:01:50 +00:00
|
|
|
baseurl=https://download.ceph.com/rpm-{ceph-release}/{distro}/SRPMS
|
2013-10-30 22:17:12 +00:00
|
|
|
enabled=0
|
2014-08-12 01:04:39 +00:00
|
|
|
priority=2
|
2013-10-30 22:17:12 +00:00
|
|
|
gpgcheck=1
|
2015-10-26 19:18:19 +00:00
|
|
|
gpgkey=https://download.ceph.com/keys/release.asc
|
2013-10-30 22:17:12 +00:00
|
|
|
|
|
|
|
|
2017-08-14 16:27:21 +00:00
|
|
|
For specific packages, you may retrieve them by downloading the release package
|
|
|
|
by name. Our development process generates a new release of Ceph every 3-4
|
|
|
|
weeks. These packages are faster-moving than the major releases. Development
|
|
|
|
packages have new features integrated quickly, while still undergoing several
|
|
|
|
weeks of QA prior to release.
|
2013-10-30 22:17:12 +00:00
|
|
|
|
|
|
|
The repository package installs the repository details on your local system for
|
2016-05-02 16:45:28 +00:00
|
|
|
use with ``yum``. Replace ``{distro}`` with your Linux distribution, and
|
2020-08-28 10:26:26 +00:00
|
|
|
``{release}`` with the specific release of Ceph
|
|
|
|
|
|
|
|
.. prompt:: bash $
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2016-08-12 13:01:50 +00:00
|
|
|
su -c 'rpm -Uvh https://download.ceph.com/rpms/{distro}/x86_64/ceph-{release}.el7.noarch.rpm'
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2020-08-28 10:26:26 +00:00
|
|
|
You can download the RPMs directly from
|
|
|
|
|
|
|
|
.. code-block:: none
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2020-08-28 10:26:26 +00:00
|
|
|
https://download.ceph.com/rpm-testing
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2017-08-14 14:19:57 +00:00
|
|
|
.. tip:: For non-US users: There might be a mirror close to you where
|
|
|
|
to download Ceph from. For more information see: `Ceph Mirrors`_.
|
2016-02-08 11:11:21 +00:00
|
|
|
|
2019-06-19 08:39:24 +00:00
|
|
|
openSUSE Leap 15.1
|
2020-03-23 13:49:09 +00:00
|
|
|
^^^^^^^^^^^^^^^^^^
|
2019-06-19 08:39:24 +00:00
|
|
|
|
2020-08-28 10:26:26 +00:00
|
|
|
You need to add the Ceph package repository to your list of zypper sources. This can be done with the following command
|
|
|
|
|
|
|
|
.. code-block:: bash
|
2019-06-19 08:39:24 +00:00
|
|
|
|
|
|
|
zypper ar https://download.opensuse.org/repositories/filesystems:/ceph/openSUSE_Leap_15.1/filesystems:ceph.repo
|
|
|
|
|
|
|
|
openSUSE Tumbleweed
|
2020-03-23 13:49:09 +00:00
|
|
|
^^^^^^^^^^^^^^^^^^^
|
2019-06-19 08:39:24 +00:00
|
|
|
|
|
|
|
The newest major release of Ceph is already available through the normal Tumbleweed repositories.
|
|
|
|
There's no need to add another package repository manually.
|
|
|
|
|
2016-04-13 01:06:38 +00:00
|
|
|
|
2020-03-23 13:49:09 +00:00
|
|
|
Ceph Development Packages
|
|
|
|
-------------------------
|
2013-10-30 22:17:12 +00:00
|
|
|
|
|
|
|
If you are developing Ceph and need to deploy and test specific Ceph branches,
|
|
|
|
ensure that you remove repository entries for major releases first.
|
|
|
|
|
|
|
|
|
2017-08-14 16:27:21 +00:00
|
|
|
DEB Packages
|
2020-03-23 13:49:09 +00:00
|
|
|
~~~~~~~~~~~~
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2017-08-14 16:27:21 +00:00
|
|
|
We automatically build Ubuntu packages for current development branches in the
|
|
|
|
Ceph source code repository. These packages are intended for developers and QA
|
|
|
|
only.
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2017-08-14 16:27:21 +00:00
|
|
|
Add the package repository to your system's list of APT sources, but
|
|
|
|
replace ``{BRANCH}`` with the branch you'd like to use (e.g.,
|
|
|
|
wip-hack, master). See `the shaman page`_ for a complete
|
2020-08-28 10:26:26 +00:00
|
|
|
list of distributions we build.
|
|
|
|
|
|
|
|
.. prompt:: bash $
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2017-08-14 16:27:21 +00:00
|
|
|
curl -L https://shaman.ceph.com/api/repos/ceph/{BRANCH}/latest/ubuntu/$(lsb_release -sc)/repo/ | sudo tee /etc/apt/sources.list.d/shaman.list
|
|
|
|
|
|
|
|
.. note:: If the repository is not ready an HTTP 504 will be returned
|
|
|
|
|
|
|
|
The use of ``latest`` in the url, means it will figure out which is the last
|
|
|
|
commit that has been built. Alternatively, a specific sha1 can be specified.
|
2020-08-28 10:26:26 +00:00
|
|
|
For Ubuntu Xenial and the master branch of Ceph, it would look like
|
|
|
|
|
|
|
|
.. prompt:: bash $
|
2017-08-14 16:27:21 +00:00
|
|
|
|
|
|
|
curl -L https://shaman.ceph.com/api/repos/ceph/master/53e772a45fdf2d211c0c383106a66e1feedec8fd/ubuntu/xenial/repo/ | sudo tee /etc/apt/sources.list.d/shaman.list
|
2013-10-30 22:17:12 +00:00
|
|
|
|
|
|
|
|
2017-08-14 16:27:21 +00:00
|
|
|
.. warning:: Development repositories are no longer available after two weeks.
|
|
|
|
|
2013-10-30 22:17:12 +00:00
|
|
|
RPM Packages
|
2020-03-23 13:49:09 +00:00
|
|
|
~~~~~~~~~~~~
|
2013-10-30 22:17:12 +00:00
|
|
|
|
|
|
|
For current development branches, you may add a Ceph entry to the
|
2017-08-14 16:27:21 +00:00
|
|
|
``/etc/yum.repos.d`` directory. The `the shaman page`_ can be used to retrieve the full details
|
2020-08-28 10:26:26 +00:00
|
|
|
of a repo file. It can be retrieved via an HTTP request, for example
|
|
|
|
|
|
|
|
.. prompt:: bash $
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2017-08-14 16:27:21 +00:00
|
|
|
curl -L https://shaman.ceph.com/api/repos/ceph/{BRANCH}/latest/centos/7/repo/ | sudo tee /etc/yum.repos.d/shaman.repo
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2017-08-14 16:27:21 +00:00
|
|
|
The use of ``latest`` in the url, means it will figure out which is the last
|
|
|
|
commit that has been built. Alternatively, a specific sha1 can be specified.
|
2020-08-28 10:26:26 +00:00
|
|
|
For CentOS 7 and the master branch of Ceph, it would look like
|
|
|
|
|
|
|
|
.. prompt:: bash $
|
2017-08-14 16:27:21 +00:00
|
|
|
|
|
|
|
curl -L https://shaman.ceph.com/api/repos/ceph/master/53e772a45fdf2d211c0c383106a66e1feedec8fd/centos/7/repo/ | sudo tee /etc/apt/sources.list.d/shaman.list
|
2013-10-30 22:17:12 +00:00
|
|
|
|
|
|
|
|
2017-08-14 16:27:21 +00:00
|
|
|
.. warning:: Development repositories are no longer available after two weeks.
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2017-08-14 16:27:21 +00:00
|
|
|
.. note:: If the repository is not ready an HTTP 504 will be returned
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2020-03-23 13:49:09 +00:00
|
|
|
Download Packages Manually
|
|
|
|
--------------------------
|
2013-10-30 22:17:12 +00:00
|
|
|
|
2015-09-18 18:13:02 +00:00
|
|
|
If you are attempting to install behind a firewall in an environment without internet
|
|
|
|
access, you must retrieve the packages (mirrored with all the necessary dependencies)
|
2013-10-22 20:26:30 +00:00
|
|
|
before attempting an install.
|
|
|
|
|
|
|
|
Debian Packages
|
2020-03-23 13:49:09 +00:00
|
|
|
~~~~~~~~~~~~~~~
|
2013-10-22 20:26:30 +00:00
|
|
|
|
2018-07-05 17:14:20 +00:00
|
|
|
Ceph requires additional third party libraries.
|
2013-10-22 20:26:30 +00:00
|
|
|
|
|
|
|
- libaio1
|
|
|
|
- libsnappy1
|
|
|
|
- libcurl3
|
|
|
|
- curl
|
|
|
|
- libgoogle-perftools4
|
|
|
|
- google-perftools
|
|
|
|
- libleveldb1
|
|
|
|
|
|
|
|
|
|
|
|
The repository package installs the repository details on your local system for
|
|
|
|
use with ``apt``. Replace ``{release}`` with the latest Ceph release. Replace
|
|
|
|
``{version}`` with the latest Ceph version number. Replace ``{distro}`` with
|
|
|
|
your Linux distribution codename. Replace ``{arch}`` with the CPU architecture.
|
|
|
|
|
2020-08-28 10:26:26 +00:00
|
|
|
.. prompt:: bash $
|
2013-10-22 20:26:30 +00:00
|
|
|
|
2016-08-12 13:01:50 +00:00
|
|
|
wget -q https://download.ceph.com/debian-{release}/pool/main/c/ceph/ceph_{version}{distro}_{arch}.deb
|
2013-10-22 20:26:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
RPM Packages
|
2020-03-23 13:49:09 +00:00
|
|
|
~~~~~~~~~~~~
|
2013-10-22 20:26:30 +00:00
|
|
|
|
2020-09-18 17:12:07 +00:00
|
|
|
Ceph requires additional third party libraries.
|
2020-08-28 10:26:26 +00:00
|
|
|
To add the EPEL repository, execute the following
|
|
|
|
|
|
|
|
.. prompt:: bash $
|
2013-10-22 20:26:30 +00:00
|
|
|
|
2016-10-26 02:00:48 +00:00
|
|
|
sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
2013-10-22 20:26:30 +00:00
|
|
|
|
|
|
|
Ceph requires the following packages:
|
|
|
|
|
|
|
|
- snappy
|
|
|
|
- leveldb
|
|
|
|
- gdisk
|
|
|
|
- python-argparse
|
|
|
|
- gperftools-libs
|
|
|
|
|
|
|
|
|
2016-05-02 16:50:37 +00:00
|
|
|
Packages are currently built for the RHEL/CentOS7 (``el7``) platforms. The
|
|
|
|
repository package installs the repository details on your local system for use
|
2020-08-28 10:26:26 +00:00
|
|
|
with ``yum``. Replace ``{distro}`` with your distribution.
|
2013-10-22 20:26:30 +00:00
|
|
|
|
2020-08-28 10:26:26 +00:00
|
|
|
.. prompt:: bash $
|
|
|
|
:substitutions:
|
2013-10-22 20:26:30 +00:00
|
|
|
|
2020-08-28 10:26:26 +00:00
|
|
|
su -c 'rpm -Uvh https://download.ceph.com/rpm-|stable-release|/{distro}/noarch/ceph-{version}.{distro}.noarch.rpm'
|
2013-10-22 20:26:30 +00:00
|
|
|
|
2020-08-28 10:26:26 +00:00
|
|
|
For example, for CentOS 8 (``el8``)
|
2013-10-22 20:26:30 +00:00
|
|
|
|
2020-08-28 10:26:26 +00:00
|
|
|
.. prompt:: bash $
|
|
|
|
:substitutions:
|
2013-10-22 20:26:30 +00:00
|
|
|
|
2020-08-28 10:26:26 +00:00
|
|
|
su -c 'rpm -Uvh https://download.ceph.com/rpm-|stable-release|/el8/noarch/ceph-release-1-0.el8.noarch.rpm'
|
|
|
|
|
|
|
|
You can download the RPMs directly from
|
|
|
|
|
|
|
|
.. code-block:: none
|
|
|
|
:substitutions:
|
|
|
|
|
|
|
|
https://download.ceph.com/rpm-|stable-release|
|
2013-10-22 20:26:30 +00:00
|
|
|
|
|
|
|
|
2015-09-18 18:13:02 +00:00
|
|
|
For earlier Ceph releases, replace ``{release-name}`` with the name
|
|
|
|
with the name of the Ceph release. You may call ``lsb_release -sc`` on the command
|
2020-08-28 10:26:26 +00:00
|
|
|
line to get the short codename.
|
|
|
|
|
|
|
|
.. prompt:: bash $
|
2013-10-22 20:26:30 +00:00
|
|
|
|
2016-08-12 13:01:50 +00:00
|
|
|
su -c 'rpm -Uvh https://download.ceph.com/rpm-{release-name}/{distro}/noarch/ceph-{version}.{distro}.noarch.rpm'
|
2013-10-22 20:26:30 +00:00
|
|
|
|
2013-10-30 22:17:12 +00:00
|
|
|
|
|
|
|
|
2016-08-12 13:01:50 +00:00
|
|
|
.. _the testing Debian repository: https://download.ceph.com/debian-testing/dists
|
2017-08-14 16:27:21 +00:00
|
|
|
.. _the shaman page: https://shaman.ceph.com
|
2016-02-08 11:11:21 +00:00
|
|
|
.. _Ceph Mirrors: ../mirrors
|