@JS's Notes

Site with notes from my work.

mStream - stream music from anywhere (linux server without GUI)

2019-10-04 System @JS

My test platform: Centos Linux 7.6.1810 (system without GUI)

mStream is a personal music streaming server with web GUI.

Requirements: user with root privileges or non-root user with sudo privileges.

Installation
$ sudo yum update -y
$ sudo yum install git npm -y
$ git clone https://github.com/IrosTheBeggar/mStream.git
$ cd mStream
$ npm install
$ sudo npm link

To update mStream just pull from git and reboot the server.

If your system has a firewall enabled (firewalld), you need to add port 3000 in the firewall to allow access to mStream.

$ sudo firewall-cmd --permanent --add-port=3000/tcp
$ sudo firewall-cmd --reload

To test your installation, run the command:

$ mstream &

This will boot an mStream server on port 3000 and will use the current working directory as your music directory. To access the webapp, go to the address http://server_ip:3000.

Reference: mstream.io.