Saturday, April 29, 2017

Protecting Proxmox VE Against Bruteforce With Fail2ban

Proxmox is a virtualization management solution that allows the deployment of Virtual Machines (KVM) & Containers (LXC Containers).

Protecting Proxmox Login against Brute Force with Fail2ban

In this tutorial, Proxmox VE 4 is used which is Linux Jessie based.

Tuesday, February 21, 2017

Let's Encrypt Free A+ Grade SSL On Nginx & Ubuntu 16.04


LEMP on Ubuntu 16.04

Start by updating apt indexes

sudo apt-get update

Install Let's Encrypt Package

(Known as certbot on Github (
sudo apt-get install letsencrypt

Wednesday, February 15, 2017

Installing Wordpress on PHP7, Nginx & Ubuntu 16.04 With SSL Support

Nginx Wordpress Logo
This tutorial assumes you already have LEMP installed on Ubuntu 16.04 with PHP7 & PHP-FPM. If you don't have anything installed yet, you can find a tutorial on how to do it in here.

For this tutorial, I'll assume you are logged in as root. Ideally however, you must use a non-root username and prefix all the commands with sudo.

Update your packages

apt-get update && apt-get upgrade

Monday, January 23, 2017

Installing LEMP - Ubuntu 16.04, Nginx, MariaDB & PHP 7

LEMP Ubuntu Nginx MariaDB PHP
Make sure you have Ubuntu 16.04 64 bit. In this tutorial, I'm assuming you are logged in as root and issuing the commands as root (Not recommended in live environment). If you're not a root user, use sudo before every command.

Fixing "perl: warning: Setting locale failed" On Ubuntu

Ubuntu Logo

If you're ever faced with this warning, which usually happens on a fresh Ubuntu installation:

perl: warning: Setting locale failed.  
perl: warning: Please check that your locale settings:  
        LANGUAGE = "en_US:en",  
        LC_ALL = (unset),  
        LC_MESSAGES = "en_US.UTF-8",  
        LANG = "en_US.UTF-8"  
    are supported and installed on your system. 

Wednesday, January 4, 2017

How To Download a Facebook Video Without any Software

How to Download a Facebook Video Without any Software

You can download any Facebook Video without the help of any software or browser add-on.

1- Find your video

2- Open the Video in a new tab

If the video opens in a popup, click on the date/time of the video, so that it opens in a new tab

Monday, October 17, 2016

Playing With Linux Vim

Playing with Linux VIm

Vim (Vi Improved) in a Unix/Linux text editor. It's an improved version of Vi and is used in most modern Linux distributions from the command line or as an independent graphical user interface application.

Vim has two modes, command mode and insert mode. Command mode is where you issue commands such as write, quit, search. And insert mode is where you edit the text file and delete or add characters.