Is it possible to run cPanel on OpenSuse 10.2?

bsamson

Active Member
Sep 18, 2004
25
0
151
Hello,
I understand the OpenSuse 10.2 is not officially supported, however is it possible? Anyone have any success? Any configuration changes needed? Any assistance would be greatly appreciated! Thanks!

Best Regards,
Brian
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
76
308
cPanel Access Level
Root Administrator
Any particular reason to use 10.2?


This is not supported, at all. However, on OpenSUSE 10.3, this installed cPanel:


1. Install yum (yast2 -i yum)
2. Make certain yum works (e.g. yum install wget )
3. Once step 2 is done, download http://layer1.cpanel.net/latest
4. Do this:

Code:
 /bin/sh latest --noexec
...
cd installd
5. Edit the bootstrap file
6. Comment out the section where it tries to install apt4rpm
7. Modify the touch statement to:

Code:
touch /var/cpanel/useyum
8. The resulting section in bootstrap should resemble:

Code:
if [ -e "/etc/SuSE-release" ]; then
        if [ ! -e "/usr/bin/wget" ]; then
                echo "Please install wget before proceeding"
                exit
        fi
        #if [ ! -e "/usr/bin/apt-get" ]; then
        #        ./fetchfile install-apt4suse.rpm
        #       rpm -Uvh install-apt4suse.rpm
        #        install-apt4suse
        #        /usr/bin/apt-get -y --fix-broken install
        #fi
        #if [ ! -e "/usr/bin/apt-get" ]; then
        #        echo "Autoinstalling apt4rpm failed, please visit http://linux01.gwdg.de/apt4rpm/ and install it manually"
        #fi
        touch /var/cpanel/useyum
fi
9. Execute bootstrap (e.g. /bin/sh bootstrap )



There seem to be some dependency problems in SUSE's repositories that prevent yum update from functioning properly. However, individual installs work. (e.g. yum install wget )