Sonerezh is a free and open source web-based audio streaming application that can be used to access your music from anywhere. Sonerezh also gives you a user management system with two access levels so that your friends could enjoy your music too.
Sonerezh provides lot's of features such as Playlist management, supports MySQL and PostgreSQL, simple search engine, extraction of metadata, file import and many more.
In this tutorial, we will explain how to install and configure Sonerezh with Nginx and PHP-FPM on Ubuntu 16.04.
A server runing Ubuntu-16.04 on your system.
A non-root user with sudo privileges setup on your server.
A static ip address 192.168.0.23 configured on your server.
Update the System
Before starting, you will need to update the system's package repository database with the latest version. You can do this with the following commands:
sudo apt-get update -ysudo apt-get upgrade -y
You your system is up to date you can proceed to the next step.
Installing LEMP Server
Sonerezh is a web-based application that works with your browser. Sonerezh also requires a database to store its data, so you will need a LEMP server installed on your system. If not, you can install it with the following command:
Once you are done, you can proceed to configure MariaDB database for sonerezh.
By default, MariaDB installation is not secure, so you will need to secure it first by running mysql_secure_installation script.
You can do this with the following command:
During the interactive process, answer all the questions as shown below:
Enter current password for root (enter for none): Enter
Set root password? [Y/n]: Y
New password: <your-password>
Re-enter new password: <your-password>
Remove anonymous users? [Y/n]: Y
Disallow root login remotely? [Y/n]: Y
Remove test database and access to it? [Y/n]: Y
Reload privilege tables now? [Y/n]: Y
Once MariaDB is secured, you can login to the MySQL shell with the following command:
mysql -u root -p
Enter your root password to log in, then create a database for Sonerezh installation.
Provide the database information, like database name, database username, database password, your email address and enter the path to your music data and follow the installation wizard instructions, you should see the Sonerezh login screen below:
If you find your cPanel disk space filling up, or an email address has hit its disk space quota, cPanel has a helpful built in Email Disk Usage tool. This will provide you with a simple to understand breakdown of how much disk space each folder for a particular email...
Although WHM will normally automatically keep itself up to date, you may want to manually check for server updates / push through an update that is pending, or it may be that you have automatic updates switched off on your cPanel server. In this guide we will show you how...
You may sometimes need to manually adjust the PHP settings on your cPanel server – for example if a site is hitting the PHP memory, or file size upload limit. WHM allows you to quickly change the settings of any PHP version installed on the server when needed, using the...