Linux

How To Repair Corrupted Mysql Database Table

Install MySQL Server on Ubuntu 16.04

Sometimes it happens that your database get corrupted due to many reason like it does not get restored properly or server get rebooted while updating database etc and you have tried to repair it using phpmyadmin and it does shows that it has repaired but it is not. Here is how to fix a corrupted table (note the single ‘s and {} pairs are not part of the sql commands but are used for clarity an...

SOLVED – Why Amazon EC2 instance has only 8 GB spaces

amazon ec2 disk only 8 GB

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 maybe due to low CPU (only 1 core for t.micro) and low RAM (509 MB). SOLVED Why Amazon EC2 instance has only 8 GB spaces The odd thing begin when I finished WHM/CPanel deployment. I got an...

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 show you how to setup enable Gzip compression on Nginx on CentOS 6 or 7. Compre...

How To Install Nginx Using Yum Command on CentOS

centos-logo

In this tutorial, we will show you how to Install Nginx using yum command on CentOS systems. 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. This arti...

WordPress Permalinks With Nginx

In this tutorial we will show you how to changes WordPress Permalinks With Nginx. For those of you who didn’t know, If you are using WordPress on Apache (with mod_rewrite), WordPress will automatically add the required rewrite rules to your .htaccess file for permalinks to work. But for nginx, you have to add the rules manually. This article assumes you have at least basic knowledge of Linux,...

Create Ubuntu DEB Package from source code (.tar.gz, .tgz)

ubuntu-logo

In this tutorial, we will show you how to create an Ubuntu DEB Package. Occasionally, we are dealing with software installation from source code by running configure, make, and make install. When we do it that way, we can not reverse the process (uninstall) it. To overcome that issue, we can build the source code into a DEB Package. DEB, Debian packages are standard Unix archives that include t...

How To Check Disk Space Usage With Ncdu Utility

terminal-linux-logo

In this tutorial, we will show you how to install and configuration of Webuzo on your Linux server. For those of you who didn’t know, Ncdu (NCurses Disk Usage)  is a command-line tool to view and analyze disk space usage on Linux. It can drill down into directories and report space used by individual directories. This way it is very easy to track down space consuming files/directories. This ar...

How To Hide Nginx Server Header

In this tutorial, we will show you how to hide Nginx Server Header on your Linux server. In default Nginx configuration, the server sends HTTP Header with the information of Nginx version number of the Server. The HTTP response header “Server” displays the version number of the server. This information can be used to try to exploit any vulnerabilities in the Nginx, especially if you are runn...

How To Install Nginx on Ubuntu

In this tutorial, we will show you how to install Nginx on Ubuntu. 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 show you how...

How to install Java on Ubuntu

ubuntu-logo

In this tutorial, we will show you how to install Java on Ubuntu. For those of you who didn’t know, Java is a programming language and computing platform. It was first released by Sun Microsystems in 1995. Many programs and scripts that require Java to run it, but usually Java are not installed by default on a VPS or Dedicated Server. This article assumes you have at least basic knowledge of ...