-
Notifications
You must be signed in to change notification settings - Fork 0
/
ORACLE.txt
55 lines (36 loc) · 1.85 KB
/
ORACLE.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
###########################################################
# LINUX #
###########################################################
1. Download instantclient-basic and instantclient-devel, 32bit or 64bit
accordingly to your OS, from:
https://www.oracle.com/technetwork/database/database-technologies/instant-client/downloads/index.html
2a. if you have a .deb system, do:
> sudo apt install alien
> sudo alien -dc PACKAGE.rpm
Do it for every rpm downloaded
Install the .deb generated by alien (double-clicking them, or use gdebi or
dpkg)
2b. if you have an rpm system, simply install the rpms downloaded
3. pip3 install cx_Oracle
4. open oracle_env.sh included in the EWA sources, change the oracle
client version and copy it where you want
5. source the file when you want to use EWA with Oracle. For example:
> source oracle_env.sh
> python3 ewa.py --config my_oracle_table.ini
If you use another shell tab or you close and reopen the shell, you have to
resource the oracle_env.sh file
6. See README.txt for using it.
7. Bye!
###########################################################
# WINDOWS #
###########################################################
1. Download instantclient-basic from Oracle site. Make sure to download the
32bit or 64 bit, accordingly to your OS and Python:
https://www.oracle.com/technetwork/database/database-technologies/instant-client/downloads/index.html
If you see, under the link to instantclient-basic, there's a link to
Microsoft Visual Studio Redistributable. You have to follow it and download
and install the version suggested by Oracle
3. extract the instantclient-basic folder where you want
3. add to the PATH the client folder
4. See README.txt for using it
5. Bye!