Posts tagged: host

VirtualBox Network with XP Guest in Ubuntu Host

This tip refers to VirtualBox 3.0.8 and Ubuntu 9.04.

If you’re anything like me, you might have need of a WinXP install within Ubuntu. In my case, it’s convenient to have a VirtualBox of Windows running for immediate testing of websites (as I build them) so that I can test the sites functionality and appearance within Internet Explorer.

Unfortunately, the default settings of a guest WinXP install don’t allow for networking “out of the box”. But it’s an easy fix!

First, make sure the virtual machine is not already running. Turn it off if it is.

Next, highlight the WinXP virtual machine within the Sun VirtualBox main screen. Click Settings. Select Network. Change the Adapter Type to Intel PRO/1000 T Server (bunchanumbers) then OK and start the virtual machine.

When you boot into the Windows guest, the network should now work.

Displaying an SVG hosted by GoDaddy

I’ve recently been contributing to the TorrentBoy Project and trying to keep some level of activity going for it at all times. The project still needs active contributors, especially if you’re any good with stringing coherent words together or connecting lines together to form pretty pictures. See 1889.ca for more information. Writers? Artists? Anyone!

How is this relevant? I told MCM, the brain behind the project, that I’d get off my butt and finally post the .svg I had created. Being that TorrentBoy is a collaborative project, it helps others if they have a “launching” point to contribute from. From my perspective, I’m hoping that someone can take my image of Crash with Waser Bwaster () and make him awesome.

Back to the point, GoDaddy doesn’t display .svg files by default. When linking to an SVG, the page will just spit out the source code to the image. Not very helpful. A temporary solution would be to change the .svg extension to .xml, which will then correctly display the image. But that’s not how we do it!

The solution is this. Stick the following lines into your websites root .htaccess file (the ~/html directory).

AddType image/svg+xml svg
AddType image/svg+xml svgz
AddEncoding x-gzip .svgz

Give it a try. Much thanks to this article for the solution.

Staypressed theme by Themocracy