AwPhuch
Group: Members
Posts: 1404
Joined: April 2004 |
|
Posted: 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
-------------- http://www.frappr.com/dsl <-- Where do you use DSL? http://www.smoothwall.org <-- Ultimate firewall for the world! http://boinc.mundayweb.com/one/stats.php/userID:6107 <--My BOINC stats! ./S99LinuxRevolution start
|