Linux installation Oracle client full record

Source: Internet
Author: User

1. Establish Oracle Users and groups:

    1. #groupadd Oinstall
    2. #useradd-G Oinstall Oracle
    3. #passwd Oracle

2. Create an Oracle base directory

    1. #mkdir –p/usr/local/oracle/product/11.2.0/db_1
    2. #chown –R oracle:oinstall/usr/local/oracle/product/11.2.0/db_1
    3. #chmod –R 755/usr/local/oracle/product/11.2.0/db_1
    4. #mkdir –p/usr/local/oracle/orainventory
    5. #chown –R Oracle:oinstall/usr/local/oracle/orainventory
    6. #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

    1. #chown –R oracle:oinstall/usr/local/oracle/client
    2. #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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.