Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


mod security for apache

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Linux, Apache, Mysql and PHP (LAMP) Forum
Author Message
magisterluddi



Joined: 03 Jul 2005
Posts: 3

Posted: Mon Jul 11, 2005 8:43 am    Post subject: mod security for apache  

hi,

i wanted to secure apache by installing mod_security. I read harry sufehmi's tutorial on how to set up a debian server on linode. If I install mod_security by typing apt-get install libapache-mod-security, am I going to create problems mixing packages? I wasn't able to include it and recompile apache from source.

I'm running debian 3.1 with 2.4.29

I know there were problems mixing stable and unstable packages but is this still the case?

Thanks for your help

Neil
Back to top  
saman007uk



Joined: 16 Oct 2004
Posts: 31

Posted: Mon Jul 11, 2005 1:27 pm    Post subject:  

You don't need to mix stable/unstable packages, or compile apache.

libapache-mod-security is already in the Debian stable repository: http://packages.debian.org/stable/web/libapache-mod-security

The following command would do fine:

Code: apt-get update
apt-get install libapache-mod-security
Back to top  
sarge



Joined: 19 Dec 2004
Posts: 58

Posted: Thu Jul 14, 2005 1:19 pm    Post subject:  

mod_security is very nice.

You might want to install bastille-linux too. It is available on debian via apt-get and helps you secure your OS. It will present security info and ask a series of questions (mostly yes/no) to help make the OS more secure. Takes about 10 minutes to complete if you read the info rather than just going with the default answers.
Back to top  
 
       Linode.com Forum Forum Index -> Linux, Apache, Mysql and PHP (LAMP) Forum
Page 1 of 1