Installing on external drive

Need help? Post your questions here.

Moderator: moderators

Installing on external drive

Postby cooldude3663 » Thu Dec 25, 2008 4:24 pm

Was wondering if its possible to install subsonic onto an external drive. I have a PC at UNI and a laptop at home, and when im traveling between both i'd like to have my external to run the server wherever i go with it. Or atleast be able to keep the same configurations. Anyone know how I can do this?
cooldude3663
 
Posts: 15
Joined: Wed Dec 24, 2008 9:25 pm

Postby braddyo » Fri Dec 26, 2008 10:34 pm

Only Sindre can conclusively answer this question I think. The only way I see it working is you install Subsonic on to both the computers, edit the vmoptions file to place the subsonic server directory on your external drive (I recently posted on this here), and stop the Subsonic service whenever the external drive isn't connected.

Because of the windows services that run, I don't think it's easy to be that portable. Unless you use the standalone installer, which I haven't used on a windows machine (only when I was running LAMP). I don't have much experience with Tomcat and Windows, but if you can get a portable version of Tomcat it might work out really well.

Good luck.
User avatar
braddyo
 
Posts: 97
Joined: Mon Oct 29, 2007 10:27 pm
Location: UT

Postby sindre_mehus » Sat Dec 27, 2008 7:35 am

I think the best option is to install the stand-alone version of Subsonic on the external disk.

It contains a unix startup script, subsonic.sh, which you have to convert to a Windows bat file (it should be very simple). In this bat file, make sure to set SUBSONIC_HOME to point to the external disk.

Hope this helps,
Sindre
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby cooldude3663 » Thu Jan 01, 2009 3:55 pm

Cool, thank you both for your help! I shall try it out :D
cooldude3663
 
Posts: 15
Joined: Wed Dec 24, 2008 9:25 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 17 guests