Ubuntu

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

Linux and Unix TAR Command

terminal-linux-logo

In this tutorial, we will show you various Linux and Unix Tar command examples that might be helping you. For those of you who didn’t know, The tar command used to rip a collection of files and directories into highly compressed archive files commonly called tarball or tar, gzip and bzip in Linux. The tar is the most widely used command to create compressed archive files and that can be moved ...

How To Install BIND9 Master and Slave DNS Server on Ubuntu

ubuntu-logo

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

How To Install and Configure Squid 3 on Ubuntu

ubuntu-logo

In this tutorial, we will show you how to install and configure Squid 3 on an Ubuntu. For those of you who didn’t know, Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. Squid proxy is used by various organizations and internet providers to reduce bandwidth and to increase response time. This article assumes you have at least basic knowledge of Linux, know how to use...

How To Increase PHP Memory Limit

php-logo

In this tutorial, we will show you how to increase the PHP memory limit on a Linux server. If you have seen an error like ”Fatal Error: PHP Allowed Memory Size Exhausted” in webserver logs or your browser, this means that PHP has exhausted the maximum memory limit. This tutorial will show two different ways on how you can increase the PHP memory limit. This article assumes you have at least...

How To Reset Root Password MySQL Server

Install MySQL Server on Ubuntu 16.04

In this tutorial, we will show you how to reset the root password MySQL server. By default, MySQL server will be installed with root account and password is blank. Have you ever forgotten the root password on one of your MySQL servers? If you have set the password for root and forget it, then you will need to reset the root password for MySQL. To reset your MySQL password just follow these instr...

How To Enable Slow Query Log for MySQL

Install MySQL Server on Ubuntu 16.04

In this tutorial, we will show you how to enable a slow query log for MySQL on Linux systems. MySQL has built-in functionality that allows you to log SQL queries to a file, You can enable the full SQL queries logs to a file or only slow running queries log. It is easy for us to troubleshoot/ debug the SQL statement if SQL queries log enable, The slow query log is used to find queries that take a...

How To Backup and Restore MySQL Database Using Command Line

Install MySQL Server on Ubuntu 16.04

In this tutorial, we will show you how to backup and restore the MySQL database using Command-Line. For those of you who didn’t know, MySQL is an open-source database developed by Oracle whereas MariaDB is a fork of it that works similarly and uses the same command line as MySQL. This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, ...