Install and configure oracle client in linux

Source: Internet
Author: User

The installation of the oracle client is very simple. The key lies in the tns configuration. The rpm installation package I used here is that oracle itself is not open source, which is the easiest to install with rpm.

First, download the following three files. Note that the versions are best consistent.

Oracle-instantclient-basic-10.2.0.4-1.i386.rpm

Oracle-instantclient-sqlplus-10.2.0.4-1.i386.rpm

Oracle-instantclient-devel-10.2.0.4-1.i386.rpm

2.

Oracle-instantclient-basic-10.2.0.4-1.i386.rpm is the basic dynamic library, jar package, the default installation path is:

The oracle-instantclient-sqlplus-10.2.0.4-1.i386.rpm is the client sqlplus installation package, the default installation path is:/usr/lib/oracle/10.2.0.4/client

The oracle-instantclient-devel-10.2.0.4-1.i386.rpm is the api interface file, the default installation path is:/usr/include/oracle/10.2.0.4/client

 

Sudo rpm-avi oracle-instantclient-basic-10.2.0.4-1.i386.rpm

Sudo rpm-avi oracle-instantclient-sqlplus-10.2.0.4-1.i386.rpm

Sudo rpm-avi oracle-instantclient-devel-10.2.0.4-1.i386.rpm

 

4.

5. Test the connection

USERNAME/PASSWD@ Test_base

USERNAME.TABLENAMEWhere accountid = 8401428;


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.