To install murmur, a mumble server, on centOS 7. This is almost more of a log of what I did.
See Mumble Wiki
- #grouypadd -r murmur
- wget http://downloads.sourceforge.net/project/mumble/Mumble/1.2.10/murmur-static_x86-1.2.10.tar.bz2?r=&ts=1439608510&use_mirror=internode
- tar -vxjf ./murmur-static_x86-1.2.10.tar.bz2\?r=
- #mkdir /usr/local/murmur
- cp -r ./murmur-static_x86-1.2.10/* /usr/local/murmur/
- ./murmur-static_x86-1.2.10/murmur.ini /etc/murmur.ini
- Add a user:
- #useradd -r -g murmur -m -d /var/lib/murmur -s /sbin/noligin mumb
- #mkdir /var/log/murmur
- chown mumb:murmur /var/log/murmur
- chmod 0770 /var/log/murmur
- Setup as a background process.
- Ceate the file '/etc/systemd/system/murmur.service' (Requires root). Copy and paste the following:
[Unit]
Description=Mumble Server (Murmur)
Requires=network-online.target
After=network-online.target mysqld.service time-sync.target
[Service]
User=mumb
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 and copy and paste:
d /var/run/murmur 775 mumb murmur - Firewall:
Setup firewalld so that it allows the service to listen to TCP/UDP. If you adjusted murmur.ini so that it listens to a non-default port, then you will need to change this step to reflect your modifications. As root, create the configuration file '/etc/firewalld/services/murmur.xml' and copy and paste:
<?xml version="1.0" encoding="utf-8"?>
<service>
<short>Murmur</short>
<description>Mumble Server (Murmur)</description>
<port protocol="tcp" port="64738" /><!-- Reminder: Update /etc/murmur.ini so that it uses the same ports -->
<port protocol="udp" port="64738" />
</service>
- Then add the firewall rule to the default zone and then reload:
- #firewall-cmd --permanent --add-service=murmur
- #firewall-cmd --reload
- Finishing up:
- #systemd-tmpfiles --create /etc/tmpfiles.d/
- #systemctl daemon-reload
- Start this reboot:
#systemctl start murmur.service