Why can’t you grab tickets when you travel on holiday?Reveal the key technology of 12306 how to ensure the ticket is not oversold>>>
If you want to install a client-side Oracle tool that can use the sqlplus command on a Linux, you can connect to other Oracle remotely to execute some scripts conveniently
Steps
1. Install the following three RPM packages for RPM – IVH:
oracle-instantclient12.2-basic-12.2.0.1.0-1.x86_ 64.rpm
oracle-instantclient12.2-devel-12.2.0.1.0-1.x86_ 64.rpm
oracle-instantclient12.2-sqlplus-12.2.0.1.0-1.x86_ 64.rpm
2. Modify the/etc/profile file, and finally add:
export ORACLE_ HOME=/usr/lib/oracle/12.2/client64
export LD_ LIBRARY_ PATH=$ORACLE_ HOME/lib:$LD_ LIBRARY_ PATH
export PATH=$PATH:$ORACLE_ HOME/bin
3. Unexpected error, prompt when executing sqlplus:
sqlplus: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory
#LDD/usr/lib/Oracle/12.2/client64/bin/sqlplus shows that libnsl. So. 1 cannot be found
I went directly to another machine and copied libnsl. So. 1 to/usr/lib64 on this machine, and the problem was solved
Similar Posts:
- [Solved] Linux Oracle bash: “sqlplus / as sysdba”: command not found
- [Solved] 64-bit Python calls 32-bit Oracle client error: Cx_Oracle.DatabaseError: DPI-1047
- [Solved] Linux Start database Error: could not open parameter file init**.ora
- [Solved] Navicat Connect Oracle :Cannot load OCI DLL, 126
- Oracle ORA-12162: TNS:net service name is incorrectly specified
- [Solved] python Connect Oracle Error: DPI-1047
- [Solved] ORA-12162: TNS:net service name is incorrectly spe
- [Solved] Opatch apply Run Error: OPatch failed with error code 73
- MYSQL Developer Error:Unable to find a Java Virtual Machine
- SQL Developer:Unable to find a Java Virtual Machine [Solved]