Install Polaris Music Streaming Server on Debian
#Polaris #MusicStreaming #Linux
Full steps can be found at https://i12bretro.github.io/tutorials/0374.html
--------------------------------------------------------------------
Installing Polaris
--------------------------------------------------------------------
01. Log into the Linux device
02. Run the following commands in a terminal window
# update software repositories
sudo apt update
# install software updates
sudo apt upgrade -y
# install prerequisite software
sudo apt install binutils pkg-config libssl-dev -y
# install the rust compiler, press 1 when prompted
sudo curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# add rust/cargo to current terminal
source $HOME/.cargo/env
# download the latest build of polaris
wget -Opolaris-latest.tar.gz https://github.com/agersant/polaris/releases/download/0.13.4/Polaris_0.13.4.tar.gz
# extract the downloaded .tar.gz
sudo tar xzvf polaris-latest.tar.gz
# install polaris
cd polaris
make install-xdg
# once the buld and installation complete, start the polaris server
~/.local/bin/polaris
03. Open a web browser and navigate to http://DNSorIP:5050
04. At the Welcome to Polaris screen click the Sounds Good button
05. Enter a path for Polaris to look for media in and give it a name, ie ~/Music/ ≫ Click Next
06. Enter a username and password to create a Polaris login ≫ Click Next
07. Welcome to Polaris
--------------------------------------------------------------------
Starting Polaris On System Boot
--------------------------------------------------------------------
01. Back in the terminal run the following command
sudo nano /etc/systemd/system/polaris.service
02. Paste the following configuration into the polaris.service file, replacing i12bretro from the user, working directory and exec start values with the correct username
[Unit]
Description=Polaris Service
After=network.target
[Service]
Type=simple
RemainAfterExit=yes
User=i12bretro
WorkingDirectory=/home/i12bretro/.local/bin
ExecStart=/home/i12bretro/.local/bin/polaris
Restart=on-failure
[Install]
WantedBy=default.target
03. Press CTRL+O, Enter, CTRL+X to write the changes to polaris.service
04. Enter the following command to start the new service on system boot
sudo systemctl enable polaris
05. Reboot the system
06. Test that Polaris is running by opening a web browser and navigating to http://DNSorIP:5050
07. Log back into Polaris with the username and password created earlier
### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro
Other Videos By i12bretro
Other Statistics
Polaris Statistics For i12bretro
Currently, i12bretro has 152 views for Polaris across 1 video. His channel published less than an hour of Polaris content, making up less than 0.11% of the total overall content on i12bretro's YouTube channel.