GlusterFS Installation and Configuration

GlusterFS Logo

Here are few examples how to install GlusterFS on Debian like systems. Single node, add replica node, add multiple replicas and then tweak the configuration. Installing GlusterFS Installing GlusterFS it’s quite simple, just type the following command in the console and it will install GlusterFS and all requirements. Also we are going to create local path /storage where we are going ...

Read More »

Selenium Headless Firefox WebDriver using PyVirtualDisplay

selinium logo

I needed to take screenshots from websites that i crawl and selenium headless webdriver is the right tool for me. I was using wkhtmltoimage untill now but I am running into problems with some websites. I’ll be using Debian Linux for this without a Desktop environment so i needed to install selenium headless webdriver and I decided to use Firefox as ...

Read More »

Linux find text in file

Debian Logo

If you need to find text in file or multiple files on a Linux system you can use grep (global regular expression print) in a very efficient way to do so.  Here are few examples that I commonly use. Find text in file into a directory Use this command to find the text you are looking for within the directory cd /path/to/directory/ ...

Read More »

Add Swiffy html5 banner to Revive AD Server

revive-logo

Since Google announced that flash content will be autopause there is a tool you can use to convert Flash banners to html5, it’s called Swiffy. But the problem is the Revive server 64Kb code banner limit. Revive AdServer problem with Swiffy banners By default revive server stores the Code banners into rv_banners table in columns htmltemplate and htmlcache but they are TEXT columns which are ...

Read More »

mdadm replace failed hard drive RAID1

Debian Logo

Got a few failed hard drives in software RAID1 and decided to write this article not to search for the procedure the next time this happens. Detect failed hard drive If you have a lot of error messages in your /var/log/messages and probably get a mail from mdadm monitorring This is an automatically generated mail message from mdadm running on ...

Read More »

Linux SCP command for secure file transfer

Debian Logo

Secure Copy or SCP is part of SSH. This are few examples of using SCP commands for those like me who just could not remember all the options. On almost all Linux machines we don’t want to add additional software that we don’t need, but we need to transfer data from one host to another. SSH’s scp command will come ...

Read More »

MySQL Backup and Restore

MySQL

Tutorial for MySQL backup and restore using command line for those of you who are doing it for the first time or have forgotten some parameter. First of all don’t forget that you need to have permissions to connect with the user you are going to use from the host you are executing this command. If it is from the ...

Read More »

Debian malware detection with Maldetect

Debian Logo

If you host multiple websites this tutorial will help you setup Debian malware detection tool to easy find websites that has been compromised instead of getting reports that your server is hosting them. On a Debian system Linux Malware Detect will not run out of the box in monitor mode but scan mode works fine. Prepare your Debian Server and install LMD ...

Read More »

Restart to solve NFS Unknown error 521

Debian Logo

I just had Unknown error 521 while mounting NFS version 3 on a Debian server after a reboot. Solving it took me some time but the solution was very easy. My setup is NFS server on storage server running Debian and a NFS client on another Debian machine where connecting to the NFS server. After a long period of time i ...

Read More »

Debian PPTP Client Configuration

Debian Logo

Here is a simple tutorial how to setup Debian PPTP Client for remote management connecting them to my Client VPN segment. I often use this for connecting servers that i need to manage where the host is dynamic so i don’t need to worry DnDNS or No-IP software and accounts. This tutorial is based on Debian 7 so it can ...

Read More »

Windows SMTP Server relay through Gmail

smtp-featured

This tutorial with show how Windows SMTP Server relay mails through Gmail or any other mail server. This is useful if your server is located on a network with dynamic IP address. I had this issue when a monitoring software needed to send notification mails but there was no option of authenticating to the SMTP server. I installed Windows SMTP ...

Read More »

Manage Samba permissions from Windows

Samba logo

For those who installed samba and join the server to Windows Domain, this tutorial will show you how to Manage Samba permissions from Windows machine. There are a tutorials how to install Samba Server and join it to Windows Active Directory domain, but on most of them i haven’t seen how to manage Samba permissions from Windows machine. Filesystem support ...

Read More »

Cyberoam Port Forwarding using Virtual Host

Cyberoam logo

This article describes  Cyberoam port forwarding using virtual host from external to internal LAN IP address. Article covers how to ·       Create virtual host ·       Create firewall rule to allow the inbound traffic Virtual host Virtual host implementation is based on the Destination NAT concept of older versions of Cyberoam. Virtual Host maps services of a public IP address to services of ...

Read More »

Zentyal 3.2 PPTP Server

Zentyal logo

Here is howto install Zentyal 3.2 PPTP Server. Since Zentyal 3.2 the developers have decided to remove the PPTP Server and now provide a more secured implementation together with L2TP and IPSec. But as i can notice L2TP with IPSec is buggy and I’ve managed to fix the issue that i have but also decided to install PPTP Server and remove ...

Read More »

Migrate Google Apps to Zimbra

VMware Zimbra

If you need to migrate Google Apps to Zimbra here is a simple howto. Just follow the steps and you will have your Google Apps mails transferred to your Zimbra mailbox. I’ve been using Google Apps for my domain and decided to switch my mail services to my hosted Zimbra server. Doing some research I’ve decided to use imapsync to ...

Read More »