LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-28-2007, 06:17 AM   #1
the_cranky_don
LQ Newbie
 
Registered: Sep 2004
Location: Australia
Posts: 22

Rep: Reputation: 15
Need small distro with http server and php


I am looking for the smallest distro possible that will run http server with php. php must be compiled with sockets enabled. It will also need to have ssh.

I want to run a small low power server at home 24/7 that I can access from the www. This server will contain a page that, when activated, will send a WOL packet to my home theatre pc so I can access the EPG on it and set up new recordings. (I don't want to run my home theatre PC 24/7 due to the amount of power it consumes.)

The hardware that I am using for my server is a Nagasaki MS-2100. It uses a Geode 300MHz CPU and has 128MB RAM. I will be booting from CF so the file system will be read only.

I was looking at dsl and puppy but seem to be a lot of mucking around to remove unwanted programs to get them down in size, compile php, remaster distro etc.

Does anyone have any suggestion as to a suitable distro for my requirements?
 
Old 10-28-2007, 12:36 PM   #2
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
I would use Debian. Do the minimal install (which is text only) and add what I wanted.
If using Puppy or DSL I would not worry about removing anything, due to their small size, but have them start with no X and disable any services I didn't want at startup.
 
Old 10-28-2007, 01:52 PM   #3
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
I haven't looked into it yet but Ubuntu server edition can set up a LAMP for you. No X by default so it shouldn't require too much in terms of resources.
 
Old 10-28-2007, 03:01 PM   #4
reverse
Member
 
Registered: Apr 2007
Distribution: Gentoo
Posts: 337

Rep: Reputation: 30
Apache sounds like quite the overkill for what he's trying to do. Actually so does PHP. I think the best way would be to write something simple and small, from scratch, in C.

Also, perhaps a -very- minimalist Slackware installation?
 
Old 10-29-2007, 02:48 AM   #5
the_cranky_don
LQ Newbie
 
Registered: Sep 2004
Location: Australia
Posts: 22

Original Poster
Rep: Reputation: 15
Firstly, thank-you all for your input.
Secondly I chose php because from all my searching, the only code that would generate a WOL packet from the server-side used php. Apache was chosen as I don't know if any other web server will implement php the way I want. (Again guidance here would be appreciated.)
I haven't done any 'c' programming so it is a little beyond the scope of my project.
I also did a 'LAMP' Ubuntu install but it is huge, slow on the hardware and still not read only.

Thanks again,
Don =)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Distro of Choice for small server shadow.blue Linux - General 5 03-28-2007 04:20 PM
Need help choosing distro for small server zanor Linux - General 1 08-04-2006 05:48 AM
Best Internet Server Distro? Email and HTTP mostly b18b Linux - Networking 3 02-20-2006 09:52 PM
Best Distro For A HTTP Server superdude_876 Linux - General 2 05-29-2005 04:06 PM
Distro choice for small server SolarBear Linux - Software 3 09-01-2004 12:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration