RADIUSdesk

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
getting_started:18_install_ubuntu_node_js [2019/12/19 15:47]
admin [Introduction]
getting_started:18_install_ubuntu_node_js [2019/12/23 12:25]
admin [Next steps]
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>​
  
Line 60: Line 70:
   * If you are deploying CoovaChilli Captive Portals or Mikrotik Hotspots you must try the [[ Getting Started:​18_install_ubuntu_dynamic_login|Dynamic Login Pages ]](optional but recommended).   * If you are deploying CoovaChilli Captive Portals or Mikrotik Hotspots you must try the [[ Getting Started:​18_install_ubuntu_dynamic_login|Dynamic Login Pages ]](optional but recommended).
   * If your server has two network cards and you want to install CoovaChilli on it as a captive portal; follow these instructions:​   * If your server has two network cards and you want to install CoovaChilli on it as a captive portal; follow these instructions:​
-     * [[getting_started:​18_install_ubuntu_coova ​| Install CoovaChilli ]] (optional).+     * [[getting_started:​18_install_ubuntu_coovachilli ​| Install CoovaChilli ]] (optional).