How to reinstall cpanel in a server (realtime)??

billau

Well-Known Member
Dec 24, 2003
65
0
156
Brisbane, Australia
rm -rf /usr/local/cpanel/cpanel

(or)

mv /usr/local/cpanel/cpanel /usr/local/cpanel/cp.bak

Next, edit the file /etc/cpupdate.conf

make these entries:

CPANEL=stable
RPMUP=daily
SYSUP=daily

Now, execute the following two commands as root:

/scripts/sysup
/scripts/updatenow

And then..

/scripts/upcp --force