• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

How much Mem. required for Apache

 
Ranch Hand
Posts: 103
Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Anil Kollur
Ranch Hand
Posts: 103
Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 103
Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 103
Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi! Frank,
Thanx a lot it worked and sorry for delayed reply. Thanx again.
Anil
 
Those cherries would go best on cherry cheesecake. Don't put those cherries on this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic