Archive for July, 2010
At home here, I’ve set up a simple little home server for all my media storage. I run Windows Home Server on it (for those that don’t know what it is, check here). Suffice it to say, it’s a nifty little server OS that shares easily with my XBox 360 over the network, and it’s very extensible.
Anyways, the point of today’s post isn’t to talk about Windows Home Server (although I can make a seperate post on it later discussing it further…). Today, I’m gonna talk about setting up some extra services on it so it’s not just used as a media storage server. I needed to set up an SVN repository on it, along with Trac to handle some of my personal projects. SVN is a version control system mainly used for code, and Trac is a Wiki and bug tracking software used to keep track of all kinds of things for any sort of project. I use both of these at work, and am very familliar with them, so I decided for my personal stuff, I would stick with what I know.
Now, installing anything that’s not specifically meant to run on a Windows server can be a little tricky, but fortunately I discovered for this little experiment, it wasn’t too bad at all. To start, I needed a version of SVN that would run on Windows. Conviniently, I found something called VisualSVN Server. It’s a fully functional SVN server, but has a nice GUI interface for managing it in Windows. You can create your repositories here (and easily set them up with the base trunk, tags and branches directories that all SVN repositories should have), and also create users and groups. Perfect. Much easier than mucking with ini configuration files.
The second part to this puzzle though is Trac. Now, for both SVN and Trac, you need a web server. Windows Home Server convinently comes with IIS for it’s own web serving capabilities, but trying to get SVN working with IIS is a nightmare in of itself, let alone Trac too. VisualSVN Server includes a version of Apache, so I figured Trac could hook right into that. Well, as luck would have it, the guys over there running VisualSVN has detailed some nice instructions here, along with a package you can download to get yourself up and running. Now, I basically followed everything on that page there to the letter, except 1 small thing. I couldn’t get the SVN server to start after I installed Trac. I had to grant access to the folder the Trac libraries were installed too (‘Program Files\VisualSVN Server\trac’ in my case) to the Network Service user. After that, everything started up correctly.
Now, the package that I downloaded to install Trac didn’t include the latest version (they’re up to 0.12 now….VisualSVN provied 0.11.6). I really wanted 0.12 as that’s what I’m used to at work now, so I thought I’d take a shot at trying to upgrade it. This turned out to be much easier than expected. I went to Trac’s download page and grabbed the Windows zip package. I unzipped it to some temporary folder, opened a command prompt, and typed the following:
python D:\Temp\Trac 0.12\setup.py install
*where D:\Temp\Trac 0.12\ is where you unzipped the package too
After things were installed, I started the SVN server back up, and bang…I was in business.
Anyways, I thought I’d share this little adventure to anyone who might find this useful.
Until next time…