Meaningless Drivel is fun!*
The moose likes Linux / UNIX and the fly likes How much Mem. required for Apache Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "How much Mem. required for Apache" Watch "How much Mem. required for Apache" New topic
Author

How much Mem. required for Apache

Anil Kollur
Ranch Hand

Joined: Mar 25, 2000
Posts: 101

Hi! all Jgurus,
I have a Pentium System with RedHat Linux and I want to know how much memory is required to install Apache web server, and please can u suggest me tips in installing Apache. I have given only 1GB mem for Linux.
Thanks in advance.
Anil


Everyday is a Learning phase! Hence ask "What have I learnt today?"
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
Do you really mean "memory"? If you do, then 1GB is lots. A perfectly reasonable Linux/Apache system will run in 32MB, and 64MB is comfortable.
If you mean disk space, then 1GB should still be plenty. It all depends on what else you have installed. Som e Linux distributions need several GB for a "full" install, but nobody actually needs that full install - it contains lots of alternatives for things which are already there (a dozen text editors, 6 different web servers, a big bag of old text mode games, every development language you never heard of and so on.
If you are installing Linux from scratch, choose the smallest installation you can get away with. It's very easy to install stuff from the distribution disks later, if you need it. 1G of disk space is plenty enough for a development server used by a few people for typical web development (Apache, Java, C, C++, MySQL, PostgresSQL, perl etc.) Just try and avoid the tempation to install too many fancy graphical tools, games and alternative desktops.
If you are setting up a server to be used by a lot of people with big data transfers, a lot of hits (many hits per second, peak load), or a lot of complex server-side processing or database access then you will definately need more memory (128MB or 256MB are good, 512MB should handle huge loads, and 1GB is probably overkill), and probably more disk space for the data.
If you can tell us a bit more about your intended use for this machine, we can probably help you a bit more.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Anil Kollur
Ranch Hand

Joined: Mar 25, 2000
Posts: 101

Hi! Frank,
Its the disk space of 1GB which I has mentioned. Anyway, y'day I installed the Apache web server for the Win98, its giving error. Something like this,
"Check the ServerName directive in httpd.conf file and set properly", eventhough I have given the correct Path in the ServerName. Can U help me.
One more thing can u give hints about installing Apache in Linux, I have one CD which contains the rpm package of the Apache.
Thanks in advance,
Anil

Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
Please copy the fragment of your httpd.conf containing the ServerName directive and post it here, so we can see if anything is wrong with it.
On Red Hat Linux, rpm files are installed using the "rpm" tool. To find out more type "man rpm" at the Linux command prompt, but an instant summary is:
rpm -ivh whatever.rpm
to install a new rpm with some confidence indication of how the installation is progressing.
Anil Kollur
Ranch Hand

Joined: Mar 25, 2000
Posts: 101

Hi! Frank,
the ServerName directive is as follows:
ServerName c:\Program Files\Apache Group\Apache
and I have installed the Apache in "Program Files" dir of the C: partition.
Shall I send the entire file? Please specify,
Thanks in advance
Anil
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
There's your problem. The ServerName directive is used to tell Apache the name it should use for the server on the internet. It should read something like:
ServerName localhost
for use only from the same machine, or something like:
ServerName www.whatever.com
for use on an internet or intranet site.
Anil Kollur
Ranch Hand

Joined: Mar 25, 2000
Posts: 101

Hi! Frank,
Thanx a lot it worked and sorry for delayed reply. Thanx again.
Anil
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How much Mem. required for Apache
 
Similar Threads
tomcat & hw configuration
Memory calculations...
Tomcat5- how can I get the Initial Memory pool numers set on command line to show up in GUI tool?
Oracle to buy Sun Microsystems..
Better processor for Linux.