Ubuntu

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. If you are running a website that is powered by Nginx, you might have come across the 504 Gateway Time-out error. This error message indicates that the server was unable to complete the request made by the client in the specified time frame. There are several possible causes of a 504 Gateway Time-out error in Nginx,...

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. 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 you have tried to repair it using phpMyAdmin and it does show that it has been repaired but it is not. However, with the right steps and tool...

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...

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 check disk space usage with ncdu utility 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. ...

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 the 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 ...

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 a powerful and widely used open-source web server that is well-known for its speed, reliability, and flexibility. The Nginx web server is often used as a reverse proxy server, load balancer, and HTTP cache, and it is a popular alternative to other web servers such as Apache. This arti...

How To Install Java on Ubuntu Linux

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 require Java to run it, but usually, Java is not installed by default on a VPS or Dedicated Server. This article assumes you have at least basic knowledge of Linux...

How to Fix Apt-Get GPG error NO_PUBKEY Ubuntu 14

ubuntu-logo

  In this tutorial, we will show you how to fix apt-get GPG error NO_PUBKEY on Ubuntu 14. For those of you who didn’t know, The apt packaging system has a set of trusted keys that determine whether a package can be authenticated and therefore trusted to be installed on the system. Sometimes the system does not have all the keys it needs and runs into this issue. Fortunately, there is a q...