Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Apache on linux

Posted on 2014-08-19
Medium Priority
Last Modified: 2014-09-01
What is the best way to install apache 2.2 on linux - compiled or automomated?  I am looking for a secure and stable setup.
Question by:Jack_son_

Assisted Solution

by:Chad Franks
Chad Franks earned 400 total points
ID: 40270031
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;


Assisted Solution

einangen earned 400 total points
ID: 40270070
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.
LVL 13

Expert Comment

ID: 40270194
Which Distro ?
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.


Assisted Solution

Pepe2323 earned 400 total points
ID: 40270234

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.

LVL 25

Assisted Solution

madunix earned 400 total points
ID: 40271822
LVL 62

Accepted Solution

gheist earned 400 total points
ID: 40274930
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)

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension . This reminded me of questions that come up here at EE along the lines of, "How can I tell the type of file from its cont…
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month12 days, 14 hours left to enroll

579 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question