Apache on linux

What is the best way to install apache 2.2 on linux - compiled or automomated?  I am looking for a secure and stable setup.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Chad FranksSenior System EngineerCommented:
I've installed this a few times.  This site details exactly what you need to do.  I've had no issues with it.  Pretty straight forward;

I would always use the package handler of the Linux distribution you are using, to be sure any dependencies are met.  I don't think I have seen any distros yet that do not include Apache.

Depending on the package handler and distro, you must then alter the configuration to your needs.  That can either be done by directly editing the configuration or through specialized wizards.
Which Distro ?
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.


Usually the Apache that is on the linux distribution is stable and secure, if you are paranoiac; then yes compile your own Apache that way you know what is enable and what isn't  and also you are sure that there isn't any backdoor running or something like that.

Easiest is to use package manager and package collections included in your distributions' repositories

You can make rpm or deb from apache tarball - it takes 1 man-day a month to package and another to follow security
That prevents conflicts with system package as newborn is replacement of distribution-supported package.

Worst you can so is to compile package and install it. Then you have no way to uninstall, no easy way to upgrade etc (TIP: ./configure --prefix=/opt/PACKAGE_NAME)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.