Quote:
Originally Posted by fhawk
edit /tmp/ispconfig3_install/install/lib/install.lib.php
find this:
change it:
|
After a clean (fresh) CentOS 5.3 install. Installing ISPConfig 3 failed.
The steps done were:
Download ISPConfig 3xxxx from
http://www.ispconfig.org/downloads.htm
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY*
yum update
yum groupinstall 'Development Tools'
yum groupinstall 'Development Libraries'
# Disable the firewall:
system-config-securitylevel-tui
for Centos5.3:
i get an error because of the centos version.
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");
}
add after:
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");
}
then copy and rename
ispconfig3_install/install/dist/conf/centos52.conf.php
to
ispconfig3_install/install/dist/conf/centos53.conf.php
copy and rename
ispconfig3_install/install/dist/lib/centos52.lib.php
to
ispconfig3_install/install/dist/lib/centos53.lib.php
Now you can install it!!!
cd /ispconfig3_install/install
php -q install.php
after i got:
# answer all questions...
error:
Select language (en,de) [en]: enter
Installation mode (standard,expert) [standard]: enter
Full qualified hostname (FQDN) of the server, eg server1.domain.tld []: server1.example.com
MySQL server hostname [localhost]: enter
MySQL root username [root]: enter
MySQL root password []: xxxxxxxxx
MySQL database to create [dbispconfig]: enter
MySQL charset [utf8]: enter
ERROR: Unable to load SQL-Dump into database table.
I check if root can connect to mySQL Data Base:
mysql -h remote.host.tld -u root -p
mysql -h server1.example.com -u root -p
also root can connect using phpmyadmin.
I think the problem is @ : line 160
/install/lib/installer_base.lib.php
It can create the DB but not the ispconfig user or any tables in the ISPconfig DBase!
The options @ /tmp/trunk/install/options.conf.php need to be in an install script somehow ?
Thanks
Recent comments
9 hours 33 min ago
14 hours 32 min ago
15 hours 58 min ago
16 hours 51 min ago
18 hours 34 min ago
22 hours 58 min ago
23 hours 50 min ago
1 day 2 hours ago
1 day 15 hours ago
1 day 16 hours ago