From: Bryan Stillwell Date: Wed, 4 May 2016 20:27:24 +0000 (-0600) Subject: doc: Some commands also need sudo to run X-Git-Tag: v11.0.0~652^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=374e3c7b66b71e61853309bb9dceb661c005e1fe;p=ceph.git doc: Some commands also need sudo to run Included sudo on some commands which need it to run properly and also fixed a few grammar problems. Signed-off-by: Bryan Stillwell --- diff --git a/doc/install/manual-deployment.rst b/doc/install/manual-deployment.rst index b5d6b77b1bf0..94f539260941 100644 --- a/doc/install/manual-deployment.rst +++ b/doc/install/manual-deployment.rst @@ -162,7 +162,7 @@ The procedure is as follows: #. Generate an administrator keyring, generate a ``client.admin`` user and add the user to the keyring. :: - ceph-authtool --create-keyring /etc/ceph/ceph.client.admin.keyring --gen-key -n client.admin --set-uid=0 --cap mon 'allow *' --cap osd 'allow *' --cap mds 'allow' + sudo ceph-authtool --create-keyring /etc/ceph/ceph.client.admin.keyring --gen-key -n client.admin --set-uid=0 --cap mon 'allow *' --cap osd 'allow *' --cap mds 'allow' #. Add the ``client.admin`` key to the ``ceph.mon.keyring``. :: @@ -192,11 +192,11 @@ The procedure is as follows: #. Populate the monitor daemon(s) with the monitor map and keyring. :: - ceph-mon [--cluster {cluster-name}] --mkfs -i {hostname} --monmap /tmp/monmap --keyring /tmp/ceph.mon.keyring + sudo -u ceph ceph-mon [--cluster {cluster-name}] --mkfs -i {hostname} --monmap /tmp/monmap --keyring /tmp/ceph.mon.keyring For example:: - ceph-mon --mkfs -i node1 --monmap /tmp/monmap --keyring /tmp/ceph.mon.keyring + sudo -u ceph ceph-mon --mkfs -i node1 --monmap /tmp/monmap --keyring /tmp/ceph.mon.keyring #. Consider settings for a Ceph configuration file. Common settings include @@ -340,9 +340,9 @@ on ``node2`` and ``node3``: Long Form --------- -Without the benefit of any helper utilities, creating an OSD and adding it to -the cluster and CRUSH map the following procedure. To create the first two -OSDs with the long form procedure, execute the following on ``node2`` and +Without the benefit of any helper utilities, create an OSD and add it to the +cluster and CRUSH map with the following procedure. To create the first two +OSDs with the long form procedure, execute the following on ``node2`` and ``node3``: #. Connect to the OSD host. ::