idroot

How To Test Internet Connection Speed via Command Line

terminal-linux-logo

In this tutorial, we will show you how to Test Internet Connection Speed via Command Line on Linux. For those of you who didn’t know, Speedtest.net is a pretty good place to check your internet speeds. But there is an even simpler way. Using the speedtest-cli command-line app, you can actually check your current broadband speeds via Terminal. For those of you who didn’t know, speedtest-cli i...

How To Switch PHP-FPM Listen On Unix Socket

In this tutorial, we will show you how to switch PHP-FPM listen on Unix Socket. This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add 'sudo' to the commands to get root privileges. I will show ...

How To Install Fail2Ban on CentOS

centos-logo

In this tutorial, we will show you how to install Fail2Ban on the CentOS server. For those of you who didn’t know, Fail2ban is a security-based application for your Unix-based server. The fail2ban service is commonly used to protect your SSH and FTP from the unauthorized connection. Fail2ban runs as a daemon that uses python scripts to parse log files for system intrusion attempts and adds cus...

How To Install Lighttpd on CentOS

centos-logo

In this tutorial, we will show you how to install and configuration of Lighttpd on your CentOS server. For those of you who didn’t know, Lighttpd is a fast and secure web server that has been optimized for high-performance environments. With a small memory footprint compared to other web servers, effective management of the CPU load, and an advanced feature set (FastCGI, SCGI, Auth, Output-Com...

How To Setup a Nginx Virtual Host

In this tutorial, we will show you how to set up an Nginx Virtual Host. For those of you who didn’t know, Virtual hosts such as Nginx are used for running two or more domains or websites using just one server which you can learn more about in this hosting fundamentals course. Here’s a brief tutorial that shows you how to create a virtual host or server block on the Nginx web server. This ar...

How To Fix 504 Gateway Time-out on Nginx

In this tutorial, we will show you how to fix 504 gateway time-out on the Nginx web server on the Linux server. If you run an Nginx web server you may have already encountered the annoying 504 Gateway Time-out errors. This is a pretty common error and is generated most probably by the PHP max execution time limit, or by the FastCGI read timeout settings. This article assumes you have at least b...

How To Configure Nginx With SSL

In this tutorial, we will show you how to configure Nginx with SSL on your Linux server. For those of you who didn’t know, Transport Layer Security (TLS) and Secure Socket Layer (SSL) provide an easy method to encrypt connections between end-users and web servers. SSL uses a certificate authority system to provide identity verification in order to prevent websites from falsely claiming to be a...

How To Repair Corrupted Mysql Database Table

Install MySQL Server on Ubuntu 16.04

In this tutorial, we will show you how to repair a corrupted MySQL database table on your Linux. Sometimes it happens that your database gets corrupted due to many reasons like it does not get restored properly or the server gets rebooted while updating the database etc and you have tried to repair it using PHPMyAdmin and it does show that it has been repaired but it is not. Here is how to fix a...

SOLVED – Why Amazon EC2 instance has only 8 GB spaces

terminal-linux-logo

In this tutorial, we will show you solved Amazon EC2 instance has only 8 GB spaces. Yesterday I launched Amazon EC2 t.micro instance. When prompted to set HDD size, I put 30 GB size and type SSD. After successful deployment, I installed WHM CPanel on it. The install process took very long may be due to low CPU (only 1 core for t.micro) and low RAM (509 MB). This article assumes you have at leas...

How To Enable Gzip Compression on Nginx

In this tutorial, we will show you how to enable Gzip Compression on Nginx.  For those of you who didn’t know, Nginx is one of the most popular web servers in the world and is responsible for hosting some of the largest and highest-traffic sites on the internet. It is more resource-friendly than Apache in most cases and can be used as a web server or a reverse proxy. So today I’m going to s...