Running ventrillo in freebsd jail

From ProjectWiki
(Difference between revisions)
Jump to: navigation, search
(What is it?)
(How to)
 
Line 4: Line 4:
 
I thought finidng this would be so arduous but it's a breeze!
 
I thought finidng this would be so arduous but it's a breeze!
  
==How to==
+
Stay inofrtmiave, San Diego, yeah boy!
* create a user account to run the daemon using the 'adduser' command. For this example we will assume the username is ventuser
+
<source lang="bash">
+
adduser
+
</source>
+
* transfer the tar.gz file to your server and place into the newly created user's home dir
+
* cd to the newuser's dir
+
<source lang="bash">
+
cd /home/ventuser
+
</source>
+
* unpack the archive and change into the newly ventsrv dir
+
<source lang="bash">
+
tar -zxf ventrilo_srv-3.0.3-Linux-i386.tar.gz
+
cd ventsrv
+
</source>
+
this will create a directory called: ventsrv
+
* Add libs required for the jail (note the libexec portions may not be necessary)
+
<source lang="bash">
+
mkdir lib
+
cp -R /usr/compat/linux/lib/* lib/
+
mkdir libexec
+
cp /libexec/ld-elf.so.1 libexec/
+
</source>
+
* 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
+
<source lang="bash">
+
chmod 755 ventstart.sh
+
</source>
+
 
+
YAY! \^_^/ Unless you screwed up or I forgot something everything should be ready to go... To start the daemon manually type:
+
<source lang="bash">
+
ventstart.sh
+
</source>
+
 
+
The server should start with no error messages. To verify type:
+
<source lang="bash">
+
sockstat | grep vent
+
</source>
+
which should produce output something like
+
<pre>
+
ventuser      ventrilo_s 17955 4  tcp4  204.16.1.55:3784    *:*
+
ventuser      ventrilo_s 17955 5  udp4  204.16.1.55:3784    *:*
+
</pre>
+
 
+
Never seen a bteetr post! ICOCBW
+

Latest revision as of 18:08, 23 July 2011

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


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

Stay inofrtmiave, San Diego, yeah boy!

Personal tools
irssi scripts
eggdrop scripts