Install AirSonic on Debian Linux
#Airsonic #Stream #Linux
Full steps can be found at
——————————————————————–
What is AirSonic
——————————————————————–
Airsonic is a free, web-based media streamer, providing ubiquitous access to your music. Use it to share your music with friends, or to listen to your own music while at work. You can stream to multiple players simultaneously, for instance to one player in your kitchen and another in your living room. –
01. Log into the Linux device
02. Run the following commands in a terminal window:
# update software repositories
sudo apt update
# install openjdk
sudo apt install default-jdk -y
# set java-home
sudo update-alternatives –config java
# create tomcat group and user
sudo mkdir /var/lib/tomcat9
sudo groupadd tomcat
sudo useradd -s /bin/false -g tomcat -d /var/lib/tomcat9 tomcat
# lookup the latest tomcat 9 release
regex=’≪a href=”v[^/]*/”≫v([^/]*)/≪/a≫’ && response=$(curl -s && [[ $response =~ $regex ]] && downloadURL=”${BASH_REMATCH[1]}”
# download tomcat 9
curl -O
# extract tomcat 9
sudo tar xzvf apache-tomcat-9*tar.gz -C /var/lib/tomcat9 –strip-components=1
# create directories and set permissions
sudo mkdir /var/airsonic/
sudo chown -R tomcat:tomcat /var/airsonic/
cd /var/lib/tomcat9
sudo chgrp -R tomcat /var/lib/tomcat9
sudo chmod -R g+r conf
sudo chmod g+x conf
sudo chown -R tomcat webapps/ work/ temp/ logs/
# run tomcat as a service
sudo update-java-alternatives -l
sudo nano /etc/systemd/system/tomcat.service
v[^/]*/
03. v[^/]*/
v[^/]*/
v[^/]*/
v[^/]*/
v[^/]*/
v[^/]*/
v[^/]*/
v[^/]*/
v[^/]*/
v[^/]*/
v[^/]*/
v[^/]*/
v[^/]*/
04. v[^/]*/
v[^/]*/
v[^/]*/
——————————————————————–
Install AirSonic
——————————————————————–
01. v[^/]*/
v[^/]*/
v[^/]*/
02. v[^/]*/
03. v[^/]*/
04. v[^/]*/
05. v[^/]*/
06. v[^/]*/
07. v[^/]*/
v[^/]*/
### Connect with me and others ###
★ Discord:
★ Reddit:
★ Twitter:
[ad_2]
source