]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: Corrects some content for Debian-based distros in simple gateway 4278/head
authorNilamdyuti Goswami <ngoswami@redhat.com>
Mon, 6 Apr 2015 13:21:17 +0000 (18:51 +0530)
committerNilamdyuti Goswami <ngoswami@redhat.com>
Mon, 6 Apr 2015 13:21:17 +0000 (18:51 +0530)
configuration file.

Signed-off-by: Nilamdyuti Goswami <ngoswami@redhat.com>
doc/radosgw/config.rst

index 4761a24a9ea0cb846d9f3d80f24688e8164c6dc8..1c7cf610e15476acc7406973c662f088f9719a48 100644 (file)
@@ -325,13 +325,20 @@ Create a Gateway Configuration file
 ===================================
 
 On the host where you installed the Ceph Object Gateway i.e, ``gateway host``,
-create an ``rgw.conf`` file. Place the file in the ``/etc/httpd/conf.d``
-directory. It is a ``httpd`` configuration file which is needed for the
-``radosgw`` service. This file must be readable by the web server.
+create an ``rgw.conf`` file. Place the file in ``/etc/apache2/conf-available``
+directory for ``Debian-based`` distros and in ``/etc/httpd/conf.d`` directory
+for ``RPM-based`` distros. It is a Apache configuration file which is needed
+for the ``radosgw`` service. This file must be readable by the web server.
 
 Execute the following steps:
 
-#. Create the file::
+#. Create the file:
+
+   For Debian-based distros, execute::
+
+       sudo vi /etc/apache2/conf-available/rgw.conf
+
+   For RPM-based distros, execute::
 
        sudo vi /etc/httpd/conf.d/rgw.conf
 
@@ -598,12 +605,21 @@ Test swift access
 Swift access can be verified via the ``swift`` command line client. The command
 ``man swift`` will provide more information on available command line options.
 
-To install ``swift`` client, execute the following::
+To install ``swift`` client, execute the following:
+
+   For Debian-based distros::
+
+               sudo apt-get install python-setuptools
+               sudo easy_install pip
+               sudo pip install --upgrade setuptools
+               sudo pip install --upgrade python-swiftclient
+
+   For RPM-based distros::
 
-       sudo yum install python-setuptools
-       sudo easy_install pip
-       sudo pip install --upgrade setuptools
-       sudo pip install --upgrade python-swiftclient
+               sudo yum install python-setuptools
+               sudo easy_install pip
+               sudo pip install --upgrade setuptools
+               sudo pip install --upgrade python-swiftclient
 
 To test swift access, execute the following::