Your SlideShare is downloading. ×
0
Installing Sqlplus in OpenSuse
Installing Sqlplus in OpenSuse
Installing Sqlplus in OpenSuse
Installing Sqlplus in OpenSuse
Installing Sqlplus in OpenSuse
Installing Sqlplus in OpenSuse
Installing Sqlplus in OpenSuse
Installing Sqlplus in OpenSuse
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Installing Sqlplus in OpenSuse

5,269

Published on

Installing Sqlplus in OpenSuse

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
5,269
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
17
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

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

×