Installation Process and Development Environment Setup for IIAB/Maps[edit]

For starting to work with IIAB Maps, we first need to have an IIAB Server Installed. The detailed description for the development workflow is here.

This blog details the various setup instructions and the errors encountered with their solutions :

Installing Internet in A Box on Ubuntu Server 18.04[edit]

As for version IIAB 7.1, Ubuntu 20.04 is not supported. Hence we will continue using Ubuntu 18.04 for the rest of the process.

Error 1 : Receiving Permission Errors at every step.

Solution : An obvious solution to this is taking over as root for the rest of the install process. A simple way of doing this is

sudo su

It will ask for your password, and then you’re good to go.

Error 2 : Working with Ubuntu 20.04

It was an error because the branch 3map-reorg from George’s repo that we were using was not compatible with Ubuntu 20.04. Hence had to revert back to Ubuntu 18.04.

Installation Steps :

  • We first create a VM with Ubuntu 18.04 server and name it as Ubuntu18Base. This is our base install and all other VMs will be cloned from here. - Update the VM : apt update && upgrade - mkdir -p /opt/iiab/iiab - mkdir -p /opt/iiab/iiab-admin-console - Add your SSH keys to the VM. The guide to do that is *here*. - Fork George’s repo to your github account and clone that to your working environment with branch 3map-reorg by doing git checkout 3map-reorg
  • Now make your own working fork and push it to Github.
  • Now ‘Full Clone’ the VM to another one and here you will install IIAB Base. vbox clone Ubuntu20Base to some other name say IIAB Base ssh in cd /opt/iiab git clone<your acct>/iiab -b <name of your base branch> cd /opt/iiab/iiab scripts/ansible mkdir -p /etc/iiab/ cp /opt/iiab/iiab/vars/local_vars_min.yml /etc/iiab/local_vars.yml still in /opt/iiab/iiab ./iiab-install this will install a minimal iiab using the version in your fork of George’s repo Now do the same for iiab-admin-console when everything is installed I would power off and clone that vbox vm to a working vm now you can throw things away and go back to a clean U20 base or IIAB base

Error 3 : Major Cannot See Maps Region content in Admin Console :