Running ventrillo in freebsd jail

From ProjectWiki
Revision as of 02:44, 23 July 2011 by 75.101.165.10 (Talk)
Jump to: navigation, search

How to run Ventrollo in a FreeBSD jail on single IP..

Contents

I thought finidng this would be so arduous but it's a breeze!

How to

  • create a user account to run the daemon using the 'adduser' command. For this example we will assume the username is ventuser
adduser
  • transfer the tar.gz file to your server and place into the newly created user's home dir
  • cd to the newuser's dir
cd /home/ventuser
  • unpack the archive and change into the newly ventsrv dir
tar -zxf ventrilo_srv-3.0.3-Linux-i386.tar.gz
cd ventsrv

this will create a directory called: ventsrv

  • Add libs required for the jail (note the libexec portions may not be necessary)
mkdir lib
cp -R /usr/compat/linux/lib/* lib/
mkdir libexec
cp /libexec/ld-elf.so.1 libexec/
  • edit the ventrillo_srv.ini file with yer favorite text editor. This howto will not go into the details of this, they are well documented elsewhere

Okai, now we must create the script to launch Ventrillo.

  • Open a text editor on the server and copy/paste the text from the startup script below. Save this file as ventstart.sh or something. The script may be placed anywhere, but some common sense locations include /usr/local/etc/rc.d/ if you desire it to start automagically at boot. ^_^
  • edit ventstart.sh or whatever you called it for whatever username and ip you decided on.
  • Make the script executable
chmod 755 ventstart.sh

YAY! \^_^/ Unless you screwed up or I forgot something everything should be ready to go... To start the daemon manually type:

ventstart.sh

The server should start with no error messages. To verify type:

sockstat | grep vent

which should produce output something like

ventuser      ventrilo_s 17955 4  tcp4   204.16.1.55:3784    *:*
ventuser      ventrilo_s 17955 5  udp4   204.16.1.55:3784    *:*

Never seen a bteetr post! ICOCBW

Personal tools
irssi scripts
eggdrop scripts