This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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?"
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.
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
Joined: Jan 07, 1999
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.
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
Joined: Jan 07, 1999
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.