@@ -27,6 +27,8 @@ limitations under the License.
27
27
28
28
## <a name =" overview " ></a > 1. Overview
29
29
30
+ The Oracle Database Node.js driver node-oracledb powers high performance Node.js applications.
31
+
30
32
The steps below create a Node.js installation for testing. Adjust the
31
33
steps for your environment.
32
34
@@ -87,6 +89,8 @@ cd /opt
87
89
tar -zxf node-v0.10.38-linux-x64.tar.gz
88
90
```
89
91
92
+ This node-oracledb release currently works only with Node.js 0.10.
93
+
90
94
Set PATH to include Node.js:
91
95
92
96
```
@@ -158,6 +162,8 @@ cd /opt
158
162
tar -zxf node-v0.10.38-linux-x64.tar.gz
159
163
```
160
164
165
+ This node-oracledb release currently works only with Node.js 0.10.
166
+
161
167
Set PATH to include Node.js:
162
168
163
169
```
@@ -181,7 +187,8 @@ cd instantclient
181
187
ln -s libclntsh.so.12.1 libclntsh.so
182
188
```
183
189
184
- You will need ` libaio ` installed.
190
+ You will need ` libaio ` installed. On some platforms the package is
191
+ called ` libaio1 ` .
185
192
186
193
To run applications, you will need to set the link path:
187
194
@@ -218,6 +225,9 @@ Install node-oracledb from the
218
225
npm install oracledb
219
226
```
220
227
228
+ If you are installing with ` sudo ` , you may need to use ` sudo -E ` to
229
+ preserve the environment variable values.
230
+
221
231
### 3.4 Run an example program
222
232
223
233
Download the
@@ -263,6 +273,8 @@ cd /opt
263
273
tar -zxf node-v0.10.38-linux-x64.tar.gz
264
274
```
265
275
276
+ This node-oracledb release currently works only with Node.js 0.10.
277
+
266
278
Set your PATH variable to include Node.js:
267
279
268
280
```
@@ -289,6 +301,9 @@ Install node-oracledb from the
289
301
npm install oracledb
290
302
```
291
303
304
+ If you are installing with ` sudo ` , you may need to use ` sudo -E ` to
305
+ preserve the environment variable values.
306
+
292
307
### 4.3 Run an example program
293
308
294
309
Set ` LD_LIBRARY_PATH ` to the Oracle library directory. This variable,
@@ -333,6 +348,8 @@ Node.js 0.10 can be installed from various sources, such as via *brew*.
333
348
brew install node010
334
349
```
335
350
351
+ This node-oracledb release currently works only with Node.js 0.10.
352
+
336
353
Set your PATH to include the * node* and * npm* binaries:
337
354
338
355
```
@@ -381,6 +398,9 @@ Install node-oracledb from the
381
398
npm install oracledb
382
399
```
383
400
401
+ If you are installing with ` sudo ` , you may need to use ` sudo -E ` to
402
+ preserve the environment variable values.
403
+
384
404
### 5.5 Run an example program
385
405
386
406
Download the
@@ -433,11 +453,11 @@ Install the 64-bit Node.js 0.10 MSI (e.g. node-v0.10.38-x64.msi) from
433
453
[ nodejs.org] ( http://nodejs.org/download/ ) . Make sure the option to
434
454
add the Node and npm directories to the path is selected.
435
455
436
- Node -oracledb 0.4 will not build with Node.js 0.12 .
456
+ This node -oracledb release currently works only with Node.js 0.10 .
437
457
438
458
### 6.3 Install the free Oracle Instant Client ZIPs
439
459
440
- Skip this step if you already have Oracle Database or full Oracle client on your machine.
460
+ Skip this step if you already have Oracle Database or the full Oracle client on your machine.
441
461
442
462
Download the free 'Basic' and 'SDK' ZIP files from
443
463
[ Oracle Technology Network] ( http://www.oracle.com/technetwork/topics/winx64soft-089540.html ) .
@@ -560,6 +580,9 @@ This is useful if you will need to upgrade Oracle Instant Client RPMs
560
580
to a new major or minor version (for example from 11.2 to 12.1)
561
581
without re-installing node-oracledb.
562
582
583
+ If you are installing with ` sudo ` , you may need to use ` sudo -E ` to
584
+ preserve the environment variable values.
585
+
563
586
### Forcing RPATH
564
587
565
588
If you want to force using rpath when installing node-oracledb on
0 commit comments