How to install Alpine linux easily on DigitalOcean

Alpine is probably one of the lightweight Linux distribution out there. It’s a very small, simple and security oriented. It doesn’t shipped with hundreds of bloatware which you probably don’t use in your lifetime. It just have the minimal packages installed which gets you up and running. You always have the option to install your desire packages later. Alpine is one of my favorite Linux distribution since it is lightweight, RAM and CPU efficient....

December 21, 2019 · Kamrul

How to reserve and attach IP to Oracle VM instance

Oracle recently announced two always free instances including other free services, a big move by oracle to provide cloud for everyone. So I created an account and I have been using their free tier instances for two weeks. Great service so far. Here is a benchmark report of one of my free instance (Note: outbound transfer speed is capped to 5 MB). Since Oracle provides public IP for free, I reserved and attached an IP address to my instance....

October 4, 2019 · Kamrul

Manage DigitalOcean droplets via API with Python

In this guide we will see how to create, destroy & assign floating IP to droplets with DigitalOcean API. First thing first, if you don’t have DigitalOcean account, simply click on this link and create an account. You will get 50$ credit for 30 days. Great opportunity to try out DigitalOcean. If you are already familiar with DigitalOcean, then you know every time we want to manage a droplet, we need to login the website, make some few clicks....

September 12, 2019 · Kamrul

How to prepare for RHCSA 7

Last year, I passed RHCSA 7 exam with a great score, 300 out of 300! I prepared from home without admitting any institutions. Special thanks to LinuxAcademy, CertDepot, RootUsers, Lisenet, Sander van Vugt, google and youtube (hope I didn’t miss anyone who deserve my deepest gratitude). The exam was very easy for me. I completed within 1 and half hour. Then I revised and left the exam hall. It was the only exam in my whole life that I didn’t worry a bit (lol)....

July 24, 2019 · Kamrul

Configure internet connection (PPPoE) in OpenWrt router

Previously we saw how to setup OpenWrt on Xiaomi Router 3. In this tutorial we will configure internet connectivity (PPPoE) via SSH. SSH into your router (IP: 192.168.1.1, username: root, password: admin or your selected admin password) Now issue the below command: vi /etc/config/network Paste this (remember to change ‘username-given-by-isp’ & ‘password-given-by-isp’ fields. Also If your ISP needs specific mac address to connect, change ‘’ the field also): config interface 'wan' option ifname 'eth0....

July 24, 2019 · Kamrul

How to install OpenWrt on Xiaomi Mi Router 3

(last update: 08-Mar-2021) OpenWrt is an embedded operating system based on Linux. You will get full power of Linux in your home router. OpenWrt has a lot of powerful features that default firmware doesn’t offer. There are several OpenWrt based firmwares for Xiaomi Mi Router 3. Among of them, PandoraBox and X-Wrt work very well in Xiaomi Mi Router 3. However, PandoraBox is discontinued. Means Mi Router 3 might not get any latest update from PandoraBox....

July 24, 2019 · Kamrul

How to secure your server with Fail2ban on CentOS 7/RHEL7

Fail2ban is an application which helps to protect your server from brute-force attack. It monitors the log file of the system and looks for the malicious activity. If malicious activity found like too many failed login attempts, it ban the IP address. It is an extremely helpful and must have application for a server. Few days ago one of my server has compromised. I checked the log and found out an astonishing number of brute-force attacks were going on:...

May 6, 2019 · Kamrul

How to install WordPress on OpenLiteSpeed Web Server

This tutorial will guide you how to install WordPress on OpenLiteSpeed web server. Before we start, make sure that you have OpenLiteSpeed web server, PHP, MySQL are installed and configured. If you didn’t have already, you can see How to install OpenLiteSpeed, PHP 7.3, MySQL on Debian 7/8 and CentOS 7 Preparing database for WordPress Step 1: We will create a specific database and user for WordPress. To create a database, first log into your server and execute following command....

April 28, 2019 · Kamrul

How to add free Cloudflare SSL certificate on OpenLiteSpeed Web server

In OpenLiteSpeed web server, setting up a SSL certificate for a domain is a bit tricky. In this article I will show how to setup Cloudflare’s free SSL certificate for a domain name. Before we begin, make sure that your domain is using Cloudflare’s DNS. Getting certificate from Cloudflare Login to your Cloudflare dashboard and select your domain. Click on “Crypto” tab and within SSL settings, select “Full (strict)” Scroll down a bit and within “Origin Certificates” settings, click “Create Certificate” A pop up window will open....

April 28, 2019 · Kamrul

How to add your domain to OpenLiteSpeed Web Server

In this article we will see how we can host our domain to OpenLiteSpeed web server by using Name-based virtual hosting. In this way we can host multiple website/domain against a single IP address or web server. Before start, make sure you pointed your domain name to your server’s IP address (setup A record) Creating virtual host for a domain First we will create the necessary directories where our web content’s will be stored....

April 27, 2019 · Kamrul