From: Zac Dover Date: Sun, 28 Feb 2021 12:13:39 +0000 (+1000) Subject: doc/cephadm: rewrite "install cephadm" X-Git-Tag: v17.1.0~2791^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F39744%2Fhead;p=ceph.git doc/cephadm: rewrite "install cephadm" This PR breaks the "Deploying a New Ceph Cluster" section into several sub-sections, so that each sub-section pertains to only one subject. I've also added some explanatory text that puts the instructions into context more than they were before. Signed-off-by: Zac Dover --- diff --git a/doc/cephadm/install.rst b/doc/cephadm/install.rst index 9c0891723bd9..d2f8924ae85a 100644 --- a/doc/cephadm/install.rst +++ b/doc/cephadm/install.rst @@ -27,10 +27,18 @@ Install cephadm The ``cephadm`` command can #. bootstrap a new cluster -#. launch a containerized shell with a working Ceph CLI, and -#. aid in debugging containerized Ceph daemons. +#. launch a containerized shell with a working Ceph CLI +#. aid in debugging containerized Ceph daemons -There are a few ways to install cephadm: +There are two ways to install ``cephadm``: + +#. a :ref:`curl-based installation` method +#. :ref:`distribution-specific installation methods` + +.. _cephadm_install_curl: + +curl-based installation +----------------------- * Use ``curl`` to fetch the most recent version of the standalone script. @@ -73,16 +81,23 @@ There are a few ways to install cephadm: /usr/sbin/cephadm +.. _cephadm_install_distros: + +distribution-specific installations +----------------------------------- + +.. important:: The methods of installing ``cephadm`` in this section are distinct from the curl-based method above. Use either the curl-based method above or one of the methods in this section, but not both the curl-based method and one of these. + +Some Linux distributions may already include up-to-date Ceph packages. In +that case, you can install cephadm directly. For example: -* Some commercial Linux distributions (e.g., RHEL, SLE) may already - include up-to-date Ceph packages. In that case, you can install - cephadm directly. For example: + In Ubuntu: .. prompt:: bash # dnf install -y cephadm - or + In SUSE: .. prompt:: bash #