Install Airsonic Media Server on RHEL 8 and CentOS 8

Windows Articles

How to access System in Windows 10

Perhaps the title of this post is misleading. In previous versions of Windows, it was enough to enter the Control Panel and from there,...

Microsoft reduces the fragmentation of Windows 10

Windows 10 20H2 has been released as a minor operating system update. As a result, it has managed to reduce platform errors. In addition,...

How to install Nginx and PHP on FreeBSD?

Hello, friends. FreeBSD is a secure system even more than Linux, that's why it's used as the main server. And a server has to...

How to enable local port forwarding using Ubuntu 20.04 and ssh

SSH, a very popular tool found almost with every IT guy. Commonly, when we talk about the insecure network for data, ssh is the...

How to use CHKDSK in Windows 10

Hello! It is very important to ensure the integrity of the hard disk in the computer. Since it is an essential element for the...
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 access System in Windows 10

Perhaps the title of this post is misleading. In previous versions of Windows, it was enough to enter the Control Panel and from there,...

Microsoft reduces the fragmentation of Windows 10

Windows 10 20H2 has been released as a minor operating system update. As a result, it has managed to reduce platform errors. In addition,...

How to install Nginx and PHP on FreeBSD?

Hello, friends. FreeBSD is a secure system even more than Linux, that's why it's used as the main server. And a server has to...

How to enable local port forwarding using Ubuntu 20.04 and ssh

SSH, a very popular tool found almost with every IT guy. Commonly, when we talk about the insecure network for data, ssh is the...

How to use CHKDSK in Windows 10

Hello! It is very important to ensure the integrity of the hard disk in the computer. Since it is an essential element for the...
x