-
Notifications
You must be signed in to change notification settings - Fork 3
DNIF Installation Step By Step
- VirtualBox
- Ubuntu ISO
- DNIF Account
- 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.
Download Virtual Box Download from here
Set Minimum 4 GB Ram in System setting
Go to Network setting, Under Attached Network Select Bridge Adapter
Download Latest version of Ubuntu from here
Configure your Ubuntu and install in Virtual Box
Open terminal and copy paste following command in the terminal
-
Update the apt package index
sudo apt-get update
-
Install packages to allow apt to use a repository over HTTPS
sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ software-properties-common
-
Add Docker’s official GPG key
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
-
Verify
sudo apt-key fingerprint 0EBFCD88
-
Set up the stable repository
sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable"
-
Update the apt package index
sudo apt-get update
-
Check For release
apt-cache madison docker-ce
orapt-cache policy docker-ce
-
Install Docker
sudo apt-get install docker-ce=17.06.2~ce-0~ubuntu
You can replace after = for different release -
Verify that Docker is installed correctly
sudo docker run hello-world
-
Install python-pip
sudo apt-get install python-pip
-
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
- Register Yourself Sign Up
- Download All in One File – Named as A10.Click here to download A10 file
- Create folder on desktop (a10 folder) and paste a10 file inside this folder.
- Open docker-compose.yml file and change following parameter/field
-
/path/to/volume:
Replace this text with the path where you would like to install the files (for example, /home/test/). -
DKEY
: Put your own deployment key. Check email title: DNIF: Getting Started -
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
- 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.
- 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
- 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
- Visit https://go.dnif.it/
- 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
- 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.
- Save and Update field.
- Enjoy your DNIF installation and configuration is done.