PDA

View Full Version : CentOS 5.3 + ispconfig 3


bongo
2nd April 2009, 08:23
Hello Till,

I am just playing around a bit with centos 5.3.

there is an update for centos 5.3 available to install ispconfig 3
or a small fix to set it up?

i get an error because of the centos version.

thank you,
Bongo

fhawk
2nd April 2009, 09:37
Hello Till,

I am just playing around a bit with centos 5.3.

there is an update for centos 5.3 available to install ispconfig 3
or a small fix to set it up?

i get an error because of the centos version.

thank you,
Bongo

edit ispconfig3_install/install/lib/install.lib.php
find this:
if(stristr($content,'CentOS release 5.2 (Final)')) {
$distname = 'CentOS';
$distver = '5.2';
$distid = 'centos52';
$distbaseid = 'fedora';
swriteln("Operating System: CentOS 5.2 or compatible\n");
}
change to:
if(stristr($content,'CentOS release 5.3 (Final)')) {
$distname = 'CentOS';
$distver = '5.3';
$distid = 'centos53';
$distbaseid = 'fedora';
swriteln("Operating System: CentOS 5.3 or compatible\n");
}
And then rename
ispconfig3_install/install/dist/conf/centos52.conf.php
to
ispconfig3_install/install/dist/conf/centos53.conf.php


renname
ispconfig3_install/install/dist/lib/centos52.lib.php
to
ispconfig3_install/install/dist/lib/centos53.lib.php

Now you can install it!!!

bongo
2nd April 2009, 10:12
thank you fhawk!

it is working now

regards,
bongo