Jump to content

Recommended Posts

Hello,

 

We need to install mod_evasive module on our Apache2 that runs on Fedora server. However, for that we need Apache's apxs to compile it. We found out that we can do that by running the

 

yum install httpd-devel

 

However, when we run that, we get the following:

 

=============================================================================
Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
httpd-devel             i386       2.2.8-1.fc7      updates           144 k
Updating:
httpd                   i386       2.2.8-1.fc7      updates           1.0 M
openldap                i386       2.3.34-7.fc7     updates           291 k
Installing for dependencies:
apr-devel               i386       1.2.8-6          fedora            170 k
apr-util-devel          i386       1.2.10-1.fc7     updates            54 k
cyrus-sasl-devel        i386       2.1.22-8.fc7     updates           351 k
db4-devel               i386       4.5.20-5.fc7     fedora            2.3 M
expat-devel             i386       1.95.8-9         fedora            129 k
openldap-devel          i386       2.3.34-7.fc7     updates           1.5 M
Updating for dependencies:
httpd-manual            i386       2.2.8-1.fc7      updates           821 k
mod_ssl                 i386       1:2.2.8-1.fc7    updates            85 k
openldap-clients        i386       2.3.34-7.fc7     updates           179 k

Transaction Summary
=============================================================================
Install      7 Package(s)
Update       5 Package(s)
Remove       0 Package(s)

Total download size: 7.0 M

 

We're kind of cautios, because we have never updated Apache on our live server. We'd prefer if we could download and install just the httpd-devel module. Is this possible?

 

If not, would this mess up any of our existing configuration? Could we expect any problems? And do we need to shut Apache down, then run the updates and only then restart it?

 

I realise these are dummy questions, but we're fairly new at all this. We'd greatly appreciate all the help.

 

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/93188-installing-httpd-devel-module-on-fedora/
Share on other sites

We're kind of cautios, because we have never updated Apache on our live server. We'd prefer if we could download and install just the httpd-devel module. Is this possible?

 

No, httpd-devel replaces your existing install of Apache. It is exactly the same version, it just installs extra headers, source code and tools required for Apache development.

 

If not, would this mess up any of our existing configuration? Could we expect any problems? And do we need to shut Apache down, then run the updates and only then restart it?

 

I am not a Fedora user but had to do exactly the same thing on my Debian servers. Any decent distro (fedora included) will not overide existing configurations automatically. You should not have any problems.

 

It should also be fine to leave Apache running, the last step of the install on Debian was automatically a quick Apache restart.

No, httpd-devel replaces your existing install of Apache. It is exactly the same version, it just installs extra headers, source code and tools required for Apache development.

Thanks very much for clearing it up!

 

Here's another thing though - we have mod_security2 add on. When we started using the server, this was already on it, however we're not sure whether it comes with original Apache installation or was it added manually.

 

Could mod_security2 files get overwritten? We would back up all the conf files just in case (httpd.conf loads mod_security2 module), however could updating Apache in the way you described remove or disable mod_security?

 

Cheers

Could mod_security2 files get overwritten? We would back up all the conf files just in case (httpd.conf loads mod_security2 module), however could updating Apache in the way you described remove or disable mod_security?

 

Like I said, any decent distro will not let any configurations be overidden. As mods are simply addons to Apache, they are little pieces of standalone code. Simply updating or reinstalling Apache should have no effect whatsoever.

 

However, yes, make sure you backup firstly.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.