SME7Howtos

How-To install Ventrilo on SME 7.0 (and start it on boot up)


Author : william_syd
Tested on SME Version:
Updated :
License :



This bit is in testing (running as user ventrilo)

* db accounts set ventrilo user PasswordSet no ForwardAddress admin
* signal-event user-create ventrilo
* cd /home/e-smith/files/users/ventrilo/home
* mkdir ventrilo
* cd 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
* wget http://magicwilly.webhostingpal.com/SME7%20How%20To%20Files/Ventrilo/ventrilo
* chmod 755 ventrilo
* cp ventrilo /etc/rc.d/init.d/ventrilo
* ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S99ventrilo
* /sbin/e-smith/db configuration set ventrilo service status enabled
* chown -R ventrilo /home/e-smith/files/users/ventrilo/home/ventrilo
* db accounts setprop ventrilo Shell /bin/bash
* chsh -s /bin/bash ventrilo
* /sbin/e-smith/signal-event console-save
* /sbin/e-smith/signal-event post-upgrade

The following should now start the server...

* /etc/rc7.d/S99ventrilo start




Plugin RawHtml disabled. Raw HTML is only allowed in locked pages.
<?plugin RawHtml
<font style='color: red'><h3>
** Warning ** Ventrilo will be running as user root
</font></h3>?>



Starting Ventrilo at boot up

pico /etc/rc.d/init.d/ventrilo

#!/bin/sh
#
case $1 in
*start)
echo "Starting Ventrilo Server."
cd /opt/ventrilo/
./ventrilo_srv -d
echo "Ventrilo Server Started"
;;
*stop)
echo "Shutting Down Ventrilo Server."
cd /opt/ventrilo/
kill `cat ventrilo_srv.pid`
echo "Ventrilo Server Is Now Down"
;;
*restart)
echo "Restarting Ventrilo Server..."
cd /opt/ventrilo/
kill `cat ventrilo_srv.pid`
./ventrilo_srv -d
echo "Ventrilo Server Restarted"
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit 0


Control-x, yes, enter

chmod u+x /etc/rc.d/init.d/ventrilo

ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S99ventrilo

/sbin/e-smith/db configuration set ventrilo service status enabled

/sbin/e-smith/signal-event console-save
/sbin/e-smith/signal-event post-upgrade

/sbin/e-smith/signal-event reboot

mkdir /var/log/ventrilo
ln -s /opt/ventrilo/ventrilo_srv.log /var/log/ventrilo/ventrilo_srv.log


References:

Information gathered from this forum thread http://forums.contribs.org/viewtopic.php?t=30515
Script based on sample at this forum thread http://www.ventrilo.com/forums/archive/index.php/t-11438.html



Back AllPages SME7Howtos




Please Note: Comments should NOT contain request for help. Please ask for help in the forum/s listed in the references section.

Headline:


See Help/GoodStyle tips for editing.

Help:TextFormattingRules
Emphasis: _ for italics, * for bold, _* for both, = for fixed width.
Lists: * for bullet lists, # for numbered lists, Term:<new-line> definition for definition lists.
Preformatted text: Enclose text in <pre></pre> or <verbatim></verbatim>.
Indented text: Indent the paragraph with whitespaces.
References: JoinCapitalizedWords or use square brackets for a [page link] or URL [http://cool.wiki.int/].
Preventing linking: Prefix with "~": ~DoNotHyperlink, name links like [text | URL or pagename].
Misc: "!", "!!", "!!!" make headings, "%%%" or "<br>" makes a linebreak, "----" makes a horizontal rule.
Allowed HTML tags: b big i small tt em strong abbr acronym cite code dfn kbd samp var sup sub

One page links to How-To install Ventrilo on SME 7.0 (and start it on boot up):