How to install cPanel on Fedora

yum -y update

yum -y install tcp_wrappers-devel perl tar

mkdir /tmp/cpanel

cd /tmp/cpanel

wget http://layer1.cpanel.net/latest sh latest &

if fails you can repair it with this: /scripts/upcp –force

you will get bored until it finish

login on your server https://xxx.xxx.xxx.xxx:2087/

This should install cpanel without asking you any questions.

If you have any problems you should check: http://www.cpanel.net/install.html

7 Comments

  1. Reolad says:

    Thanks but affter put ther first line the shell show the next error:

    Campus is not in the sudoers file. This incident will be reported.

  2. Carlos says:

    i have fedora 15 and dont can install cpanel, erro message like that

    ____ _
    ___| _ \ __ _ _ __ ___| |
    / __| |_) / _` | ‘_ \ / _ \ |
    | (__| __/ (_| | | | | __/ |
    \___|_| \__,_|_| |_|\___|_|

    Installer Version v00011 r7c1ee26863a31206af8c71a2cc3945cbcd5b3e2e

    Beginning main installation.
    print() on unopened filehandle LOG at /tmp/cpanel/installd/install line 1293.
    2011-08-14 21:29:24 498 (DEBUG): – ssystem [BEGIN]: cp /var/log/cpanel-install.log /var/log/cpanel-install.log.1313367933
    print() on unopened filehandle LOG at /tmp/cpanel/installd/install line 1293, line 1.
    2011-08-14 21:29:24 498 (DEBUG): cp: cannot create regular file `/var/log/cpanel-install.log.1313367933′: Permission denied
    print() on unopened filehandle LOG at /tmp/cpanel/installd/install line 1293, line 1.
    2011-08-14 21:29:24 498 (ERROR): – ssystem [EXIT_CODE] ‘cp’ exited with 1 (ignored)
    print() on unopened filehandle LOG at /tmp/cpanel/installd/install line 1293.
    2011-08-14 21:29:24 498 (DEBUG): – ssystem [END]
    print() on closed filehandle LOG at /tmp/cpanel/installd/install line 1293.
    2011-08-14 21:29:24 507 ( INFO): cPanel install started at: Sun Aug 14 21:29:24 2011!
    print() on closed filehandle LOG at /tmp/cpanel/installd/install line 1293.
    2011-08-14 21:29:24 508 ( INFO): This install will take 10-70 minutes depending on your hardware.
    print() on closed filehandle LOG at /tmp/cpanel/installd/install line 1293.
    2011-08-14 21:29:24 509 ( INFO): Now is the time to go get another cup of coffee/jolt.
    print() on closed filehandle LOG at /tmp/cpanel/installd/install line 1293.
    2011-08-14 21:29:24 510 ( INFO): The install will log to /var/log/cpanel-install.log.
    print() on closed filehandle LOG at /tmp/cpanel/installd/install line 1293.
    2011-08-14 21:29:24 511 ( INFO):
    print() on closed filehandle LOG at /tmp/cpanel/installd/install line 1293.
    2011-08-14 21:29:24 512 ( INFO): Beginning Installation
    print() on closed filehandle LOG at /tmp/cpanel/installd/install line 1293.
    2011-08-14 21:29:24 428 (ERROR): Unexpected rpm ‘fedora-release’ found managing the file ‘/etc/redhat-release’
    print() on closed filehandle LOG at /tmp/cpanel/installd/install line 1293.
    2011-08-14 21:29:24 429 (ERROR): Unsupported distro detected. cPanel only supports CentOS or RedHat Enterprise 4-6 and upstream supported Free BSD systems >= 7.3
    print() on closed filehandle LOG at /tmp/cpanel/installd/install line 1293.
    2011-08-14 21:29:24 430 (FATAL): Please re-install cPanel from a valid distro

    • admin says:

      Unsupported distro detected. cPanel only supports CentOS or RedHat Enterprise 4-6 and upstream supported Free BSD systems >= 7.3

      This is the answer at your question. I recomand you centos 5 or 6

  3. Riko says:

    I have that the same error but i’m using centos 5 T_T confused

  4. I'm to late says:

    This works easiest with CENTOS but also with Fedora18

    I found the trick was break the commands up.

    yum -y update (press enter)

    yum -y install tcp_wrappers-devel perl tar (press enter)

    mkdir /tmp/cpanel (press enter)

    cd /tmp/cpanel (press enter)

    wget http://layer1.cpanel.net/latest (you guessed it)

    sh latest (one more time sing it!)

  5. I'm to late says:

    Oh (censored) CentOS / RHEL.

    I spoke to soon.

    Beginning main installation.
    2013-04-20 18:43:02 557 ( INFO): cPanel install started at: Sat Apr 20 18:43:02 2013!
    2013-04-20 18:43:02 558 ( INFO): This install will take 20-50 minutes depending on your hardware.
    2013-04-20 18:43:02 559 ( INFO): Now is the time to go get another cup of coffee/jolt.
    2013-04-20 18:43:02 560 ( INFO): The install will log to /var/log/cpanel-install.log.
    2013-04-20 18:43:02 561 ( INFO):
    2013-04-20 18:43:02 562 ( INFO): Beginning Installation v3
    2013-04-20 18:43:02 479 (ERROR): Unexpected rpm ‘fedora-release’ found managing the file ‘/etc/redhat-release’
    2013-04-20 18:43:02 480 (ERROR): Unsupported distro detected. cPanel only supports CentOS, RedHat Enterprise, and CloudLinux 5 and 6
    2013-04-20 18:43:02 481 (FATAL): Please re-install cPanel from a valid distro
    Removing /root/installer.lock

Leave a Comment