Skip to content

Commit 15d699a

Browse files
committed
Add section on hosting your own binaries
1 parent e9c83ce commit 15d699a

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

INSTALL.md

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ limitations under the License.
3232
- 3.10 [Node-oracledb Installation on Oracle Solaris x86-64 (64-Bit) with Instant Client ZIP files](#instsolarisx8664)
3333
- 3.11 [Node-oracledb Installation from Source Code](#github)
3434
- 3.12 [Node-oracledb Installation Without Internet Access](#offline)
35+
- 3.12.1 [Installing on an Intermediary Machine](#intermediateinstall)
36+
- 3.12.2 [Manually Extracting Pre-built Binaries](#manualextraction)
37+
- 3.12.3 [Installing node-oracledb without GitHub Access](#nogithubaccess)
38+
- 3.12.4 [Hosting Your Own Binary Packages](#selfhost)
3539
- 3.13 [Installing Node.js and Node-oracledb RPMs from yum.oracle.com](#instnoderpms)
3640
4. [Installing Node-oracledb 1.x](#installingv1)
3741
5. [Useful Resources for Node-oracledb](#otherresources)
@@ -1334,7 +1338,7 @@ There are several ways to install node-oracledb on computers that do
13341338
not have internet access, or have no access to either the [npm
13351339
registry][4] or [github.com][1].
13361340

1337-
#### 3.12.1 Installing on an Intermediary Machine
1341+
#### <a name="intermediateinstall"></a> 3.12.1 Installing on an Intermediary Machine
13381342

13391343
On an identical machine that has access to the internet, install
13401344
node-oracle following the [Node-oracledb Installation
@@ -1345,7 +1349,7 @@ offline computer. Windows users should see [Copying node-oracledb
13451349
Binaries on Windows](#winbins) and make sure the correct Visual Studio
13461350
Redistributable is also installed.
13471351

1348-
#### 3.12.2 Manually Extracting Pre-built Binaries
1352+
#### <a name="manualextraction"></a> 3.12.2 Manually Extracting Pre-built Binaries
13491353

13501354
If pre-built node-oracledb binaries are available for your version
13511355
of Node.js and operating system, you can install manually:
@@ -1428,13 +1432,15 @@ of Node.js and operating system, you can install manually:
14281432
Binaries on Windows](#winbins) and make sure the correct Visual
14291433
Studio Redistributable is also installed.
14301434

1431-
#### 3.12.3 Installing node-oracledb without GitHub Access
1435+
#### <a name="nogithubaccess"></a> 3.12.3 Installing node-oracledb without GitHub Access
14321436

14331437
Some companies block access to github.com so `npm install oracledb`
14341438
will fail to download binaries, as will installing source code from
14351439
GitHub with `npm install oracle/node-oracledb.git#v2.2.0`.
14361440

1437-
There are two suggested methods for installation.
1441+
There are two suggested methods for generic installation. Oracle
1442+
Linux users can also [install Node.js and Node-oracledb
1443+
RPMs](#instnoderpms).
14381444

14391445
##### 3.12.3.1 Use the oracle.com GitHub mirror
14401446

@@ -1492,6 +1498,18 @@ npm package:
14921498
```
14931499
from outside the directory.
14941500

1501+
#### <a name="selfhost"></a> 3.12.4 Hosting Your Own Binary Packages
1502+
1503+
You can create your own node-oracledb packages and host them on your
1504+
web server for any architecture and version that node-oracledb will
1505+
build with.
1506+
1507+
The maintainer scripts in
1508+
[/package](https://github.com/oracle/node-oracledb/tree/master/package)
1509+
can be used to build desired packages. See
1510+
[package/README](https://github.com/oracle/node-oracledb/blob/master/package/README.md)
1511+
for details.
1512+
14951513
### <a name="instnoderpms"></a> 3.13 Installing Node.js and Node-oracledb RPMs from yum.oracle.com
14961514

14971515
Node.js Linux RPM packages are available on [yum.oracle.com][46].

0 commit comments

Comments
 (0)