Difference between revisions of "Ventrilo"

From SME Server
Jump to navigationJump to search
(New page: In server-manager, create a user named 'ventrilo' Now, lets get Ventrilo onto your SMEServer 7 mkdir -p /opt/ventrilo cd /opt/ventrilo wget <nowiki>http://magicwilly.webhostingpal.com...)
 
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
In server-manager, create a user named 'ventrilo'
+
==Ventrilo==
 +
 
 +
Ventrilo is the most used Voice over IP (VoIP) group communications software for gamers.
 +
 
  
Now, lets get Ventrilo onto your SMEServer 7
+
== Installation HowTo... ==
  
  mkdir -p /opt/ventrilo
+
Now, lets get Ventrilo onto your SMEServer 7.x
  cd /opt/ventrilo
+
<br>
 +
In server-manager, create a user named 'ventrilo'
 +
<br>
 +
  <code>mkdir -p /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>
  tar -xzf ventrilo_srv-2.3.1-Linux-i386.tar.gz
+
</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>
  
 
We're going to use the default ini file to start with.
 
We're going to use the default ini file to start with.
Line 22: Line 37:
 
  #!/bin/sh
 
  #!/bin/sh
 
  exec 2>&1
 
  exec 2>&1
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq
 
/etc/rc.d/rc7.d/S36masq restart
 
 
  exec sudo -u ventrilo /opt/ventrilo/ventrilo_srv -f/opt/ventrilo/3784
 
  exec sudo -u ventrilo /opt/ventrilo/ventrilo_srv -f/opt/ventrilo/3784
  
Line 62: 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
 
  
 
----
 
----
[[Category:Howto]]
+
<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