Oracle Linux Sqlplus client 1. install the oracle-instantclient11.2-basic-11.2.0.1.0-1.x86_64.rpm oracle-instantclient11.2-sqlplus-11.2.0.1.0-1.x86_64.rpm command www.2cto.com respectively as follows: rpm-ivh package name 2. add dns and other configurations in the default installation path:/usr/lib/oracle/11.2/client64 New network/admin/tnsnames. the file content of the ora file is as follows: atuonavi_10.20.4.14 = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = 10.20.4.14) (PORT = 1521 ))) (CONNECT_DATA = (SID = orcl) (SERVER = DEDICATED) www.2cto.com 3. add the environment variable export ORACLE_HOME =/usr/lib/oracle/11.2/client64 export TNS_ADMIN = $ ORACLE_HOME/network/admin export NLS_LANG = 'simplified chinese_china' in/etc/profile '. ZHS16GBK export LD_LIBRARY_PATH = $ ORACLE_HOME/lib export PATH = $ ORACLE_HOME/bin: $ PATH
4. How to SQL statements on the left and right back and other keys can not be used, install http://rpm.pbone.net/index.php3/stat/4/idpl/15276193/dir/redhat_el_5/com/rlwrap-0.37-1.el5.x86_64.rpm.html download rlwrap-0.37-1.el5.x86_64.rpm installation.