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.…
Linux
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…
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…
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…
Install and configure GitLab on Ubuntu 18.04 LTS
Login into the server as root user and update the Ubuntu repository. apt-get update Now install curl , ca-certificates, and postfix packages. sudo apt-get install -y curl openssh-server ca-certificates sudo apt-get install -y postfix During Postfix installation a configuration screen…
Install Lets Encrypt SSL in bitnami lightsail runs on Apache
Stop all services $ sudo /opt/bitnami/ctlscript.sh stop Run the following command in the terminal. Replace the email id with your email address and domain name with your domain name. Lets encrypt will verify the domain name. Make sure the domain…
Linux Boot Process
Linux Boot process consist of 6 steps. BIOS >> MBR >> GRUB >> KERNEL >> INIT >> RUNLEVEL BIOS BIOS stands for Basic Input/Output System Performs some system integrity checks Searches, loads, and executes the boot loader program. It looks…
Install Apache Spark in Ubuntu 18.04
In this post I’m gonna share the steps to install Apache Spark in Ubuntu 18.04. In order to install Spark, you will need java and scala installed in your machine. Ensure java is installed java -version Follow the steps here…
Forcefully redirect HTTP requests to HTTPS in Bitnami Apache
In order to redirect http requests to https, we need to make some changes in the default apache configuration file. So, before we start, make sure to backup the current config file. So that we can revert the changes if…