From 71e6adac35597b63e1262a3f9b6383d25b158bb1 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Thu, 1 Jul 2021 16:25:19 +0800 Subject: [PATCH 1/2] doc/install/get-packages: s/el7/el8/ since we don't build for el7 anymore. replace all occurrences of el7 with el8. Signed-off-by: Kefu Chai --- doc/install/get-packages.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/install/get-packages.rst b/doc/install/get-packages.rst index 41130e4e4be..dd6b14f433f 100644 --- a/doc/install/get-packages.rst +++ b/doc/install/get-packages.rst @@ -225,7 +225,7 @@ use with ``yum``. Replace ``{distro}`` with your Linux distribution, and .. prompt:: bash $ - su -c 'rpm -Uvh https://download.ceph.com/rpms/{distro}/x86_64/ceph-{release}.el7.noarch.rpm' + su -c 'rpm -Uvh https://download.ceph.com/rpms/{distro}/x86_64/ceph-{release}.el8.noarch.rpm' You can download the RPMs directly from @@ -297,15 +297,15 @@ of a repo file. It can be retrieved via an HTTP request, for example .. prompt:: bash $ - curl -L https://shaman.ceph.com/api/repos/ceph/{BRANCH}/latest/centos/7/repo/ | sudo tee /etc/yum.repos.d/shaman.repo + curl -L https://shaman.ceph.com/api/repos/ceph/{BRANCH}/latest/centos/8/repo/ | sudo tee /etc/yum.repos.d/shaman.repo 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. -For CentOS 7 and the master branch of Ceph, it would look like +For CentOS 8 and the master branch of Ceph, it would look like .. prompt:: bash $ - curl -L https://shaman.ceph.com/api/repos/ceph/master/53e772a45fdf2d211c0c383106a66e1feedec8fd/centos/7/repo/ | sudo tee /etc/apt/sources.list.d/shaman.list + curl -L https://shaman.ceph.com/api/repos/ceph/master/488e6be0edff7eb18343fd5c7e2d7ed56435888f/centos/8/repo/ | sudo tee /etc/apt/sources.list.d/shaman.list .. warning:: Development repositories are no longer available after two weeks. @@ -351,7 +351,7 @@ To add the EPEL repository, execute the following .. prompt:: bash $ - sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm + sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm Ceph requires the following packages: @@ -362,7 +362,7 @@ Ceph requires the following packages: - gperftools-libs -Packages are currently built for the RHEL/CentOS7 (``el7``) platforms. The +Packages are currently built for the RHEL/CentOS8 (``el8``) platforms. The repository package installs the repository details on your local system for use with ``yum``. Replace ``{distro}`` with your distribution. From 3a41134592dfafb0b67c50dfb13f4354353e84f9 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Thu, 1 Jul 2021 16:34:55 +0800 Subject: [PATCH 2/2] doc/install/get-packages: do not mention additional 3rd party packages since we are able to build and run on ubuntu focal without extra dependencies of 3rd party packages, there is no need to mention them. actually all of the removed packages are available in ubuntu focal. some of them have different package names though. the same applies to el8. Signed-off-by: Kefu Chai --- doc/install/get-packages.rst | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/doc/install/get-packages.rst b/doc/install/get-packages.rst index dd6b14f433f..ed2f5476047 100644 --- a/doc/install/get-packages.rst +++ b/doc/install/get-packages.rst @@ -322,17 +322,6 @@ before attempting an install. Debian Packages ~~~~~~~~~~~~~~~ -Ceph requires additional third party libraries. - -- 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 @@ -353,15 +342,6 @@ To add the EPEL repository, execute the following sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm -Ceph requires the following packages: - -- snappy -- leveldb -- gdisk -- python-argparse -- gperftools-libs - - Packages are currently built for the RHEL/CentOS8 (``el8``) platforms. The repository package installs the repository details on your local system for use with ``yum``. Replace ``{distro}`` with your distribution.