Last active
August 11, 2021 13:33
-
-
Save dtinth/b8d23de26a1820ec6f7a7238bc895f44 to your computer and use it in GitHub Desktop.
Jamulus easy installation on debian 10
This file contains 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
# wget -O- https://gist.githubusercontent.com/dtinth/b8d23de26a1820ec6f7a7238bc895f44/raw/jamulus-debian.sh | sudo bash | |
set -eo pipefail | |
JAMULUS_FILE=jamulus_headless_3.8.0_ubuntu_amd64.deb | |
JAMULUS_URL=https://github.com/jamulussoftware/jamulus/releases/download/r3_8_0/$JAMULUS_FILE | |
NUM_STEPS=5 | |
echo "Step 1/$NUM_STEPS - Download Jamulus" | |
wget -O"$JAMULUS_FILE" "$JAMULUS_URL" | |
echo "Step 2/$NUM_STEPS - Update system" | |
sudo apt update -y | |
echo "Step 3/$NUM_STEPS - Install Jamulus" | |
sudo apt install ./jamulus_headless_3.8.0_ubuntu_amd64.deb -y | |
echo "Step 4/$NUM_STEPS - Configure Jamulus" | |
echo 'S2S Space;Bangmod.Cloud, BKK;211' | sudo tee /etc/jamulus-server-info | |
echo '25' | sudo tee /etc/jamulus-max-users | |
echo 'welcome' | sudo tee /etc/jamulus-welcome-message | |
sudo sed -i 's!ExecStart=.*!ExecStart=/bin/sh -c '\''exec /usr/bin/jamulus-headless -s -n -w /etc/jamulus-welcome-message -u "$(cat /etc/jamulus-max-users)" -T --serverinfo "$(cat /etc/jamulus-server-info)" --directoryserver anygenre1.jamulus.io:22124'\''!' /lib/systemd/system/jamulus-headless.service | |
echo "Step 5/$NUM_STEPS - Start" | |
sudo systemctl daemon-reload | |
sudo systemctl restart jamulus-headless | |
echo "Finished." |
This file contains 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
wget -O- https://gist.githubusercontent.com/dtinth/b8d23de26a1820ec6f7a7238bc895f44/raw/jamulus-debian.sh | sudo bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment