How to Set up BigBrotherBot B3 on Debian Linux
Posted by Freelander | Filed under Howto Articles
There’s no doubt that BigBrotherBot (B3) is the best server administration tool for online FPS games. Currently supported games are Call of Duty series (except MW2 due to the lack of dedicated servers), Urban terror, World of Padman, Enemy Territory, Smokin’ Guns and Battle Field Bad Company 2. You can also find many useful B3 plugins such as Poweradmin, Echelon, XLRstats etc. If you don’t know yet what B3 is about, I recommend checking B3 website at www.bigbortherbot.com
In this howto, I will try to cover a step by step “core installation” of BigBrotherBot B3 on a Debian Linux. For alternative installation methods you can check B3 documentation.
I have written and tested this howto with a fresh install of Debian Lenny on WMware.
Assumptions
This howto assumes that you own a dedicated server which you have root access via ssh. The game, MySQL database and B3 run on the same box. (For other installation scenarios you can refer to B3 forums)
Prerequisities
- A game server that runs on a dedicated Debian Linux box with static IP.
- Root access to the game server via ssh.
- Python 2.5+
- MySQL-python
- MySQL server.
- phpMyAdmin and basic knowledge about usage of phpMyAdmin. (phpMyAdmin is not a dependency for B3 to run, we just need it to ease things for us)
Initially, install all prerequisities if not yet installed.
If you don’t have MySQL and phpMyAdmin installed, don’t worry. You can follow my tutorial here to install a LAMP server which gives you the complete package with Apache, MySQL, PHP plus phpMyAdmin!
I will install B3 in my home folder and use the username “freelander” for this article. So first thing to do is to connect to your server via a ssh client (i.e. putty) and to move to your home folder if you’re not already there.
$ cd /home/freelander
Download B3
Download the latest B3 source. When download is complete extract it.
$ wget http://github.com/BigBrotherBot/big-brother-bot/tarball/v1.3.2
$ tar -zxvf BigBrotherBot*
Now we should have a folder named “BigBrotherBot-big-brother-bot-v1.3.0-0-g0dc3589″ or something like that with all necessary B3 files in it. To make things easier for navigation, I’ll rename this long folder name to b3.
$ mv BigBrotherBot-big-brother-bot-5bd503b b3
Create a MySQL Database
Now we are going to create a MySQL database that B3 needs to function. We’ll use phpMyAdmin for this task. Start your browser and point it to your phpMyAdmin page. While you are on the home page of phpMyAdmin, enter a name for your new database in the “Create new database” textbox and hit “Create” button. I’ll use the database name “cod4db” for this tutorial.

Create a Database User
After our database is ready, we need to create a user (unless we want to use our root password) that has full access on our “cod4db” database.



ShareThis



August 7th, 2011 at 2:08 PM
Do you have a fix for the restart problem ? When you type !restart it messed up… This only happens on debian based OSes… In centos it works perfect…
August 8th, 2011 at 9:55 AM
Please use http://forum.bigbrotherbot.net for support, thanks!
October 26th, 2011 at 3:35 AM
Can you set b3 For My Server?
November 1st, 2011 at 12:32 PM
Please check http://forums.bigbrotherbot.net where you can ask for help and also can find a list of 3rd party B3 providers you can buy the service from. It’s faster and better to get support there, thanks!