SQL*Plus + OpenSuse
<ul><li>To install SQL*Plus we must go to the Oracle website and download two files:
- Instant Client Package – Basic
-  Instant Client Package – SQL*Plus
Just simply go to:
Oracle Instant Client Download </li></ul><ul>and select the the Linux option (X86 or X86_X64). </ul>SQL*Plus+OpenSuse
<ul><li>The select  download the following rpm packges:
-  oracle-instantclient*-basic-*.rpm
Upcoming SlideShare
Loading in …5
×

Installing Sqlplus in OpenSuse

6,169 views
5,873 views

Published on

Installing Sqlplus in OpenSuse

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
6,169
On SlideShare
0
From Embeds
0
Number of Embeds
213
Actions
Shares
0
Downloads
20
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Installing Sqlplus in OpenSuse

  1. 1. SQL*Plus + OpenSuse
  2. 2. <ul><li>To install SQL*Plus we must go to the Oracle website and download two files:
  3. 3. - Instant Client Package – Basic
  4. 4. - Instant Client Package – SQL*Plus
  5. 5. Just simply go to:
  6. 6. Oracle Instant Client Download </li></ul><ul>and select the the Linux option (X86 or X86_X64). </ul>SQL*Plus+OpenSuse
  7. 7. <ul><li>The select download the following rpm packges:
  8. 8. - oracle-instantclient*-basic-*.rpm
  9. 9. - oracle-instantclient*-sqlplus-*.rpm
  10. 10. After downloading the files you must install the *.rpm packages. You can double click in the file to install it using your package management system or you can install it from the command line (rpm -ivh rpm_package_name.rpm). </li></ul>SQL*Plus+OpenSuse
  11. 11. <ul><li>If you use a Debian based system you can use a tool called alien to convert *.rpm to *.deb .
  12. 12. First of all install alien:
  13. 13. Then you can convert the rpm packages with the following command: </li></ul>SQL*Plus+OpenSuse
  14. 14. <ul><li>After installing the packages we must do some “tweaks” in order to run sql*plus.
  15. 15. Let's open the .bashrc of you account: </li></ul><ul><li>And put the following: </li></ul><ul><li>export LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client/lib
  16. 16. #SQL PLUS CONFIG FILE
  17. 17. export TNS_ADMIN=~ </li></ul>SQL*Plus+OpenSuse
  18. 18. <ul><li>Now install the Linux Kernel AIO access library with the following command:
  19. 19. In a Debian based system type:
  20. 20. Finally create tnsnames.ora (a configuration file that defines databases addresses for establishing connections to them) with the command: </li></ul>SQL*Plus+OpenSuse
  21. 21. <ul><li>Open the file and insert your databases addresses configurations. (gedit ~/tnsnames.ora).
  22. 22. tnsnames.ora eg:
  23. 23. ORA11 =
  24. 24. (DESCRIPTION =
  25. 25. (ADDRESS_LIST =
  26. 26. (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
  27. 27. )
  28. 28. (CONNECT_DATA =
  29. 29. (SERVICE_NAME = ORA11)
  30. 30. )
  31. 31. ) </li></ul>SQL*Plus+OpenSuse
  32. 32. ..:: Filipe Batista - 2010 ::.. filipebatista.bitdoo.com SQL*Plus+OpenSuse

×