Difference between revisions of "Ventrilo"

From SME Server
Jump to navigationJump to search
m (removed bug note as bug appears fixed (http://bugs.contribs.org/show_bug.cgi?id=1977). Also removed bug workaround from run script.)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
==Ventrilo==
 
==Ventrilo==
  
 +
Ventrilo is the most used Voice over IP (VoIP) group communications software for gamers.
  
In server-manager, create a user named 'ventrilo'
 
  
Now, lets get Ventrilo onto your SMEServer 7
+
== Installation HowTo... ==
  
 +
Now, lets get Ventrilo onto your SMEServer 7.x
 +
<br>
 +
In server-manager, create a user named 'ventrilo'
 +
<br>
 
  <code>mkdir -p /opt/ventrilo
 
  <code>mkdir -p /opt/ventrilo
  cd /opt/ventrilo
+
  cd /opt/ventrilo</code>
 +
<code>
 
  wget <nowiki>http://magicwilly.webhostingpal.com/SME7%20How%20To%20Files/Ventrilo/ventrilo_srv-2.3.1-Linux-i386.tar.gz</nowiki>
 
  wget <nowiki>http://magicwilly.webhostingpal.com/SME7%20How%20To%20Files/Ventrilo/ventrilo_srv-2.3.1-Linux-i386.tar.gz</nowiki>
 +
</code>
 +
'''Note:''' Site seems closed but the file is available from many places on the web.<br>
 +
Google is your friend:
 +
http://www.google.de/search?q=ventrilo_srv-2.3.1-Linux-i386.tar.gz  <br>
 +
You could always try the official site:
 +
http://www.ventrilo.com/download.php
 +
<code>
 
  tar -xzf ventrilo_srv-2.3.1-Linux-i386.tar.gz</code>
 
  tar -xzf ventrilo_srv-2.3.1-Linux-i386.tar.gz</code>
  
Line 63: Line 75:
 
Make SMEserver aware of what you have done
 
Make SMEserver aware of what you have done
  
/sbin/e-smith/signal-event console-save
+
  /sbin/e-smith/signal-event post-upgrade; /sbin/e-smith/signal-event reboot
  /sbin/e-smith/signal-event post-upgrade
 
  /sbin/e-smith/signal-event reboot
 
  
 
----
 
----
 
<noinclude>[[Category:Howto]]</noinclude>
 
<noinclude>[[Category:Howto]]</noinclude>

Latest revision as of 11:59, 30 November 2008

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