Murmur: Difference between revisions

From Alpine Linux
(Added simple SSL guide for Murmur)
Line 12: Line 12:
Now give permissions to the murmur database, so the user 'murmur' can read it.
Now give permissions to the murmur database, so the user 'murmur' can read it.
{{Cmd|chown murmur /var/lib/murmur/murmur.sqlite}}
{{Cmd|chown murmur /var/lib/murmur/murmur.sqlite}}
=== 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 do it simple and slick with a single sed command. Or you can also use vim and do it manually.
{{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.
{{Cat|/etc/murmur.ini|<nowiki>
sslCert=/etc/letsencrypt/live/your_domain.com/fullchain.pem
sslKey=/etc/letsencrypt/live/your_domain.com/privkey.pem
</nowiki>
}}


=== Starting up the service ===
=== Starting up the service ===
Start the murmur service.
Start the murmur service.
{{Cmd|rc-service murmur start}}
{{Cmd|rc-service murmur start}}
{{Note|Optional steps}}
{{Note|Optional steps.}}
You can add the murmur service to the default runlevel.
You can add the murmur service to the default runlevel.
{{Cmd|rc-service add murmur default}}
{{Cmd|rc-service add murmur default}}
In case you don't want murmur to be default on runlevel, rollback with this command
In case you don't want murmur to be default on runlevel, rollback with this command
{{Cmd|rc-service delete murmur default}}
{{Cmd|rc-service delete murmur default}}

Revision as of 06:05, 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

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 do it simple and slick with a single sed command. Or you can also use vim and do it manually.

{{{1}}}

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