install problem

Discussion in 'Installation/Configuration' started by flourishing, Nov 6, 2005.

  1. flourishing

    flourishing New Member

    my system is rhel 4 . and first step err report that :

    ./setup
    RedHat Enterprise.0
    ERROR: Ihr Betriebssystem wird nicht unterst黷zt! / Your operating system is not supported! / Votre systeme d'exploitation n'est pas support?

    what can i do?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    We've never tested ISPConfig on RHEL 4 so it's not supported officially. But since CentOS 4.1 and 4.2 are supported I guess RHEL 4 should work as well.
    Basically, ISPConfig checks the file /etc/redhat-release to find out the RedHat version. You have to modify the files setup1, dist.txt and the files in the mod directory after you've unpacked the ISPConfig source tarball.

    setup1 is used to find out the distribution and version and builds some kind of string (e.g. rhat90, fedora40, centos42, etc.) that is used to extract the needed information from dist.txt and the files in the mod directory.
     
  3. flourishing

    flourishing New Member

    can you tell me how to modify the setup1 and the other files to make ispconfig can be installed in rhel 4? thank you .

    and cat /etc/redhat-release ====

    Red Hat Enterprise Linux AS release 4 (Nahant)

    how to modify setup1 and the other files ? thank you very much.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    In setup1 you can replace

    Code:
    if [ -f /etc/redhat-release ] && [ ! -h  /etc/redhat-release ]; then
       version=`cat /etc/redhat-release | cut -f5 -d' '`
       if [ -n '$version' ]; then
         version=`cat /etc/redhat-release | cut -f3 -d' '`
       fi
       echo $version | grep \\. &> /dev/null
       if [ $? != 0 ]; then
         version=`echo $version.0`
       fi
       if [ "`cat /etc/redhat-release | cut -f1 -d' '`" == "CentOS" ]; then
         distversion=`echo CentOS $version`
         echo $distversion
         distvers=centos${version//./}
       else
         distversion=`echo RedHat $version`
         echo $distversion
         distvers=rhat${version//./}
       fi
       echo dist=$distvers '##' > dist.info.tmp
       grep -i $distvers dist.txt >> dist.info.tmp
       cp -f dist.info.tmp dist.info
       VAR1=`cat dist.info.tmp | cut -f1 -d=`
       for var1 in $VAR1
       do
         echo export $var1 >> dist.info.ende
       done
       cat dist.info.ende >> dist.info.tmp
       rm -f dist.info.ende
    fi
    with

    Code:
    if [ -f /etc/redhat-release ] && [ ! -h  /etc/redhat-release ]; then
        version=`cat /etc/redhat-release | cut -f7 -d' '`
       echo $version | grep \\. &> /dev/null
       if [ $? != 0 ]; then
         version=`echo $version.0`
       fi
       distversion=`echo RHEL $version`
       echo $distversion
       distvers=rhel${version//./}
       echo dist=$distvers '##' > dist.info.tmp
       grep -i $distvers dist.txt >> dist.info.tmp
       cp -f dist.info.tmp dist.info
       VAR1=`cat dist.info.tmp | cut -f1 -d=`
       for var1 in $VAR1
       do
         echo export $var1 >> dist.info.ende
       done
       cat dist.info.ende >> dist.info.tmp
       rm -f dist.info.ende
    fi
    In dist.txt and the files in mod, copy the section for centos42 and paste it at the end of each file, and replace centos42 with rhel40 in the pasted part. Unless CentOS 4.2 uses totally different settings/paths, this will work for RHEL 4.0.
     
  5. flourishing

    flourishing New Member

    thank you for your help.

    i meet this error.

    configure: error: The installed zlib version may contain a security bug. Please upgrade to 1.2.2 or later: http://www.zlib.net. You can omit this check with --disable-zlib-vcheck but DO NOT REPORT any stability issues then!

    and i tried run ./setup --disable-zlib-vcheck . doesn't work .

    any advices?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

Share This Page