1. Establish Oracle Users and groups:
- #groupadd Oinstall
- #useradd-G Oinstall Oracle
- #passwd Oracle
2. Create an Oracle base directory
- #mkdir –p/usr/local/oracle/product/11.2.0/db_1
- #chown –R oracle:oinstall/usr/local/oracle/product/11.2.0/db_1
- #chmod –R 755/usr/local/oracle/product/11.2.0/db_1
- #mkdir –p/usr/local/oracle/orainventory
- #chown –R Oracle:oinstall/usr/local/oracle/orainventory
- #chmod –R 755/usr/local/oracle/orainventory
3. Configure the Oracle user parameters file. bash_profile, increase
Export Oracle_base=/usr/local/oracle
Export Oracle_home= $ORACLE _base/product/11.2.0/db_1
Export Sqlpath=/usr/local/oracle
Export Tns_admin=/usr/local/oracle
Export nls_lang= ' American_america. ZHS16GBK "
Export ld_library_path= $ORACLE _home: $LD _library_path
Export path= $PATH: $ORACLE _home: $ORACLE _home/bin
4. Install software FTP to $oracle_base unzip generate client
#unzip P10404530_112030_linux-x86-64_4of7.zip
5. Modify the client's permissions
- #chown –R oracle:oinstall/usr/local/oracle/client
- #chmod –R 755/usr/local/oracle/client
6. Installation
$CD Client
$./runinstaller
7. Configure Tnsnames.ora, Path $tns_admin
$netca
8. Check
$tnsping Database Connector
$sqlplus username/password @ Database Connector
Linux installation Oracle client full record