idroot

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 Rar/Unrar on CentOS

In this tutorial we will show you how to install and configuration of rar/unrar on your CentOS server. For those of you who didn’t know, RAR is most popular tool for creating and extracting compressed archive (.rar) files, but unfortunately rar tool doesn’t pre-installed under Linux systems, we need to install it using third-party tools to open, extract, uncompress or unrar a archive files....

How To Install BIND9 Master and Slave DNS Server on Ubuntu

install bind9

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 own DNS server. In this tutorial, we will cover how to configure BIND9 Master and Slave DNS s...

How To Install and Configure Squid 3 on Ubuntu

Install Squid on CentOS 7

In this tutorial we will show you how to install and configuration of Squid on your Ubuntu server. 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 organisation and internet providers to reduce bandwidth and to increase response time. This article assumes you have at least basic knowledge of linux, kno...

How To Install FFmpeg and FFmpeg-PHP Extension on CentOS

ffmpeg-logo

For those of you who didn’t know, FFmpeg is a cross-platform solution for streaming audio and video as well as recording and conversion. There’s also a great PHP package called ffmpeg-php that allows for easy use of FFmpeg from inside PHP scripts. In this tutorial i will show you the easy way to install ffmpeg and ffmpeg-php (php extension). Install FFmpeg on CentOS Step 1. To install, f...

How To Install and Configure Squid 3 on CentOS

Install Squid on CentOS 7

In this tutorial we will show you how to install and configuration of Squid on your CentOS server. 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 organisation and internet providers to reduce bandwidth and to increase response time. This article assumes you have at least basic knowledge of linux, kno...

How To Increase PHP Memory Limit

php-logo

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. Check PHP Memory Limit You can check by creating a file called info.php in /var/www/html/ with the following content: [cray...

How To Install Varnish Cache on CentOS

varnish-cache

For those of you who didn’t know, Varnish Cache is a powerful open source HTTP accelerator that can be installed infront of any Webserver. Varnish Cache can improve overall performance of your web server by caching contents. The Varnish cache stores the copy of user request’s and serves the same page when the user revisits the webpage. It makes your website really fast and accelerate your we...

How To Reset Root Password MySQL Server

Install MySQL Server on Ubuntu 16.04

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 instructions and we assume that you already have a small amount of knowledge on MySQL...

How To Enable Slow Query Log for MySQL

Install MySQL Server on Ubuntu 16.04

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 long time to execute and are therefore candidates for optimization. We assume that you alread...