In this post, I’m gonna show you how to allow users to run sudo command without password in Linux Prerequisites In order to do this, you will need the following: 1. root/sudo privileges on the machine 2. A non-admin user.…
Author: Alvin Jaison
Install docker-compose in ubuntu 18.04
Docker compose is a tool for running multi-container applications. Using compose you can configure your application’s services in a YAML file. Installing docker compose is actually pretty simple. You can download the binary file directly from github and change the…
List all resources in an AWS account using AWS cli
Is it possible to list all resources in AWS account using AWS cli? No. There is no direct method or command for that. But there is a workaround for that. In this post I’m gonna show you how to list…
How to install docker in ubuntu 16.04 and Amazon Linux
Firstly update ubuntu repository by running following command sudo apt-get update -y && sudo apt-get upgrade -y Now install packages pt-transport-https, software-properties-common and ca-certificates sudo apt-get install apt-transport-https software-properties-common ca-certificates -y Now get the gpg key wget https://download.docker.com/linux/ubuntu/gpg && sudo…
Install Apache JMeter in macOS
Apache JMeter is a load testing tool that can be used for measuring and analysing the performance of various services. Prerequisitories Inorder to install JMeter in macOS, you should have the java installed in your machine. To test if Java…
Install java in macOS
Install tree command in MacOS
In this article I’ll show you how to install tree command in MacOS. We are gonna install tree using Homebrew. Homebrew is an open source package manager for MacOS and Linux. Read this article to know how to install Homebrew…
Install Homebrew in MacOS
ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
Dockerized Electron build
Last year, I had a requirement to build an electron app inside a docker container. I wrote this Dockerfile for that. I built this docker image and pushed it to our AWS container registry. Whenever there is a build, the…
Configure Nginx reverse proxy with SSL in Ubuntu
The steps to configure Nginx reverse proxy in Ubuntu are as follows 1. Install nginxsudo apt-get install nginxsudo service nginx startsudo chkconfig nginx on 2. Go to nginx config file directorycd /etc/nginx/ 3. backup current nginx config filemv /etc/nginx/nginx.conf /etc/nginx/nginx.conf-back…