@@ -291,13 +291,13 @@ either directly from yum.oracle.com:
291
291
292
292
```
293
293
sudo yum -y install oracle-release-el7
294
- sudo yum -y install oracle-instantclient19.3 -basic
294
+ sudo yum -y install oracle-instantclient19.5 -basic
295
295
```
296
296
297
297
Or from a downloaded file:
298
298
299
299
```
300
- sudo yum install oracle-instantclient19.3 -basic-19.3 .0.0.0-1.x86_64.rpm
300
+ sudo yum install oracle-instantclient19.5 -basic-19.5 .0.0.0-1.x86_64.rpm
301
301
```
302
302
303
303
This will install the required ` libaio ` package, if it is not already
@@ -440,9 +440,9 @@ and [unzip it][13] into a directory accessible to your application,
440
440
for example:
441
441
442
442
```
443
- unzip instantclient-basic-linux.x64-19.3 .0.0.0dbru.zip
443
+ unzip instantclient-basic-linux.x64-19.5 .0.0.0dbru.zip
444
444
mkdir -p /opt/oracle
445
- mv instantclient_19_3 /opt/oracle
445
+ mv instantclient_19_5 /opt/oracle
446
446
```
447
447
448
448
You will need the operating system ` libaio ` package installed. On
@@ -453,15 +453,15 @@ that will be impacted, then permanently add Instant Client to the
453
453
run-time link path. For example, with sudo or as the root user:
454
454
455
455
```
456
- sudo sh -c "echo /opt/oracle/instantclient_19_3 > /etc/ld.so.conf.d/oracle-instantclient.conf"
456
+ sudo sh -c "echo /opt/oracle/instantclient_19_5 > /etc/ld.so.conf.d/oracle-instantclient.conf"
457
457
sudo ldconfig
458
458
```
459
459
460
460
Alternatively, every shell running Node.js will need to have the link
461
461
path set:
462
462
463
463
```
464
- export LD_LIBRARY_PATH=/opt/oracle/instantclient_19_3 :$LD_LIBRARY_PATH
464
+ export LD_LIBRARY_PATH=/opt/oracle/instantclient_19_5 :$LD_LIBRARY_PATH
465
465
```
466
466
467
467
#### 3.3.5 Optionally create the default Oracle Client configuration directory
@@ -665,22 +665,22 @@ and unzip it, for example:
665
665
666
666
```
667
667
mkdir -p /opt/oracle
668
- unzip instantclient-basic-macos.x64-19.3 .0.0.0dbru.zip
668
+ unzip instantclient-basic-macos.x64-19.5 .0.0.0dbru.zip
669
669
```
670
670
671
671
Create a symbolic link for the 'client shared library' in the user
672
672
default library path such as in ` ~/lib ` or ` /usr/local/lib ` . For example:
673
673
674
674
```
675
675
mkdir ~/lib
676
- ln -s instantclient_19_3 /libclntsh.dylib ~/lib/
676
+ ln -s instantclient_19_5 /libclntsh.dylib ~/lib/
677
677
```
678
678
679
679
Alternatively, copy the required OCI libraries, for example:
680
680
681
681
```
682
682
mkdir ~/lib
683
- cp instantclient_19_3 /{libclntsh.dylib.19.1,libclntshcore.dylib.19.1,libnnz19.dylib,libociei.dylib} ~/lib/
683
+ cp instantclient_19_5 /{libclntsh.dylib.19.1,libclntshcore.dylib.19.1,libnnz19.dylib,libociei.dylib} ~/lib/
684
684
```
685
685
686
686
For Instant Client 11.2, the OCI libraries must be copied. For example:
@@ -790,8 +790,8 @@ Windows 7 users: Note that Oracle 19 is not supported on Windows 7.
790
790
791
791
- Unzip the ZIP file into a directory that is accessible to your
792
792
application. For example unzip
793
- ` instantclient-basic-windows.x64-19.3 .0.0.0dbru.zip ` to
794
- ` C:\oracle\instantclient_19_3 ` .
793
+ ` instantclient-basic-windows.x64-19.5 .0.0.0dbru.zip ` to
794
+ ` C:\oracle\instantclient_19_5 ` .
795
795
796
796
- Add this directory to the ` PATH ` environment variable. For example
797
797
on Windows 7, update ` PATH ` in Control Panel -> System -> Advanced
@@ -808,7 +808,7 @@ Windows 7 users: Note that Oracle 19 is not supported on Windows 7.
808
808
809
809
```
810
810
REM mynode.bat
811
- SET PATH=C:\oracle\instantclient_19_3 ;%PATH%
811
+ SET PATH=C:\oracle\instantclient_19_5 ;%PATH%
812
812
node %*
813
813
```
814
814
@@ -1030,15 +1030,15 @@ and extract it into a directory that is accessible to your
1030
1030
application, for example ` /opt/oracle ` :
1031
1031
1032
1032
```
1033
- unzip instantclient-basic-aix.ppc64-19.3 .0.0.0dbru.zip
1033
+ unzip instantclient-basic-aix.ppc64-19.5 .0.0.0dbru.zip
1034
1034
mkdir -p /opt/oracle
1035
- mv instantclient_19_3 /opt/oracle
1035
+ mv instantclient_19_5 /opt/oracle
1036
1036
```
1037
1037
1038
1038
To run applications, you will need to set the link path:
1039
1039
1040
1040
```
1041
- export LIBPATH=/opt/oracle/instantclient_19_3 :$LIBPATH
1041
+ export LIBPATH=/opt/oracle/instantclient_19_5 :$LIBPATH
1042
1042
```
1043
1043
1044
1044
#### 3.9.5 Optionally create the default Oracle Client configuration directory
@@ -1049,7 +1049,7 @@ If you intend to co-locate optional Oracle configuration files such as
1049
1049
` network/admin ` subdirectory. Create this if needed. For example:
1050
1050
1051
1051
```
1052
- sudo mkdir -p /opt/oracle/instantclient_19_3 /network/admin
1052
+ sudo mkdir -p /opt/oracle/instantclient_19_5 /network/admin
1053
1053
```
1054
1054
1055
1055
This is the default Oracle configuration directory for applications
@@ -1150,13 +1150,13 @@ application, for example `/opt/oracle`:
1150
1150
1151
1151
```
1152
1152
cd /opt/oracle
1153
- unzip instantclient-basic-solaris.x64-18.3 .0.0.0dbru.zip
1153
+ unzip instantclient-basic-solaris.x64-19.5 .0.0.0dbru.zip
1154
1154
```
1155
1155
1156
1156
To run applications, you will need to set the link path:
1157
1157
1158
1158
```
1159
- export LD_LIBRARY_PATH_64=/opt/oracle/instantclient_18_3 :$LD_LIBRARY_PATH_64
1159
+ export LD_LIBRARY_PATH_64=/opt/oracle/instantclient_19_5 :$LD_LIBRARY_PATH_64
1160
1160
```
1161
1161
1162
1162
#### 3.9.5 Optionally create the default Oracle Client configuration directory
@@ -1167,7 +1167,7 @@ If you intend to co-locate optional Oracle configuration files such as
1167
1167
` network/admin ` subdirectory. Create this if needed. For example:
1168
1168
1169
1169
```
1170
- mkdir -p /opt/oracle/instantclient_18_3 /network/admin
1170
+ mkdir -p /opt/oracle/instantclient_19_5 /network/admin
1171
1171
```
1172
1172
1173
1173
This is the default Oracle configuration directory for applications
@@ -1475,7 +1475,7 @@ for the latest Instant Client package available.
1475
1475
```
1476
1476
RUN yum -y install oracle-release-el7 && \
1477
1477
yum-config-manager --enable ol7_oracle_instantclient && \
1478
- yum -y install oracle-instantclient19.3 -basiclite && \
1478
+ yum -y install oracle-instantclient19.5 -basiclite && \
1479
1479
rm -rf /var/cache/yum
1480
1480
```
1481
1481
@@ -1510,24 +1510,22 @@ for the latest Instant Client package available.
1510
1510
1511
1511
Download the Instant Client Basic Light Zip file, extract it, and remove
1512
1512
unnecessary files. The resulting directory can be added during image
1513
- creation. For example, with Instant Client Basic Light 19.3 , the host
1514
- computer (where you run Docker) could have a directory `instantclient_19_3 `
1513
+ creation. For example, with Instant Client Basic Light 19.5 , the host
1514
+ computer (where you run Docker) could have a directory `instantclient_19_5 `
1515
1515
with these files:
1516
1516
1517
1517
```
1518
1518
libclntshcore.so.19.1
1519
1519
libclntsh.so.19.1
1520
- libipc1.so
1521
- libmql1.so
1522
1520
libnnz19.so
1523
1521
libociicus.so
1524
1522
```
1525
1523
1526
1524
With this, your Dockerfile could contain:
1527
1525
1528
1526
```
1529
- ADD instantclient_19_3 /* /opt/oracle/instantclient_19_3
1530
- RUN echo /opt/oracle/instantclient_19_3 > /etc/ld.so.conf.d/oracle-instantclient.conf && \
1527
+ ADD instantclient_19_5 /* /opt/oracle/instantclient_19_5
1528
+ RUN echo /opt/oracle/instantclient_19_5 > /etc/ld.so.conf.d/oracle-instantclient.conf && \
1531
1529
ldconfig
1532
1530
```
1533
1531
@@ -1568,10 +1566,10 @@ be mounted at runtime using a Docker volume. Map the volume to the
1568
1566
`network/admin` subdirectory of Instant Client so the `TNS_ADMIN` environment
1569
1567
variable does not need to be set. For example, when the Wallet or configuration
1570
1568
files are in `/OracleCloud/wallet/` on the host computer, and the image uses
1571
- Instant Client 19.3 RPMs, then you can mount the files using:
1569
+ Instant Client 19.5 RPMs, then you can mount the files using:
1572
1570
1573
1571
```
1574
- docker run -v /OracleCloud/wallet:/usr/lib/oracle/19.3 /client64/lib/network/admin: Z ,ro . . .
1572
+ docker run -v /OracleCloud/wallet:/usr/lib/oracle/19.5 /client64/lib/network/admin: Z ,ro . . .
1575
1573
```
1576
1574
1577
1575
The `Z` option is needed when SELinux is enabled.
@@ -1590,7 +1588,7 @@ FROM oraclelinux:7-slim
1590
1588
1591
1589
RUN yum -y install oracle-release-el7 oracle-nodejs-release-el7 && \
1592
1590
yum-config-manager --disable ol7_developer_EPEL --enable ol7_oracle_instantclient && \
1593
- yum -y install nodejs oracle-instantclient19.3 -basiclite && \
1591
+ yum -y install nodejs oracle-instantclient19.5 -basiclite && \
1594
1592
rm -rf /var/cache/yum
1595
1593
1596
1594
WORKDIR /myapp
0 commit comments