Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.