node-opcua Note

node-opcua

I want to learn opcua, so I find a open source project on internet, and it is based on nodejs.
I think it is easier for me, for now I’m using javasript to develop project.
This article is focus on node-opcua, so the installing of nodejs is ignored.
the project is at https://github.com/node-opcua/node-opcua
I download it.

prerequisite

Nodejs

npm will be installed automatically.

openssl

this they doesn’t mentioned. But the project use it. So we need to install it before.
However, official only supply linux version. we have to compile it with .
I don’t want to go further on openssl. I just want binary file.
Yes, They have considered this issue. They mention it atCommunity:
Some third party products offered the binary. You just select it atBinaries

As suggestion, you can download directly from http://indy.fulgan.com/SSL/openssl-1.0.2e-x64_86-win64.zip
Put contents at ..\node-opcua\bin\openssl\

Or you can download from my page.
download: openssl

download

$ git clone https://github.com/node-opcua/node-opcua.git $ cd node-opcua

Change

Before run the server. some change need to be done in the source code.
Change

Run server

After doing these, then follow the instruction. $ npm install $ node bin/simple_server


Allen Li

Allen Li

Just another boring, tattooed, time traveling designer.


Updated