
27th July 2005, 01:10
|
|
Junior Member
|
|
Join Date: Jul 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

27th July 2005, 01:39
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
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.
|

27th July 2005, 10:51
|
|
Junior Member
|
|
Join Date: Jul 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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 10:55.
|

27th July 2005, 11:19
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
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.
|

27th July 2005, 11:23
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
|
|
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
|

31st August 2005, 01:56
|
|
Junior Member
|
|
Join Date: Aug 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

31st August 2005, 09:06
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
|
|
OK, thanks for the code. We will integrate it in the installer.
|

20th February 2006, 18:18
|
|
Junior Member
|
|
Join Date: Feb 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Red Hat Enterprise Linux 4
Add this to your dist.txt to use it on rhel4:
dist_init_scripts=/etc/rc.d/init.d ## # rhatenterprise0
dist_runlevel=/etc/rc.d ## # rhatenterprise0
dist_smrsh=/etc/smrsh ## # rhatenterprise0
dist_shells=/etc/shells ## # rhatenterprise0
dist_http_user=apache ## # rhatenterprise0
dist_http_group=apache ## # rhatenterprise0
dist_bind_init_script=named ## # rhatenterprise0
dist_bind_user=named ## # rhatenterprise0
dist_bind_group=named ## # rhatenterprise0
dist_bind_conf=/var/named/chroot/etc/named.conf ## # rhatenterprise0
dist_bind_dir=/var/named/chroot/var/named ## # rhatenterprise0
dist_bind_pidfile=/var/named/chroot/var/run/named/named.pid ## # rhatenterprise0
dist_bind_hintfile=named.ca ## # rhatenterprise0
dist_bind_localfile=named.local ## # rhatenterprise0
dist_passwd=/etc/passwd ## # rhatenterprise0
dist_shadow=/etc/shadow ## # rhatenterprise0
dist_group=/etc/group ## # rhatenterprise0
dist_cron_daemon=crond ## # rhatenterprise0
dist_cron_tab=/var/spool/cron/root ## # rhatenterprise0
dist_mysql_group=mysql ## # rhatenterprise0
dist_httpd_daemon=apache ## # rhatenterprise0
|

20th February 2006, 18:19
|
|
Junior Member
|
|
Join Date: Feb 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
forgot!
In the last line, change apache to httpd. I downgraded to 1.3... Sorry I forgot!
|

20th February 2006, 23:49
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
If you want to add RHEL4, you must also edit the files in the mod folder!
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 07:00.
|
|
Recent comments
22 hours 27 min ago
1 day 3 hours ago
1 day 3 hours ago
1 day 4 hours ago
1 day 5 hours ago
1 day 7 hours ago
1 day 9 hours ago
1 day 9 hours ago
1 day 10 hours ago
1 day 11 hours ago