Install Ventrilo Server on Ubuntu 12.04

Ventrilo is a VoIP group communications software used by business users, gamers, or anyone needing group communication. A typical setup usually requires a Ventrilo server and some Ventrilo clients connected to it. The client software is available on Windows and the Mac.

Ventrilo server is available on many platforms such as Windows, Mac, Linux, Solaris, FreeBSD and NetBSD. Ventrilo server is available in two versions: (1) the public version which defaults to port 3784 with up to 8 users, (2) and the pro version that is configurable that can run on multiple servers and thousands of users.

This article will show how to install Ventrilo Server on the latest version of Ubuntu Linux, currently version 12.04. Credit goes to Ben Wagner for his article on installing Ventrilo server on Ubuntu 10.10.


First, download the latest Linux version of Ventrilo Server from Ventrilo’s website.

Upload and Unzip

FTP the tar file to the home directory of your web server. Unpack the zipped file.

$ tar -xzf ventrilo_srv-3.0.3-Linux-i386.tar.gz
$ cd ventsrv

Create Ventrilo user

$ sudo useradd ventrilo

Move Binaries

Move the binaries to /usr/bin and make them executable.

$ sudo mv ventsrv/ventrilo_srv /usr/bin/ventrilo_srv
$ sudo mv ventsrv/ventrilo_status /usr/bin/ventrilo_status
$ sudo chmod +x /usr/bin/ventrilo_srv /usr/bin/ventrilo_status

Move config file

$ sudo mkdir /etc/ventrilo
$ sudo mv ventrilo_srv.ini /etc/ventrilo/ventrilo_srv.ini
$ sudo chown -R ventrilo:ventrilo /etc/ventrilo

Create the Start/Stop scripts

Insert the contents of this script into the ventrilo file. Make the file executable. Add the scripts to the boot sequence.

$ sudo nano /etc/init.d/ventrilo
$ sudo chmod 755 /etc/init.d/ventrilo
$ sudo update-rc.d ventrilo defaults

Start Ventrilo

$ sudo /etc/init.d/ventrilo start
* Starting VOIP server ventrilo
8931 (process ID) old priority 0, new priority -5   [ OK ]

Stop Ventrilo

$ sudo /etc/init.d/ventrilo stop
* Stopping VOIP server ventrilo   [ OK ]

Customize Config

Edit the Ventrilo config file.

$ sudo nano /etc/ventrilo/ventrilo_srv.ini

The contents will look similar to this.


Pay attention to VoiceCodec and VoiceFormat. I’m using 3 and 18 respectively, so it’s compatible with the Mac OS clients.

Firewall Rules

The standard default port for Ventrilo server is port 3784. With the public version, you can connect up to 8 users concurrently. If you have a firewall installed such as iptables, you will need to open up port 3784 for both TCP and UDP. Here are the rules you will need to add to /etc/iptables.firewall.rules.

#  Allow Ventrilo
-A INPUT -p tcp --dport 3784 -j ACCEPT
-A INPUT -p udp --dport 3784 -j ACCEPT

Apply the new rules.

$ sudo iptables-restore < /etc/iptables.firewall.rules

Just connect the Ventrilo clients to the server.

That’s it.

The Perfect Server Based On Ubuntu 10.04

There is no such thing as a perfect server, but this particular one is as close as you can get to being perfect. This tutorial will walk you through how to install the Ubuntu 10.04 LTS Server with all the services available typically that you get from ISPs and hosters.

It contains the installation of Apache web server (SSL-capable), Postfix mail server with SMTP-AUTH and TLS, BIND DNS server, Proftpd FTP server, MySQL server, Courier POP3/IMAP, Quota, Firewall, etc. It also installs the free web hosting control panel called ISPConfig2. Here’s the link to the tutorial.

Upgrade Ubuntu Server

I finally decided to upgrade my Ubuntu Server running on an old PC from Ubuntu 8.04 LTS Hardy Heron to the latest release, Ubuntu 9.04 Jaunty Jackalope.

As most of you know, the Ubuntu Server lacks a desktop environment such as Gnome or KDE. The server is managed from the Terminal via a SSH connection.

The following detail the steps necessary in upgrading the Ubuntu Server from one version to the next. Before an upgrade can begin, it’s always a good idea to get the latest updates from the repository.

sudo apt-get update
sudo apt-get upgrade

If you are upgrading from a LTS release to a normal release, from Ubuntu 8.04 to 8.10 for example, you’ll need to edit the release-upgrades file. If you are upgrading from a non-LTS version to a non-LTS version, you can skip this step altogether.

sudo vi /etc/update-manager/release-upgrades



You can now perform the actual upgrade.

sudo apt-get install update-manager-core
sudo do-release-upgrade

Grab yourself a nice cup of coffee, a movie and some popcorn. The upgrade process may take several hours to complete depending on your server hardware and internet connection.