How to Install Latest Version of ngnix (1.15.4) on Centos 7 Dated : 29-09-2018 Nginx is a flat,light weight,powerful HTTP web server. In this piece of writing, we will illustrate about ngnix web server latest version installation on centos 7 and How to allow traffic for HTTP services,because by default the… Continue Reading How to Install Latest Version of ngnix (1.15.4) on Centos 7

How to upgrade from PHP 7.0 to PHP 7.1 on Ubuntu Posted Date : 21-09-2018 In this post we will explain upgrade from PHP 7.0 to PHP 7.1 on Ubuntu. We assuming that you have have php 7.0 installed in your server. Please follow the and upgrade the php version… Continue Reading How to upgrade from PHP 7.0 to PHP 7.1 on Ubuntu

Country based redirection on nginx behind load balancer|Geo Location Based redirection Date Posted: 19-12-2017 There are scenario where we want to setup country based redirection depends on visitor. In this post, we will explain on how to setup country based redirection on nginx which is behind load balancer. Assumption: Nginx… Continue Reading Country based redirection on nginx behind load balancer|Geo Location Based redirection

L1aravel 5.5 installation on VestaCP domain Date posted: 31-10-2017 Assumptions:- We assume you have the following server setup VestaCP Ubuntu 16.04 Nginx PHP >= 7.0.0 PHP modules OpenSSL, xml, PDO, Tokenizer and mbstring Installing Laravel Install composer apt-get install composer Download the Laravel installer using Composer: composer global require “laravel/installer”… Continue Reading Laravel installation on VestaCP account

PDFlib support for PHP7.0 on Ubuntu 16.04 Date posted: 16-10-2017 Task: Enable PDF for PHP7.0 Based on your server architecture download PDFlib software from PDFlib site. cd /usr/local/src wget https://www.pdflib.com/binaries/PDFlib/911/PDFlib-9.1.1p3-Linux-x86_64-php.tar.gz tar -xvf PDFlib-9.1.1p3-Linux-x86_64-php.tar.gz cd PDFlib-9.1.1p3-Linux-x86_64-php/ Find PHP extension_dir # php -ini | grep extension_dir extension_dir => /usr/lib/php/20151012 => /usr/lib/php/20151012 copy… Continue Reading PDFlib support for PHP7.0 on Ubuntu 16.04

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

SSH setup in a newly installed Ubuntu 16.04.2 server Secure Shell(SSH) is a protocol used to login securely from a remote host to other over a unsecured network. The password will be Encrypted when trying to login to a remote host. Prerequisites: We have a newly installed Ubuntu Server 16.04.2… Continue Reading SSH setup in a newly installed Ubuntu 16.04.2 server