Setup Oracle sql plus client on AWS Ubuntu/Linux

Setup Oracle sql plus client on AWS Ubuntu/Linux


Dependencies :

AWS Instance with Ubuntu/Linux
Oracle Instant Client package
Oracle SQL Plus package

Steps to Install the Client : 

1. First we need to install alien package
sudo apt -get install alien

2. Install downloaded instant rpm package<client>
sudo alien -i oracle-instantclient11.2-basic-11.2.0.3.0-1.x86_64.rpm 

3. Install downloaded sql plus package
sudo alien -i oracle-instantclient11.2-sqlplus-11.2.0.3.0-1.x86_64.rpm 

4. Install libaio1,libaio-dev packages if not already installed. Usually in vanilla ubuntu 14 l
ibaio1, libaio-dev packages are not pre-installed. 

5. Export oracle client lib directory path to LD_LIBRARY_PATH variable. 

export LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client64/lib/${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}

6. Test the client now.


Following sql prompt will appear by using credentials are correct.

ubuntu@ip-272-300-203-2222:~/oracle_client$ sqlplus64
username/password@//rds_hostname:1521/ORCL

With the portioning ,Oracle Label Security,Olap,Data Mining ans Real Application Testing Options

Comments

  1. wonderful article. Very interesting to read this article.I would like to thank you for the efforts you had made for writing this awesome article. This article resolved my all queries. keep it up.
    AWS Training Hyderabad/
    AWS Course Hyderabad/
    AWS Training Institutes Hyderabad/
    AWS Online Training Hyderabad/

    ReplyDelete
  2. Really nice and interesting post. I was looking for this kind of information and enjoyed reading this one. Keep posting. Thanks for sharing.
    AWS Training Hyderabad/
    AWS Course Hyderabad/
    AWS Training Institutes Hyderabad/
    AWS Online Training Hyderabad/

    ReplyDelete

Post a Comment

Popular posts from this blog

Interview question for File and FTP Adapter

What is boot.properties file and how to create

SSL Exceptions in Admin Server and Node Manager.