Last active
April 26, 2020 00:26
-
-
Save tcrowe/c5f676d60be2cc7b98b3c4bfd5f606bf to your computer and use it in GitHub Desktop.
install and configure mumble server - set variables, run it, talk π
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
password=CHANGE1 | |
serverpassword=CHANGE2 | |
welcometext=CHANGE3 | |
ssh my-server << EOF | |
# install | |
apt install -y mumble-server | |
# configure | |
# alternatively you could also ssh, scp, or rsync this as a file | |
mumbleConfig=" | |
database=/var/lib/mumble-server/mumble-server.sqlite | |
autobanAttempts=9 | |
autobanTimeframe=60 | |
autobanTime=600 | |
password=$password | |
serverpassword=$serverpassword | |
uname=mumble-server | |
sendversion=false | |
allowping=false | |
logfile=/var/log/mumble-server/mumble-server.log | |
pidfile=/var/run/mumble-server/mumble-server.pid | |
welcometext=$welcometext | |
port=18319 | |
host=0.0.0.0 | |
bonjour=false | |
bandwidth=130000 | |
timeout=600 | |
users=30 | |
usersperchannel=10 | |
channelnestinglimit=3 | |
allowhtml=false | |
suggestPositional=false | |
suggestPushToTalk=true | |
" | |
echo $mumbleConfig > /etc/mumble-server.ini | |
apt restart mumble-server | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment