Changes between Version 1 and Version 2 of ContinuousIntegrationSetup


Ignore:
Timestamp:
08/15/2011 08:48:30 AM (4 years ago)
Author:
aaugustin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ContinuousIntegrationSetup

    v1 v2  
    2222=== Create a Debian / Ubuntu package ===
    2323
    24 This can be done on another machine, you just need the resulting file, `oracle-xe_11.2.0-1.5_amd64.deb`.
     24''This can be done on another machine, you just need the resulting files, `oracle-xe_11.2.0-1.5_amd64.deb` and `oracle-instantclient11.2-basiclite_11.2.0.2.0-2_amd64.deb`.''
     25
     26Download Oracle XE and Oracle InstantClient for Red Hat from Oracle's website (free but registration required).
     27
    2528{{{
    2629# apt-get install alien
    2730# alien --scripts oracle-xe-11.2.0-0.5.x86_64.rpm
     31# alien --scripts oracle-instantclient11.2-basiclite-11.2.0.2.0.x86_64.rpm
    2832}}}
    2933
     
    5357}}}
    5458
    55 === Install, configure and clean-up ===
     59=== Install and  configure the server ===
    5660
    5761{{{
     
    7276}}}
    7377
    74 === Test ===
     78=== Test the server ===
    7579
    7680{{{
     
    8084$ exit
    8185}}}
     86
     87=== Install the client ===
     88
     89{{{
     90# dpkg -i oracle-instantclient11.2-basiclite_11.2.0.2.0-2_amd64.deb
     91}}}
     92
     93The libraries are installed in a non-standard directory, declare it:
     94
     95{{{
     96# echo /usr/lib/oracle/11.2/client64/lib > /etc/ld.so.conf.d/oracle-instantclient.conf
     97# ldconfig
     98}}}
     99
     100In the virtualenv where you need it, install `cx_Oracle` with pip. This requires `pythonX.Y-dev`, where `X.Y` is the version of Python used in your virtual env.
     101
     102{{{
     103$ . /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh
     104$ pip install cx_Oracle
     105}}}
     106
     107
     108=== Test the client ===
    82109
    83110=== Create the django user ===
     
    106133}}}
    107134
    108 === Uninstall ===
     135=== Uninstall the server ===
    109136
    110137This was tested on a VM and may be useful in the future.
     
    124151# rmdir -p /etc/kde/xdg/menus
    125152}}}
     153
     154=== Uninstall the client ===
     155
     156This wasn't tested.
     157
     158{{{
     159# dpkg -P oracle-instantclient11.2-basiclite
     160# rm /etc/ld.so.conf.d/oracle-instantclient.conf
     161# ldconfig
     162}}}
Back to Top