LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-06-2004, 05:45 PM   #1
zenaphex
LQ Newbie
 
Registered: Jun 2004
Posts: 4

Rep: Reputation: 0
Setting up a new Apache Web Server


I have been researching several places on a new Apache Web Server setup. There is the easy way and the hard way. The hard way seems to be the more appropriate way of doing it. I have even looked over the articles on this site but they do not explain much of the preperation/implementation details. Linux documenation explains way too much about what certain terminology is and not enough to know how to properly allocate and layout your hard drive space.

When loading RedHat Linux install for the first time from CD it asks what kind of setup environment you prefer. One of the choices is a Linux Server and realize it says Linux Server, not Linux Web Server. Could I use this Linux Server install option and just customize it to make it a little more professionally done? What method do you folks recommend? Or, in other words, what do you most commonly do for setting up/preparing a Linux Web Server. Please clarify so if there is something I need to lookup I can use your keywords to research it further.

Another concern is the partition size and layout for a Web Server. I'm not running some mega corporate website either. Just one I can experiment with. I want to setup a test web server with 20GB of available space. What would you recommend as far as layout and sizing considerations for a Web Server?

For the Apache installation I can handle it from that point as Apache has good Linux installation documentation.

Thanks for any advice.
 
Old 06-06-2004, 06:46 PM   #2
cli_man
Member
 
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428

Rep: Reputation: 30
You don't need anything fancy for the setup, I normally do a pretty basic install, I choose the custom and turn off almost everything, as for the drive layout the way I normally do it is:

hda 2x the size of the ram
hdb /boot 100 megs
hdc rest of the drive

Also I personally like installing apache to the /web directory, I know that is not standard but it keeps it nice a separate and the path's are alot shorter to type out in code and stuff like that.

Past that make sure you compile apache and not just use a rpm as then you are sure of how it is setup and can add new features as you need them while not running all the ones you don't need, it also cuts down on your vunerbilities.

Ok now everyone else can argue with the way I do it, it works for me so do whatever you find works the best
 
Old 06-06-2004, 07:34 PM   #3
zenaphex
LQ Newbie
 
Registered: Jun 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Cool, thanks! Anyone else with custom Web Server/Apache setups please speak up. Anything helps.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up a Web Server gtgoku Linux - Networking 3 03-14-2005 11:34 PM
setting up a web server using apache Whatshisface Linux - Newbie 14 12-11-2004 03:01 PM
Need help setting up Apache web server thegreatstoney Linux - Newbie 11 09-13-2004 08:10 PM
setting up password protected web forms on an apache web server AZDAVE Linux - Security 3 07-07-2004 12:03 PM
Setting up an Apache Web server with mySQL jasonX Linux - General 2 03-12-2004 12:11 PM


All times are GMT -5. The time now is 02:37 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration