TA Recruitment
Original Post
Running a Toribash server on FreeBSD - how to
As we all know, the current Toribash server only runs on Linux. However, a lot of servers, including home-servers are run on FreeBSD thanks to it's easy to use ports system and rock solid stability. It is actually incredibly easy to install Toribash on FreeBSD and I will show you how.

First, you need to login to your FreeBSD server as root. This can be achieved by logging into the console directly as root, or by logging in remotely as a user in the wheel group and using 'su root' to gain root access.

This part is taken from the FreeBSD handbook:
Linux binary compatibility is not turned on by default. The easiest way to enable this functionality is to load the linux KLD object (“Kernel LoaDable object”). You can load this module by typing the following as root:

# kldload linux

If you would like Linux compatibility to always be enabled, then you should add the following line to /etc/rc.conf:


... snip ...

This is by far the easiest method to use when installing the runtime libraries. It is just like installing any other port from the Ports Collection. Simply do the following:

# cd /usr/ports/emulators/linux_base-fc4
# make install distclean
There, that's the hard bit out of the way.

Next, download the server binaries: http://www.toribash.com/toribashd-1.95.tgz

You can do this in FreeBSD using wget (if you have it installed), or fetch:
fetch http://www.toribash.com/toribashd-1.95.tgz
Extract the archive:
$ gunzip toribashd-1.95.tgz
$ tar -xf toribashd-1.95.tar
And now lets go into the extracted directory and start a server:
$ cd toribash-server-1.95
$ ./tbd
That is essentially it. If you type ./tbd --help you will see all of the other options available including server port, frames per move and match, as well as the -D option to deamonise the server. These help texts are also available in the README file contained in the install folder.

If you've got questions, feel free to reply

clarkee / clark0r
Re: Running a Toribash server on FreeBSD - how to
very nice info, thanks. i took the liberty of moving it to the appropriate forum ;)
Re: Running a Toribash server on FreeBSD - how to
This still works with the current 1.97 release, tested on default port.