Friday Mar 27, 2015

Oracle Linux on Azure

By now, I think there many choices for running Oracle Linux in Cloud, including Oracle's own public cloud.
Azure is a fine platform for running Oracle Linux.

Oracle and Microsoft Azure Partnership

Oracle Linux 6.4.0.0.0 Oracle

So , I tried it. The first (and possibly the last) command I wanted to check is this.

Am I in VirtualBox or OracleVM or KVM? (INOUE Katsumi @ Tokyo)

handy command 'virt-what' which tells what virtualization technology you are in

The result is this. So, I could add another entry into my 'virt-what' output collection!

$ sudo virt-what
hyperv

Monday Mar 23, 2015

Node.jsドライバーがリリースされました

Node.jsドライバーがリリースされたのでOracle Linux 6.4で試してみました。

Node.js - Wikipedia

Node.js はイベント化された入出力を扱うUnix系プラットフォーム上のサーバーサイドJavaScript環境である

node-oracledb 0.4.1 is on GitHub (Node.js driver for Oracle Database) (Scripting and Oracle: Christopher Jones)

update of the Node.js driver for Oracle Database

サンプルで使うHRスキーマも今はGitHubにあります。

oracle/db-sample-schemas · GitHub

This repository contains a copy of the Oracle Database sample schemas

手順どおりにすんなり最終的に以下のように実行できました。"e-c-h-o"は"echo"に読替お願いいたします。

$ e-c-h-o $PATH
/home/oracle/node-v0.10.35-linux-x64/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/oracle/bin:/u01/app/oracle/product/12.1.0/dbhome_1/bin
$ e-c-h-o $NODE_PATH
/home/oracle/node-v0.10.35-linux-x64/lib/node_modules $ node node-oracledb/examples/webapp.js & [1] 6102 Server running at http://localhost:7000 $ w3m -dump http://localhost:7000/30 Oracle Database Driver for Node.js Employees in Department 30 Employee id First Name Last Name 114 Den Raphaely 115 Alexander Khoo 116 Shelli Baida 117 Sigal Tobias 118 Guy Himuro 119 Karen Colmenares
About

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.

Search

Archives
« April 2015
SunMonTueWedThuFriSat
   
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  
       
Today