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

Enable Root login in newly installed Ubuntu Server 16.04.2: This post is to guide you on how to enable root user or root login in a newly installed Ubuntu Server 16.04.2 . Prerequisites: Installed a new Ubuntu Server 16.04.2 Already a local user name created without admin rights. Implementation: Consider… Continue Reading Enable Root login in newly installed Ubuntu Server 16.04.2

How to disable PING or ICMP replies from a Ubuntu Server 16.04.2: A server admin or an user can disable ping or icmp replies from a server for the following reasons, Security reason. Avoid network congestion. Avoid network flood using ping hostname -f Prerequisites: Ubuntu Server 16.04.2 Implementation: Follow the… Continue Reading How to disable PING or ICMP replies from a Ubuntu Server 16.04.2

How to disable PING or ICMP replies from a Ubuntu Server 16.04.2 Temporarily: A server admin or an user can disable ping or icmp replies from a server for the following reasons, Security. Avoid network congestion. Avoid network flood using ping hostname -f Prerequisites: Ubuntu Server 16.04.2 Implementation: Follow the… Continue Reading How to disable PING or ICMP replies from a Ubuntu Server 16.04.2 Temporarily

Install iotop on linux host Iotop is utility used to identify which process, user consumes more io. This post explains on how to install iptop on linux host. By default iostat won’t be come by default. Implementation: On ubuntu host, execute the following command to install iotop. Press y to… Continue Reading Install iotop on linux host

Installation Postgresql on Ubuntu 16: Date Posted: 21-07-2017 Postgresql is a database server which is similar to mysql. In this post, we will explain on how to install postgresql on ubuntu host Prerequisites: Ubuntu Host with root access. Implementation: Perform the update on the server apt-get update Install the postgresql… Continue Reading Install Postgresql on Ubuntu 16