Archive for Video

Run OpenVPN on Debian 7 “Wheezy”

How to install OpenVPN on Debian 7 “Wheezy”?

  1. Basic install Debian 7 “Wheezy”
  2. Run “wget”
  3. After downloading, run “dpkg -i openvpn-as-1.8.5-Debian6.amd_65.deb”
  4. Edit the password for user openvpn: “passwd openvpn”
  5. Go to the ip address of your server, log in  and enjoy your new OpenVPN installation on Debian 7 Wheezy.


How to install VMware Zimbra 8 on Ubuntu 12.04 (LTS)

Zimbra Logo

In this video tutorial I will show you how to install VMware Zimbra 8 on the latest Ubuntu LTS: Ubuntu 12.04. This is OS is fully supported by Zimbra and therefore highly recommended.




Before starting you’ll need a fresh and fully updated version of Ubuntu 12.04 server (x64), and root access.  You can gain root access by typing ‘sudo su’. After this you can update your machine by typing ‘apt-get update; apt-get upgrade -y; apt-get dist-upgrade -y; reboot’.


Installation process:

Install some necessary packages

# apt-get install libgmp3c2 libperl5.14 sqlite3 sysstat -y


Extract the files and start the installation process, follow the instructions

# tar xvf zcs….etc
# cd zcs…..etc
# ./


[Part 1] Installing Microsoft Exchange 2010 on Windows Server 2008 R2 (video)

Setting up your own Microsoft Exchange 2010 server is quite simple. You just need to download a few prerequisites that you can get from the PowerShell. In this tutorial I will show you how to install your own Microsoft Exchange 2010 server on Windows Server 2008 R2! :)


System requirements

Before we can start, you’ll need to make sure that your new Exchange server is running in an Active Directory environment and that it’s part of the domain. It’s also advised to completely update your server to the latest software before starting the installation process.


In order to successfully complete the Exchange 2010 installation we need a few prerequisites.

First, install the 2007 Office System Converter: Microsoft Filter Pack. You can download it here.

Second, add a few Windows features that you can get from the PowerShell command. Start PowerShell via Start > All Programs > Accessories > Windows PowerShell. Run this program as system administrator.

A new window will open, enter the following command:

Import-Module ServerManager

In case you wish to install a typical server including Client Access, Hub Transport and Mailbox roles, run the following command:

Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,Web-Asp-Net,Web-Client-Auth,Web-Dir-Browsing,Web-Http-Errors,Web-Http-Logging,Web-Http-Redirect,Web-Http-Tracing,Web-ISAPI-Filter,Web-Request-Monitor,Web-Static-Content,Web-WMI,RPC-Over-HTTP-Proxy -Restart

You can find more examples and server roles here.

In case your new server is running the Client Access Server role, it requires Net.Tcp Port Sharing to be automatically started at start up. To achieve this, open the PowerShell again and run:

Set-Service NetTcpPortSharing -StartupType Automatic

Next, run the installer and have fun with your new Exchange 2010 server!

The video bellow also covers the installation.


Excuse me for the annoying music, it’s one of my first screencasts. :)

Howto set up your own TeamSpeak 3 server on Linux

teamspeak logo

In this (video)-tutorial we install our own TeamSpeak 3 server on a Linux machine. TeamSpeak 3 is a VoIP (Voice over IP) program designed for gamers.


Requirements for this tutorial:

  • A server with a network connection (I’ll use CentOS 6)
  • A client with a network connection (Windows 7 in my case)
  • TeamSpeak client/server software from their website (link)

Open a terminal to your server and download the TeamSpeak 3 server software:

$ wget http://mirror-to-the-current-teamspeak-release.tar.gz

Extract the package by typing:

$ tar xzf teamspeak3-server_linux-amd64-

Get into the new directory by typing:

$ cd teamspeak3-server_linux-amd64-

Start the new TeamSpeak 3 server by running:

$ ./

Your new TeamSpeak server will now start in foreground. Launch your TeamSpeak 3 client, enter the IP-address for your server and hit connect. After connecting you’ll get a massage about administrator privileges that have not yet been claimed. Go back to your terminal and copy the part AFTER “Token=”. Paste this into the “Use Privilege Key” input field.

You should now be administrator of your new TeamSpeak server!

In order to stop the running server, which is in foreground right now, hit CTRL+C. In order to run the server in the background, execute the following:

$ ./ start

You can now safely close your terminal without shutting the TeamSpeak server down.

Have fun!


Video tutorial: Setting up SSH public key authentication in Ubuntu 12.04

I’ve been using Linux for quite some time now but never really understood how public key authentication works. I decided to search the web and try it out on different testing machines. So, if you want to find out how it works as well, here’s how it’s done.







First, you’ll need to log in to your machine, and create a necessary directory, change it’s permissions and go into it.

$ mkdir .ssh/; chmod 700 .ssh/; cd .ssh/

After that, you want to create a file called ‘authorized_keys’. This file contains the public key(s) that are allowed to log-in with your username.

$ touch authorized_keys; chmod 600 authorized_keys

Right now, it should look like this:

$ ls -lh

-rw——- 1 kevin kevin  394 Jun  3 13:00 authorized_keys

It’s time to generate the public/private rsa key pair:

$ ssh-keygen -t rsa

Generating public/private rsa key pair.
Enter file in which to save the key (/home/kevin/.ssh/id_rsa):

Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/kevin/.ssh/id_rsa.
Your public key has been saved in /home/kevin/.ssh/

Your .ssh/ directory should look like this right now:

ls -lh

-rw——- 1 kevin kevin 394 Jun 3 13:00 authorized_keys
-rw——- 1 kevin kevin 1.8K Jun 3 14:16 id_rsa
-rw-r–r– 1 kevin kevin 394 Jun 3 14:16

Add the key to the authorized_key file

cat >> authorized_keys

Next, download the private key (id_rsa) file to your local Windows machine by using WinSCP.

Open PuTTYgen, click ‘load’ and search for the id_rsa file you just downloaded from your Linux machine. Enter your passphrase and hit OK. Now, click ‘Save private key’ and select a good destination to store your private key file.
At last, open PuTTy, enter the IP address or hostname of your Linux machine and go to Connection -> SSH -> Auth.


At the bottom you will find ‘Private key file for authentication:’. Hit browse, and select the key file we just saved with PuTTYgen. Hit open, enter your username, your passphrase and ta-da.




Installation guide: VMware ESXi 5 – Free Hypervisor (720p)

This video tutorial will show you how to install VMware ESXi 5. This fully functional hypervisor lets you virtualize your servers and run your applications in virtual machines in a matter of minutes.



Video tutorial: Installing iRedMail – An Open Source mail solution on CentOS 5.x

Quick installation of iRedMail 0.7.4 on a CentOS 5.7 machine.


What iRedMail is:


* A ZERO COST, fully fledged, full-featured mail server solution. All components are free and open source softwares.
* An open source project, released under GPLv2, hosted on BitBucket (moved from Google Code).


What iRedMail does:


* Install and configure mail server related BINARY packages automatically from repositories which officially provided by Linux/BSD distributions.


More information about iRedMail can be found on



Video tutorial: Installing Cacti on CentOS 5.7

Hi everyone. In this video tutorial I will show you how to install Cacti (Network graphing solution) on CentOS 5.7.



Installing Zimbra on CentOS 6

Hi everyone. In this video tutorial I will show you how to install VMware Zimbra (open source edition) on a CentOS 6.2 machine.




Step by step guide:

1. Install CentOS 6.2 minimal
2. Stop Postfix by running ‘service postfix stop’ and disable it at boot time ‘chkconfig postfix off’
3. Install a few required packages ‘yum install nc perl sysstat libstdc++.i686 wget nano’
4. Use any text editor to comment ‘Defaults requiretty’ out in sudoers. You can find the file in /etc/sudoers or by typing visudo.
5. Download the lastest version at
6. Extract using ‘tar xvf zcs.x.x.x’
7. Install by using ‘./ –platform-override’.
8. Follow the steps in the setup guide.


Don´t forget to edit the firewall rules & edit the /etc/hosts file!!


Please rate/comment/subscribe to my YouTube channel: Let me know what you think.