Skip to content

Instantly share code, notes, and snippets.

@tcrowe
Last active April 26, 2020 00:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tcrowe/c5f676d60be2cc7b98b3c4bfd5f606bf to your computer and use it in GitHub Desktop.
Save tcrowe/c5f676d60be2cc7b98b3c4bfd5f606bf to your computer and use it in GitHub Desktop.
install and configure mumble server - set variables, run it, talk πŸ‘
#!/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