preload preload preload preload

Installer Oracle Instant Client sur Ubuntu


Le jeudi 06 novembre 2014 par madpellzo Oracle 81 commentaires

Oracle propose des packages Linux pour son client "Instant Client" mais uniquement au format RPM pour des distributions de type RedHat/Fedora/CentOS.

Voici comment installer Oracle Instant Client sur une distribution de type Debian, ici une Ubuntu Server 14.04 x64.
 
Télécharger les packages "basic" (librairies), "sqlplus" (le client) ainsi que "devel" (servira pour l'installation d'un module PHP Oracle OCi8 par exemple).
 
Les RPM n'étant pas supportés sous Ubuntu, nous allons utilisé la commande magique "alien" qui transformera nos RPM en DEB. Seuls les scripts de postinstall ne seront pas joués, nous aurons donc quelques manipulation manuelles post-installations à jouer.
 
Si ce n'est pas déjà fait, installer le package "alien"
$ sudo aptitude install alien
 
Ensuite, utilisons alien pour installer nos RPM
$ sudo alien -i oracle-instantclient12.1-basic-12.1.0.2.0-1.x86_64.rpm
$ sudo alien -i oracle-instantclient12.1-sqlplus-12.1.0.2.0-1.x86_64.rpm
$ sudo alien -i oracle-instantclient12.1-devel-12.1.0.2.0-1.x86_64.rpm
 
Installer la libaionécessaire à Oracle si vous ne l'avez pas déjà installé :
$ sudo aptitude install libaio1
 
Ajoutons le répertoire de librairies Oracle au library path de notre OS :
$ sudo vi /etc/ld.so.conf.d/oracle.conf
 
Et y mettre
/usr/lib/oracle/12.1/client64/lib
 
Ensuite déclarer ce nouveau path au linker ld.so
$ sudo ldconfig -v
 
Créer le répertoire qui accueillera le fichier tnsnames.ora
$ sudo mkdir /etc/oracle
 
Déclarer ce nouveau répertoire dans votre environnement en éditant le fichier/etc/environmentet en y ajoutant cette ligne à la fin:
TNS_ADMIN=/etc/oracle
 
Créer votre fichier/etc/oracle/tnsnames.oraqui comportera le SID de votre base, le serveur ainsi que le port :
un_nom_pour_votre_tnsname =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = IP_de_votre_serveur)(PORT = port_d_ecoute))
    )
    (CONNECT_DATA =
      (SID = sid_de_votre_base)
    )
  )
 
On oubliera pas de se reconnecter pour profiter de la variable d'environnement "TNS_ADMIN".
 
Testons;
$ sqlplus64 login/password@un_nom_pour_votre_tnsname 
 
Et voilà !
 

Mots clés : oracle

  • Commentaires

  • Avatar Gravatar
     backlink
     #1 Le 26 septembre 2017

    My programmer is trying to convince me to move to .net from PHP.
    I have always disliked the idea because of the costs. But he's tryiong none
    the less. I've been using WordPress on several websites for about a year and am nervous about switching to
    another platform. I have heard very good things about blogengine.net.
    Is there a way I can transfer all my wordpress posts
    into it? Any kind of help would be really appreciated!

  • Avatar Gravatar
     Berita Aceh
     #2 Le 08 octobre 2017

    I every time used to study piece of writing in news papers but now as I am
    a user of net therefore from now I am using net for content,
    thanks to web.

  • Avatar Gravatar
     judi Casino Online
     #3 Le 23 octobre 2017

    Hey there! This is my first comment here so I just wanted to give a quick
    shout out and say I really enjoy reading your blog posts.

    Can you recommend any other blogs/websites/forums that cover the same topics?
    Thanks!

  • Avatar Gravatar
     Bola168
     #4 Le 06 novembre 2017

    I have been exploring for a bit for any high-quality articles or blog posts in this kind of house .
    Exploring in Yahoo I finally stumbled upon this site.
    Studying this info So i'm satisfied to exhibit that I've an incredibly
    excellent uncanny feeling I came upon exactly what
    I needed. I such a lot for sure will make sure to don?t omit this website and give it
    a look regularly.

  • Avatar Gravatar
     agen judi online
     #5 Le 24 novembre 2017

    Keep on writing, great job!

  • Avatar Gravatar
     PIALADOMINOBET.COM Dominobet Qiu Qiu Poker Online BandarQ Online Terpercaya
     #6 Le 15 décembre 2017

    Wow, that's what I was searching for, what a stuff! present here at this blog, thanks admin of
    this site.

  • Avatar Gravatar
     Http://Appadanatv.Net/
     #7 Le 06 janvier 2018

    We are a group of volunteers and starting a new scheme in our community.
    Your site offered us with valuable info to work on. You've done an impressive job and
    our whole community will be thankful to you.

  • Avatar Gravatar
     bandar bola
     #8 Le 07 janvier 2018

    Write more, thats all I have to say. Literally, it seems as though you relied on the video to make your point.

    You definitely know what youre talking about, why throw away
    your intelligence on just posting videos to your weblog when you could be
    giving us something informative to read?

  • Avatar Gravatar
     http://tharos.online.free.fr/
     #9 Le 23 janvier 2018

    Today, while I was at work, my sister stole my iPad and tested to see if it can survive a forty foot drop, just so she can be
    a youtube sensation. My iPad is now broken and she has 83 views.

    I know this is completely off topic but I had to share it with someone!

  • Avatar Gravatar
     http://tkphotography.ahovey.est-online.hut2.ru
     #10 Le 23 janvier 2018

    This text is worth everyone's attention.
    When can I find out more?

  • Avatar Gravatar
     gomoxossulaz.mihanblog.com
     #11 Le 28 janvier 2018

    I?m not that much of a online reader to be honest
    but your sites really nice, keep it up! I'll go ahead and bookmark
    your website to come back later on. All the best

  • Avatar Gravatar
     amazingbedzone.com
     #12 Le 28 janvier 2018

    It's very straightforward to find out any topic
    on net as compared to books, as I found this piece of writing at this web page.

  • Avatar Gravatar
     Sewa bus pariwisata white Horse
     #13 Le 27 février 2018

    Hello there, You've done an excellent job. I will certainly digg it
    and personally suggest to my friends. I am confident they'll be benefited from this site.

  • Avatar Gravatar
     Jasa Backlink Pbn
     #14 Le 05 avril 2018

    Τhanks for yoᥙr personal marvelous posting!
    I definitely enjoyed reading it, you can be a great author.І will always bookmaгk your blog
    and may come back in the foreseeable future.
    I want to encourage you to ultimately continue your great posts, have a nice weekend!

  • Avatar Gravatar
     php.sonne-cie.de
     #15 Le 05 avril 2018

    you're гeɑlly a good webmaster. The site loading pace іs amazing.

    It seems that you aare doing any unique trick. In addition,
    The contents are masterwork. you have performeԁ a wonderful activity on this subject!

  • Avatar Gravatar
     dominoqq online
     #16 Le 08 avril 2018

    Hello, i read your blog from time to time and i own a similr one and i was juhst wondering if you gget a
    lot of spam comments? If so hhow do you stop it,
    any plugin or anything you can recommend? I get so much lately it's driving me
    crazy so any assisstance is very much appreciated.

  • Avatar Gravatar
     jual kabel grounding
     #17 Le 21 avril 2018

    Hello I am so glad I found your site, I really found you by error, while I was searching on Askjeeve for
    something else, Nonetheless I am here now and would just like to say many thanks for a incredible post and a all round interesting blog (I
    also love the theme/design), I don’t have time to browse it all at the moment but I have saved it and also added in your RSS feeds, so when I have time I will be
    back to read a great deal more, Please do keep up the excellent b.

  • Avatar Gravatar
     livescore
     #18 Le 23 avril 2018

    Howdy would you mind sharing which blog platform you're working with?
    I'm planning to start my ownn blg in the near futture but I'm having
    a haard time selectin between BlogEngine/Wordpress/B2evolution and Drupal.

    The reason I assk is bewcause your design seems different
    then mot blogs and I'mlooking for something completely
    unique. P.S My apologies for beijng off-topic but I had to ask!

  • Avatar Gravatar
     Live score liga inggris
     #19 Le 02 mai 2018

    Pгetty! This haas been an extremely wonderfᥙl post.

    Many thanks for supplying these details.

  • Avatar Gravatar
     Agen Poker Online
     #20 Le 02 mai 2018

    great! this is wonderful information. ^-^

  • Avatar Gravatar
     bbs.Saforever.com
     #21 Le 03 mai 2018

    ІncrediЬle points. Outstanding arguments. Keep
    up the good effort.

  • Avatar Gravatar
     Live Score Liga Inggris
     #22 Le 19 mai 2018

    Hi! This iѕ kind of off topiϲ Ьսt I need some guidance from an estabⅼished bloց.
    Iѕ it very hard to set up yokur own blog? I'm not very techincal but I can figure things out pretty fast.
    I'm thinking about setting ᥙp my own but I'm not sᥙe where to start.
    Do you have any tips or sugɡеstions? With thanks

  • Avatar Gravatar
     Data sgp
     #23 Le 25 mai 2018

    Pretty! This was an incredibly wonderful article.
    Thank you ffor providing this information.

  • Avatar Gravatar
     togel hongkong
     #24 Le 25 mai 2018

    Hi, its pⅼeasant pieece of writing abߋut medіa print, we all
    be familiar with media is a impressive source of facts.

  • Avatar Gravatar
     choir london no audition
     #25 Le 29 mai 2018

    I've been exploring for a bit for any high-quality articles
    or weblog posts on this kind of area . Exploring in Yahoo I at last stumbled upon this website.
    Reading this information So i am happy to exhibit that I've an incredibly excellent uncanny feeling I
    found out just what I needed. I most without a
    doubt will make sure to don?t forget this web site and provides it a glance regularly.

  • Avatar Gravatar
     Choirs in London
     #26 Le 29 mai 2018

    Excellent post! We are linking to this great content on our website.
    Keep up the great writing.

  • Avatar Gravatar
     Join london choir
     #27 Le 29 mai 2018

    Its not my first time to pay a quick visit this web page, i am visiting this website
    dailly and get good data from here daily.

  • Avatar Gravatar
     Join london choir
     #28 Le 29 mai 2018

    Greetings from Carolina! I'm bored at work so I decided to browse your site on my iphone during lunch break.
    I love the information you present here and can't wait to take a look when I get home.

    I'm amazed at how fast your blog loaded on my cell phone ..
    I'm not even using WIFI, just 3G .. Anyhow, wonderful site!

  • Avatar Gravatar
     Join a choir in London
     #29 Le 29 mai 2018

    I am really impressed with your writing skills and also with the layout
    on your blog. Is this a paid theme or did you modify it yourself?
    Anyway keep up the excellent quality writing,
    it's rare to see a nice blog like this one today.

  • Avatar Gravatar
     Choirs London
     #30 Le 29 mai 2018

    My partner and I stumbled over here by a different page and thought I might as well check things out.
    I like what I see so now i am following you. Look forward to checking
    out your web page repeatedly.

  • Avatar Gravatar
     men's prescription glasses
     #31 Le 30 mai 2018

    I blog quite often and I seriously appreciate your information.
    This article has truly peaked my interest. I will bookmark your
    site and keep checking for new details about once a week. I subscribed
    to your RSS feed as well.

  • Avatar Gravatar
     365pokerqq.blogspot.com
     #32 Le 31 mai 2018

    Outstanding story there. What occurred after? Good luck!

  • Avatar Gravatar
     Cheap Tyres Dandenong
     #33 Le 31 mai 2018

    always i used to read smaller posts that as well clear
    their motive, and that is also happening with this article which I am reading at this place.

  • Avatar Gravatar
     Tyre shop Dandenong
     #34 Le 31 mai 2018

    Ahaa, its pleasant dialogue concerning this article at this place at
    this website, I have read all that, so at this
    time me also commenting at this place.

  • Avatar Gravatar
     love letters for her
     #35 Le 04 juin 2018

    Hello colleagues, its wonderful paragraph regarding cultureand
    fully explained, keep it up all the time.

  • Avatar Gravatar
     love poems for her
     #36 Le 04 juin 2018

    Excellent blog here! Also your site loads up fast! What web host are you using?
    Can I get your affiliate link to your host? I wish my website loaded up as quickly as yours lol

  • Avatar Gravatar
     love letters for her
     #37 Le 05 juin 2018

    certainly like your web site but you need to check the
    spelling on quite a few of your posts. Several
    of them are rife with spelling problems and I
    to find it very troublesome to tell the truth on the other hand I'll certainly come back again.

  • Avatar Gravatar
     Capsa Susun Online
     #38 Le 06 juin 2018

    hi!,I love your writing very a lot! proportion we keep up a correspondence
    more about your article on AOL? I need an expert
    on this area to resolve my problem. May be that's you!
    Looking ahead to see you.

  • Avatar Gravatar
     Live score liga Inggris
     #39 Le 07 juin 2018

    Very nicе post. I just stumbled upon your blog and
    wanted tߋ sаy tһat I haᴠe truly enjoyed surfing around your weblog posts.
    After alⅼⅼ I will be subscribing for your rss
    feed andd I hope you write again very sоon!

  • Avatar Gravatar
     Prediksi Togel Singapore
     #40 Le 08 juin 2018

    Hi there to every one, the contents existing at this web page are genuinely awesome
    for people knowledge, well, keep up the nice work
    fellows.

  • Avatar Gravatar
     best portable air conditioner
     #41 Le 08 juin 2018

    First of all I would like to say great blog! I had a quick question which I'd like to ask if you do not mind.

    I was curious to know how you center yourself and clear your thoughts before writing.
    I have had a hard time clearing my mind in getting my thoughts out.
    I do take pleasure in writing but it just seems like the first 10 to 15 minutes are generally lost just
    trying to figure out how to begin. Any recommendations or hints?
    Cheers!

  • Avatar Gravatar
     best portable air conditioner
     #42 Le 08 juin 2018

    I think this is one of the most important information for me.
    And i'm glad reading your article. But wanna remark on some general things, The web site style is ideal,
    the articles is really nice : D. Good job,
    cheers

  • Avatar Gravatar
     natural dog allergy treatment
     #43 Le 09 juin 2018

    I am sure this paragraph has touched all the internet users, its really
    really good post on building up new webpage.

  • Avatar Gravatar
     nude massage London
     #44 Le 11 juin 2018

    Howdy are using Wordpress for your site platform? I'm new to the blog world but I'm
    trying to get started and set up my own. Do you require any html coding expertise to
    make your own blog? Any help would be really appreciated!

  • Avatar Gravatar
     Agen Judi Online
     #45 Le 12 juin 2018

    It's really a great and useful piece of information. I am
    glad that you simply shared this helpful info with us. Please stay us up to date like this.
    Thank you for sharing.

  • Avatar Gravatar
     Bandarq Online
     #46 Le 12 juin 2018

    I'm really enjoying the theme/design of your web site.

    Do you ever run into any internet browser compatibility problems?
    A number of my blog readers have complained about my site not working correctly in Explorer but looks great in Firefox.
    Do you have any ideas to help fix this problem?

  • Avatar Gravatar
     malaysia online casino
     #47 Le 12 juin 2018

    Hello are using Wordpress for your site platform?
    I'm new to the blog world but I'm trying to get started and create my own. Do you need any coding expertise
    to make your own blog? Any help would be really appreciated!

  • Avatar Gravatar
     jasa backlink
     #48 Le 14 juin 2018

    I used to be suggested this web site by way of my cousin.
    I'm no longer sure whether or not this publish is written through him as nobody else realize
    such detailed approximately my difficulty. You are incredible!
    Thanks!

  • Avatar Gravatar
     floor puzzles for toddlers
     #49 Le 14 juin 2018

    Spot on with this write-up, I seriously believe this website needs
    a lot more attention. I'll probably be back again to read through
    more, thanks for the advice!

  • Avatar Gravatar
     one inch foam cubes
     #50 Le 15 juin 2018

    I am really impressed together with your writing abilities as smartly as with the format on your blog.

    Is this a paid topic or did you modify it your self? Anyway stay up the nice
    high quality writing, it is uncommon to peer a
    great weblog like this one nowadays..

  • Avatar Gravatar
     jigsaw puzzles for sale
     #51 Le 16 juin 2018

    Thanks for every other magnificent article.
    Where else may just anybody get that type of information in such an ideal way of writing?
    I have a presentation next week, and I am at the search for such information.

  • Avatar Gravatar
     Hasil piala dunia 2018
     #52 Le 19 juin 2018

    I like the valuable information you supply for your articles.

    I'll bookmark your weblog and test again right here regularly.

    I'm somewhat certain I'll be told many new stuff right here!
    Good luck for the next!

  • Avatar Gravatar
     BandarQ Online
     #53 Le 20 juin 2018

    When someone writes an article he/she retains thee thought off a user in his/her brain that how a use can understand
    it. So that's why this post is perfect. Thanks!

  • Avatar Gravatar
     Capsa Susun
     #54 Le 20 juin 2018

    Woah! I'm really enjoying the template/theme of this site.
    It's simple, yet effective. A loot of times it's difficult
    to get that "perfect balance" between user friendliness and vvisual appearance.
    I mustt say you've done a excellent job with this.
    Additionally, thhe blog loads super quick for me on Firefox.
    Exceptional Blog!

  • Avatar Gravatar
     https://crystal-towers.com.ua/forum/index.php?action=profile;u=69987
     #55 Le 20 juin 2018

    We're a gaggle of volunteers and starting a brand new
    scheme in our community. Your site provided us with helpful info to work on. You have performed an impressive activity and
    our whoole gtoup can be grateful to you.

  • Avatar Gravatar
     Capsa Susun
     #56 Le 20 juin 2018

    Thanks for finally talking about >Installer Oracle Instant Client sur Ubuntu - Madpellzo <Liked it!

  • Avatar Gravatar
     nf.jmco-op.net
     #57 Le 20 juin 2018

    We stumbled over here from a different website and thought I might as well
    check thikngs out. I like whwt I seee so i am just following you.
    Look forward to finding out about your web page yet again.

  • Avatar Gravatar
     BandarQ Online
     #58 Le 22 juin 2018

    If some one needs too bee updated with newest technologies ater that
    he must be pay a quick visit this web site aand be upp to date
    all the time.

  • Avatar Gravatar
     jasa backlink
     #59 Le 22 juin 2018

    It's in fact very complicated in this busy life to listen news on TV, therefore I only use internet for that purpose, and
    take the newest news.

  • Avatar Gravatar
     BandarQ Online
     #60 Le 22 juin 2018

    Howdy, i read your blog from time to time annd i own a similar one
    and i was just wondering if you get a lot of pam comments?
    If so how do youu protect against it, any plugin or anything yyou can suggest?
    I get so much lately it's driving me mad so any support is very much appreciated.

  • Avatar Gravatar
     DominoQQ
     #61 Le 22 juin 2018

    I think what you said was ver logical. However, think on this, suppose you
    were to create a awesome headline? I ain't suggesting your information isn't
    solid., however suppose yoou added something that makes people want
    more? I mean Installer Oracle Instant Clent sur Ubunfu - Madpellzo iis kinda plain. You
    could loiok at Yahoo's home page and nnote how they
    create article headlines to get people to open the links.
    You might try adding a video or a pic or two to grab people interested about what you've
    written. Just my opinion, it might make your blog a little bit more
    interesting.

  • Avatar Gravatar
     kontraktor Instalasi pengolahan Air Limbah
     #62 Le 24 juin 2018

    Heya i'm for the first time here. I found this board and
    I find It truly useful & it helped me out a lot.
    I hope to give something back and help others like you helped me.

  • Avatar Gravatar
     http://www.toptrader.co.th/
     #63 Le 26 juin 2018

    We are a group off volunteers annd opening a new scheme in our community.

    Yourr site provided us with valuable into to wprk on. You've
    don an impressive job and ourr whole community wil be thankful to you.

  • Avatar Gravatar
     DominoQQ
     #64 Le 27 juin 2018

    Good day I am so delighted I found your weblog, I reaally found you byy error, while I was researching on Google for something else,
    Anyways I am here now and would just like to say thanks a lot for a rremarkable post and a all round exciting blog (I also love the theme/design),
    I don't have time to read it all at the minute but I have bookmarked it and also included your RSS feeds, soo when I havce
    time I will be bsck to read a great deal more, Please do keep up tthe great job.

  • Avatar Gravatar
     BandarQ
     #65 Le 27 juin 2018

    I got this web page from my friend who shared with me regarding this web site and at the moment thiks time I amm browsing this web site and reading very informative articles here.

  • Avatar Gravatar
     jasa pbn
     #66 Le 27 juin 2018

    Greetings! Very helpful advice within this post! It's the little
    changes which will make the most important changes.
    Many thanks for sharing!

  • Avatar Gravatar
     QQ Online
     #67 Le 28 juin 2018

    Undeniably consider that which you stated.
    Yoour favourite reason appeared to be oon the net the simplest thing to have in mind of.
    I say to you, I certainly get irked while other folks think about issues that they plainy don't recognise about.
    You managed tto hit the nail uplon the highest and defined out
    thee whole thing with no need side-effects , other folks could take a signal.

    Will probably be again too get more. Thanks

  • Avatar Gravatar
     Backlink seo
     #68 Le 29 juin 2018

    I used to be able to find good info from your articles.

  • Avatar Gravatar
     BandarQ Online
     #69 Le 29 juin 2018

    Hi there just wanted to give you a quick heads up. The text in your post seem
    to be running off thhe screen in Ie. I'm nott suure iif this is a format
    issue or something tto do with browser compatibility but I thought
    I'd ost to llet you know. The desugn look great though!
    Hope you get thhe problem solved soon. Many thanks

  • Avatar Gravatar
     BandarQ Online
     #70 Le 29 juin 2018

    Finee way of explaining, and pleasant piece off writing to obtain information regarding my presentation topic, which i am
    going to convey in university.

  • Avatar Gravatar
     broadband providers dublin
     #71 Le 30 juin 2018

    Highly descriptive article, I enjoyed that bit.
    Will there be a part 2?

  • Avatar Gravatar
     backlink
     #72 Le 30 juin 2018

    Wow that was unusual. I just wrote an extremely long comment
    but after I clicked submit my comment didn't show up.
    Grrrr... well I'm not writing all that over again. Regardless, just wanted
    to say excellent blog!

  • Avatar Gravatar
     Royce
     #73 Le 30 juin 2018

    Thanks for finawlly writing about >Installer Oracle Instant
    Client sur Ubuntu - Madpellzo <Loved it!

  • Avatar Gravatar
     QQ Online
     #74 Le 30 juin 2018

    Hey! This is my first visit tto your blog! We are a grouup of volunteers and startiong a neew poject in a community in the same niche.
    Your blog provided us valuable information to work on. You have done a extraordinary job!

  • Avatar Gravatar
     bandarqiu
     #75 Le 30 juin 2018

    Finee way of explaining, and pleasant piece off writing to obtain information regarding my presentation topic, which i am
    going to convey in university.

  • Avatar Gravatar
     Custom restaurant uniforms
     #76 Le 30 juin 2018

    That is a really good tip particularly to those new to the blogosphere.
    Brief but very accurate info… Appreciate your sharing this one.
    A must read post!

  • Avatar Gravatar
     AGUNGQQ
     #77 Le 04 juillet 2018

    Fantastic website. Lots of helpful info here.
    I'm sending it to a few buddies ans also sharing in delicious.
    And obviously,thanks for your effort!

  • Avatar Gravatar
     wheels on the bus
     #78 Le 06 juillet 2018

    Do you mind if I quote a couple of your posts as long as I provide credit and sources
    back to your site? My blog is in the very same
    niche as yours and my users would truly benefit from a lot of the information you provide here.
    Please let me know if this okay with you.
    Thanks!

  • Avatar Gravatar
     kapsul semut
     #79 Le 10 juillet 2018

    If some one desires expert view regarding blogging then i recommend him/her to pay a visit this weblog, Keep up the nice job.

  • Avatar Gravatar
     sitenioyla.hayatadair.net
     #80 Le 10 juillet 2018

    Hey there! I just wish to give you a huge thumbs up for
    your great info you have got right here on this
    post. I am coming back to your website for more soon.

  • Avatar Gravatar
     Agen SBOBET Terpercaya
     #81 Le 15 juillet 2018

    Great site you have here but I was wondering if you knew of any community forums that cover the same
    topics discussed here? I'd really love to be a part of community where I can get advice from other experienced individuals that share
    the same interest. If you have any suggestions,
    please let me know. Kudos!

  • Ecrire un commentaire








    Quelle est la cinquième lettre du mot lizxgm ?