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...) |
|||
Line 3: | Line 3: | ||
Now, lets get Ventrilo onto your SMEServer 7 | Now, lets get Ventrilo onto your SMEServer 7 | ||
− | mkdir -p /opt/ventrilo | + | <code>mkdir -p /opt/ventrilo |
cd /opt/ventrilo | cd /opt/ventrilo | ||
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 | + | 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. |
Revision as of 10:09, 9 July 2007
In server-manager, create a user named 'ventrilo'
Now, lets get Ventrilo onto your SMEServer 7
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
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 /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
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 console-save /sbin/e-smith/signal-event post-upgrade /sbin/e-smith/signal-event reboot