Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Install the Oracle 11gR2 client

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Install the Oracle 11gR2 client

Describes how to install the Oracle 11gR2 database client.

Export DISPLAY=192.168.1.1:0.0192.168.1.1 is the IP address of the host where Xmanager resides. Execute the following command to create the user group oinstall. # groupadd oinstall executes the following command to create a user oracle. # useradd-d / home/oracle-g oinstall-m-s / bin/bash oracle execute the following command to change the password of the oracle user. # passwd oracle enter the new password when prompted. Log in as the oracle user to the host where the database needs to be installed. Execute the following command to set the environment variable. Assume that the environment variable "ORACLE_BASE" is "/ opt/oracle" and the value of "ORACLE_HOME" is "/ opt/oracle/product/11gR2/db". Please fill in according to the planning value during the actual installation. Vi .profile fill in the following information in the file: # Oracle Environmentexport ORACLE_BASE=/opt/oracleexport ORACLE_HOME=/opt/oracle/product/11gR2/dbexport ORACLE_TERM=xtermLD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:$ORACLE_HOME/rdbms/libexport LD_LIBRARY_PATHSHLIB_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/rdbms/libexport SHLIB_PATH# Set shell search paths:export PATH=$ORACLE_HOME/bin:/usr/sbin:$PATH:/usr/local/bin# CLASSPATH must include the following JRE locations Save and exit after the CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlibexport CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlibexport NLS_LANG=AMERICAN_AMERICA.AL32UTF8 configuration is complete Execute the following command to make the environment variable effective. Source. Profile switches to the root user. Su-root creates the directory "oracle" under the "/ opt" directory and modifies the directory owner. # cd / opt# mkdir oracle# chown oracle:oinstall oracle create the directory "oraInventory" under the "/ opt" directory and modify the directory owner. # mkdir oraInventory# chown oracle:oinstall oraInventory switches back to oracle users. For oracle users, use the SFTP tool to upload the package "p13390677_112040_Linux-x86-64_4of7.zip" to "/ home/oracle". Execute the following command to extract the package. After the cd / home/oracleunzip p13390677_112040_Linux-x86-64_4of7.zip is decompressed, execute the following command to enter the installation directory. Cd client executes the following command to begin installing the database client. The oracle client installation interface appears after runInstaller executes the command. Select the "Administrator" type as shown in figure 1. Click "Next" to continue the installation, and when the interface prompts you to execute the configuration script "orainstRoot.sh", please follow the interface prompts to execute the script in the background with the root user. When the execution is complete, click OK to continue with the installation. After confirming that the information is accurate in the summary interface, click Install to perform the installation. When the installation is complete, click "Close" to close the client interface.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report