#1  
Old 27th July 2005, 00:10
Skunk Skunk is offline
Junior Member
 
Join Date: Jul 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default ISPConfig on RHEL clone CenOS

Thanks for ISPConfig, it looks like a great app, but;
Is it possible that the install script can be changed to allow ISPConfig
install on the Red Hat Enterprice clone CentOS? CentOS is a really often
used Enterprice Linux.

When trying to run the installer script, all I get is;
ERROR: Ihr Betriebssystem wird nicht unterst�tzt! / Your operating system is not supported!


/Skunk
Reply With Quote
Sponsored Links
  #2  
Old 27th July 2005, 00:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Is it possible that the install script can be changed to allow ISPConfig
install on the Red Hat Enterprice clone CentOS?
Yes, have a look at the files setup1, dist.txt and the files in the mod directory. If you make some changes there you can install ISPConfig on CentOS.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 27th July 2005, 09:51
Skunk Skunk is offline
Junior Member
 
Join Date: Jul 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks.
I found it more convenient to change /etc/redhat-release to RedHet 9 in stead.
Strange that the ISPConfig supports Red Hat up to 9 and all of Fedora releases, but not the real thing; Red Hat Enterprice 4.

/Skunk

Last edited by Skunk; 27th July 2005 at 09:55.
Reply With Quote
  #4  
Old 27th July 2005, 10:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Strange that the ISPConfig supports Red Hat up to 9 and all of Fedora releases, but not the real thing; Red Hat Enterprice 4.
That's easy to explain: ISPConfig is free, that means we don't earn money with it, so we don't have money to buy RHEL 4...

But everyone's invited to contribute, so if you (or others) think ISPConfig should run on RHEL and CentOS or other distros (Gentoo, ...), you can make the appropriate adjustments, and we can make them available for others in the next ISPConfig release.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 27th July 2005, 10:23
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,787
Thanks: 821
Thanked 5,337 Times in 4,187 Posts
Default

Quote:
Originally Posted by Skunk
Strange that the ISPConfig supports Red Hat up to 9 and all of Fedora releases, but not the real thing; Red Hat Enterprice 4.
/Skunk
Redhat Enterprise is not supported yet because we dont have a server
with this linux distribution available for testing here. If someone will
do the modifications in setup1, dist.txt and test it, we will integrate
it in the ISPConfig installer

Till
Reply With Quote
  #6  
Old 31st August 2005, 00:56
so_ so_ is offline
Junior Member
 
Join Date: Aug 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Centos 4.x modification

I copied the fedora30 section of dist.txt as Centos 4.x is probably closest to that.

I have tested this (only a little bit), but you get the general idea.

Code:
diff -ur install_ispconfig/dist.txt install_ispconfig_centos/dist.txt
--- install_ispconfig/dist.txt  2005-07-14 08:27:01.000000000 -0600
+++ install_ispconfig_centos/dist.txt   2005-08-30 10:27:27.772767064 -0600
@@ -356,6 +356,50 @@
 dist_mysql_group=mysql ##                                        # fedora40
 dist_httpd_daemon=httpd ##                                       # fedora40
 
+dist_init_scripts=/etc/rc.d/init.d ##                            # centos40
+dist_runlevel=/etc/rc.d ##                                       # centos40
+dist_smrsh=/etc/smrsh ##                                         # centos40
+dist_shells=/etc/shells ##                                       # centos40
+dist_http_user=apache ##                                         # centos40
+dist_http_group=apache ##                                        # centos40
+dist_bind_init_script=named ##                                   # centos40
+dist_bind_user=named ##                                          # centos40
+dist_bind_group=named ##                                         # centos40
+dist_bind_conf=/etc/named.conf ##                                # centos40
+dist_bind_dir=/var/named/chroot/var/named ##                     # centos40
+dist_bind_pidfile=/var/named/chroot/var/run/named/named.pid ##   # centos40
+dist_bind_hintfile=named.ca ##                                   # centos40
+dist_bind_localfile=named.local ##                               # centos40
+dist_passwd=/etc/passwd ##                                       # centos40
+dist_shadow=/etc/shadow ##                                       # centos40
+dist_group=/etc/group ##                                         # centos40
+dist_cron_daemon=crond ##                                        # centos40
+dist_cron_tab=/var/spool/cron/root ##                            # centos40
+dist_mysql_group=mysql ##                                        # centos40
+dist_httpd_daemon=httpd ##                                       # centos40
+
+dist_init_scripts=/etc/rc.d/init.d ##                            # centos41
+dist_runlevel=/etc/rc.d ##                                       # centos41
+dist_smrsh=/etc/smrsh ##                                         # centos41
+dist_shells=/etc/shells ##                                       # centos41
+dist_http_user=apache ##                                         # centos41
+dist_http_group=apache ##                                        # centos41
+dist_bind_init_script=named ##                                   # centos41
+dist_bind_user=named ##                                          # centos41
+dist_bind_group=named ##                                         # centos41
+dist_bind_conf=/etc/named.conf ##                                # centos41
+dist_bind_dir=/var/named/chroot/var/named ##                     # centos41
+dist_bind_pidfile=/var/named/chroot/var/run/named/named.pid ##   # centos41
+dist_bind_hintfile=named.ca ##                                   # centos41
+dist_bind_localfile=named.local ##                               # centos41
+dist_passwd=/etc/passwd ##                                       # centos41
+dist_shadow=/etc/shadow ##                                       # centos41
+dist_group=/etc/group ##                                         # centos41
+dist_cron_daemon=crond ##                                        # centos41
+dist_cron_tab=/var/spool/cron/root ##                            # centos41
+dist_mysql_group=mysql ##                                        # centos41
+dist_httpd_daemon=httpd ##                                       # centos41
+
 dist_init_scripts=/etc/init.d ##                                 # suse72
 dist_runlevel=/etc/init.d ##                                     # suse72
 dist_smrsh= ##                                                   # suse72
@@ -640,4 +684,4 @@
 dist_cron_daemon=cron ##                                         # freebsd51
 dist_cron_tab=/var/cron/tabs/root ##                             # freebsd51
 dist_mysql_group=mysql ##                                        # freebsd51
-dist_httpd_daemon=apache ##                                      # freebsd51
\ No newline at end of file
+dist_httpd_daemon=apache ##                                      # freebsd51
diff -ur install_ispconfig/setup1 install_ispconfig_centos/setup1
--- install_ispconfig/setup1    2005-07-29 07:25:40.000000000 -0600
+++ install_ispconfig_centos/setup1     2005-08-30 10:30:33.806485640 -0600
@@ -115,14 +115,26 @@
    rm -f dist.info.ende
 fi
 if [ -f /etc/redhat-release ] && [ ! -h  /etc/redhat-release ]; then
-   version=`cat /etc/redhat-release | cut -f5 -d' '`
-   echo $version | grep \\. &> /dev/null
-   if [ $? != 0 ]; then
-     version=`echo $version.0`
+   system=`cat /etc/redhat-release | cut -f1 -d ' '`
+   if [ "$system" == 'CentOS' ]; then
+       version=`cat /etc/redhat-release | cut -f3 -d' '`
+       echo $version | grep \\. &> /dev/null
+       if [ $? != 0 ]; then
+          version=`echo $version.0`
+       fi
+       distversion=`echo Centos $version`
+       echo $distversion
+       distvers=centos${version//./}
+   else
+       version=`cat /etc/redhat-release | cut -f5 -d' '`
+       echo $version | grep \\. &> /dev/null
+       if [ $? != 0 ]; then
+          version=`echo $version.0`
+       fi
+       distversion=`echo RedHat $version`
+       echo $distversion
+       distvers=rhat${version//./}
    fi
-   distversion=`echo RedHat $version`
-   echo $distversion
-   distvers=rhat${version//./}
    echo dist=$distvers '##' > dist.info.tmp
    grep -i $distvers dist.txt >> dist.info.tmp
    cp -f dist.info.tmp dist.info
Reply With Quote
  #7  
Old 31st August 2005, 08:06
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,787
Thanks: 821
Thanked 5,337 Times in 4,187 Posts
Default

OK, thanks for the code. We will integrate it in the installer.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 13:29.


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