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.
Finally, test nginx for syntax error, then restart the nginx service with the following command:
sudo nginx -tsudo systemctl restart nginx
Access Sonerezh Web Interface
Once everything is configured properly, it's time to access sonerezh web installation wizard.
Open your favourite web browser and type the URL http://your-server-ip, you should see the Sonerezh installation screen below:
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:
Provide a username and password then click on Sign In button, you should see the Sonerezh default dashboard below:
Congratulatios! You have successfully installed Sonerezh on your Ubuntu 16.04 server. You can now easily listen to your music from anywhere.
Want your very own server? Get our 1GB memory, Xeon V4, 20GB SSD VPS for £10.00 / month.
HostPresto will be launching a European point of presence in the coming weeks, specifically in Amsterdam. For customers needing their data located within the EU still please contact support to request migration to this location with ticket subject ‘EU Migration’. We will ensure this is actioned well before the Brexit...
Should the UK leave the EU without a deal, or should a deal be agreed that does not include a provision for .eu ownership by UK entities, it’s highly likely that the EU will revoke any .eu domain names unless you can provide an EU address. While this won’t happen...
If you own a .co.uk domain name and you have not registered the equivalent .uk version, you have until the 25th June 2019 to register the domain and secure your brand. After this date any unregistered .uk domain will enter public availability – meaning anyone can register the domain. You...