How to Install & Setup a Mumble Server {Murmur} on Linux CentOS 7

Introduction

Mumble is an open source, low-latency, high quality voice chat software primarily intended for use while gaming. It is a great alternative to other voice chat applications such as Skype and TeamSpeak. In this tutorial, we will show you how to install and setup a Mumble server (Murmur) on Linux CentOS 7. We will cover the installation of the Mumble server, setting up user accounts, and configuring the server for optimal performance. By the end of this tutorial, you will have a fully functional Mumble server up and running. Let’s get started!

How to Install & Setup a Mumble Server {Murmur} on Linux CentOS 7

1. Install the EPEL Repository

The first step is to install the EPEL repository on your CentOS 7 server. This repository contains additional packages that are not included in the default CentOS repositories. To install the EPEL repository, run the following command:

sudo yum install epel-release

2. Install Mumble Server

Once the EPEL repository is installed, you can install the Mumble server (Murmur) package with the following command:

sudo yum install murmur

3. Configure Mumble Server

Once the installation is complete, you can configure the Mumble server by editing the /etc/murmur.ini file.

4. Start and Enable Mumble Server

Once you have configured the Mumble server, you can start the service with the following command:

sudo systemctl start murmur

You can also enable the service to start at boot time with the following command:

sudo systemctl enable murmur

5. Connect to Mumble Server

Now, you can connect to the Mumble server using any Mumble client. You will need to provide the IP address of your server and the default port (64738).

That’s it! You have successfully installed and configured a Mumble server on your CentOS 7 server.
[ad_1]

What is a Mumble Server?

Mumble is an open-source voice over IP (VOIP) application widely used in the gaming community. Mumble consists of a server application (also known as Murmur) and a client application, which is installed for individual use.

Even though it can be used for any VOIP activity, it was primarily designed with gamers in mind so that they could communicate by connecting their clients to the same Mumble server.

Mumble Server Features

Murmur features a low latency service, a simple administration interface, and requires minimal server resources while supporting a wide range of high-quality audio codecs. Furthermore, Mumble and Murmur are BSD licensed and are completely free for commercial hosting.

End-users love it for its low latency, which makes it great for in-game use, as well as for its features, such as positional audio and in-game overlay.

Encryption

The control channel for delivering chat messages and non-time critical information is fully encrypted with TLS using 256-bit AES-SHA, while the voice channel is encrypted with 128-bit OCB-AES.

OS Support

Any platform that can compile Qt 4 supports Murmur. At the time of writing this article, this includes the most popular Linux distros, as well as Windows and MacOS X.

The Mumble end-user client is supported on most if not all popular operating systems, and there are even third-party apps for Android and iOS.

Article on installing mumble server on CentOS.

Prerequisites

  • CentOS 7 server with at least 512MB of RAM
  • bzip2
  • Firewall port 64738 open for communication with Mumble clients
  • SELinux disabled (if preventing Murmur from functioning properly)

Install Mumble Server

Download the Mumble Server Installation File

Mumble is not included in the official CentOS repository, so you will need to download the installation file from GitHub or the official Mumble server website.

To download Mumble using a GUI, browse to the Mumble server website and select to download the install file for Static Linux Server.

Download static Linux Mumble Server install file.

To download Mumble using the terminal, use the wget command:

wget https://github.com/mumble-voip/mumble/releases/download/1.30/murmur-static_x86-1.3.0.tar.bz2 

Extract Mumble Tarball

Now that you have downloaded the latest stable release of Murmur, you will need to extract the files from the tarball. First, you need to move into the Downloads folder. To do so, type:

cd Downloads

To extract the file, run the following command:

tar -vxjf ./murmur-static_x86-1.3.0.tar.bz2

Extracting the Murmur tarball should create a murmur-static_x86-[murmur version] directory.

Extracting the murmur tarball in the terminal.

If, on the other hand, you receive an error message as shown below, you will need to install the bzip2 package.

tar (child): bzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

To install the bzip2 package, run the following command:

sudo yum install bzip2

Once bzip2 is installed, re-run the command to extract the Murmur tarball. If prompted, type Y and press Enter to proceed.

Create a /usr/local/murmur Directory

This is where you will copy the extracted files from the tarball. To create the directory:

sudo mkdir /usr/local/murmur
sudo cp ./murmur-static_x86-1.2.19/* /usr/local/murmur/

The next step will copy the configuration file to etc/murmur.ini.

sudo cp ./murmur-static_x86-1.2.19/murmur.ini /etc/murmur.ini

Now, we’ll work on ownership and permission rules.

Create a Mumble Server User and Group, Logging and Data Directory

To create a User and Group, run the following commands:

sudo groupadd -r murmur
sudo useradd -r -g murmur -m -d /var/lib/murmur -s /sbin/nologin murmur

To create a Data and Logging directory, run the following commands:

sudo mkdir /var/log/murmur
sudo chown murmur:murmur /var/log/murmur

For the protection of logs, modify the permissions assigned to the log directory:

sudo chmod 0770 /var/log/murmur

It is highly recommended to rotate logs so that Murmur logs can’t fill up /var/log. As root, create a /etc/logrotate.d/murmur configuration file and copy-paste the following:

/var/log/murmur/*log {
su murmur murmur
dateext
rotate 4
missingok
notifempty
sharedscripts
delaycompress
postrotate
/bin/systemctl reload murmur.service > /dev/null 2>/dev/null || true
endscript
}

Configure and Customize Mumble Server

All customizations are performed in the /etc/murmur.ini file. Before customizing anything, make sure the settings below are configured correctly in the /etc/murmur.ini file.

database=/var/lib/murmur/murmur.sqlite
logfile=/var/log/murmur/murmur.log
pidfile=/var/run/murmur/murmur.pid
# Reminder: When changing the port that murmur will listen to you will also need to update the firewall.
# Update the firewall by editing /etc/firewalld/services/murmur.xml
# Then run "sudo firewall-cmd --reload"
port=64738
# Comment out the following setting since the service will already be executing as the correct user:
# uname=murmur

To change the welcome message, modify the text following the welcome text string. Basic HTML markup is supported.

To change the user limit, find and modify the users=100 string. For example, if you want to reduce the number of slots to 50, the string should read users=50. If you want to limit per-user incoming bandwidth, find and modify the bandwidth parameter.

For added security, uncomment the autoban lines.

Create a Mumble Service

Create a system unit file in order to manage the Mumble server with systemd. Create a /etc/systemd/system/murmur.service file under root access or with sudo. Once created, copy and paste the following into the file:

[Unit]
Description=Mumble Server (Murmur)
Requires=network-online.target
After=network-online.target mariadb.service time-sync.target

[Service]
User=murmur
Type=forking
ExecStart=/usr/local/murmur/murmur.x86 -ini /etc/murmur.ini
PIDFile=/var/run/murmur/murmur.pid
ExecReload=/bin/kill -s HUP $MAINPID

[Install]
WantedBy=multi-user.target

Modern systems discard /var/run after reboot. Create a /etc/tmpfiles.d/murmur.conf configuration file to restart the pid directory for Murmur. As root, copy-paste the following:

d /var/run/murmur 775 murmur murmur

Firewall Rules

By default, a server’s firewall does not allow the service to listen to TCP/UDP. Modify the instructions below accordingly if you have customized murmur.ini to listen to a non-default port.

Murmur
Mumble Server (Murmur)
<!– Reminder: Update /etc/murmur.ini so that it uses the same ports –>

Add the firewall rule and then reload:

sudo firewall-cmd --permanent --add-service=murmur
sudo firewall-cmd –reload

Disable SELinux

Some versions of CentOS will have issues running Murmur without disabling SELinux. According to Mumble, SELinux will not prevent Murmur from functioning as of CentOS 7.2.

Initially, run the Mumble server with SELinux in enforcing mode. If SELinux is preventing Mumble from working correctly, the easiest solution is to disable it. To temporarily disable SELinux, run the following command:

sudo setenforce 0

SELinux will restart upon reboot.

To permanently disable SELinux, edit the /etc/sysconfig/selinux file and modify the SELINUX line. It should read the following:

SELINUX=disabled

Reboot the server after disabling SELinux.

Start the Mumble Server

The following command will temporarily start the Mumble server and keep it running until the next reboot:

sudo systemctl start murmur.service

To stop the Mumble Server service, run the following command:

sudo systemctl stop murmur.service

To instruct CentOS to automatically start the service upon next reboot, run the following command:

sudo systemctl enable murmur.service

If you notice a “zombie process” when starting Murmur, you must install the redhat-lsb-core package.

Note: A zombie process is a leftover process that has not entirely ended. Programs designed for Linux are not meant to do that. Even though zombie processes take the slightest amount of resources, Linux distributions have a finite number of process IDs, so it is advisable to resolve this issue.

Conclusion

By following the steps outlined above, you have learned how to set up a mumble server and how to install Murmur on CentOS 7. Your users can use the domain name or IP address of the server and the default port (64738) to connect to the server.

[ad_2]

How to Install & Setup a Mumble Server (Murmur) on Linux CentOS 7

Mumble is an open source, low-latency, high quality voice chat software primarily intended for use while gaming. It is a great alternative to popular voice chat programs like TeamSpeak and Ventrilo. In this tutorial, we will show you how to install and setup a Mumble server (Murmur) on Linux CentOS 7.

Prerequisites

  • A server running CentOS 7.
  • A root user access or normal user with sudo privileges.

Step 1: Install Mumble Server

First, you will need to install the Mumble server package on your CentOS 7 server. You can do this by running the following command:

sudo yum install mumble-server

Once the installation is complete, you can start the Mumble server by running the following command:

sudo systemctl start mumble-server

You can also enable the Mumble server to start automatically on boot by running the following command:

sudo systemctl enable mumble-server

Step 2: Configure Mumble Server

Once the Mumble server is installed and running, you will need to configure it. The configuration file for the Mumble server is located at /etc/mumble-server.ini. You can edit this file using your favorite text editor:

sudo nano /etc/mumble-server.ini

In this file, you can configure various settings such as the server name, port, maximum users, and more. Once you have made the necessary changes, save and close the file.

After making the changes, you will need to restart the Mumble server for the changes to take effect. You can do this by running the following command:

sudo systemctl restart mumble-server

Step 3: Connect to Mumble Server

Now that the Mumble server is installed and configured, you can connect to it using a Mumble client. You can download the Mumble client from here. Once you have installed the client, you can connect to your Mumble server by entering the server address, port, and password.

That’s it! You have successfully installed and setup a Mumble server on your CentOS 7 server. You can now start using it to communicate with your friends and colleagues.

Jaspreet Singh Ghuman

Jaspreet Singh Ghuman

Jassweb.com/

Passionate Professional Blogger, Freelancer, WordPress Enthusiast, Digital Marketer, Web Developer, Server Operator, Networking Expert. Empowering online presence with diverse skills.

jassweb logo

Jassweb always keeps its services up-to-date with the latest trends in the market, providing its customers all over the world with high-end and easily extensible internet, intranet, and extranet products.

GSTIN is 03EGRPS4248R1ZD.

Contact
Jassweb, Rai Chak, Punjab, India. 143518
Item added to cart.
0 items - 0.00