Diskless Web Server: How Much RAM?


Forum: Networking
Topic: Diskless Web Server: How Much RAM?
started by: mage492

Posted by mage492 on Jan. 14 2006,12:52
Okay, I'm looking at the possibility of putting together a server, and I'd like to do this without a hard drive. My question, then, is how much RAM people would recommend. Here is how it would be used:

It will be a server for a home network or direct ppp dial-in (so I'm not violating the terms of service of my ISP), which will not be accessible from the outside. The system would be loaded into RAM. It would only be accessed by two or three users, per day. It would serve only static pages. I would probably use the built-in Monkey server.

The ppp software that was mentioned, earlier, would be running on a separate computer, so that won't add to the load.

I'm going to err on the high side and say that there will be 10 Mb of files being served.

So, how much would we probably be talking, as a general idea?  Would 256 Mb be enough, or would 1 Gb be more accurate?

(The reason I ask is that this will be running from my apartment, and I want something with the smallest possible number of noise-producing, moving parts. I think the fan situation has been pretty much figured out, leaving me with the issue of a hard drive.)

Thanks in advance!

Posted by 300c_pilot on Jan. 14 2006,18:15
This distro of Linux has very low requirements on hardware.
The machine I am working from has a webserver on it and it handles email for about 50 people. It has 160mb of ram & a 4 gig hd.. it runs at about 50% of the ram in use at any given time.

Postfix, procmail, spamassassin & Razor running.
Smooth flights...

Posted by 300c_pilot on Jan. 14 2006,18:23
Sorry, I guess I missed that you want it to run from ram. If you run it from ram you need enough room to hold all of the programs and DSL that you are running. Then see how big they are compressed add there size to the size of DSL, then I would multiply by 2 to give you enough room.

The current.iso file on my laptop says it is using 25megs of ram once it is loaded.

Posted by Grim on Jan. 14 2006,23:28
256MB should be plenty.
Posted by mage492 on Jan. 16 2006,20:54
Okay, thanks.  I figured it would require at least a Gb!

I've been putting some thought into the $250 computer advertised on this site.  It sounds like that would fit my needs, nicely.

Again, thanks for the advice!

Posted by AwPhuch on Jan. 17 2006,00:44
Quote (mage492 @ Jan. 14 2006,07:52)
Okay, I'm looking at the possibility of putting together a server, and I'd like to do this without a hard drive. My question, then, is how much RAM people would recommend. Here is how it would be used:

It will be a server for a home network or direct ppp dial-in (so I'm not violating the terms of service of my ISP), which will not be accessible from the outside. The system would be loaded into RAM. It would only be accessed by two or three users, per day. It would serve only static pages. I would probably use the built-in Monkey server.

The ppp software that was mentioned, earlier, would be running on a separate computer, so that won't add to the load.

I'm going to err on the high side and say that there will be 10 Mb of files being served.

So, how much would we probably be talking, as a general idea?  Would 256 Mb be enough, or would 1 Gb be more accurate?

(The reason I ask is that this will be running from my apartment, and I want something with the smallest possible number of noise-producing, moving parts. I think the fan situation has been pretty much figured out, leaving me with the issue of a hard drive.)

Thanks in advance!



My solution is this...

1.  Run DSL in "frugal" mode on a 256Meg or 512Meg cfdisk with at least 2 partitions
a.  60Meg for the "frugal" image
b.  the rest being for the persistant (/home /opt) directories

2.  Download and install < XAMPP > in the /opt directory
Quote
XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very easy to install and to use - just download, extract and start.

Which will give you a full bore apache webserver, and the capabilities of adding php, and mysql support (with minor tweaking you can harden it for a production environment)
Plus if you dont activate the extras they dont matter anyway.

3.  Add your webcontent to the /opt/lampp/htdocs/ directory and start hosting...

Im sure if you have a 512Meg CFDISK that should be more than enough for most "simple" html hosting.

Just make sure you read the documents and you will have a complete stand alone webserver with no problems!

< http://www.flash-memory-store.com/1gb-com....d_loqBQ >

I bet you could run all that with a minimum of 128Megs of RAM and the 256-512MEG  CFDISK!

Hope that helps

Brian
AwPhuch

Posted by UndCon on Feb. 11 2006,19:37
have a look at my page : < http://undcon.no-ip.com >

its a diskless webserver booting from compact flash - but im not running DSL - im using Eisfair

i have plans to replace Eisfair with something simiar posted above... but i dont need a database, only want Apache with PHP...(best to do separate installs i guess)

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.