This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| getting_started:18_install_ubuntu_node_js [2019/12/19 15:47] – [Introduction] admin | getting_started:18_install_ubuntu_node_js [2019/12/23 12:25] (current) – [Next steps] admin | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| ===== Install Node.js and dependencies ===== | ===== Install Node.js and dependencies ===== | ||
| - | * Node.js | + | * Install the latest |
| <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 | ||
| </ | </ | ||
| * 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. | ||
| + | |||
| + | </ | ||
| <code bash> | <code bash> | ||
| - | sudo npm -g install tail connect mysql forever | + | sudo npm -g install tail |
| + | sudo npm -g install | ||
| + | sudo npm -g install connect | ||
| + | sudo npm -g install mysql | ||
| + | sudo npm -g install forever | ||
| </ | </ | ||
| Line 60: | Line 70: | ||
| * If you are deploying CoovaChilli Captive Portals or Mikrotik Hotspots you must try the [[ Getting Started: | * If you are deploying CoovaChilli Captive Portals or Mikrotik Hotspots you must try the [[ Getting Started: | ||
| * 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: | + | * [[getting_started: |