Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>"Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications" outside of the browser.</p> <p>Installing node it self on a system is pretty straight forward. You can simple go to <a href="http://nodejs.org" rel="nofollow">http://nodejs.org</a> and download the correct binary corresponding to your system, or download the source.tar.gz and compile it yourself.</p> <p>There is a set of <a href="https://github.com/joyent/node/wiki/Installation" rel="nofollow">installation instructions under the wiki at github.com</a> that will take you through the steps of compiling node on the big three platforms.</p> <p>I usually will add a prefix when I'm compile so the binaries get moved into the directory I want to store them in. This can be a local directory (ex. $HOME/bin) of the user you want node to be run under or you can make it a system directory where node will be accessible by every user on the system.</p> <pre><code>$ tar -zxf node-v0.10.3.tar.gz #Download this from nodejs.org $ cd node-v0.10.3 $ ./configure --prefix=/usr/local/bin $ make $ sudo make install </code></pre> <p>You should now have node and npm installed on the system. From here you can check to make sure everything is working.</p> <pre><code>$ which node $ /usr/local/bin/node $ node -v $ 0.10.3 $ which npm $ /usr/local/bin/npm $ npm -v $ 1.2.11 </code></pre> <p>With node you will be building your server from the ground up. There are a lot of libraries to help you do this. The main built in one would be <a href="http://nodejs.org/docs/v0.10.3/api/http.html" rel="nofollow">http</a> which is built on top of <a href="http://nodejs.org/docs/v0.10.3/api/net.html" rel="nofollow">net</a>.</p> <p>To get your application accessible from your domain you simply need to start your node application and tell it to listen on a port (assuming http, or some networked app). On the linux side you also need to make sure what ever port your node process is listing on is open so connections can be made to your server. The most common firewall on linux system is <a href="http://en.wikipedia.org/wiki/Iptables" rel="nofollow">Iptables</a>.</p> <p>I'm not a Java developer so I don't know the normal work flow for deploying a Java applet is or how its served so I can't help you bridge the cap there.</p> <p>This should get you started.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload