Log in

View Full Version : My Webserver



drezha
05-16-2007, 04:01 PM
Just got my webserver up and running. Still need to play with the coding of the website.

Now I know a website isn't huge news but I'm loving it. I'm actually running it off a NSLU2 (http://www.cclonline.com/product-info.asp?product_id=8543&category_id=236)
This little thing is amazing. Got it hooked upto a 2Gb flash drive and a 250Gb disc in a Coolermaster X-Craft HD enclousure.

It required a bit of messing about flashing it and installing with open source fiirmware and I've still not figured how to start the webserver on startup of the slug (I have to telnet into it and manually start it) but the little thing is fantastic. Let's me backup data from my PC and my laptop nicely. (Still a couple of niggles with linux sharing+writing but then that was kinda expected :wink: )

The software I flashed it with (Unslung it as the website says..) is great. Basically a small linux distro, I can download stuff and can get this device to also be a print server, email server etc. :D Once the website is 100%, I'm gonna try the print server option. I'm tempted to buy another of these and use it as it was intended :lol: (I can still use it as a NAS thingy now but why not :p)

As proof it works...
Either address works...Might have to mod the router next to allow me to port map the website to port 80 :P
http://drezha.homelinux.net:1024
http://www.csalter.me.uk

For a server, thats not bad...draws about 5W I would guess with just the USB key in.

Brucifer
05-16-2007, 04:41 PM
heh :) Pretty slick!!!

NeoGen
05-16-2007, 10:14 PM
The current NUTTERS link is broken but I found out that it works if I cut off the "index.html" from the address.

But apart from that it's running smooth. You got alot of developing work ahead now. :)

drezha
05-16-2007, 10:37 PM
The current NUTTERS link is broken but I found out that it works if I cut off the "index.html" from the address.

But apart from that it's running smooth. You got alot of developing work ahead now. :)

Thats what I meant with the we development. I have it linked as Index.html and it should be index.html.
It's all up in the air as I have exams and I've moved all the stuff over from my old hosting and not changed it yet. I get the feeling the google affliates wont work currently as it's only a thttpd server, not apache with php etc etc.

Also in the NUTTERS section I need to make the image an image map so you can navigate. I'm in the middle of updating that completely.:)

Having a spot of trouble being able to mount it on my linux PC so I can do a nightly backup to the 250GB drive. I can read and write as root only if I mount it to /mnt/Slug but using the Places > netowrk option in Ubuntu I can read and write as a normal user no trouble.
But thats not helpful for using rsync nightly :(

I think I maybe able to set that up as a root crontab so it doesn't ask for a password...I hope.
Also as much as I try, I cant get the second instance of thttpd server to start on bootup of the slug, yet the script runs perfectly if I manually run it. :icon_shrug:

Bender10
05-16-2007, 11:32 PM
Hey, Nice going !!

I still have my SLUG, but it's on the back burner for a while. Maybe a winter project.

Keep up the good work!

drezha
05-17-2007, 12:01 AM
I've also considered trying to get a Dnet proxy running on it but I think I'll pass on that idea. Seems like to much effort ;)