24 Aug 2016

The installation process was unable to synchro nize cPanel & WHM – SOLVED

The install encountered an error: Failed to stage “new RPMS” because of an error: Digest for http://httpupdate.cpanel.net/RPM/11.5 6/centos/6/x86_64/cpanel-perl-522-Mail-SpamAssassin-3.004001-10.cp1156.x86_64.rp m is different from expected (got hash 3c98d701a2436b61af652329e4254a10dae4bb88b 5483889de372351fa7ceb1bd8d9eeb9d64b2bba1752c5e1baa1fd7cb492039222f12aea15e493d50 366665f; expected hash 3b82d7e3e24b6b024aa1fb7a3cd2dd4a7e19b775c2fc6539718410e95 1400e52a853e4b9abc5a17fa2da316db933c61af3c0ec8b7097ab7398d7df9ea9538df2; mirror IP 89.26.243.163) at ./updatenow.static line 34379.
[2016-08-23 10:43:01 -0400] : see https://go.cpanel.net/rpmcheckfailed for more information
(in cleanup) Can’t call method “info” on an undefined value at ./updaten ow.static line 36951 during global destruction.
[2016-08-23 10:43:01 -0400] Removing staged files and directories for cpanel
2016-08-23 10:43:01 810 (DEBUG): The installation process detected a failed s ynchronization. The system will reattempt the synchronization with the updatenow .static file…
2016-08-23 10:43:01 816 (FATAL): The installation process was unable to synchro nize cPanel & WHM. Verify that your network can connect to httpupdate.cpanel.net and rerun the installer.
Removing /root/installer.lock.

mkdir /usr/local/cpanel/rpm_downloads/
cd /usr/local/cpanel/rpm_downloads/
wget http://httpupdate.cpanel.net/RPM/11.56/centos/6/x86_64/cpanel-perl-522-Mail-SpamAssassin-3.004001-10.cp1156.x86_64.rpm

and restart cpanel installation.

cd /home
wget -N http://httpupdate.cpanel.net/latest
sh latest

 

Share this
17 Aug 2016

How To Install cPanel on a Virtual Server Running Centos 6, Centos 7

How To Install cPanel on a Virtual Server Running Centos 6, Centos 7
About cPanel

cPanel is a convenient application that allows users to administer servers through a GUI interface instead of the traditional command line. Although the installation for cPanel is relatively simple, the script does take several hours to run.

Notes

Once cPanel is installed, it cannot be removed from the server without a complete server restore. cPanel does not offer an uninstaller
Additionally, cPanel is subject to a licensing fee which may come out to be around $165 a year. You can find out more about cPanel pricing here https://www.buycpanel.com/

Cpanel VPS $14.90 /mo
Cpanel Dedicated $34.95 /mo

Notes

Recently on September,2015  cPanel and WHM 11.50 has been released, After such a long time  in this version of cPanel & WHM having  support for  CentOS 7 / RHEL 7  Version  on fresh installations. WHM / cPanel webhosting is the best software to manage website hosting server , email , domain and security management, which can be install  in virtual private server (VPS )  as well as on cloud hosting server  and dedicated server . This control panel is  using  most of users, client and companies and it is premier web hosting automated software used by world wide.

Features of cPanel
cPanel control panel is very versatile control panel for managing your hosting servers, It has lots of features which make Web hosting easier for you. Some of them are listed below:

Powerful GUI controls on your server with WHM.
Can perform tedious tasks like Backups, Migrations and restorations in a very easy and smooth manner.
Excellent DNS and mail server management for main server and as well as client account.
Can easily switch/enable/disable services for server.
Can configure SSL/TLS for all server services and client domains.
Easy integration with Phpmyadmin to provide a web based interface to manage your MySQL databases.
Feel free to Rebrand it.
Can be easily integrated with WHMCS to automate billing management.
Here In this article, We’ll be covering cPanel & WHM installation on RHEL/CentOS 6.5 and share some more useful information which will help you to manage cPanel & WHM.

Installation Prerequisites
A fresh and running VPS or dedicated CentOS 6.5 server.
A minimum of 384MB RAM.
A Minimum 20GB of free disk space required for cPanel installation.
A cPanel license.

Installation Recommended settings

Disable OS Firewall before installation .
Recommended Hardware :
Minimum & Recommended Processor should be 226MHZ
Minimum RAM should be 1 GB.
Minimum Disk Space should be 20 GB .

Version check Command

root@centoshost [~]# cat /etc/redhat-release
CentOS release 6.4 (Final)
Disk Space Check
root@centoshost[~]# df -h

Memory Check
root@centoshost [~]# free -m

Deactivate firewall on CentOS 7 , CloudLinux 7 and RHEL 7
iptables-save > ~/iptables.rules    systemctl stop firewalld.service    systemctl disable firewalld.service

Installation Steps
root@centoshost [~]# yum update
root@centoshost [~]# cd /home
root@centoshost [~]# wget -N http://httpupdate.cpanel.net/latest;
root@centoshost [~]# sh latest

After that you need to complete the installation wizard from its web based interface and you can access WHM with the following URL.
https://your-server-ip:2087 or http://your-server-ip:2086
https://your-host-name:2087 or http://your-host-name:2086


cpanel-whm-installation1

CPanel Backend Files
Cpanel directory : /usr/local/cpanel
Third Party tools : /usr/local/cpanel/3rdparty/
Cpanel addons directory : /usr/local/cpanel/addons/
Base files like Phpmyadmin, skins : /usr/local/cpanel/base/
cPanel binaries : /usr/local/cpanel/bin/
CGI files : /usr/local/cpanel/cgi-sys/
Cpanel access & error log files : /usr/local/cpanel/logs/
Whm related files : /usr/local/cpanel/whostmgr/

CPanel  Important conf files
Apache configuration file: /etc/httpd/conf/httpd.conf
Exim mail server conf file:/etc/exim.conf
Named conf file : /etc/named.conf
ProFTP and Pureftpd conf file :/etc/proftpd.conf and /etc/pure-ftpd.conf
Cpanel user file: /var/cpanel/users/username
Cpanel configuration file (Tweak settings) : /var/cpanel/cpanel.config
Networking configuration file: /etc/sysconfig/network
Addons, parked and subdomain information: /etc/userdomains
Cpanel update config file: /etc/cpupdate.conf
Clamav conf file: /etc/clamav.conf
Mysql configuration file: /etc/my.cnf
PHP ini conf file : /usr/local/lib/php.ini

Share this

© 2017 Centos Host. All rights reserved.

Click Me