RADIUSdesk

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
getting_started:install_ubuntu_node_js [2016/10/19 17:01] admingetting_started:install_ubuntu_node_js [2016/10/20 13:37] (current) admin
Line 36: Line 36:
   * Everything is now installed that we will need to enable us to serve the FreeRADIUS log file in real-time using Node.js, Websocket and Socet.IO.   * Everything is now installed that we will need to enable us to serve the FreeRADIUS log file in real-time using Node.js, Websocket and Socet.IO.
   * We need to install a start-up file, start the Node.js server up and confirm that it works.   * We need to install a start-up file, start the Node.js server up and confirm that it works.
-    * The sample start-up script is found under ///usr/share/nginx/html/cake2/rd_cake/Setup/Node.js/nodejs-socket-io//.+    * The sample start-up script is found under ///usr/share/nginx/html/cake2/rd_cake/Setup/Node.js///.
 <code bash> <code bash>
-This is the old legacy **System V** file. We will call it from **Systemd** +#The systemd startup file
-sudo cp /usr/share/nginx/html/cake2/rd_cake/Setup/Node.js/nodejs-socket-io /etc/init.d +
-#Here's the systemd startup file+
 sudo cp /usr/share/nginx/html/cake2/rd_cake/Setup/Node.js/nodejs-socket-io.service  /lib/systemd/system/ sudo cp /usr/share/nginx/html/cake2/rd_cake/Setup/Node.js/nodejs-socket-io.service  /lib/systemd/system/
 +
 +# add a sym link to node
 +sudo ln -s /usr/bin/nodejs /usr/bin/node
 +
 #Enable it #Enable it
 sudo systemctl enable nodejs-socket-io.service sudo systemctl enable nodejs-socket-io.service
 +
 #Start it #Start it
 sudo systemctl start nodejs-socket-io.service sudo systemctl start nodejs-socket-io.service
Line 68: Line 71:
 ===== Next steps ===== ===== Next steps =====
   * If you are simply looking for a RADIUS server; you are done.   * If you are simply looking for a RADIUS server; you are done.
-  * If you are deploying CoovaChilli Captive Portals or Mikrotik Hotspots you must try the [[ Getting Started:install_ubuntu_dynamic_logins|Dynamic Login Pages ]](optional but recommended).+  * If you are deploying CoovaChilli Captive Portals or Mikrotik Hotspots you must try the [[ Getting Started: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:install_ubuntu_coova | Install CoovaChilli ]] (optional).      * [[getting_started:install_ubuntu_coova | Install CoovaChilli ]] (optional).