Install the real-time client in Linux (lightweight)
Database users, or add dba groups to existing users. Create user groupadd oinstallgroupadd dbauseradd-g oinstall-G dba, revoke oraclepasswd oracle
Chown-R oracle: oinstall/oraclechmod-R 755/oracle (copy the modified tnsnames. ora here)
For existing users, then, go to su-cdmkdir-p oracle/network/admin in the user's HOME directory, and the existing user is cognoschwn-R 'whoam' $ HOME/oraclels-ld $ HOME/oracle.
Return to root User
Cd/usr/lib/oracle/find the real bin and log paths
For example,/usr/lib/oracle/10.2.0.3/client64/lib
Vi2/etc/profile: Add the following profile to the profile of the corresponding user or modify the/etc/profile file, the environment variable is loaded first.
(Add the following lines) -- actually modify export ORACLE_HOME =$ {HOME}/oracle export LD_LIBRARY_PATH =/usr/lib/oracle/10.2.0.3/client64/libPATH = $ PATH: $ ORACLE_HOME/bin: $ LD_LIBRARY_PATH /.. /bin: wq (save disk and exit vi) cd/etc & source profileOK, now you can run sqlplus to check whether sqlplus sm5/sm5 @ sunserve is successfully installed