Ubuntu

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

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

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

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 DEB Package. DEB, Debian packages are standard Unix archives that include two tar archives optionally compressed with gzip (zlib), Bzip2, lzma, or xz...

How To Check Disk Space Usage With Ncdu Utility

Ncdu-sampe-info

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

How To Hide Nginx Server Header

In this tutorial we will show you how to hide Nginx version 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, specially if you are running an o...

How To Install Nginx on Ubuntu

This tutorial will show you how to install Nginx on Ubuntu so that you can successfully run a superior performance based web server while easing the load on your system resources. 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 t...

How to install Java on Ubuntu

install java ubuntu

There are many programs and scripts that require java to run it, but usually Java is not installed by default on VPS/Dedicated Server. Today I'm going to show you a simple step to install Java on Ubuntu machine. install Java on Ubuntu First step, update apt-get repository [crayon-5f07510223b3c433260340/] Second step, install java run time [crayon-5f07510223b41422554292/] Third step, inst...

How to fix apt-get GPG error NO_PUBKEY Ubuntu 14

apt-get-gpg-error

This morning when I do apt-get update on my new Ubuntu 14.04 server, I got these error messages: Reading package lists... Done W: GPG error: http://security.ubuntu.com trusty-security Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32 W: GPG error: http://archive.canonical.com trusty Release: ...

Linux and Unix TAR Command

idroot-ssh-logo

For those of you who didn’t know, The tar command used to rip a collection of files and directories into highly compressed archive file commonly called tarball or tar, gzip and bzip in Linux. The tar is most widely used command to create compressed archive files and that can be moved easily from one disk to anther disk or machine to machine. The main purpose of this article is to provide vario...

How To Install BIND9 Master and Slave DNS Server on Ubuntu

install bind9

In this tutorial we will show you how to install BIND9 Master and Slave DNS Server on Ubuntu. BIND is a widely used DNS Server. Ideally, DNS server consist of 2 machines that work together simultaneously, one act as master and the other one act as slave. If your domain registrar doesn't provide you a free DNS server, or if you want to create a custom DNS record, then you might need to host your ...