I have a need to run cpanel under FreeBSD 6.x. Cpanel support doesn't show it QA'd under that version, and there is a bugzilla report showing it not running.
However, with a minor bit of monkeying around, I seem to have it up and running.
I do not recall all the steps, but in essence:
Fresh install of FreeBSD 6.1. Sup the ports (tag=.) and put them in /usr/ports2. (Cpanel will
overwrite, and you need the 6.x/current version of ports for a couple things.
Go to your ports2 directory, and install openssl, portupgrade, gdbm (W/o compatibility headers), and wget. symlink /usr/local/bin/wget to /usr/bin/wget as there are a few
hardcoded paths in the install system, and 6.x doesn't include wget anymore. Install
compat5x and compat4x, and make sure your kernel config has the COMPAT flags
for FreeBSD 4 and 5, as well as QUOTA support. Install perl 5.8.8 from ports2 as well.
After this is done, snag the latest installer, and run it. IIRC, it almost all installs,
except the stunnel stuff. Login to WHM under normal http on 2086, configure cpanle
to use the CURRENT release, and disable port updates.
Then run /scripts/upcp --force and I believe after that, kyou will have everything.
Add the necessary _enable flags to /etc/rc.conf, reboot, and voila.
I had to do a little monkeying with the startup order, to get it to start mysql before exim but I believe that's common under all the FreeBSD releases. Wish they'd use rcorder...
I've installed a couple test domains, everything seems to be working. Only oddity I've noticed is the IP deny manager shows a bungled perl ref when there are are no IP's being
blocked, but when you add an IP, it DTRT.
IF anybody tries it let me know. I am off and on, or email me directly, and I"ll see what I can do...
However, with a minor bit of monkeying around, I seem to have it up and running.
I do not recall all the steps, but in essence:
Fresh install of FreeBSD 6.1. Sup the ports (tag=.) and put them in /usr/ports2. (Cpanel will
overwrite, and you need the 6.x/current version of ports for a couple things.
Go to your ports2 directory, and install openssl, portupgrade, gdbm (W/o compatibility headers), and wget. symlink /usr/local/bin/wget to /usr/bin/wget as there are a few
hardcoded paths in the install system, and 6.x doesn't include wget anymore. Install
compat5x and compat4x, and make sure your kernel config has the COMPAT flags
for FreeBSD 4 and 5, as well as QUOTA support. Install perl 5.8.8 from ports2 as well.
After this is done, snag the latest installer, and run it. IIRC, it almost all installs,
except the stunnel stuff. Login to WHM under normal http on 2086, configure cpanle
to use the CURRENT release, and disable port updates.
Then run /scripts/upcp --force and I believe after that, kyou will have everything.
Add the necessary _enable flags to /etc/rc.conf, reboot, and voila.
I had to do a little monkeying with the startup order, to get it to start mysql before exim but I believe that's common under all the FreeBSD releases. Wish they'd use rcorder...
I've installed a couple test domains, everything seems to be working. Only oddity I've noticed is the IP deny manager shows a bungled perl ref when there are are no IP's being
blocked, but when you add an IP, it DTRT.
IF anybody tries it let me know. I am off and on, or email me directly, and I"ll see what I can do...