Error debconf: unable to initialize frontend: Dialog Date Posted: 06-10-2017 Issue:- When got this error while installing mysql via bash script. Its because debconf is trying to control dialog prompt in background. But it doesn’t exist on your server. Fix:- So install dialog and apt-utils apt-get install dialog apt-utils  

Add webmail alias in VestaCP panel – ubuntu 16.04 Date Posted: 05-10-2017 Assumptions:- We assume you have the following server setup VestaCP Ubuntu 16.04 Apache2 Solution:- Add this line at the bottom of /home/admin/conf/web/apache2.conf file <VirtualHost xx.xx.xx.xx:8080> ServerName webmail ServerAlias webmail.* DocumentRoot /usr/share/roundcube <Directory /usr/share/roundcube> AllowOverride All </Directory> </VirtualHost> Verify… Continue Reading Add webmail alias in VestaCP panel – ubuntu 16.04

zone example.com/IN: loading from master file /home/admin/conf/dns/example.com.db failed: permission denied Date Posted: 05-10-2017 Assumptions:- We assume that you have the following setup VestaCP Ubuntu 16.04 Bind9 Error:- Bind might refuse to reload due to below errors zone example.com/IN: loading from master file /home/admin/conf/dns/example.com.db failed: permission denied   Fix:- Check permission… Continue Reading VestaCP – bind – loading from master file failed: permission denied

Start vncserver at boot – ubuntu 14.04 Date Posted: 05-10-2017 Write a sample script startvnc.sh and update the code mentioned below. vi /root/startvnc.sh #! /bin/bash USER=root HOME=/root export USER HOME cd /root /usr/bin/vncserver :1 Make this script executable chmod +x /root/startvnc.sh Update rc.local file with this script vi /etc/rc.local  Find… Continue Reading start vncserver at boot – ubuntu 14.04

How to install Ioncube loader on Linux Date Posted: 03-10-2017 Ioncube loader is a php module used to encrypt php code. This post explains on how to install Ioncube loader on linux server. The Linux server can be Ubuntu, centos or other operating system. Prerequisites: Linux Host. Apache Webserver. If… Continue Reading How to install Ioncube loader on Linux

Add Access Control Allow Origin Region(CORS) for fonts in NGINX? Date Posted: 02-10-2017 In this post, we will explain on how to allow cors (Cross Origin Region) for fonts on nginx. We may have seen the following on google chrome console or firefox firebug addon. No ‘Access-Control-Allow-Origin’ header is Prerequisites:… Continue Reading Allow Cross Origin Region(CORS) for Fonts in NGINX

Setting up different documentroot for subdirectory on nginx Date Posted: 24-09-2017 Nginx is a fastest webserver when compared to apache.  In this post, we are going to explain how to setup different documentroot for subdirectory. The maindomain documentroot will be /var/www/html and subdirectory folder documentroot /var/www/folder. Prerequisites: Nginx Webserver. If nginx… Continue Reading Setting up different documentroot for subdirectory on nginx

DNS Cluster Setup between cpanel servers Date Posted: 09-09-2017 cPanel is widely used control panel for managing webhosting.  This post deals on how to setup DNS cluster between cPanel servers.  This post assumes that we have two DNS only cPanel server and one cPanel webserver. cPanel DNS only server is… Continue Reading DNS Cluster Setup between cpanel servers

Configure multiple php on litespeed cPanel server Date posted: 04-09-2017 By default cPanel runs with apache webserver. Normally Easy apache 4 or Easy apache 4 will help on installing multiple php version.  In this post, we will explain on how to configure litespeed webserver to use multiple php version. Prerequisites:… Continue Reading Configure multiple php on litespeed cPanel server

Add Access Control Allow Origin Region(CORS) in NGINX? Date Posted: 31-08-2017 In this post, we will explain on how to allow cors (Cross Origin Region) on nginx. We may have seen the following on google chrome console or firefox firebug addon. No ‘Access-Control-Allow-Origin’ header is Prerequisites: Nginx Webserver.  If nginx… Continue Reading Allow Cross Origin Region(CORS) in NGINX