Apache on linux

Posted on 2014-08-19
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_
    LVL 6

    Assisted Solution

    by:Chad Franks
    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;
    LVL 1

    Assisted Solution

    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

    Which Distro ?
    LVL 8

    Assisted Solution


    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

    LVL 61

    Accepted Solution

    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

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
    It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
    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…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    745 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

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now