Merge "Remove sudo usage from common directory"

This commit is contained in:
Jenkins 2014-03-10 19:59:44 +00:00 committed by Gerrit Code Review
commit f53f10accc
5 changed files with 14 additions and 14 deletions

View File

@ -83,7 +83,7 @@
<formalpara> <formalpara>
<title>Mac OS X</title> <title>Mac OS X</title>
<para> <para>
<screen><prompt>$</prompt> <userinput>sudo easy_install pip</userinput></screen></para> <screen><prompt>#</prompt> <userinput>easy_install pip</userinput></screen></para>
</formalpara> </formalpara>
<formalpara> <formalpara>
<title>Microsoft Windows</title> <title>Microsoft Windows</title>
@ -168,7 +168,7 @@
<para>Install each client separately using:</para> <para>Install each client separately using:</para>
<itemizedlist> <itemizedlist>
<listitem><para>For Mac OS X or Linux:</para> <listitem><para>For Mac OS X or Linux:</para>
<screen><prompt>$</prompt> <userinput>sudo pip install python-<replaceable>PROJECT</replaceable>client</userinput></screen></listitem> <screen><prompt>#</prompt> <userinput>pip install python-<replaceable>PROJECT</replaceable>client</userinput></screen></listitem>
<listitem><para>For Microsoft Windows:</para> <listitem><para>For Microsoft Windows:</para>
<screen><prompt>C:\></prompt><userinput>pip install python-<replaceable>PROJECT</replaceable>client</userinput></screen></listitem> <screen><prompt>C:\></prompt><userinput>pip install python-<replaceable>PROJECT</replaceable>client</userinput></screen></listitem>
</itemizedlist> </itemizedlist>
@ -210,16 +210,16 @@
</itemizedlist> </itemizedlist>
<para>For example, to install the nova client, run <para>For example, to install the nova client, run
this command:</para> this command:</para>
<screen><prompt>$</prompt> <userinput>sudo pip install python-novaclient</userinput></screen> <screen><prompt>#</prompt> <userinput>pip install python-novaclient</userinput></screen>
<para>To remove the nova client, run this <para>To remove the nova client, run this
command:</para> command:</para>
<screen><prompt>$</prompt> <userinput>sudo pip uninstall python-novaclient</userinput></screen> <screen><prompt>#</prompt> <userinput>pip uninstall python-novaclient</userinput></screen>
<note> <para>To upgrade a package, add the <note> <para>To upgrade a package, add the
<literal>--upgrade</literal> option to the <literal>--upgrade</literal> option to the
<command>pip</command> command.</para> <command>pip</command> command.</para>
<para>For example, to update the <systemitem>nova</systemitem> client, run this <para>For example, to update the <systemitem>nova</systemitem> client, run this
command:</para> command:</para>
<screen><prompt>$</prompt> <userinput>sudo pip install --upgrade python-novaclient</userinput></screen></note> <screen><prompt>#</prompt> <userinput>pip install --upgrade python-novaclient</userinput></screen></note>
</step> </step>
<step audience="enduser"> <step audience="enduser">
<para>Before you can run client commands, you must <para>Before you can run client commands, you must

View File

@ -126,13 +126,13 @@ text-decoration: none;
<step> <step>
<para>Restart apache:</para> <para>Restart apache:</para>
<para>On Ubuntu: <para>On Ubuntu:
<screen><prompt>$</prompt> <userinput>sudo service apache2 restart</userinput></screen> <screen><prompt>#</prompt> <userinput>service apache2 restart</userinput></screen>
</para> </para>
<para>On Fedora, RHEL, CentOS: <para>On Fedora, RHEL, CentOS:
<screen><prompt>$</prompt> <userinput>sudo service httpd restart</userinput></screen> <screen><prompt>#</prompt> <userinput>service httpd restart</userinput></screen>
</para> </para>
<para>On openSUSE: <para>On openSUSE:
<screen><prompt>$</prompt> <userinput>sudo service apache2 restart</userinput></screen> <screen><prompt>#</prompt> <userinput>service apache2 restart</userinput></screen>
</para> </para>
</step> </step>
<step> <step>

View File

@ -169,7 +169,7 @@ No fixtures found.</computeroutput></screen>
<para>On Ubuntu: If you want to avoid a warning when you restart <para>On Ubuntu: If you want to avoid a warning when you restart
apache2, create a blackhole directory in the apache2, create a blackhole directory in the
dashboard directory, as follows:</para> dashboard directory, as follows:</para>
<screen><prompt>#</prompt> <userinput>sudo mkdir -p /var/lib/dash/.blackhole</userinput></screen> <screen><prompt>#</prompt> <userinput>mkdir -p /var/lib/dash/.blackhole</userinput></screen>
</step> </step>
<step> <step>
<para>Restart Apache to pick up the default site and <para>Restart Apache to pick up the default site and
@ -189,7 +189,7 @@ No fixtures found.</computeroutput></screen>
<para>On Ubuntu, restart the <systemitem class="service">nova-api</systemitem> service to ensure that the <para>On Ubuntu, restart the <systemitem class="service">nova-api</systemitem> service to ensure that the
API server can connect to the dashboard without API server can connect to the dashboard without
error:</para> error:</para>
<screen><prompt>#</prompt> <userinput>sudo service nova-api restart</userinput></screen> <screen><prompt>#</prompt> <userinput>service nova-api restart</userinput></screen>
</step> </step>
</procedure> </procedure>
</section> </section>

View File

@ -38,15 +38,15 @@
<listitem> <listitem>
<para>For systems running openSUSE or SUSE Linux Enterprise <para>For systems running openSUSE or SUSE Linux Enterprise
Server:</para> Server:</para>
<screen><prompt>$</prompt> <userinput>sudo zypper install sysfsutils sg3_utils multipath-tools</userinput></screen> <screen><prompt>#</prompt> <userinput>zypper install sysfsutils sg3_utils multipath-tools</userinput></screen>
</listitem> </listitem>
<listitem> <listitem>
<para>For systems running Red Hat:</para> <para>For systems running Red Hat:</para>
<screen><prompt>$</prompt> <userinput>sudo yum install sysfsutils sg3_utils multipath-tools</userinput></screen> <screen><prompt>#</prompt> <userinput>yum install sysfsutils sg3_utils multipath-tools</userinput></screen>
</listitem> </listitem>
<listitem> <listitem>
<para>For systems running Ubuntu:</para> <para>For systems running Ubuntu:</para>
<screen><prompt>$</prompt> <userinput>sudo apt-get install sysfsutils sg3-utils multipath-tools</userinput></screen> <screen><prompt>#</prompt> <userinput>apt-get install sysfsutils sg3-utils multipath-tools</userinput></screen>
</listitem> </listitem>
</itemizedlist> </itemizedlist>
</section> </section>

View File

@ -128,7 +128,7 @@ arg_dict: {}
using a sub-directory of the using a sub-directory of the
<filename>/var/cache/</filename> directory, run the <filename>/var/cache/</filename> directory, run the
following command:</para> following command:</para>
<screen><prompt>$</prompt> <userinput>sudo restorecon /var/cache/</userinput></screen> <screen><prompt>#</prompt> <userinput>restorecon /var/cache/</userinput></screen>
<para>If you are not using a <filename>/var/cache</filename> <para>If you are not using a <filename>/var/cache</filename>
sub-directory, you should. Modify the sub-directory, you should. Modify the
<literal>signing_dir</literal> configuration option <literal>signing_dir</literal> configuration option