Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Install apache by apt-get or need to compile it from source will it make any difference in Security ?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

I think there is no difference when it comes to security unless you have a patch to apply (made by you or taken from someone else).

For better security, you can do other things like:

  1. Prevent directory listings.
  2. Running apache as non-root user.
  3. Assign the correct permissions for your folders/files.
  4. And others...

Of course, your requirements can greatly change what you can/should do.

EDIT:

There is one more point to add: In the case of installing a package from source, you can apply a patch to fix any bug as soon as it is discovered by the developers. However, you can't do it when installing a debian package (using apt-get) until the ubuntu guys release an update for it and this usually takes longer time.

share|improve this answer
    
I find it easier to maintain and apply security fix if installed by apt-get as you can rely on the distribution security team. –  Julien Nov 17 '11 at 9:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.