Skip to content

DNIF Installation Step By Step

Sunit Modak edited this page May 23, 2018 · 3 revisions

Installation And Setup


Pre-requisites

  • VirtualBox
  • Ubuntu ISO
  • DNIF Account

System Requirement

  • Minimum configuration required is 4 Cores
  • 16GB RAM
  • 200GB Disk Space

DNIF can be installed in any physical/virtual machine.Check All the Pre-Requisites

Note - The hardware ready reckoner only provides an indicative stack required to run DNIF. You are free to start slow and upgrade your hardware as your usage builds up. DNIF is built on a big data framework and therefore it can scale in phases.

Virtual Box setting

Download Virtual Box Download from here
Set Minimum 4 GB Ram in System setting
Go to Network setting, Under Attached Network Select Bridge Adapter

Ubuntu

Download Latest version of Ubuntu from here
Configure your Ubuntu and install in Virtual Box

Docker Installation

Open terminal and copy paste following command in the terminal

  1. Update the apt package index
    sudo apt-get update

  2. Install packages to allow apt to use a repository over HTTPS
    sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ software-properties-common

  3. Add Docker’s official GPG key curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

  4. Verify sudo apt-key fingerprint 0EBFCD88

  5. Set up the stable repository
    sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable"

  6. Update the apt package index
    sudo apt-get update

  7. Check For release
    apt-cache madison docker-ce or apt-cache policy docker-ce

  8. Install Docker
    sudo apt-get install docker-ce=17.06.2~ce-0~ubuntu You can replace after = for different release

  9. Verify that Docker is installed correctly
    sudo docker run hello-world

  10. Install python-pip
    sudo apt-get install python-pip

  11. Install Docker-Compose
    sudo pip install docker-compose

Note: If facing any difficulties with the above commands, please visit the Docker website where these steps are mentioned. Visit that webpage, and copy the command (that isn’t working from this list) and paste it as it is.

Docker Installation official Link:Click here

Configuring DNIF

  1. Register Yourself Sign Up
  2. Download All in One File – Named as A10.Click here to download A10 file
  3. Create folder on desktop (a10 folder) and paste a10 file inside this folder.
  4. Open docker-compose.yml file and change following parameter/field
    1. /path/to/volume: Replace this text with the path where you would like to install the files (for example, /home/test/).
    2. DKEY : Put your own deployment key. Check email title: DNIF: Getting Started
    3. CRIP : Replace this value with the IP address of the machine on which the installation is being done. In case you don't know IP address open terminal and type ifconfig and run command.

Try to keep localhost IP static. If it's dynamic. Check this

  1. run sudo docker-compose up inside a10 directory. This command successfully performs a “pull” operation , which gets the latest code from the online repository and runs the same.

Do not close the “Terminal” window after the above command has been executed, otherwise the application will cease
to operate and terminate itself. However, you can minimize it.

  1. Once the folder is created in the path specified in Volumes field, download license and signature.bin files attached in mail Title =DNIF - Getting Started
  2. Move both files in your_deployment_key_folder/LICENSE (the folder which got created in the Volumes path specified).

if not able to move file open new terminal and write this command sudo chown -R $USER: $HOME

Web Console

  1. Visit https://go.dnif.it/
  2. Login.

You need Google Authenticator to generate OTP, your secret Auth key is specified in Email Title:Sign In to Web Console and visit here Account Name: DNIF Key: Provided in mail. Named as GAuth Key DropDown: Time Based

  1. Once logged in, Go to Management Tab -> Connection -> Change Source Address Field (same as the one provided in CRIP. This is the Ubuntu IP address) and click on link and add SSL certificate.
  2. Save and Update field.
  3. Enjoy your DNIF installation and configuration is done.