Install Airsonic Media Server on RHEL 8 and CentOS 8

Windows Articles

How to Block a phone number on Android

Hello friends. In this post, we will show you how to block a phone number on Android. Have you ever wondered how...

How to install Java 15 on CentOS 8 / CentOS 7

Recently Java 15 has been released with interesting new features in the accounting field and introducing many security patches. In spite of...

How to increase privacy in Windows 10.

Hello! Without a doubt the time of use of electronic devices has increased lately. Indeed, with the limitations imposed by the COVID-19...

How to install Java 15 on OpenSUSE 15.2?

Recently Java 15 has been released with interesting new features in the accounting field and introducing many security patches. In spite of...

How to install Redis on CentOS 8?

Hello, friends in this post, we will show you how to install Redis on CentOS 8 As we well...
Muhammad Nabeel
Muhammad Nabeel
Network and System Administrator

Airsonic is a open source, web media streamer which provides access to your music. You can use it to share or listen your music. It can be used to stream multiple players simultaneously. It can handle very large music collections (hundreds of gigabytes).

Airsonic is free software and licensed under the GNU General Public License version 3. The code in this repository(and associated binaries) are free of any “license key” or other restrictions.

Today you will learn that how to setup your own streaming server using Airsonic Media Server.

Install OpenJDK

dnf install java-1.8.0-openjdk-devel -y

Now create a user and directories for airsonic and assign ownership to airsonic user on created directory.

useradd airsonic
mkdir /var/airsonic
mkdir /var/media_files
chown airsonic /var/airsonic
chown airsonic /var/media_files

Now download Airsonic .war package using wget command in /var/airsonic folder.

wget https://github.com/airsonic/airsonic/releases/download/v10.2.1/airsonic.war --output-document=/var/airsonic/airsonic.war

Now Allow airsonic to run on system boot using below commands

wget https://raw.githubusercontent.com/airsonic/airsonic/master/contrib/airsonic.service -O /etc/systemd/system/airsonic.service
wget https://raw.githubusercontent.com/airsonic/airsonic/master/contrib/airsonic-systemd-env -O /etc/sysconfig/airsonic
systemctl daemon-reload
systemctl start airsonic.service
systemctl enable airsonic.service

Note: You must restart airsonic by running below command every time, whenever you make any changes in airsonic file so new changes can apply.

wget https://raw.githubusercontent.com/airsonic/airsonic/master/contrib/airsonic-systemd-env -O /etc/sysconfig/airsonic
systemctl restart airsonic.service

Configure firewall

By default Airsonic uses port 8080 so we have to enable it in firewall using below commands:

firewall-cmd --permanent --add-port=8080/tcp
firewall-cmd --reload

You can review and modify any startup settings in /etc/sysconfig/airsonic.

Access Airsonic admin panel

username: admin
password: admin

URL:

http://YOUR-SERVER-IP:8080/airsonic
OR
http://YOUR-DOMAIN:8080/airsonic

MY URL is http://192.168.130.152:8080/airsonic

After login you will be asked to setup airsonic for media files.

More articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article

How to Block a phone number on Android

Hello friends. In this post, we will show you how to block a phone number on Android. Have you ever wondered how...

How to install Java 15 on CentOS 8 / CentOS 7

Recently Java 15 has been released with interesting new features in the accounting field and introducing many security patches. In spite of...

How to increase privacy in Windows 10.

Hello! Without a doubt the time of use of electronic devices has increased lately. Indeed, with the limitations imposed by the COVID-19...

How to install Java 15 on OpenSUSE 15.2?

Recently Java 15 has been released with interesting new features in the accounting field and introducing many security patches. In spite of...

How to install Redis on CentOS 8?

Hello, friends in this post, we will show you how to install Redis on CentOS 8 As we well...
x