No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade
FusionServer Tools 2.0 uREST User Guide 16
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
How Do I Run the uRest Command in Any Path of the Environment?

How Do I Run the uRest Command in Any Path of the Environment?

  • Set an environment variable (Linux, VMware, and Mac OS X).
    1. Log in to the client OS CLI.
    2. View the current environment variables.
      [root@localhost ~]# echo $PATH 
      /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
    3. Add the absolute path of the bin/ directory of uREST tool to the environment variables.
      [root@localhost ~]# PATH=$PATH:/home/bin     
  • Set an environment variable (Windows).
    1. Choose Start > Computer.

      The Computer window is displayed, as shown in Figure 4-6.

      Figure 4-6 Computer
    2. Click System properties.

      The View basic information about your computer window is displayed, as shown in Figure 4-7.

      Figure 4-7 View basic information about your computer
    3. Click Advanced system settings.

      The System Properties window is displayed, as shown in Figure 4-8.

      Figure 4-8 System Properties
    4. Click Environment Variables.

      The Environment Variables window is displayed, as shown in Figure 4-9.

      Figure 4-9 Environment Variables
    5. Find the variable of which the name is Path in the System variables area and double-click it.

      The Edit System Variable window is displayed, as shown in Figure 4-10.

      Figure 4-10 Edit System Variable
    6. Add ; and the absolute path of the bin/ directory of uREST tool to the end of Variable value, as shown in Figure 4-11.
      Figure 4-11 Software package directory
    7. Click OK.

      The Environment Variables window is displayed.

    8. Click OK.

      The System Properties window is displayed.

    9. Click OK.

      The environment variable is set.

Translation
Download
Updated: 2020-02-13

Document ID: EDOC1000176182

Views: 130226

Downloads: 601

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next