How To Install Git on Ubuntu 18.04


Step 1 — Update Default Packages Logged into your Ubuntu 18.04 server as a sudo non-root user, first update your default packages. sudo apt update Step 2 — Install Git sudo apt install git Step 3 — Confirm Successful Installation You can confirm that you have installed Git correctly by running this command and receivingContinue reading “How To Install Git on Ubuntu 18.04”

Visual Studio Code – Keyboard shortcuts for Linux


General Ctrl+Shift+P, F1 Show Command Palette Ctrl+P Quick Open, Go to File… Ctrl+Shift+N New window/instance Ctrl+W Close window/instance Ctrl+, User Settings Ctrl+K Ctrl+S Keyboard Shortcuts Basic editing Ctrl+X Cut line (empty selection) Ctrl+C Copy line (empty selection) Alt+ ↓ / ↑ Move line down/up Ctrl+Shift+K Delete line Ctrl+Enter / Ctrl+Shift+Enter Insert line below/ above Ctrl+Shift+\Continue reading “Visual Studio Code – Keyboard shortcuts for Linux”

How to install Ansible


  root@aryan-VirtualBox:~# apt-add-repository ppa:ansible/ansible Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications— automate in a language that approaches plain English, using SSH, with no agents to install on remote systems. http://ansible.com/ More info: https://launchpad.net/~ansible/+archive/ubuntu/ansibleContinue reading “How to install Ansible”

provider.docker: Error pinging Docker server: Got permission denied while trying to connect to the Docker daemon socket


provider.docker: Error pinging Docker server: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/_ping: dial unix /var/run/docker.sock: connect: permission denied   aryan@aryan-VirtualBox:~/docker$ terraform plan Refreshing Terraform state in-memory prior to plan… The refreshed state will be used to calculate this plan, but will not be persisted to localContinue reading “provider.docker: Error pinging Docker server: Got permission denied while trying to connect to the Docker daemon socket”

Steps to install terraform on Ubuntu / Ubuntu cloud server :


Install unzip sudo apt-get install unzip Download latest version of the terraform wget https://releases.hashicorp.com/terraform/0.11.13/terraform_0.11.13_linux_amd64.zip Extract the downloaded file archive unzip terraform_0.11.13_linux_amd64.zip Move the executable into a directory searched for executables sudo mv terraform /usr/local/bin/ Run it terraform –version   aryan@aryan-VirtualBox:~$ sudo apt-get install unzip [sudo] password for aryan: Reading package lists… Done Building dependency treeContinue reading “Steps to install terraform on Ubuntu / Ubuntu cloud server :”