Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Angular8                                            -     8.2.2 / any latest version

Install nvm - Node Version Manager

Node Version Manager helps to manage the version of node and also used to switch between the versions with ease.

...

Note

Please check the installation of nvm using then proceed

nvm --version command should output the version of node version manager

Install nodejs server

Nodejs will play the role of server to run our ELIOT Portal UI

...

Note

$ nvm install node

If the above command is issued instead of the mentioned command, it will install the latest versions of npm and node server

Please check the installation of node and npm using 

root@akraino-slave-001:# npm --version
root@akraino-slave-001:# node --version

npm --version command should display the version of npm

node --verison should display version of node

Install Angular 8:

Angular 8 is a open source framework used to create responsive dynamic single page web applications.  It internally uses typescript.  

...

No Format
root@akraino-slave-001:# npm install -g @angular/cli@latest
Setup ELIOT Portal by downloading the node modules as dependencies:

ELIOT portal UI code of angular8 requires some dependency packages of node modules. By executing the following commands, dependency node modules will get downloaded automatically

...

For ELIOT edge nodes, we can use ELIOT Minimal OS .  Then, ELIOT topology can be setup as described below in ELIOT Deployment section

ELIOT Deployment using Kubernetes


Create VM's from ELIOT Minimal OS iso:

Vm's can be created on Edge nodes using Virtual Box as well as other VM creator tools.  

Virtual Box is a powerful Virtualization Open source tool ( Professional solution ).  Below are the procedures to create ELIOT Edge VM's using Virtual box

  1. Click New → Enter the below credentials and Click Next
    1. Name      → ELIOT Minimal Node 1
    2. Type        → Linux
    3. Version   → Other Linux (64 bit)
  2. Memory Size     → 1512 MB  ( Memory size depends on the usage ).  Click Next
  3. Click Create button click next
  4. Choose Hard disk file type as VDI and click next
  5. Storage → Fixed size
  6. File size  → 15 GB ( Depends on the usage it may vary ).  Click Create
  7. Right click ELIOT Minimal Node 1 → settings 
  8. Select Storage and attach ELIOT Minimal iso downloaded in Controller: IDE → Optical Drive option
  9. Settings → Network and select Bridged network and select Name as wlp3s0
  10. Click ELIOT Minimal Node 1 → start

Note: Configuring Network will give you proper IP for your created ELIOT Node

Repeat the same procedure to create number of ELIOT Nodes

Note

While installing select Network & Host Name → Ethernet as ON

ELIOT Deployment using Kubernetes

Clone the ELIOT git Clone the ELIOT git repo in ELIOT Manager node. It will create eliot folder, for executing the script go to $HOME/eliot/scripts folder.

...

No Format
root@akraino-slave-001:#git clone "https://gerrit.akraino.org/r/eliot"
root@akraino-slave-001:#cd eliot/scripts/
root@akraino-slave-001:~/eliot/scripts#vim nodelist

...