Extract the two zip packages downloaded in step 1 to the same directory, for example,/fyfeng/instantclient_10_23. Set the environment variable to ORACLE_HOME =/f.
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.
Optional environment variables:
NLS_LANG= SIMPLIFIED CHINESE_CHINA.ZHS16GBK
4, $ sqlplus
Normal operation.
5. installation is complete.