Ventrilo

From SME Server
Jump to: navigation, search

Ventrilo

Ventrilo is the most used Voice over IP (VoIP) group communications software for gamers.


Installation HowTo...

Now, lets get Ventrilo onto your SMEServer 7.x
In server-manager, create a user named 'ventrilo'

mkdir -p /opt/ventrilo
cd /opt/ventrilo

wget http://magicwilly.webhostingpal.com/SME7%20How%20To%20Files/Ventrilo/ventrilo_srv-2.3.1-Linux-i386.tar.gz

Note: Site seems closed but the file is available from many places on the web.
Google is your friend: http://www.google.de/search?q=ventrilo_srv-2.3.1-Linux-i386.tar.gz
You could always try the official site: http://www.ventrilo.com/download.php

tar -xzf ventrilo_srv-2.3.1-Linux-i386.tar.gz

We're going to use the default ini file to start with.

cp ventrilo_srv.ini 3784.ini
rm ventrilo_srv.ini

Create directories

mkdir -p /var/service/ventrilo
mkdir -p /var/service/ventrilo/log

In /var/service/ventrilo create a file called 'run' containing..

#!/bin/sh
exec 2>&1
exec sudo -u ventrilo /opt/ventrilo/ventrilo_srv -f/opt/ventrilo/3784

In /var/service/ventrilo/log create a file called 'run' containing..

#!/bin/sh
exec                                    \
    /usr/local/bin/setuidgid smelog     \
    /usr/local/bin/multilog t s5000000  \
    /var/log/ventrilo

We need a empty down file

touch /var/service/ventrilo/down

Also create a directory for the log files

mkdir -p /var/log/ventrilo

Create a db entry to allow Ventrilo to run

db configuration set ventrilo service status enabled TCPPort 3784 UDPPort 3784 access public

Create the following symbolic links

ln -s /var/service/ventrilo /service/ventrilo
ln -s /etc/rc.d/init.d/daemontools /etc/rc.d/init.d/supervise/ventrilo
ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S98ventrilo
ln -s /opt/ventrilo/3784.log /var/log/ventrilo/users

Set ownership and permissions

chmod 755 /var/service/ventrilo/run
chmod 755 /var/service/ventrilo/log/run
chown smelog:smelog /var/log/ventrilo
chown -R ventrilo:ventrilo /opt/ventrilo

Make SMEserver aware of what you have done

/sbin/e-smith/signal-event post-upgrade;  /sbin/e-smith/signal-event reboot