Skip to content

Commit 28f7080

Browse files
committed
Instant Client 19.5 is out now
1 parent c5f05b4 commit 28f7080

File tree

1 file changed

+27
-29
lines changed

1 file changed

+27
-29
lines changed

INSTALL.md

Lines changed: 27 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -291,13 +291,13 @@ either directly from yum.oracle.com:
291291

292292
```
293293
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
295295
```
296296

297297
Or from a downloaded file:
298298

299299
```
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
301301
```
302302

303303
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,
440440
for example:
441441

442442
```
443-
unzip instantclient-basic-linux.x64-19.3.0.0.0dbru.zip
443+
unzip instantclient-basic-linux.x64-19.5.0.0.0dbru.zip
444444
mkdir -p /opt/oracle
445-
mv instantclient_19_3 /opt/oracle
445+
mv instantclient_19_5 /opt/oracle
446446
```
447447

448448
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
453453
run-time link path. For example, with sudo or as the root user:
454454

455455
```
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"
457457
sudo ldconfig
458458
```
459459

460460
Alternatively, every shell running Node.js will need to have the link
461461
path set:
462462

463463
```
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
465465
```
466466

467467
#### 3.3.5 Optionally create the default Oracle Client configuration directory
@@ -665,22 +665,22 @@ and unzip it, for example:
665665

666666
```
667667
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
669669
```
670670

671671
Create a symbolic link for the 'client shared library' in the user
672672
default library path such as in `~/lib` or `/usr/local/lib`. For example:
673673

674674
```
675675
mkdir ~/lib
676-
ln -s instantclient_19_3/libclntsh.dylib ~/lib/
676+
ln -s instantclient_19_5/libclntsh.dylib ~/lib/
677677
```
678678

679679
Alternatively, copy the required OCI libraries, for example:
680680

681681
```
682682
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/
684684
```
685685

686686
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.
790790

791791
- Unzip the ZIP file into a directory that is accessible to your
792792
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`.
795795

796796
- Add this directory to the `PATH` environment variable. For example
797797
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.
808808

809809
```
810810
REM mynode.bat
811-
SET PATH=C:\oracle\instantclient_19_3;%PATH%
811+
SET PATH=C:\oracle\instantclient_19_5;%PATH%
812812
node %*
813813
```
814814

@@ -1030,15 +1030,15 @@ and extract it into a directory that is accessible to your
10301030
application, for example `/opt/oracle`:
10311031

10321032
```
1033-
unzip instantclient-basic-aix.ppc64-19.3.0.0.0dbru.zip
1033+
unzip instantclient-basic-aix.ppc64-19.5.0.0.0dbru.zip
10341034
mkdir -p /opt/oracle
1035-
mv instantclient_19_3 /opt/oracle
1035+
mv instantclient_19_5 /opt/oracle
10361036
```
10371037

10381038
To run applications, you will need to set the link path:
10391039

10401040
```
1041-
export LIBPATH=/opt/oracle/instantclient_19_3:$LIBPATH
1041+
export LIBPATH=/opt/oracle/instantclient_19_5:$LIBPATH
10421042
```
10431043

10441044
#### 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
10491049
`network/admin` subdirectory. Create this if needed. For example:
10501050

10511051
```
1052-
sudo mkdir -p /opt/oracle/instantclient_19_3/network/admin
1052+
sudo mkdir -p /opt/oracle/instantclient_19_5/network/admin
10531053
```
10541054

10551055
This is the default Oracle configuration directory for applications
@@ -1150,13 +1150,13 @@ application, for example `/opt/oracle`:
11501150

11511151
```
11521152
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
11541154
```
11551155

11561156
To run applications, you will need to set the link path:
11571157

11581158
```
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
11601160
```
11611161

11621162
#### 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
11671167
`network/admin` subdirectory. Create this if needed. For example:
11681168

11691169
```
1170-
mkdir -p /opt/oracle/instantclient_18_3/network/admin
1170+
mkdir -p /opt/oracle/instantclient_19_5/network/admin
11711171
```
11721172

11731173
This is the default Oracle configuration directory for applications
@@ -1475,7 +1475,7 @@ for the latest Instant Client package available.
14751475
```
14761476
RUN yum -y install oracle-release-el7 && \
14771477
yum-config-manager --enable ol7_oracle_instantclient && \
1478-
yum -y install oracle-instantclient19.3-basiclite && \
1478+
yum -y install oracle-instantclient19.5-basiclite && \
14791479
rm -rf /var/cache/yum
14801480
```
14811481

@@ -1510,24 +1510,22 @@ for the latest Instant Client package available.
15101510
15111511
Download the Instant Client Basic Light Zip file, extract it, and remove
15121512
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`
15151515
with these files:
15161516
15171517
```
15181518
libclntshcore.so.19.1
15191519
libclntsh.so.19.1
1520-
libipc1.so
1521-
libmql1.so
15221520
libnnz19.so
15231521
libociicus.so
15241522
```
15251523
15261524
With this, your Dockerfile could contain:
15271525
15281526
```
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 && \
15311529
ldconfig
15321530
```
15331531
@@ -1568,10 +1566,10 @@ be mounted at runtime using a Docker volume. Map the volume to the
15681566
`network/admin` subdirectory of Instant Client so the `TNS_ADMIN` environment
15691567
variable does not need to be set. For example, when the Wallet or configuration
15701568
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:
15721570
15731571
```
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 . . .
15751573
```
15761574
15771575
The `Z` option is needed when SELinux is enabled.
@@ -1590,7 +1588,7 @@ FROM oraclelinux:7-slim
15901588

15911589
RUN yum -y install oracle-release-el7 oracle-nodejs-release-el7 && \
15921590
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 && \
15941592
rm -rf /var/cache/yum
15951593

15961594
WORKDIR /myapp

0 commit comments

Comments
 (0)