Installing Subsonic
Subsonic features several flexible installation options. Select the one which suits you best:
Important!
Immediately after installing Subsonic you should change the admin password to secure the server.
Point your browser to the Subsonic web page (see URL below), and log in with username admin and password
admin. Go to Settings > Users to change password and create new users.
Requirements: Java 6 or later (Download)
On Windows, the easiest way to install Subsonic is using the provided Windows Installer: subsonic-x.x-setup.exe.
It installs Subsonic as a service, available in Control Panel > Administrative Tools > Services, that is started automatically when you log on to Windows.
It also creates links in the Start Menu: Start > All Programs > Subsonic. From this menu you can start/stop the Subsonic service, open the Subsonic web page, or
change basic settings such as which port number Subsonic should use. You can also click on the little yellow submarine tray icon.
If you're upgrading an existing Subsonic installation, you don't have to uninstall the old version first. In any case, the existing Subsonic settings are preserved.
After installing and starting Subsonic, open the Subsonic web page on http://localhost.
Requirements: Sun Java 5 or later (Download)
This is Subsonic with an embedded Jetty server. Recommended for most Linux and Mac users.
- Unpack
subsonic-x.x-standalone.tar.gztoSUBSONIC_HOME/standalone.SUBSONIC_HOMEis typicallyc:\subsonicon Windows, and/var/subsonicon Unix-based operating systems. - Optionally configure the startup script
SUBSONIC_HOME/standalone/subsonic.sh - Execute the startup script. (Typically you will configure your operating system to execute the script automatically at start-up.)
- Open the Subsonic web page. The default address is http://localhost:8080.
Requirements: Java 5 or later (Download). A servlet container supporting Servlet 2.4 and JSP 2.0.
Use this option if you want to deploy Subsonic in an external server, such as Tomcat, Jetty, GlassFish or Geronimo. Subsonic comes
packaged as a standard Java web application, subsonic.war, which can be easily deployed in any compatible servlet container.
The most commonly used server is Tomcat, and the rest of this section describes how to install or upgrade Subsonic on a Tomcat server.
- Stop Tomcat if it's running.
- Remove these files and directories if they exist:
TOMCAT_HOME/webapps/subsonic.warTOMCAT_HOME/webapps/subsonicTOMCAT_HOME/work
- Copy the file
subsonic.wartoTOMCAT_HOME/webapps. - Start Tomcat.
- Point your web browser to http://localhost/subsonic (or http://localhost:8080/subsonic if you installed Tomcat on port 8080.)
Notes
- If you installed Tomcat as a Windows Service, you can start and stop it from the service manager:
Control Panel > Administrative Tools > Services. TOMCAT_HOMErefers to the directory in which you installed Tomcat. On Windows this is normallyC:\Program Files\Apache Software Foundation\Tomcat 5.5- On Linux, Subsonic keeps its files in
/var/subsonic. Depending on your configuration, Tomcat may not be permitted to create this directory, in which case you have to create it manually:mkdir /var/subsonic; chown tomcat:tomcat /var/subsonic
Troubleshooting
If you experience any problems, please make sure you follow the installation instructions above. Here's a list of suggestions of what to do if it still doesn't work:
- Restart Tomcat.
- Reinstall Subsonic.
- Upgrade to the latest Tomcat version (at least if you're using Tomcat 5.0 or earlier).
- Look for errors in the Subsonic log,
c:\subsonic\subsonic.logor/var/subsonic/subsonic.log. - Look for errors in the Tomcat logs,
TOMCAT_HOME/logs. - Post a message to the Subsonic forum. Please let us know what Subsonic version, Tomcat version and operating system you're using. Also, please give a detailed description of the problem. This way, we'll be able to help you faster.
Useful tutorials
Donate
Love Subsonic? Support continued development and maintenance by giving a donation.
As a donor you will receive a license key which disables ads in the Subsonic web interface.
The suggested donation amount is €20, but you can give any amount you like.
Get involved!
Help the project by translating Subsonic to new languages, or improving existing translations. Interested? Please read this.
