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


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


eSight V300R009C00 Single-Node System Software Installation Guide (SUSE Linux) 10

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).
(Optional) Installing the Oracle Client

(Optional) Installing the Oracle Client

If the Oracle database is deployed independently, if the Oracle client or database is not installed on the eSight server, you need to install the Oracle client.


You have obtained the Oracle client installation package.


  1. Log in to the Oracle server as the root user.
  2. Check the required packages for installing the Oracle client.

    # rpm -q binutils gcc gcc48 gcc-c++ glibc glibc-32bit glibc-devel glibc-devel-32bit libaio1 libaio-devel libcap1 libstdc++48-devel libstdc++48-devel-32bit libstdc++6 libstdc++6-32bit libstdc++-devel libstdc++-devel-32bit libgcc_s1 libgcc_s1-32bit mksh make sysstat

    The system prompt "package xxx is not installed" indicates that the package is not installed.

    If it is not installed, refer to How Do I Install Component Packages to install the component.

  3. Create the /opt/oracle_client_install directory.

    # mkdir /opt/oracle_client_install

  4. Use FileZilla to upload the installation package to the /opt/oracle_client_install directory on the server and run the following commands to decompress the package:

    # cd /opt/oracle_client_install

    # unzip /opt/oracle_client_install/

  5. Run the following command to turn off the GUI access control for the root user:

    # xhost +

    If the following information is displayed, the GUI access control is turned off:
    access control disabled, clients can connect from any host

  6. Create the oracle user.

    Run the following command to check whether the oracle user exists:

    # id oracle

    If information similar to the following is displayed, the oracle user exists. Go to 7.

    uid=1000(oracle) gid=1000(dba) groups=1000(dba)

    Otherwise, run the following commands to create the oracle user and the dba user group:

    # groupadd dba

    # useradd -m -g dba -s /bin/bash oracle

  7. Create an installation directory and set permission for the oracle user to access the directory.

    # chown -R oracle:dba /opt/oracle_client_install

    # mkdir -p /opt/oracle

    # mkdir -p /opt/oraInventory

    # chmod -R 750 /opt/oracle

    # chmod -R 750 /opt/oraInventory

    # chown -R oracle:dba /opt/oracle

    # chown -R oracle:dba /opt/oraInventory

  8. Run the following command to create the /home/oracle/.bash_profile file.

    # vi /home/oracle/.bash_profile

    The file content is as follows:

    export ORACLE_HOME=/opt/oracle/product/11gR1/db
    export LD_LIBRARY_PATH=:$ORACLE_HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH:.
    export PATH=$PATH:$ORACLE_HOME/bin:.

    After editing the file, run the :wq! command to exit the vi editor.

  9. Run the following command to grant the permission on the /home/oracle/.bash_profile file to the oracle user.

    # chown oracle:dba /home/oracle/.bash_profile

    # chmod 755 -R /home/oracle

  10. Make the environment variables take effect.

    # cd /home/oracle/

    # source .bash_profile

  11. Check whether the configured environment variables have taken effect.

    > env | grep Variable name

    For example, if the following information is displayed for the env | grep ORACLE_HOME command, the environment variable is set correctly:


  12. Switch to the oracle user.

    # su - oracle

  13. Run the following commands to set the language environment variables so that the installation UI is displayed in English:

    $ export LANG=en_GB.UTF-8

    $ export GDM_LANG=en_GB.UTF-8

  14. Execute the installation script to install the client.

    $ cd /opt/oracle_client_install/client

    $ sh runInstaller


    If the tool window cannot be displayed in the Linux operating system, see What Can I Do If the Tool Window Is Not Displayed in the Linux Operating System.

  15. Select Custom and click Next.

  16. Select Skip software updates and click Next.

  17. Click Next.

  18. Verify that the path of Oracle Base is /opt/oracle, and click Next.

  19. Verify that the path of Inventory Directory is /opt/oraInventory, and click Next.

  20. Select Oracle Database Utilities, SQL *Plus, Oracle Call Interface (OCI), and Oracle Net, and click Next.

  21. If the window shown in the following figure is displayed, select Ignore All and click Next.

    In the warning dialog box that is displayed, click Yes.

  22. Ensure that all the information is correct, and click Install.

  23. During the installation, the Execute Configuration scripts dialog box is displayed.

    1. Log in to the server as the root user as prompted.
    2. Run the following command:

      # sh /opt/oraInventory/

    3. After the execution is complete, return to the preceding installation UI and click OK. The following information is displayed:
      Changing permissions of /opt/oraInventory.  
      Adding read,write permissions for group.  
      Removing read,write,execute permissions for world.  
      Changing groupname of /opt/oraInventory to dba.  
      The execution of the script is complete.

  24. After the installation is complete, click Close to exit the installation UI.

  25. Switch to the root user.

    > su - root

  26. Run the following command to delete the component packages.

    # rpm -e --nodeps make

    # rpm -e --nodeps glibc-devel

    # rpm -e --nodeps binutils

    # rpm -e --nodeps gcc

Updated: 2019-08-10

Document ID: EDOC1100011860

Views: 96330

Downloads: 144

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next