How To Set Up HTTP Authentication With Nginx On Ubuntu 14.04

Step 1: Install Apache Utils To generate encrypted password for the nginx we need to use apache2-utils, use this command : Step 2: Create username & password create a .htpasswd under the folder we need to protect or under your website root directory : Later it will prompt you for a password This htpasswd file must be own by current …

GRUB autoboot fail

Something annoying me today, suddenly one of our servers doesn’t want to autoboot to OS instead it showing GRUB text mode. What i do to solve this is : 1. Edit /etc/default/grub and set the GRUB_TIMEOUT=0 2. execute command “sudo update-grub”