setupsubsonicubuntu18
This is an old revision of the document!
TinkersDocs Home Back to tektinkers.com
Commands to Setup a Subsonic server in Ubuntu 18.
Download & Install Subsonic & Java
sudo wget https://files.tektinkers.com/subsonic-6.1.6.deb
sudo apt-get install openjdk-8-jre
sudo sudo dpkg -i subsonic-6.1.6.deb
sudo reboot now
Check Website's URL via IP or DNS and setup admin account
http://localhost:4040
Install & Setup Nginx Reverse Proxy
sudo apt install mysql-server
sudo mysql
change “root” and “password” to whatever you want
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
exit
sudo mysql_secure_installation
Installing PHP
sudo apt install php libapache2-mod-php php-mysql
php -v
sudo nano /etc/apache2/mods-enabled/dir.conf
Change:
<IfModule mod_dir.c> DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm </IfModule>
To:
<IfModule mod_dir.c> DirectoryIndex index.php index.html index.cgi index.pl index.xhtml index.htm </IfModule>
sudo systemctl restart apache2
sudo systemctl status apache2
Installing other PHP Packages:
sudo apt install php-cli
Creating a Virtual Host for Apache
Change “your_domain” to the name you want
sudo mkdir /var/www/your_domain
sudo chown -R $USER:$USER /var/www/your_domain
sudo nano /etc/apache2/sites-available/your_domain.conf
setupsubsonicubuntu18.1747259776.txt.gz · Last modified: 2025/05/14 21:56 by tektinkers