I installed mumble;
It turned out to be just as easy as the sourceforge install instructions implied.
The problems I was having were due to not having enough RAM to initiate the dbus stuff.
Installing on Ubuntu;
http://mumble.sourceforge.net/Installing_Mumble#Ubuntu
First you need to add the repo's to the source list;
Add these 2 lines to the bottom of the source list;
Code:
deb http://ppa.launchpad.net/slicer/ubuntu hardy main
deb-src http://ppa.launchpad.net/slicer/ubuntu hardy main
Update your repo's;
You will get a warning that the PUBLIC_KEY is not available for the repo you just added so fix this with these 2 lines;
Code:
gpg --keyserver subkeys.pgp.net --recv DE62F7B1165B2836
Code:
gpg --export --armor DE62F7B1165B2836 | apt-key add -
apt-get update again
Now for the installer;
THere is really not a lot of use for the server if you do not have the server-web interface because nobody can register their accounts so probably best to install both packages;
Code:
sudo apt-get install mumble-server mumble-server-web -y
You will need to reconfigure the mumble server, add a username and password for admin and basically enanble it as a service, this is all done via 1 command and a few subsequent onscreen prompts;
Code:
sudo dpkg-reconfigure mumble-server
Lets check it is working;
This is your server status page, list of participants and rooms;
http://yourIP-or-Domain/mumble/
This is the registration page;
http://yourIP-or-Domain/mumble/register.cgi
Clearly these pages will need customising by yourself but WOWAERS, it works.
You will also need to configure the server a little bit,
Server 1 is not the best name, welcome to the mumble server, etc etc and probably go for a database using mySQL also and all this can be done from the config file 'mumble-server.ini';
Code:
vi /etc/mumble-server.ini
The default config looks something like this;
Code:
# To enable username registration through
# http://webserver/cgi-bin/mumble-server/register.cgi
# then this value must be set to a valid email
# and you must be running a SMTP server on this
# machine.
emailfrom = mumble@4allofus.com
# How many login attempts do we tolerate from one IP
# inside a given timeframe before we ban the connection?
# Note that this is global (shared between all virtual servers), and that
# it counts both successfull and unsuccessfull connection attempts.
# Set either Attempts or Timeframe to 0 to disable.
#autobanAttempts = 10
#autobanTimeframe = 120
#autobanTime = 300
# The below will be used as defaults for new configured servers.
# If you're just running one server (the default), it's easier to
# configure it here than through DBus/SQL.
#
# Welcome message sent to users
welcometext="<br />Welcome to this server running <b>Murmur</b>.<br />Enjoy your stay!<br />"
# Port to bind TCP and UDP sockets to
port=64738
# Specific IP or hostname to bind to.
# If this is left blank (default), murmur will bind to all available addresses.
#host=
# Password to join server
serverpassword=
# Maximum bandwidth (in bytes per second) clients are allowed
# send speech at.
bandwidth=10000
# Maximum number of concurrent clients allowed.
users=100
# Murmur retains the per-server log entries in an internal database which
# allows it to be accessed over D-Bus.
# How many days should such entries be kept?
#logdays=31
# To enable public registration, the serverpassword must be blank, and this
# must all be filled out.
# The password here is used to create a registry for the server name; subsequent
# updates will need the same password. Don't loose your password.
# The URL is your own website, and only set the registerHostname for static IP
# addresses.
#
#registerName=Mumble Server
#registerPassword=secret
#registerUrl=http://mumble.sourceforge.net/
#registerHostname=
# If you have a proper SSL certificate, you can provide the filenames here.
#sslCert=
#sslKey=
# Path to database. If blank, will search for
# murmur.sqlite in default locations.
database=/var/lib/mumble-server/mumble-server.sqlite
# PIDfile to use
# Leave blank to place pidfile in current directory
pidfile=/var/run/mumble-server/mumble-server.pid
# Murmur defaults to not using D-Bus. If you wish to use dbus, please
# specify so here.
#
dbus=system
# If you want to use ZeroC ICE to communicate with Murmur, you need
# to specify the endpoint to use. Since there is no authentication
# with ICE, you should only use it if you trust all the users who have
# shell access to your machine.
# Please see the ICE documentation on how to specify endpoints.
ice="tcp -h 127.0.0.1 -p 6502"
# Murmur default to logging to murmur.log. If you leave this blank,
# murmur will log to the console (linux) or through message boxes (win32).
logfile=/var/log/mumble-server/mumble-server.log
Enjoy.
Edit:
To use MySql database from any database first edit this line of the config file;
from;
Code:
database=/var/lib/mumble-server/mumble-server.sqlite
to;
Code:
database=name_of_my_database
obviously changing this to the database name
and then add the following directly below;
Code:
dbDriver=QMYSQL
dbUsername=your_database_username
dbPassword=your_database_password
dbHost=localhost (or the IP of your MySql Server)
dbPort=3306 (or port number if not using the default 3306)
dbPrefix=mumble_ (or a different prefix, whatever rocks your boat bro)