HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   CentOS 5.3 + ispconfig 3 (http://www.howtoforge.com/forums/showthread.php?t=33159)

bongo 2nd April 2009 07:23

CentOS 5.3 + ispconfig 3
 
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 08:37

Quote:

Originally Posted by bongo (Post 179123)
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:
Quote:

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:
Quote:

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 09:12

thank you fhawk!

it is working now

regards,
bongo


All times are GMT +2. The time now is 17:20.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.