diff --git a/doc/common/section_cli_install.xml b/doc/common/section_cli_install.xml index 428a3a5ff5..6145fa68f7 100644 --- a/doc/common/section_cli_install.xml +++ b/doc/common/section_cli_install.xml @@ -83,7 +83,7 @@ Mac OS X - $ sudo easy_install pip + # easy_install pip Microsoft Windows @@ -168,7 +168,7 @@ Install each client separately using: For Mac OS X or Linux: - $ sudo pip install python-PROJECTclient + # pip install python-PROJECTclient For Microsoft Windows: C:\>pip install python-PROJECTclient @@ -210,16 +210,16 @@ For example, to install the nova client, run this command: - $ sudo pip install python-novaclient + # pip install python-novaclient To remove the nova client, run this command: - $ sudo pip uninstall python-novaclient + # pip uninstall python-novaclient To upgrade a package, add the --upgrade option to the pip command. For example, to update the nova client, run this command: - $ sudo pip install --upgrade python-novaclient + # pip install --upgrade python-novaclient Before you can run client commands, you must diff --git a/doc/common/section_dashboard_customizing.xml b/doc/common/section_dashboard_customizing.xml index 004daaeaa2..11d988e61a 100644 --- a/doc/common/section_dashboard_customizing.xml +++ b/doc/common/section_dashboard_customizing.xml @@ -126,13 +126,13 @@ text-decoration: none; Restart apache: On Ubuntu: - $ sudo service apache2 restart + # service apache2 restart On Fedora, RHEL, CentOS: - $ sudo service httpd restart + # service httpd restart On openSUSE: - $ sudo service apache2 restart + # service apache2 restart diff --git a/doc/common/section_dashboard_sessions.xml b/doc/common/section_dashboard_sessions.xml index cff4d7abc2..99e858f5ff 100644 --- a/doc/common/section_dashboard_sessions.xml +++ b/doc/common/section_dashboard_sessions.xml @@ -169,7 +169,7 @@ No fixtures found. On Ubuntu: If you want to avoid a warning when you restart apache2, create a blackhole directory in the dashboard directory, as follows: - # sudo mkdir -p /var/lib/dash/.blackhole + # mkdir -p /var/lib/dash/.blackhole Restart Apache to pick up the default site and @@ -189,7 +189,7 @@ No fixtures found. On Ubuntu, restart the nova-api service to ensure that the API server can connect to the dashboard without error: - # sudo service nova-api restart + # service nova-api restart diff --git a/doc/common/section_fibrechannel.xml b/doc/common/section_fibrechannel.xml index bcd7e4cd30..bf08a2c5be 100644 --- a/doc/common/section_fibrechannel.xml +++ b/doc/common/section_fibrechannel.xml @@ -38,15 +38,15 @@ For systems running openSUSE or SUSE Linux Enterprise Server: - $ sudo zypper install sysfsutils sg3_utils multipath-tools + # zypper install sysfsutils sg3_utils multipath-tools For systems running Red Hat: - $ sudo yum install sysfsutils sg3_utils multipath-tools + # yum install sysfsutils sg3_utils multipath-tools For systems running Ubuntu: - $ sudo apt-get install sysfsutils sg3-utils multipath-tools + # apt-get install sysfsutils sg3-utils multipath-tools diff --git a/doc/common/section_identity-troubleshooting.xml b/doc/common/section_identity-troubleshooting.xml index 89c533aeb7..065c472eed 100644 --- a/doc/common/section_identity-troubleshooting.xml +++ b/doc/common/section_identity-troubleshooting.xml @@ -128,7 +128,7 @@ arg_dict: {} using a sub-directory of the /var/cache/ directory, run the following command: - $ sudo restorecon /var/cache/ + # restorecon /var/cache/ If you are not using a /var/cache sub-directory, you should. Modify the signing_dir configuration option