]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: standardize EPEL instructions 11653/head
authorKen Dreyer <kdreyer@redhat.com>
Wed, 26 Oct 2016 02:00:48 +0000 (20:00 -0600)
committerKen Dreyer <kdreyer@redhat.com>
Wed, 26 Oct 2016 02:02:48 +0000 (20:02 -0600)
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 <kdreyer@redhat.com>
doc/install/get-packages.rst
doc/start/documenting-ceph.rst
doc/start/quick-start-preflight.rst

index 0a94677de949adca75b99e7e57d9e87f8f8a6f6c..4f810f962592271d561ee37ff25d38435b62d677 100644 (file)
@@ -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:
 
index 2d09db3ae3a0e4298ab8c5f10d0668ee05eae01c..3ff072137f0493ddd4e72112832ec2292cfc0546 100644 (file)
@@ -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::
 
index 403ca9014f4228d842127a2ff88d52b87ee964ee..d617298e216bd5db27aa84b4fd47e53b2cf75159 100644 (file)
@@ -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