Page 1 of 1

Install Apache modules

Posted: 2014/02/14 21:29:30
by denede
Hey guys,
Today I've received a server that had Centos 5.1(was very wtf).. and i want to install a few modules for apache.
But when i try yum install mod_expires or yum install mod_rewrite or even yum install/search mod_* it says "Nothing to do"
Repos I have activated are remi, epel, remi-php55

Re: Install Apache modules

Posted: 2014/02/14 21:52:58
by gerald_clark
CentOS 5.1 is ancient and has numerous exploits.
Update immediately to 5.10.
If you have problems with installing from remi, you should talk to them.
Remi is not one of the recommended repositories as it overwrites core programs.

Please read http://www.centos.org/forums/viewforum.php?f=18

Re: Install Apache modules

Posted: 2014/02/14 21:53:53
by denede
I've tried with CentOS Base&updates and still the same.

Re: Install Apache modules

Posted: 2014/02/14 21:58:21
by gerald_clark
Does this server by any chance have cPanel installed?

Re: Install Apache modules

Posted: 2014/02/14 22:26:33
by denede
yes it has.

Re: Install Apache modules

Posted: 2014/02/14 22:33:33
by gerald_clark
Then you are not running CentOS.
You are running a corpse of what once was an ancient release of CentOS.
CPanel guts CentOS and replaces core programs with its own compiled custom versions.
Then it cripples yum so that you can't break it further by updating core components.
For this reason, we cannot support servers with cPanel installed.
CPanel is a commercial product with its own support channels.
You will have to take your Apache problems to cPanel support.

Re: Install Apache modules

Posted: 2014/02/14 22:38:53
by denede
Ohh, I was just thinking to install the latest CentOS without cpanel.
I also think having 5.1 version is crapy.

Re: Install Apache modules

Posted: 2014/02/14 22:42:35
by gerald_clark
Good idea.
Current versions are 5.10 and 6.5.
Get a real CentOS and not an OpenVZ container.