RADIUSdesk

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
getting_started:18_install_ubuntu_node_js [2019/12/19 15:47]
admin [Introduction]
getting_started:18_install_ubuntu_node_js [2019/12/19 16:45]
admin [Install Node.js and dependencies]
Line 8: Line 8:
  
 ===== Install Node.js and dependencies ===== ===== Install Node.js and dependencies =====
-  * Node.js ​and NPM (a package manager for Node).+  * Install the latest ​Node.js. This package will also include the npm package manager for Node.js.
  
 <code bash> <code bash>
 sudo apt-get update sudo apt-get update
-sudo apt-get install nodejs npm+sudo apt-get install nodejs 
 +sudo apt-get install ​npm
 </​code>​ </​code>​
   * We need to install the following Node.js packages globally.   * We need to install the following Node.js packages globally.
 +<WRAP center round important 90%>
 +  * Note that we are using an older version of socket.io (0.9.x) instead of the latest 1.x.
 +  * Also note that there might be some warings during the install of these packages. Thats normal.
 +
 +</​WRAP>​
  
 <code bash> <code bash>
-sudo npm -g install tail connect mysql forever ​socket.io@0.9.x+sudo npm -g install tail 
 +sudo npm -g install ​socket.io@0.9.x 
 +sudo npm -g install connect 
 +sudo npm -g install mysql 
 +sudo npm -g install forever
 </​code>​ </​code>​