idroot

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

How To Backup and Restore MySQL Database Using Command Line

Install MySQL Server on Ubuntu 16.04

This tutorial guide will show you two easy ways to backup and restore the data in your MySQL database using mysqldump. You can also use this process to move your data to a new web server. We assume that you already have MySQL installed on Linux system with administrative privileges and we assume that you already have a small amount of knowledge on MySQL. The parameters of the said command as fo...

How To Completely Removing MySQL Server in CentOS

remove-mysql-list

In this tutorial we will show you how to completely removing of MySQL on your CentOS server. For those of you who didn’t know, MySQL is a relational database management system (RDBMS) that runs as a server providing multi-user access to a number of databases. The MySQL source code is freely available because it was originally developed as freeware. MySQL is written in C and C++ and is compatib...

How To Replacing OpenSSH With Dropbear on CentOS

dropbear-conf-port

For those of you who didn’t know, Dropbear is a relatively small SSH server and client. It runs on a variety of POSIX-based platforms. Dropbear is open source software, distributed under a MIT-style license. Dropbear is particularly useful for "embedded"-type Linux (or other Unix) systems, such as wireless routers. This article assumes you have at least basic knowledge of linux, know how to u...

How To Install Suhosin PHP 5 Protection Security Patch on CentOS

php-logo

In this tutorial we will show you how to install Suhosin PHP 5 protection security patch on CentOS. For those of you who didn’t know, Suhosin patch is an advanced protection system for PHP installations. It was designed protect your servers against a number of well known problems in PHP applications and on the other hand against potential unknown vulnerabilities within these applications or th...

How To Install MySQL Database Server on CentOS

Install MySQL Server on Ubuntu 16.04

For those of you who didn’t know, MySQL is a relational database management system (RDBMS) that runs as a server providing multi-user access to a number of databases. The MySQL source code is freely available because it was originally developed as freeware. MySQL is written in C and C++ and is compatible with all major operating systems. MySQL can be used for a variety of applications, but is ...