@@ -110,6 +110,13 @@ alternatively use `yum` to install these packages from the
110
110
111
111
### 2.3 Install the driver
112
112
113
+ If you are behind a firewall, you may need to set your proxy, for
114
+ example:
115
+
116
+ ```
117
+ npm config set https-proxy http://my-proxy.example.com:80
118
+ ```
119
+
113
120
Install node-oracledb from the
114
121
[ NPM repository] ( https://www.npmjs.com/package/oracledb ) :
115
122
@@ -219,6 +226,13 @@ other Oracle software installed, then these variables are not
219
226
required. See
220
227
[ Oracle Client Location Heuristic on Linux] ( #linuxinstsearchpath ) .
221
228
229
+ If you are behind a firewall, you may need to set your proxy, for
230
+ example:
231
+
232
+ ```
233
+ npm config set https-proxy http://my-proxy.example.com:80
234
+ ```
235
+
222
236
Install node-oracledb from the
223
237
[ NPM repository] ( https://www.npmjs.com/package/oracledb ) :
224
238
@@ -282,17 +296,24 @@ export PATH=/opt/node-v0.12.4-linux-x64/bin:$PATH
282
296
283
297
### 4.2 Install the driver
284
298
285
- The installer will look for Oracle libraries and headers under
299
+ The installer will automatically look for Oracle libraries and headers under
286
300
` $ORACLE_HOME ` , see
287
301
[ Oracle Client Location Heuristic on Linux] ( #linuxinstsearchpath ) .
288
302
However, if you have Instant Client RPMs installed and don't wish the RPMs
289
- to be used, you must explicitly set:
303
+ to be used, you must explicitly set two environment variables :
290
304
291
305
```
292
306
export OCI_LIB_DIR=$ORACLE_HOME/lib
293
307
export OCI_INC_DIR=$ORACLE_HOME/rdbms/public
294
308
```
295
309
310
+ If you are behind a firewall, you may need to set your proxy, for
311
+ example:
312
+
313
+ ```
314
+ npm config set https-proxy http://my-proxy.example.com:80
315
+ ```
316
+
296
317
Install node-oracledb from the
297
318
[ NPM repository] ( https://www.npmjs.com/package/oracledb ) :
298
319
@@ -317,7 +338,7 @@ Download the
317
338
[ example programs] ( https://github.com/oracle/node-oracledb/tree/master/examples ) from GitHub.
318
339
319
340
Edit ` dbconfig.js ` and set the database credentials to your
320
- environment.
341
+ environment:
321
342
322
343
```
323
344
module.exports = {
@@ -388,6 +409,13 @@ export OCI_INC_DIR=/whereever/instantclient/sdk/include
388
409
If Instant Client is in ` /opt/oracle/instantclient ` , then these
389
410
variables are not needed.
390
411
412
+ If you are behind a firewall, you may need to set your proxy, for
413
+ example:
414
+
415
+ ```
416
+ npm config set https-proxy http://my-proxy.example.com:80
417
+ ```
418
+
391
419
Install node-oracledb from the
392
420
[ NPM repository] ( https://www.npmjs.com/package/oracledb ) :
393
421
@@ -499,6 +527,13 @@ set OCI_LIB_DIR=C:\oracle\product\12.1.0\dbhome_1\oci\lib\msvc
499
527
set OCI_INC_DIR=C:\oracle\product\12.1.0\dbhome_1\oci\include
500
528
```
501
529
530
+ If you are behind a firewall, you may need to set your proxy, for
531
+ example:
532
+
533
+ ```
534
+ npm config set https-proxy http://my-proxy.example.com:80
535
+ ```
536
+
502
537
Install node-oracledb from the
503
538
[ NPM repository] ( https://www.npmjs.com/package/oracledb ) :
504
539
0 commit comments