Install Cpanel on FreeBSD 8.2

– Install FreeBSD with proper network and file system configuration (Ref:  http://docs.cpanel.net/twiki/bin/view/AllDocumentation/InstallationGuide/Quick-StartInstallationGuide)

– Install dependency packages:

# pkg_add -r wget

# pkg_add -r perl

# pkg_add -r rsync (required later for ports sync)

# pkg_add -r gmake

To Fix:

creating glibconfig.h
config.status: executing default commands
gmake: not found
child exited with value 127
Died at /usr/local/cpanel/bin/rrdtoolinstall line 109.

# pkg_add -r png // To fix the following error

To Fix : configure: error: requested PNG backend could not be enabled

– Create the following symlinks

# ln -s /usr/local/bin/wget /usr/bin/wget

# ln -s /lib/libcrypt.so.5 /lib/libcrypt.so.2 // To Fix: Shared object “libcrypt.so.2” not found,

# ln -s /lib/libc.so.7 /lib/libc.so.5 // To Fix: Shared object “libc.so.5” not found

ln -s /lib/libm.so.5 /lib/libm.so.3 // To Fix: “libm.so.3” not found

– Install Cpanel

cd /home

wget -N http://httpupdate.cpanel.net/latest

sh latest

– Once installation successful activate the license (make sure the ip is licensed –  http://www.cpanel.net/apps/verify/)  :

#  /usr/local/cpanel/cpkeyclt

– Start Cpanel

– Touch the following file

# touch /etc/rc.d/init.d/function // To fix:  Could not find functions file, your system may be broken

# /etc/init.d/cpanel start

Now you should be able to access Cpanel at https://< yourip >:2087/

Try to upgrade

Exim: /scripts/eximup –force (this will get the free bsd ports as well)
Cpanel : # /scripts/upcp

./arun

 

 


Posted

in

,

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *