Difference between revisions of "Upgrading SlimServer"

From LinuxMCE
Jump to: navigation, search
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Here are the steps needed to upgrade the SlimServer that comes with LinuxMCE to a newer version of Squeezecenter.
+
Here are the steps needed to upgrade the SlimServer that comes with LinuxMCE (0704) to a newer version of Squeezecenter.
  
First download the version of [http://www.slimdevices.com/pi_features.html squeezecenter] you want to run.
+
=Upgrade SlimServer=
Next cd to /usr/pluto/servers
+
* Download the version of [http://www.slimdevices.com/pi_features.html SqueezeCenter] you want to run to the core.
Backup the existing SlimServer directory. ie mv SlimServer SlimServer.lmce
+
* cd to /usr/pluto/servers
Move the downloaded file to /usr/pluto/servers and unarchive it.
+
* Backup the existing SlimServer directory.
Make a link to the new directory. ln -s squeezecenter-some-version SlimServer This step just makes upgrades or downgrades go a little faster.
+
<pre>
Next, some permissions need to be set and a user created.  I'll add these when I get home from work.
+
mv SlimServer SlimServer.lmce
 +
</pre>
 +
* Move the downloaded file to /usr/pluto/servers and unarchive it.
 +
* Make a soft link to the new directory.  This step just makes upgrades or downgrades go a little faster.
 +
<pre>
 +
ln -s squeezecenter-some-version SlimServer 
 +
</pre>
 +
* Add a user slimserver and a group slimserver  This is the default that Squeezecenter runs as
 +
* Change the ownership of squeezecenter's directory to that of slimserver.
 +
<pre>
 +
chown -R slimserver:slimserver squeezecenter-some-version
 +
</pre>
 +
 
 +
At this point you should be able to restart the dcerouterThis should start the new version of squeezecenter
 +
 
 +
 
 +
=Configure SqueezeCenter=
 +
Squeezecenter needs a little configuration before it will work with LMCE
 +
* In a web browser, goto http://dcerouter:9000  This should bring up the SqueezeCenter Setup Assistant.
 +
* Click on next in the lower right hand corner.
 +
* If you have a squeezenetwork account, enter the login on the SqueezeNetwork Account setup screen.
 +
* Click on next in the lower right hand corner.
 +
* On the Music Source screen use local music should be checked.
 +
* Click on next in the lower right hand corner.
 +
* On the Local Music Folder screen, browse to
 +
<pre>
 +
/home/public/data/audio
 +
</pre>
 +
* Click on next in the lower right hand corner.
 +
* On the Playlist Folder page, I use
 +
<pre>
 +
/home/public/data/playlists
 +
</pre>
 +
This is only for SqueezeCenter playlists, not LinuxMCE playlists
 +
* Click on next in the lower right hand corner.
 +
* If everything looks good, click Finish
 +
* Next click on Settings in the lower right hand corner.
 +
* Select Plugins from the menu at the top
 +
* Select Command Line Interface (CLI)
 +
* Set the port to 7890
 +
* Click Apply in the lower right corner
 +
* At this point wait for SqueezeCenter to scan the music library
 +
* Restart the dcerouter from either the admin web site or the console
 +
 
 +
 
 +
[[category: tutorials]]

Latest revision as of 23:47, 25 July 2008

Here are the steps needed to upgrade the SlimServer that comes with LinuxMCE (0704) to a newer version of Squeezecenter.

Upgrade SlimServer

  • Download the version of SqueezeCenter you want to run to the core.
  • cd to /usr/pluto/servers
  • Backup the existing SlimServer directory.
mv SlimServer SlimServer.lmce
  • Move the downloaded file to /usr/pluto/servers and unarchive it.
  • Make a soft link to the new directory. This step just makes upgrades or downgrades go a little faster.
ln -s squeezecenter-some-version SlimServer  
  • Add a user slimserver and a group slimserver This is the default that Squeezecenter runs as
  • Change the ownership of squeezecenter's directory to that of slimserver.
chown -R slimserver:slimserver squeezecenter-some-version

At this point you should be able to restart the dcerouter. This should start the new version of squeezecenter


Configure SqueezeCenter

Squeezecenter needs a little configuration before it will work with LMCE

  • In a web browser, goto http://dcerouter:9000 This should bring up the SqueezeCenter Setup Assistant.
  • Click on next in the lower right hand corner.
  • If you have a squeezenetwork account, enter the login on the SqueezeNetwork Account setup screen.
  • Click on next in the lower right hand corner.
  • On the Music Source screen use local music should be checked.
  • Click on next in the lower right hand corner.
  • On the Local Music Folder screen, browse to
/home/public/data/audio
  • Click on next in the lower right hand corner.
  • On the Playlist Folder page, I use
/home/public/data/playlists

This is only for SqueezeCenter playlists, not LinuxMCE playlists

  • Click on next in the lower right hand corner.
  • If everything looks good, click Finish
  • Next click on Settings in the lower right hand corner.
  • Select Plugins from the menu at the top
  • Select Command Line Interface (CLI)
  • Set the port to 7890
  • Click Apply in the lower right corner
  • At this point wait for SqueezeCenter to scan the music library
  • Restart the dcerouter from either the admin web site or the console