PHP/Ajax File Browser Part II (Plus Linux Testing)

7 Aug

An age ago I wrote about a AJAX/PHP File Browser and it seems, confused the crap out of people. It was a rather hastily written blog piece, its true.

Anyway, I’ve written an example which you can find here. Simply click the ‘browser HR documents’ link to get going. You can grab the source from there too if you want. I even wrote a little readme to allow you to set up exactly what I’ve got working on that page.

But thats a pretty meagre blog entry so I’ll pass on a little tip for getting an easy Linux browser testing environment running in Windows – no OS intalls required.

First, download Damn Small Linux – just the ISO. Its only about 50mb or so, hence the name. Once you’ve grabbed it, put it somewhere out the way.

OK, now download the free Microsoft Virtual PC app. Won’t take long.

When this is downloaded, install it as per normal.

When its installed launch it.

First click ‘new’ as we’re going to create a new virtual PC.

1) Choose ‘create a virtual machine’
2) Give it a name and choose a location to save it to. I called mine ‘DSLinux’.
3) From the list of OS’s choose ‘other’.
4) Allocate RAM as required.
5) Choose ‘a new virtual disk’
6) Specify location or accept defaults. Up to you.
7) Click ‘finish’

That’s the machine set up. Now we need to setup our Linux ISO.

Your new virtual machine should be listed in the Virtual PC window’.

1) Choose ‘start’
2) When the box pops up choose ‘CD’ and then ‘capture ISO image’
3) Browse to the location you put your Damn Small Linux ISO in
4) You might need to choose ‘Action’ and then ‘reset’
5) The Linux setup starts – job done! Wait for it to complete.

You’ve now got a functional, web accessible Linux package to test sites in.

3 Responses to “PHP/Ajax File Browser Part II (Plus Linux Testing)”

  1. Shannon August 7, 2006 at 21:45 #

    I’d recommend using VMWare instead. You have to download the server version to make your own virtual machines, but if you get the player, they’ve got premade machines you can download (even one that’s a lite version of Ubuntu linux made for secure internet browsing).

    It might not matter at all, but I prefer almost anything over MS, so I figured your readers might want an alternative. 🙂

  2. Kev August 8, 2006 at 09:05 #

    I just can’t get on with VMWare, not sure why.

    To be honest, I have a dual boot machine but if I didn’t – either one of these methods (Virtual PC or VMWare) would be my next stop.

  3. ado August 18, 2006 at 07:45 #

    thanks for that man i really appretiate that. you have no idea how long ive been online looking for the simplest answer to how to do that.

Comments are closed.

%d bloggers like this: