Phpvirtualbox fix on 5.1 using 5.0

I was able to get v5.0-5 working with vbox 5.1 by commenting out the version check line and replacing it with a static value in the endpoints/api.php file:

// $response['data']['responseData']['phpvboxver'] = @constant('PHPVBOX_VER');
 $response['data']['responseData']['phpvboxver'] = "5.1-0";



Perfect Backup MX using Postfix

This is quite simple, and with a very simple setup, and does not require that much, since we do not need to send out e-mails from clients from this server, or use ASMTP. I find that MySQL is not needed here, but could be used. I will use normal flat files, since the number of domains to run a backup for is most likely a rather small number. 

This setup can be editet to run all times of different checks, antivirus etc.  Normally you would make sure that the setup is exactly the same on both the primary MTA, and the backup. It hardenens the systems, and should reduce spam, and unwanted traffic. Create public DNS entries. Remember to create an MX record with an lower priority than the primary mail server, or else this will not work! 43200 IN MX 10 43200 IN MX 20

After this these two records are created with A records pointing to different IPs (different servers).  Continue reading “Perfect Backup MX using Postfix” »


PHP 7.0 on CentOS/RHEL 6.9 and 7.4 using Yum

Before beginning this, it is assumed that you already have installed LAMP on your server.

To install, first you must add the Webtatic EL yum repository information corresponding to your CentOS/RHEL version to yum:

CentOS/RHEL 7.x:

rpm -Uvh
rpm -Uvh

CentOS/RHEL 6.x:

rpm -Uvh
rpm -Uvh

Now you can install PHP 7.0’s mod_php SAPI (along with an opcode cache) by doing:

yum install php70w php70w-opcache

You can alternatively install PHP 7.0’s php-fpm SAPI (along with an opcode cache by doing:

yum install php70w-fpm php70w-opcache

See the package list below for additional SAPIs and PHP extensions. Continue reading “PHP 7.0 on CentOS/RHEL 6.9 and 7.4 using Yum” »


Perfect Squid with Transparent proxy and SSL log

This will be a transparent SQUID proxy for your home or corporate network  ,  it  will transparently  intercept  all  traffic http and https  ,  for  https  you  will  need  to  push  to  clients  the CA certificate of the SQUID server, it  has  been tested to be working without problems with lastest Internet Explorer, Mozilla Firefox and Chrome browsers.

STEP 1 – Installing Base system , upgrading it and disabling IPtables , SeLINUX

We  start  by  downloading  the  CentOS  6.5  iso from CentOS website (x86 or x64) : CentOS 6.5 ISO’s , install Base system. Partitioning , software or hardware raid is up to the user. In this example hostname is : proxy.home.lan and ip address is : . Continue reading “Perfect Squid with Transparent proxy and SSL log” »


XEAMS mail Server Installation on CentOS 6

Installation Instructions

Follow the steps below to install Xeams on a Linux machine.Log in as root

  1. Download the installer
  2. Extract the tar file using the following command
     tar -xf XeamsLinux.tar
  3. Ensure the permissions for is set as an executable. If not, use the chmod +x command to change its permission
  4. Execute script

Continue reading “XEAMS mail Server Installation on CentOS 6” »


Install and configure ClamAV Antivirus on CentOS 6

Enable EPEL  repository

CentOS 6.x 32-bit:

# rpm –ivh

CentOS 6.x 64-bit:

# rpm –ivh

Check the repository list. Continue reading “Install and configure ClamAV Antivirus on CentOS 6” »


Publishing long domain key SPF TXT records in bind9

If your bind is throwing error with long TXT data, you can do the following means to concatenate: You are using commas to separate your key/value pairs in your record instead of semi-colons. Change it to:

a9d04665528b593d263a6e5256648c99._domainkey IN 1800 TXT (



How to Upgrade Node.js via NPM

Steps to Upgrade Node.Js

Use the following steps to install or upgrade node.js to latest available version. Current NodeJs Version – First check current nodejs version on your system using following command. In my case it is

v0.10.37.rahul@tecadmin:~$ node -v

Clean Cache Forcefully – Now clean all npm cache from your system forcefully.

rahul@tecadmin:~$ sudo npm cache clean -f

npm WARN using –force I sure hope you know what you are doing. Continue reading “How to Upgrade Node.js via NPM” »


Installing Certbot on Debian 8

root@server:~# cat /etc/apt/sources.list

deb jessie main
deb-src jessie main

deb jessie/updates main
deb-src jessie/updates main

deb jessie-updates main
deb-src jessie-updates main

deb jessie-backports main

Continue reading “Installing Certbot on Debian 8” »


Failed to open /var/mail/root : No such file or directory

If you’re receiving the following message on webmin- “Failed to open /var/mail/root : No such file or directory”.

Possible resolution is-

rumi@mordor:~$ sudo touch /var/mail/rumi
rumi@mordor:~$ sudo chown thufir:mail /var/mail/rumi
rumi@mordor:~$ sudo chmod o-r /var/mail/rumi
rumi@mordor:~$ sudo chmod g+rw /var/mail/rumi
rumi@mordor:~$ mail
No mail for thufir