How to upgrade Cpanel latest version in Linux

Reviewer Asked on August 14, 2019 in Computer,   Cpanel,   Linux.
Add Comment
1 Answer(s)

Login into your server with SSH and check the cpanel version,

[[email protected] ~] #  /usr/local/cpanel/cpanel -V

11.34.2 (build 8)

To update latest version execute the  upcp script,

[[email protected] ~]#  /scripts/upcp --force

Once it will be upgraded latest version take a backup of exim few important files by cpor rsync command,

 [~]# rsync /etc/exim.conf /etc/exim.conf-`date +%F` [~]# rsync /etc/exim.conf.local /etc/exim.conf.local-`date +%F` [~]# rsync /etc/ /etc/`date +%F` [~]# rsync -r /etc/mail/spamassassin /etc/mail/spamassassin-`date +%F` [~]# rsync -r /usr/local/cpanel/etc/exim /usr/local/cpanel/etc/exim-`date +%F` [~]# rsync -r /etc/exim /etc/exim-`date +%F`

Run the following script to rebuild the exim configuration,

 [~]# /scripts/buildeximconf

After completed this process check the latest version of Cpanel,

 [~]# /usr/local/cpanel/cpanel -V

11.40.1 (build 11)

Trainee Answered on August 14, 2019.
Add Comment