Murmur: Difference between revisions

From Alpine Linux
(Added simple SSL guide for Murmur)
Line 14: Line 14:


=== Setting up SSL certificates ===
=== Setting up SSL certificates ===
{{Note|Optional steps.}}
If you already have used Certbot to set up certificates in your web server, then you can easily make a new certificate for a subdomain 'mumble' and add the cert paths to the mumble.ini configuration file. You can use vim and edit the file manually.
If you already have used Certbot to set up certificates in your web server, then you can easily make a new certificate for a subdomain 'mumble' and add the cert paths to the mumble.ini configuration file. You can do it simple and slick with a single sed command. Or you can also use vim and do it manually.
{{Cmd|vim /etc/murmur.ini}}
{{Cmd|sed -i -e 's/;sslCert=/sslCert=\/etc\/letsencrypt\/live\/your_domain.com\/fullchain.pem/ ; s/;sslKey=/sslKey=\/etc\/letsencrypt\/live\/your_domain.com\/privkey.pem/' /etc/murmur.ini}}
It should look something like this.
It should look something like this.
{{Cat|/etc/murmur.ini|<nowiki>
{{Cat|/etc/murmur.ini|<nowiki>

Revision as of 06:07, 9 October 2019

Murmur (also called Mumble-Server) is the server component for Mumble. Murmur allows you to run your own private or public voice chat server for the Mumble client.

Installation

First of all we need Murmur in our server.

apk add murmur

Open the murmur.ini configuration file and edit it so murmur can be run by the 'murmur' user created by the package.

vim /var/lib/murmur/murmur.sqlite

Contents of /var/lib/murmur/murmur.sqlite

uname=murmur

Now give permissions to the murmur database, so the user 'murmur' can read it.

chown murmur /var/lib/murmur/murmur.sqlite

Setting up SSL certificates

If you already have used Certbot to set up certificates in your web server, then you can easily make a new certificate for a subdomain 'mumble' and add the cert paths to the mumble.ini configuration file. You can use vim and edit the file manually.

vim /etc/murmur.ini

It should look something like this.

Contents of /etc/murmur.ini

sslCert=/etc/letsencrypt/live/your_domain.com/fullchain.pem sslKey=/etc/letsencrypt/live/your_domain.com/privkey.pem

Starting up the service

Start the murmur service.

rc-service murmur start

Note: Optional steps.

You can add the murmur service to the default runlevel.

rc-service add murmur default

In case you don't want murmur to be default on runlevel, rollback with this command

rc-service delete murmur default