Web server image?


6 posts
by sm0vpo » Sat Oct 20, 2012 9:58 pm
Hi all,
I presently have my new Raspberry-Pi up and running, and I am really impressed with it. I wish I had one of these years ago. I saw that there are several different OS images with different installed options and from different sites. I wonder if anyone has ever made a LINUX (or Simbian) image that includes an HTML server?

My goal is to move my homepages at www.sm0vpo.com to my RPi and then power it with solar energy. I already have the solar power with 5-day backup but I am having trouble installing new applications. I have installed the Simbian OS without any problems, and now I am about to install the OS to a super-fast SD card.

If anyone knows of an OS image which includes an HTML server installed with it I would be grateful for the info/link.

FYI I have already installed Abyss web server on my home computer, and a dedicated LINUX server/firewall using IP-Cop. Although a "newbie" I do have some LINUX and UNIX experience (I now use UNIX at work).

Very best regards from Harry - sm0vpo
Posts: 3
Joined: Sat Oct 20, 2012 9:42 pm
by MattHawkinsUK » Sun Oct 21, 2012 12:27 am
It's easy enough to install Lighttpd on the Raspbian image. I use that for serving php pages on my network. Haven't tried it on the internet.
My Raspberry Pi blog and home of the BerryClip Add-on board : http://www.raspberrypi-spy.co.uk/
Follow me on Google+, Facebook, Pinterest and Twitter (@RPiSpy)
User avatar
Posts: 487
Joined: Tue Jan 10, 2012 8:48 pm
Location: UK
by bgirardot » Sun Oct 21, 2012 1:59 am
Here is a web server focused image, haven't tried it, but I think they offer an .img file:

viewtopic.php?f=36&t=19702
Posts: 517
Joined: Wed Oct 10, 2012 6:20 am
Location: Switzerland
by LetHopeItsSnowing » Sun Oct 21, 2012 6:42 am
I use a Pi to host a podcast using raspbian and lighttpd, really easy, install raspbian to your sd card, install lighttpd with:

sudo apt-get install lighttpd

You might have to do a

sudo apt-get update

first to pick up the latest stuff!

You might also find it easier to give you pi a static ip address if you going to use it as a server.

see my blog, for info on how I get up the pi.

Lhis
"am I getting slower, or is stuff more complicated; either way I now have to write it down - stuffaboutcode.com"
User avatar
Posts: 209
Joined: Sat May 26, 2012 6:40 am
Location: UK
by sm0vpo » Sun Oct 21, 2012 8:10 am
Thanks to all of you for posting responses - much appreciated.

So now I understand that lighttpd may be a better choice than my original intension to use Apache. But I will follow the links and see what I can find out. Thank you very much.

Thanks also for the installation steps. Looks really easy :-) But I suppose it is like all things, exceedingly easy when you know how.

Very best regards from Harry - SM0VPO
www.sm0vpo.com
Posts: 3
Joined: Sat Oct 20, 2012 9:42 pm
by penguintutor » Wed Oct 24, 2012 2:15 pm
There are pros and cons to use a pre-built image rather than taking a standard image and downloading the software.

In the case of XBMC I go for the RaspBMC image rather than spend 12+ hours compiling the source code (that's really how long it takes if you compile directly on the Pi), but in the case of a webserver it can be just as simple as an apt-get install of the webserver code on top of the standard image.

You can run Apache or Lighttpd. I've done both, but lighttpd is more suited for most purposes and is the one my Pi is currently running.

I've created some tutorials starting with the standard image:

User avatar
Posts: 338
Joined: Tue May 08, 2012 9:11 am
Location: UK