Blog

Blog

15 May
2018
ColorHosting BaseZap

How To Secure Nginx with Let’s Encrypt on CentOS 7

  Let’s Encrypt is a new certificate authority (CA) that provides free X.509 certificates for Transport Layer Security encryption (TLS) through an automated process. This automated process is designed to banish most of required steps.  The present day complex process of manual creation, validation, signing, installation and renewal of certificates for websites is fully automated […]

14 May
2018
ColorHosting Deepak

How To Install Linux, Apache, MySQL, PHP (LAMP) stack On CentOS 6

What is LAMP? LAMP stands for a cluster of open source software used to run servers. It is an acronym for Linux, Apache, MySQL, and PHP. Since the server already runs CentOS, the Linux part is taken care of. Below are the steps of installation of the rest.   Set UP You need to have […]

14 May
2018
ColorHosting Deepak

LAMP setup on Ubuntu 14.04

  INTRODUCTION LAMP is an open source Web development platform that uses Linux as the operating system, Apache as the Web server, MySQL as the relational database management system and PHP as the object-oriented scripting language. Because the platform has four layers, LAMP is sometimes referred to as a LAMP stack. Stacks can be built […]

13 May
2018
ColorHosting zapbase

Script to restart server if load increases above a given limit

Here is the script to restart a server automatically if it’s load increases above a limit : #!/usr/bin/ bash LOAD=`uptime |awk ‘{print $NF}’` LOADCOMP=`echo $LOAD \> 10 |bc -l` if [ $LOADCOMP -eq 1 ] then /sbin/shutdown -r 0 fi Note : Here 10 defines the server load, you can adjust as per your need. […]

02 May
2018
ColorHosting Deepak

Setting up Virtual Hosts on Windows, Linux, and MacOS

Want to test something on local and DNS Propagation is taking time? Here you can edit your System Host file and then proceed with your tests. Just follow this simple guide for setting up virtuals hosts on your system, whether its Windows, Linux, or macOS. Requirements Administrator Access (Windows only) sudo access (Linux and macOS only) […]

27 Apr
2018
ColorHosting Deepak

Force HTTPS for WordPress websites by .htaccess

Here is the method to make your wordpress based website to run always on https.  Login into wp-admin and goto “Settings -> General”. Make sure the URL have https From filemanager, edit your .htaccess and replace the wordpress rules by following code: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] […]

20 Apr
2018
ColorHosting Deepak

Check and Change current TimeZone in CentOS 6 and CentOS 7

Wondering about TimeZone of your CentOS Machine and want to change it? Let’s follow this small guide to check and change current TimeZone in CentOS 6 and Centos 7. Requirements Root SSH Access to CentOS Machine (Root Needed to change TimeZone) Procedure Check Current Date, Time and TimeZone in CentOS 6/7 Check Date of your […]

10 Apr
2018
ColorHosting BaseZap

Import / export mysql or maria database using linux terminal

Following tutorial helps in exporting or importing MySQL / MariaDB database using terminal commands. It is very useful when the database size is pretty big and the software like PHPMyAdmin , MySQL workbench might give you timeout issue or take abnormally very high time. Using the following method is a direct interaction with the MySQL server and […]

06 Apr
2018
ColorHosting BaseZap

Install WP-CLI | Setup WordPress / Export / Import Database by WP-CLI

In this tutorial we will cover, how to install WP-CLI and use it for WordPress database backup, database import, creating new WordPress instance. How to install WP-CLI  (for all users) Prerequisites Root level SSH access to server PHP 5.3.29 or higher version WP-CLI support wordpress 3.7 or above versions only. To test if your server has […]

03 Apr
2018
ColorHosting Deepak

Export and Import Database in Linux using Command Line

Following guide helps to export and import database of MySQL / MariaDB using Command-Line. It is very useful when the database size is pretty big and the software like PHPMyAdmin, MySQL workbench might give you timeout issue or take abnormally very high time. The mysqldump client utility performs logical backups, producing a set of SQL […]

NEED ADDITIONAL HELP? WE'RE HERE FOR YOU.

Our team is available and on-site 24/7 ready to help you.