From: Ken Dreyer Date: Wed, 26 Oct 2016 02:00:48 +0000 (-0600) Subject: doc: standardize EPEL instructions X-Git-Tag: v11.1.0~507^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9411017fd3ccfe2632d789f6d2dda7e6eeb700f6;p=ceph.git doc: standardize EPEL instructions Prior to this change, the documentation pages contained different ways to enable EPEL. Pick a simple, secure (https) way and standardize on that. Signed-off-by: Ken Dreyer --- diff --git a/doc/install/get-packages.rst b/doc/install/get-packages.rst index 0a94677de949..4f810f962592 100644 --- a/doc/install/get-packages.rst +++ b/doc/install/get-packages.rst @@ -409,7 +409,7 @@ RPM Packages Ceph requires additional additional third party libraries. To add the EPEL repository, execute the following:: - su -c 'rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm' + sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm Ceph requires the following packages: diff --git a/doc/start/documenting-ceph.rst b/doc/start/documenting-ceph.rst index 2d09db3ae3a0..3ff072137f04 100644 --- a/doc/start/documenting-ceph.rst +++ b/doc/start/documenting-ceph.rst @@ -306,8 +306,7 @@ Packages for Enterprise Linux) repository as it provides some extra packages which are not available in the default repository. To install ``epel``, execute the following:: - wget http://ftp.riken.jp/Linux/fedora/epel/7/x86_64/e/epel-release-7-2.noarch.rpm - sudo yum install epel-release-7-2.noarch.rpm + sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm For CentOS/RHEL distributions, execute the following:: diff --git a/doc/start/quick-start-preflight.rst b/doc/start/quick-start-preflight.rst index 403ca9014f42..d617298e216b 100644 --- a/doc/start/quick-start-preflight.rst +++ b/doc/start/quick-start-preflight.rst @@ -57,11 +57,12 @@ For CentOS 7, perform the following steps: sudo subscription-manager repos --enable=rhel-7-server-extras-rpms #. Install and enable the Extra Packages for Enterprise Linux (EPEL) - repository. Please see the `EPEL wiki`_ page for more information. + repository:: -#. On CentOS, you can execute the following command chain:: + sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm + + Please see the `EPEL wiki`_ page for more information. - sudo yum install -y yum-utils && sudo yum-config-manager --add-repo https://dl.fedoraproject.org/pub/epel/7/x86_64/ && sudo yum install --nogpgcheck -y epel-release && sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 && sudo rm /etc/yum.repos.d/dl.fedoraproject.org* #. Add the package to your repository. Open a text editor and create a Yellowdog Updater, Modified (YUM) entry. Use the file path