Sonerezh
Sonerezh is a self-hosted, web-based application for streaming your music everywhere.
Installation
Install sonerezh-gitAUR. You will need a database (e.g. MariaDB) and a web server (like Nginx) with PHP support. You may refer following sites:
Configuration
Make sure to adjust following variables to these minimal values in your php.ini
:
/etc/php/php.ini
extension=gd.so date.timezone = UTC
In this configuration, we will configure the Nginx web server to serve Sonerezh on localhost in the root location without SSL enabled (even though it's recommended to use it with SSL). First, place a copy of the Sonerezh Nginx configuration
cp /usr/share/doc/sonerezh/example_nginx_vhost.conf /etc/webapps/sonerezh/nginx.conf
replace the domain name
sed -i 's/pydio.example.com/localhost/g' /etc/webapps/pydio/nginx.conf
and reference this configuration file in the main nginx.conf:
/etc/nginx/nginx.conf
http { [...] include /etc/webapps/sonerezh/nginx.conf; [...] }
Here's an example on how you could setup a database for Sonerezh with MariaDB called sonerezh
for the user sonerezh
identified by the password sonerezh
:
CREATE DATABASE pydio; GRANT ALL PRIVILEGES ON sonerezh.* TO sonerezh@'localhost' IDENTIFIED BY 'sonerezh'; FLUSH PRIVILEGES;
Do not forget to (re)start your services!
systemctl restart nginx php-fpm
Visit the installation wizard page at http://sonerezh.localhost/install and follow the instructions.