You are on page 1of 2

Step1: Install cURL

$ sudo apt install curl


$ curl -V

Step 2: Install Node.js and npm package manager.


$sudo apt-get install npm
$sudo apt-get install npm

Step 3: Install Go Language.

3.1 Visit https://golang.org/dl/ and make note of the latest stable release
(v1.8 or later):
$ cd ~ or cd /home/fintech

3.2 Download Go lang


$wget https://storage.googleapis.com/golang/go1.12.1.linux-amd64.tar.gz

3.3 Untar the downloded package in /usr/local


$sudo tar -C /usr/local/ -xzf go1.12.1.linux-amd64.tar.gz

3.4 Edit ~/.profile and append the lines


$vi ~/.profile
export PATH=$PATH:/usr/local/go/bin
export GOPATH=$PATH/go
$ source ~/.profile

3.5 Check go version


$go version

Step 4: Install Docker and Docker Compose.

4.1 Update
$ sudo apt-get update

4.2 Install Required packages

$sudo apt-get install apt-transport-https ca-certificates curl gnupg-


agent software-properties-common

4.3 Add Docker’s official GPG key


$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add
-

4.4 set up the stable repository


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

4.5 sudo apt-get update

4.6 Install docker


$sudo apt-get install docker-ce docker-ce-cli containerd.io

4.7 Check version


$docker --version

4.8 Run docker Example if you could able to see "Hello from Docker!"
message--your installations successful
$ sudo docker run hello-world

4.9 Install docker compose


$sudo apt-get install docker-compose

4.10 Adding current user to docker for access permissions


$sudo usermod -a -G docker $USER
$sudo gpasswd -a $USER docker
$sudo setfacl -m user:<your username>:rw /var/run/docker.sock

You might also like