Mumble is a popular method of voice over IP communication primarily utilized for online gaming. Installing it can seem a little daunting, so we’ve written out a step by step guide to getting it installed and running on your CentOS 7 VPS. Mumble’s server software is called murmur.
You’ll want to do the following steps from the user account you want associated with the software.
First, SSH into your server and run the following commands:
cd /usr/local wget https://github.com/mumble-voip/mumble/releases/download/1.2.10/murmur-static_x86-1.2.10.tar.bz2
You may need to replace the URL with the latest distribution. You can check here to see if you need to replace it. Look at the Static Linux Server distro.
tar -vxjf ./murmur-static_x86-1*.tar.bz2 sudo mkdir /usr/local/murmur sudo cp -r ./murmur-static_x86-1*/* /usr/local/murmur/ sudo cp ./murmur-static_x86-1*/murmur.ini /etc/murmur.ini
Next, you will create the murmur user and group, data directory, and logging directory by running the following commands:
sudo groupadd -r murmur sudo useradd -r -g murmur -m -d /var/lib/murmur -s /sbin/nologin murmur sudo mkdir /var/log/murmur sudo chown murmur:murmur /var/log/murmur sudo chmod 0770 /var/log/murmur
Next you should open the system configuration file, which will be installed in the following location: /etc/murmur/murmur.ini
Here you can set the port used. By default, it is 64738.
Next you need to open your firewall to allow the port. Do so by opening the file found at /etc/csf/csf.conf
Make sure the following lines have the port number in it; if left as default, it is 64738.
TCP_IN = “64738”
TCP_OUT = “64738”
UDP_IN = “64738”
UDP_OUT = “64738”
Now you should run the following command to restart the firewall.
Next, you will need to create a systemd unit file so that the murmur service can be managed by the operating system. Using your text editor of choice, create the file ‘/etc/systemd/system/murmur.service’ (Requires root). Copy and paste the following into the file:
[Unit] Description=Mumble Server (Murmur) Requires=network-online.target After=network-online.target mysqld.service time-sync.target [Service] User=murmur Type=forking PIDFile=/var/run/murmur/murmur.pid ExecStart=/usr/local/murmur/murmur.x86 -ini /etc/murmur.ini [Install] WantedBy=multi-user.target
On modern systems /var/run is discarded after reboot. To regenerate the pid directory for murmur, create the configuration file ‘/etc/tmpfiles.d/murmur.conf’ as root. Copy and paste the following into the file:
d /var/run/murmur 775 murmur murmur
Next you will have to update your system so that it is ready to start the murmur service. Do so with the following commands:
sudo systemd-tmpfiles --create /etc/tmpfiles.d/ sudo systemctl daemon-reload
You can start murmur immediately with the following command, though it will turn off the next time the server is rebooted:
sudo systemctl start murmur.service
To tell the system to autostart the murmur service (this will NOT immediately start murmur, instead it will start on the next reboot):
sudo systemctl enable murmur.service
This guide was written following the official guide here.