From 1633c7d36d6b96c42f64ca97a36c4fda2b4870ac Mon Sep 17 00:00:00 2001 From: xie xingguo Date: Tue, 19 Apr 2016 17:26:10 +0800 Subject: [PATCH] doc/rgw: fix typo, abbreviation error etc. Signed-off-by: xie xingguo --- doc/install/install-ceph-gateway.rst | 8 ++++---- doc/radosgw/config.rst | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/install/install-ceph-gateway.rst b/doc/install/install-ceph-gateway.rst index 3b370752d6da6..6e5f93d3e7c20 100644 --- a/doc/install/install-ceph-gateway.rst +++ b/doc/install/install-ceph-gateway.rst @@ -77,7 +77,7 @@ If you execute ``purge``, you must re-install Ceph. Change the Default Port ----------------------- -Civetweb runs on port ``7480`` by default. To change the default port (e.g,. to +Civetweb runs on port ``7480`` by default. To change the default port (e.g., to port ``80``), modify your Ceph configuration file in the working directory of your administration server. Add a section entitled ``[client.rgw.]``, replacing ```` with the short @@ -97,7 +97,7 @@ after the ``[global]`` section:: the ``rgw_frontends`` key/value pair. The ``[client.rgw.gateway-node1]`` heading identifies this portion of the Ceph configuration file as configuring a Ceph Storage Cluster client where the client type is a Ceph - Object Gateway (i.e., ``rgw``), and the name of the instance is ) + Object Gateway (i.e., ``rgw``), and the name of the instance is ``gateway-node1``. Push the updated configuration file to your Ceph Object Gateway node @@ -112,7 +112,7 @@ Gateway:: Finally, check to ensure that the port you selected is open on the node's firewall (e.g., port ``80``). If it is not open, add the port and reload the -firewall configuration. If you use the ``firewald``, daemon execute:: +firewall configuration. If you use the ``firewalld`` daemon, execute:: sudo firewall-cmd --list-all sudo firewall-cmd --zone=public --add-port 80/tcp --permanent @@ -530,7 +530,7 @@ Execute the following steps: ) Replace ``{hostname}`` with the hostname of the host where you have - configured the gateway service i.e, the ``gateway host``. Replace {port} + configured the gateway service i.e., the ``gateway host``. Replace {port} with the port number you are using with Civetweb. #. Run the script:: diff --git a/doc/radosgw/config.rst b/doc/radosgw/config.rst index c513cb32712a3..f77eb458215f2 100644 --- a/doc/radosgw/config.rst +++ b/doc/radosgw/config.rst @@ -52,7 +52,7 @@ See `User Management`_ for additional details on Ceph authentication. sudo mv ceph.client.radosgw.keyring /etc/ceph/ceph.client.radosgw.keyring - .. note:: The 5th step is optional if ``admin node`` is the ``gateway host``. + .. note:: The 2nd step is optional if ``admin node`` is the ``gateway host``. Create Pools ============ @@ -150,7 +150,7 @@ following configuration to ``/etc/ceph/ceph.conf`` in your ``admin node``:: See: `Backport support for UDS in Ubuntu Trusty`_ Here, ``{hostname}`` is the short hostname (output of command ``hostname -s``) -of the node that is going to provide the gateway service i.e, the +of the node that is going to provide the gateway service i.e., the ``gateway host``. The ``[client.radosgw.gateway]`` portion of the gateway instance identifies this @@ -158,7 +158,7 @@ portion of the Ceph configuration file as configuring a Ceph Storage Cluster client where the client type is a Ceph Object Gateway (i.e., ``radosgw``). -.. note:: The last line in the configuration i.e, ``rgw print continue = false`` +.. note:: The last line in the configuration i.e., ``rgw print continue = false`` is added to avoid issues with ``PUT`` operations. Once you finish the setup procedure, if you encounter issues with your @@ -270,7 +270,7 @@ On RPM-based distros:: Create a Gateway Configuration file =================================== -On the host where you installed the Ceph Object Gateway i.e, ``gateway host``, +On the host where you installed the Ceph Object Gateway i.e., ``gateway host``, 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 @@ -534,7 +534,7 @@ Execute the following steps: ) Replace ``{hostname}`` with the hostname of the host where you have - configured the gateway service i.e, the ``gateway host``. + configured the gateway service i.e., the ``gateway host``. #. Run the script:: -- 2.39.5