1. Download basic-10.2.0.5.0-linux-x64.zip,sqlplus-10.2.0.5.0-linux-x64.zip 2 to oracle. Unzip the two zip packages downloaded in step 1 and unzip them
1, go to the Oracle official website to download the basic-10.2.0.5.0-linux-x64.zip, sqlplus-10.2.0.5.0-linux-x64.zip2, extract the two zip packages downloaded in step 1, unzip
1, go to Oracle official website download basic-10.2.0.5.0-linux-x64.zip, sqlplus-10.2.0.5.0-linux-x64.zip
2. Extract the two zip packages downloaded in step 1 to the same directory, for example,/fyfeng/instantclient_10_2.
3. environment variable configuration
ORACLE_HOME =/fyfeng/instantclient_10_2
LD_LIBRARY_PATH = $ ORACLE_HOME
TNS_ADMIN = $ ORACLE_HOME/admin
Note: The TNS_ADMIN configuration path is tnsnames. the directory where the ora file is located. Here, the admin directory is created under the ORACLE_HOME directory and the tnsnames. ora is placed under $ ORACLE_HOME/admin; tnsnames. the ora file can be found in the oracle database installation directory.
4, $ sqlplus
Normal operation.
5. installation is complete.