<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.lhycloud.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Admin</id>
	<title>LHYcloud Docs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.lhycloud.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Admin"/>
	<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/Special:Contributions/Admin"/>
	<updated>2026-08-09T11:12:57Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=How_to_migrate_cPanel/WHM_from_one_server_to_another%3F&amp;diff=73</id>
		<title>How to migrate cPanel/WHM from one server to another?</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=How_to_migrate_cPanel/WHM_from_one_server_to_another%3F&amp;diff=73"/>
		<updated>2024-04-07T13:26:20Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide explains how to migrate all your cPanel/WHM accounts from one server to another. Typically, you would do this when you need to replace your server. Here is the abbreviation we will be using in the whole guide:&lt;br /&gt;
&lt;br /&gt;
Server A : Old Server&lt;br /&gt;
&lt;br /&gt;
Server B : New Server&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;root&#039;&#039; access to both servers&lt;br /&gt;
* cPanel/WHM installed and configured on Server B ([[How to Install cPanel and WHM on CentOS 7|Use this guide to install cPanel/WHM]])&lt;br /&gt;
* Check the following compaitablity issues:&lt;br /&gt;
** cPanel/WHM version should be newer on Server B&lt;br /&gt;
** Install any addons/plugins on Server B that you installed on Server A&lt;br /&gt;
** Database Version should be the same (If you want to upgrade, do [[MySQL/MariaDB upgrade]] after the transfer)&lt;br /&gt;
** [[EasyApache 4]] packages on server B should include the packages installed on server A&lt;br /&gt;
** Edit [[CPanel Tweak Settings|Tweak Settings]], [[CPanel MultiPHP Manager|MultiPHP Manager]] on WHM and make them similar or same as on server A.&lt;br /&gt;
&lt;br /&gt;
== cPanel Migration Guide ==&lt;br /&gt;
&lt;br /&gt;
=== Automatic Migration ===&lt;br /&gt;
&lt;br /&gt;
* Login to WHM and go to &amp;quot;Transfer Tool&amp;quot;[[File:Transfer Tool.png|center|thumb]]&lt;br /&gt;
* Enter the public IP address or FQDN(Fully-Qualified Domain Name) hostname and root password or SSH Public Key.&lt;br /&gt;
* Click Scan Remote Server. (Also select Restricted Restore if you do not trust the remote server or it belongs to someone else. This would prevent any security incident.)&lt;br /&gt;
* Select all the accounts and the packages if you are transferring the whole server. Else, select the specific accounts and packages related to those accounts.(Do not select any service configurations as it breaks server configuration most of the time.)&lt;br /&gt;
* Click on Copy and the migration will be started. You do not need to stay on this page for the transfer to continue. (The transfer log can be viewed at any time by going to &#039;&#039;&#039;[[WHM Review Transfers and Restores|Review Transfers and Restores]]&#039;&#039;&#039; in WHM and clicking the &#039;&#039;&#039;Review&#039;&#039;&#039; link next to the transfer session ID that was started to review the progress)&lt;br /&gt;
&lt;br /&gt;
The automatic migration is now complete.&lt;br /&gt;
&lt;br /&gt;
=== Manual Migration ===&lt;br /&gt;
&lt;br /&gt;
If the automatic migration is failing or your server A has gone in an unbootable state, try this method. (Do note that this method will have a longer downtime)&amp;lt;blockquote&amp;gt;If your server was hacked and you want to migrate your cPanel/WHM, follow this guide:&lt;br /&gt;
&lt;br /&gt;
Boot your server A into rescue mode/system or any alternative rescue OS or request your datacenter to do the same.&lt;br /&gt;
&lt;br /&gt;
Login to the terminal using SSH. If SSH is unavailable, you can also use KVM screen or IPMI console.&lt;br /&gt;
&lt;br /&gt;
Use the following commands: &amp;lt;code&amp;gt;root@rescue ~ # lsblk&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If it&#039;s showing md1,md2, then you have a RAID setup. If it does display an output with md, then you do not have a RAID setup. Accordingly, mount the system to /mnt&lt;br /&gt;
&lt;br /&gt;
In case of RAID, the following command can be used: &amp;lt;code&amp;gt;mount /dev/md2 /home&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If it&#039;s not a RAID setup, the following command can be used: &amp;lt;code&amp;gt;mount /dev/sda3 /home&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Do note that you need to mount both the drives or RAID to the correct mount points for the solution to work. The mount point for the 1st drive or RAID setup is always &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; while for 2nd drive in a non-RAID setup, you have to check /etc/fstab file using the following command: &amp;lt;code&amp;gt;cat /etc/fstab&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After mounting the drives, use the following command to switch to the root environment of the server A:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;chroot-prepare /home&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;mount -t proc proc /mnt/proc&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;mount -t sysfs sys /mnt/sys&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;mount -o bind /dev /mnt/dev&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;mount --bind /run /mnt/run&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;chroot /home&amp;lt;/code&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* Create a new directory to store the transfer data using the following command on server A: &amp;lt;code&amp;gt;mkdir /transfer&amp;lt;/code&amp;gt;&lt;br /&gt;
*Run the following command to create a loop for backing up all cPanel accounts on server A:&lt;br /&gt;
&lt;br /&gt;
 for x in `ls /var/cpanel/users|grep -v \/`; do /scripts/pkgacct $x /transfer; done&lt;br /&gt;
&lt;br /&gt;
*After the cpmove backups are complete, transfer them to the server B using any secure method like SFTP, SCP or FTPS. We will be using SFTP on server A.&lt;br /&gt;
&lt;br /&gt;
 cd /transfer&lt;br /&gt;
 sftp root@serverb.com&lt;br /&gt;
&lt;br /&gt;
 cd /home&lt;br /&gt;
 put *&lt;br /&gt;
&lt;br /&gt;
*All the cpmove files are now transferred to /home directory on server B. Use the following command to restore all the cPanel accounts on the server B:&lt;br /&gt;
&lt;br /&gt;
 cd /home&lt;br /&gt;
 for x in cpmove*.tar.gz; do /scripts/restorepkg --force $x ; done&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;For older cPanel versions:&#039;&#039;&#039; (Version 108 or earlier)&amp;lt;/small&amp;gt;&lt;br /&gt;
 &amp;lt;small&amp;gt;ls cpmove*.tar.gz | cut -d\- -f2- | cut -d\. -f1 | while read x ; do /scripts/restorepkg --force $x ;done&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*This command will create a loop to list all cpmove files and restore them. After it&#039;s done, move the cpmove file to a different location for backup purpose or delete them. We will move them to &amp;lt;code&amp;gt;/restoredata&amp;lt;/code&amp;gt; on server B:&lt;br /&gt;
&lt;br /&gt;
 mkdir /restoredata&lt;br /&gt;
 mv cpmove-* /restoredata/&lt;br /&gt;
The manual migration is now complete.&lt;br /&gt;
&lt;br /&gt;
==Making websites live again==&lt;br /&gt;
After the transfer is complete, the DNS servers still serves the records from server A. To point all the websites to the new server, change the following:&lt;br /&gt;
&lt;br /&gt;
*Nameservers A records&lt;br /&gt;
*Nameservers glue records&lt;br /&gt;
&lt;br /&gt;
In case a cPanel DNS cluster was setup, just link the server B to the [[cPanel DNSonly]] server and push the new DNS records from server B.&lt;br /&gt;
&lt;br /&gt;
In case any websites which were using third-party DNS like Cloudflare, their DNS records will have to manually be updated to point the websites to server B.&lt;br /&gt;
&lt;br /&gt;
After the DNS is propogated, the websites should be live again. (DNS propogation takes a maximum of 5-10min and on average takes less than a minute)&lt;br /&gt;
[[Category:CPanel]]&lt;br /&gt;
[[Category:Transfer Tool]]&lt;br /&gt;
[[Category:CPanel Migration]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=How_to_migrate_cPanel/WHM_from_one_server_to_another%3F&amp;diff=72</id>
		<title>How to migrate cPanel/WHM from one server to another?</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=How_to_migrate_cPanel/WHM_from_one_server_to_another%3F&amp;diff=72"/>
		<updated>2024-04-07T13:19:49Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide explains how to migrate all your cPanel/WHM accounts from one server to another. Typically, you would do this when you need to replace your server. Here is the abbreviation we will be using in the whole guide:&lt;br /&gt;
&lt;br /&gt;
Server A : Old Server&lt;br /&gt;
&lt;br /&gt;
Server B : New Server&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;root&#039;&#039; access to both servers&lt;br /&gt;
* cPanel/WHM installed and configured on Server B ([[How to Install cPanel and WHM on CentOS 7|Use this guide to install cPanel/WHM]])&lt;br /&gt;
* Check the following compaitablity issues:&lt;br /&gt;
** cPanel/WHM version should be newer on Server B&lt;br /&gt;
** Install any addons/plugins on Server B that you installed on Server A&lt;br /&gt;
** Database Version should be the same (If you want to upgrade, do [[MySQL/MariaDB upgrade]] after the transfer)&lt;br /&gt;
** [[EasyApache 4]] packages on server B should include the packages installed on server A&lt;br /&gt;
** Edit [[CPanel Tweak Settings|Tweak Settings]], [[CPanel MultiPHP Manager|MultiPHP Manager]] on WHM and make them similar or same as on server A.&lt;br /&gt;
&lt;br /&gt;
== cPanel Migration Guide ==&lt;br /&gt;
&lt;br /&gt;
=== Automatic Migration ===&lt;br /&gt;
&lt;br /&gt;
* Login to WHM and go to &amp;quot;Transfer Tool&amp;quot;[[File:Transfer Tool.png|center|thumb]]&lt;br /&gt;
* Enter the public IP address or FQDN(Fully-Qualified Domain Name) hostname and root password or SSH Public Key.&lt;br /&gt;
* Click Scan Remote Server. (Also select Restricted Restore if you do not trust the remote server or it belongs to someone else. This would prevent any security incident.)&lt;br /&gt;
* Select all the accounts and the packages if you are transferring the whole server. Else, select the specific accounts and packages related to those accounts.(Do not select any service configurations as it breaks server configuration most of the time.)&lt;br /&gt;
* Click on Copy and the migration will be started. You do not need to stay on this page for the transfer to continue. (The transfer log can be viewed at any time by going to &#039;&#039;&#039;[[WHM Review Transfers and Restores|Review Transfers and Restores]]&#039;&#039;&#039; in WHM and clicking the &#039;&#039;&#039;Review&#039;&#039;&#039; link next to the transfer session ID that was started to review the progress)&lt;br /&gt;
&lt;br /&gt;
The automatic migration is now complete.&lt;br /&gt;
&lt;br /&gt;
=== Manual Migration ===&lt;br /&gt;
If the automatic migration is failing or your server A has gone in an unbootable state, try this method. (Do note that this method will have a longer downtime)&amp;lt;blockquote&amp;gt;If your server was hacked and you want to migrate your cPanel/WHM, follow this guide:&lt;br /&gt;
&lt;br /&gt;
* Boot your server A into rescue mode/system or any alternative rescue OS or request your datacenter to do the same.&lt;br /&gt;
* Login to the terminal using SSH. If SSH is unavailable, you can also use KVM screen or IPMI console.&lt;br /&gt;
* Use the following commands: &amp;lt;code&amp;gt;root@rescue ~ # lsblk&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* If it&#039;s showing md1,md2, then you have a RAID setup. If it does display an output with md, then you do not have a RAID setup. Accordingly, mount the system to /mnt&lt;br /&gt;
* In case of RAID, the following command can be used: &amp;lt;code&amp;gt;mount /dev/md2 /home&amp;lt;/code&amp;gt;&lt;br /&gt;
* If it&#039;s not a RAID setup, the following command can be used: &amp;lt;code&amp;gt;mount /dev/sda3 /home&amp;lt;/code&amp;gt;&lt;br /&gt;
* Do note that you need to mount both the drives or RAID to the correct mount points for the solution to work. The mount point for the 1st drive or RAID setup is always &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; while for 2nd drive in a non-RAID setup, you have to check /etc/fstab file using the following command: &amp;lt;code&amp;gt;cat /etc/fstab&amp;lt;/code&amp;gt;&lt;br /&gt;
* After mounting the drives, use the following command to switch to the root environment of the server A:  &lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&amp;lt;blockquote&amp;gt;&lt;br /&gt;
 &amp;lt;code&amp;gt;chroot-prepare /home&amp;lt;/code&amp;gt;&lt;br /&gt;
OR&amp;lt;/blockquote&amp;gt;&amp;lt;blockquote&amp;gt;&lt;br /&gt;
 &amp;lt;code&amp;gt;mount -t proc /proc proc&amp;lt;/code&amp;gt;&lt;br /&gt;
 &amp;lt;code&amp;gt;mount -t proc proc /mnt/proc&amp;lt;/code&amp;gt;&lt;br /&gt;
 &amp;lt;code&amp;gt;mount -t sysfs sys /mnt/sys&amp;lt;/code&amp;gt;&lt;br /&gt;
 &amp;lt;code&amp;gt;mount -o bind /dev /mnt/dev&amp;lt;/code&amp;gt;&lt;br /&gt;
 &amp;lt;code&amp;gt;mount --bind /run /mnt/run&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&amp;lt;blockquote&amp;gt;&amp;lt;code&amp;gt;chroot /home&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Create a new directory to store the transfer data using the following command on server A: &amp;lt;code&amp;gt;mkdir /transfer&amp;lt;/code&amp;gt;&lt;br /&gt;
* Run the following command to create a loop for backing up all cPanel accounts on server A: &lt;br /&gt;
&lt;br /&gt;
 for x in `ls /var/cpanel/users|grep -v \/`; do /scripts/pkgacct $x /transfer; done&lt;br /&gt;
&lt;br /&gt;
* After the cpmove backups are complete, transfer them to the server B using any secure method like SFTP, SCP or FTPS. We will be using SFTP on server A.&lt;br /&gt;
&lt;br /&gt;
 cd /transfer&lt;br /&gt;
 sftp root@serverb.com&lt;br /&gt;
&lt;br /&gt;
 cd /home&lt;br /&gt;
 put *&lt;br /&gt;
&lt;br /&gt;
* All the cpmove files are now transferred to /home directory on server B. Use the following command to restore all the cPanel accounts on the server B:&lt;br /&gt;
&lt;br /&gt;
 cd /home&lt;br /&gt;
 for x in cpmove*.tar.gz; do /scripts/restorepkg --force $x ; done&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;For older cPanel versions:&#039;&#039;&#039; (Version 108 or earlier)&amp;lt;/small&amp;gt;&lt;br /&gt;
 &amp;lt;small&amp;gt;ls cpmove*.tar.gz | cut -d\- -f2- | cut -d\. -f1 | while read x ; do /scripts/restorepkg --force $x ;done&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* This command will create a loop to list all cpmove files and restore them. After it&#039;s done, move the cpmove file to a different location for backup purpose or delete them. We will move them to &amp;lt;code&amp;gt;/restoredata&amp;lt;/code&amp;gt; on server B:&lt;br /&gt;
&lt;br /&gt;
 mkdir /restoredata&lt;br /&gt;
 mv cpmove-* /restoredata/&lt;br /&gt;
The manual migration is now complete.&lt;br /&gt;
&lt;br /&gt;
== Making websites live again ==&lt;br /&gt;
After the transfer is complete, the DNS servers still serves the records from server A. To point all the websites to the new server, change the following:&lt;br /&gt;
&lt;br /&gt;
* Nameservers A records&lt;br /&gt;
* Nameservers glue records&lt;br /&gt;
&lt;br /&gt;
In case a cPanel DNS cluster was setup, just link the server B to the [[cPanel DNSonly]] server and push the new DNS records from server B.&lt;br /&gt;
&lt;br /&gt;
In case any websites which were using third-party DNS like Cloudflare, their DNS records will have to manually be updated to point the websites to server B.&lt;br /&gt;
&lt;br /&gt;
After the DNS is propogated, the websites should be live again. (DNS propogation takes a maximum of 5-10min and on average takes less than a minute)&lt;br /&gt;
[[Category:CPanel]]&lt;br /&gt;
[[Category:Transfer Tool]]&lt;br /&gt;
[[Category:CPanel Migration]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=How_to_migrate_cPanel/WHM_from_one_server_to_another%3F&amp;diff=71</id>
		<title>How to migrate cPanel/WHM from one server to another?</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=How_to_migrate_cPanel/WHM_from_one_server_to_another%3F&amp;diff=71"/>
		<updated>2023-11-03T16:13:51Z</updated>

		<summary type="html">&lt;p&gt;Admin: cPanel restore script changes for Version 110 and after&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide explains how to migrate all your cPanel/WHM accounts from one server to another. Typically, you would do this when you need to replace your server. Here is the abbreviation we will be using in the whole guide:&lt;br /&gt;
&lt;br /&gt;
Server A : Old Server&lt;br /&gt;
&lt;br /&gt;
Server B : New Server&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;root&#039;&#039; access to both servers&lt;br /&gt;
* cPanel/WHM installed and configured on Server B ([[How to Install cPanel and WHM on CentOS 7|Use this guide to install cPanel/WHM]])&lt;br /&gt;
* Check the following compaitablity issues:&lt;br /&gt;
** cPanel/WHM version should be newer on Server B&lt;br /&gt;
** Install any addons/plugins on Server B that you installed on Server A&lt;br /&gt;
** Database Version should be the same (If you want to upgrade, do [[MySQL/MariaDB upgrade]] after the transfer)&lt;br /&gt;
** [[EasyApache 4]] packages on server B should include the packages installed on server A&lt;br /&gt;
** Edit [[CPanel Tweak Settings|Tweak Settings]], [[CPanel MultiPHP Manager|MultiPHP Manager]] on WHM and make them similar or same as on server A.&lt;br /&gt;
&lt;br /&gt;
== cPanel Migration Guide ==&lt;br /&gt;
&lt;br /&gt;
=== Automatic Migration ===&lt;br /&gt;
&lt;br /&gt;
* Login to WHM and go to &amp;quot;Transfer Tool&amp;quot;[[File:Transfer Tool.png|center|thumb]]&lt;br /&gt;
* Enter the public IP address or FQDN(Fully-Qualified Domain Name) hostname and root password or SSH Public Key.&lt;br /&gt;
* Click Scan Remote Server. (Also select Restricted Restore if you do not trust the remote server or it belongs to someone else. This would prevent any security incident.)&lt;br /&gt;
* Select all the accounts and the packages if you are transferring the whole server. Else, select the specific accounts and packages related to those accounts.(Do not select any service configurations as it breaks server configuration most of the time.)&lt;br /&gt;
* Click on Copy and the migration will be started. You do not need to stay on this page for the transfer to continue. (The transfer log can be viewed at any time by going to &#039;&#039;&#039;[[WHM Review Transfers and Restores|Review Transfers and Restores]]&#039;&#039;&#039; in WHM and clicking the &#039;&#039;&#039;Review&#039;&#039;&#039; link next to the transfer session ID that was started to review the progress)&lt;br /&gt;
&lt;br /&gt;
The automatic migration is now complete.&lt;br /&gt;
&lt;br /&gt;
=== Manual Migration ===&lt;br /&gt;
If the automatic migration is failing or your server A has gone in an unbootable state, try this method. (Do note that this method will have a longer downtime)&amp;lt;blockquote&amp;gt;If your server was hacked and you want to migrate your cPanel/WHM, follow this guide:&lt;br /&gt;
&lt;br /&gt;
* Boot your server A into rescue mode/system or any alternative rescue OS or request your datacenter to do the same.&lt;br /&gt;
* Login to the terminal using SSH. If SSH is unavailable, you can also use KVM screen or IPMI console.&lt;br /&gt;
* Use the following commands: &amp;lt;code&amp;gt;root@rescue ~ # lsblk&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* If it&#039;s showing md1,md2, then you have a RAID setup. If it does display an output with md, then you do not have a RAID setup. Accordingly, mount the system to /mnt&lt;br /&gt;
* In case of RAID, the following command can be used: &amp;lt;code&amp;gt;mount /dev/md2 /home&amp;lt;/code&amp;gt;&lt;br /&gt;
* If it&#039;s not a RAID setup, the following command can be used: &amp;lt;code&amp;gt;mount /dev/sda3 /home&amp;lt;/code&amp;gt;&lt;br /&gt;
* Do note that you need to mount both the drives or RAID to the correct mount points for the solution to work. The mount point for the 1st drive or RAID setup is always &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; while for 2nd drive in a non-RAID setup, you have to check /etc/fstab file using the following command: &amp;lt;code&amp;gt;cat /etc/fstab&amp;lt;/code&amp;gt;&lt;br /&gt;
* After mounting the drives, use the following command to switch to the root environment of the server A:  &lt;br /&gt;
&amp;lt;code&amp;gt;chroot-prepare /home&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;chroot /home&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Create a new directory to store the transfer data using the following command on server A: &amp;lt;code&amp;gt;mkdir /transfer&amp;lt;/code&amp;gt;&lt;br /&gt;
* Run the following command to create a loop for backing up all cPanel accounts on server A: &lt;br /&gt;
&lt;br /&gt;
 for x in `ls /var/cpanel/users|grep -v \/`; do /scripts/pkgacct $x /transfer; done&lt;br /&gt;
&lt;br /&gt;
* After the cpmove backups are complete, transfer them to the server B using any secure method like SFTP, SCP or FTPS. We will be using SFTP on server A.&lt;br /&gt;
&lt;br /&gt;
 cd /transfer&lt;br /&gt;
 sftp root@serverb.com&lt;br /&gt;
&lt;br /&gt;
 cd /home&lt;br /&gt;
 put *&lt;br /&gt;
&lt;br /&gt;
* All the cpmove files are now transferred to /home directory on server B. Use the following command to restore all the cPanel accounts on the server B:&lt;br /&gt;
&lt;br /&gt;
 cd /home&lt;br /&gt;
 for x in cpmove*.tar.gz; do /scripts/restorepkg --force $x ; done&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;For older cPanel versions:&#039;&#039;&#039; (Version 108 or earlier)&amp;lt;/small&amp;gt;&lt;br /&gt;
 &amp;lt;small&amp;gt;ls cpmove*.tar.gz | cut -d\- -f2- | cut -d\. -f1 | while read x ; do /scripts/restorepkg --force $x ;done&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* This command will create a loop to list all cpmove files and restore them. After it&#039;s done, move the cpmove file to a different location for backup purpose or delete them. We will move them to &amp;lt;code&amp;gt;/restoredata&amp;lt;/code&amp;gt; on server B:&lt;br /&gt;
&lt;br /&gt;
 mkdir /restoredata&lt;br /&gt;
 mv cpmove-* /restoredata/&lt;br /&gt;
The manual migration is now complete.&lt;br /&gt;
&lt;br /&gt;
== Making websites live again ==&lt;br /&gt;
After the transfer is complete, the DNS servers still serves the records from server A. To point all the websites to the new server, change the following:&lt;br /&gt;
&lt;br /&gt;
* Nameservers A records&lt;br /&gt;
* Nameservers glue records&lt;br /&gt;
&lt;br /&gt;
In case a cPanel DNS cluster was setup, just link the server B to the [[cPanel DNSonly]] server and push the new DNS records from server B.&lt;br /&gt;
&lt;br /&gt;
In case any websites which were using third-party DNS like Cloudflare, their DNS records will have to manually be updated to point the websites to server B.&lt;br /&gt;
&lt;br /&gt;
After the DNS is propogated, the websites should be live again. (DNS propogation takes a maximum of 5-10min and on average takes less than a minute)&lt;br /&gt;
[[Category:CPanel]]&lt;br /&gt;
[[Category:Transfer Tool]]&lt;br /&gt;
[[Category:CPanel Migration]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=How_to_access_SSH_in_cPanel&amp;diff=70</id>
		<title>How to access SSH in cPanel</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=How_to_access_SSH_in_cPanel&amp;diff=70"/>
		<updated>2023-06-15T01:01:45Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;&amp;lt;blockquote&amp;gt;You can also use cPanel &amp;gt; Terminal interface for small tasks. It provides an in-browser websocket interacting with SSH. It is not recommended to be used for complex tasks.&amp;lt;/blockquote&amp;gt;You can enable SSH access from your cPanel &amp;gt; Security &amp;gt; SSH Access or directly search for &amp;quot;SSH Access&amp;quot;.  Once you open the tool, you can generate a new pair of SSH keys. You will need these keys in order to configure an SSH connection from your local computer(client) to the serv...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;blockquote&amp;gt;You can also use cPanel &amp;gt; Terminal interface for small tasks. It provides an in-browser websocket interacting with SSH. It is not recommended to be used for complex tasks.&amp;lt;/blockquote&amp;gt;You can enable SSH access from your cPanel &amp;gt; Security &amp;gt; SSH Access or directly search for &amp;quot;SSH Access&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Once you open the tool, you can generate a new pair of SSH keys. You will need these keys in order to configure an SSH connection from your local computer(client) to the server. The public key is saved on the server and you will have to insert the private key in your local SSH client. We recommend using [https://www.putty.org/ PuTTY] for beginner&#039;s SSH client.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Manage SSH keys&#039;&#039;&#039;: This section of cPanel&#039;s SSH Access interface allows you to create, import, manage, and remove SSH keys.&lt;br /&gt;
&lt;br /&gt;
== Generating SSH Key pair ==&lt;br /&gt;
&lt;br /&gt;
# Click Generate a New Key.&lt;br /&gt;
# Type in a strong password, then click in the field below it and type the password again.&lt;br /&gt;
# Click Generate Key, then you will see a Key Generation Complete! message.&lt;br /&gt;
&lt;br /&gt;
[[File:Creating SSH Key Pair on cPanel.png|center|thumb|600x600px]]&lt;br /&gt;
&lt;br /&gt;
== Authorizing the SSH Private Key ==&lt;br /&gt;
Once you have generated a SSH key pair, you have to authorize the public key to allow access to your cPanel account terminal.&lt;br /&gt;
[[File:Manage SSH Keys on cPanel.png|center|thumb|600x600px]]&lt;br /&gt;
&lt;br /&gt;
# Click on Manage on the public key you want to authorize.&lt;br /&gt;
# Click on Authorize button.&lt;br /&gt;
&lt;br /&gt;
You can see that the authorization status changes from &amp;quot;not authorized&amp;quot; to &amp;quot;authorized&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Connect to your server via SSH ==&lt;br /&gt;
We will be using PuTTY client for Windows/Linux to connect to server using SSH.&amp;lt;blockquote&amp;gt;PuTTY does not accept OpenSSH format private key and requires PPK private key format. You can either use cPanel converter to convert your key on cPanel and then download it or use PuTTYgen to manually convert OpenSSH format to PPK format.&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# In the Session interface, enter the hostname or IP address of the server in the Host Name (or IP address) text box.&lt;br /&gt;
# Under category Connection &amp;gt; SSH &amp;gt; Auth, click on Credentials and attach the private key in private key for authentication.[[File:PuTTY Private Key authentication.png|center|frame]]&lt;br /&gt;
# Click on Open.&lt;br /&gt;
# Enter your cPanel Username&lt;br /&gt;
# Enter the Passphrase you entered while creating the SSH Key pair.&lt;br /&gt;
&lt;br /&gt;
[[Category:CPanel]]&lt;br /&gt;
[[Category:SSH]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=File:PuTTY_Private_Key_authentication.png&amp;diff=69</id>
		<title>File:PuTTY Private Key authentication.png</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=File:PuTTY_Private_Key_authentication.png&amp;diff=69"/>
		<updated>2023-06-15T00:54:41Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;PuTTY Private Key authentication&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=File:Manage_SSH_Keys_on_cPanel.png&amp;diff=68</id>
		<title>File:Manage SSH Keys on cPanel.png</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=File:Manage_SSH_Keys_on_cPanel.png&amp;diff=68"/>
		<updated>2023-06-15T00:46:26Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Manage SSH Keys on cPanel&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=File:Creating_SSH_Key_Pair_on_cPanel.png&amp;diff=67</id>
		<title>File:Creating SSH Key Pair on cPanel.png</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=File:Creating_SSH_Key_Pair_on_cPanel.png&amp;diff=67"/>
		<updated>2023-06-15T00:42:53Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Creating SSH Key Pair on cPanel&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=How_to_migrate_cPanel/WHM_from_one_server_to_another%3F&amp;diff=66</id>
		<title>How to migrate cPanel/WHM from one server to another?</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=How_to_migrate_cPanel/WHM_from_one_server_to_another%3F&amp;diff=66"/>
		<updated>2023-02-04T12:50:21Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide explains how to migrate all your cPanel/WHM accounts from one server to another. Typically, you would do this when you need to replace your server. Here is the abbreviation we will be using in the whole guide:&lt;br /&gt;
&lt;br /&gt;
Server A : Old Server&lt;br /&gt;
&lt;br /&gt;
Server B : New Server&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;root&#039;&#039; access to both servers&lt;br /&gt;
* cPanel/WHM installed and configured on Server B ([[How to Install cPanel and WHM on CentOS 7|Use this guide to install cPanel/WHM]])&lt;br /&gt;
* Check the following compaitablity issues:&lt;br /&gt;
** cPanel/WHM version should be newer on Server B&lt;br /&gt;
** Install any addons/plugins on Server B that you installed on Server A&lt;br /&gt;
** Database Version should be the same (If you want to upgrade, do [[MySQL/MariaDB upgrade]] after the transfer)&lt;br /&gt;
** [[EasyApache 4]] packages on server B should include the packages installed on server A&lt;br /&gt;
** Edit [[CPanel Tweak Settings|Tweak Settings]], [[CPanel MultiPHP Manager|MultiPHP Manager]] on WHM and make them similar or same as on server A.&lt;br /&gt;
&lt;br /&gt;
== cPanel Migration Guide ==&lt;br /&gt;
&lt;br /&gt;
=== Automatic Migration ===&lt;br /&gt;
&lt;br /&gt;
* Login to WHM and go to &amp;quot;Transfer Tool&amp;quot;[[File:Transfer Tool.png|center|thumb]]&lt;br /&gt;
* Enter the public IP address or FQDN(Fully-Qualified Domain Name) hostname and root password or SSH Public Key.&lt;br /&gt;
* Click Scan Remote Server. (Also select Restricted Restore if you do not trust the remote server or it belongs to someone else. This would prevent any security incident.)&lt;br /&gt;
* Select all the accounts and the packages if you are transferring the whole server. Else, select the specific accounts and packages related to those accounts.(Do not select any service configurations as it breaks server configuration most of the time.)&lt;br /&gt;
* Click on Copy and the migration will be started. You do not need to stay on this page for the transfer to continue. (The transfer log can be viewed at any time by going to &#039;&#039;&#039;[[WHM Review Transfers and Restores|Review Transfers and Restores]]&#039;&#039;&#039; in WHM and clicking the &#039;&#039;&#039;Review&#039;&#039;&#039; link next to the transfer session ID that was started to review the progress)&lt;br /&gt;
&lt;br /&gt;
The automatic migration is now complete.&lt;br /&gt;
&lt;br /&gt;
=== Manual Migration ===&lt;br /&gt;
If the automatic migration is failing or your server A has gone in an unbootable state, try this method. (Do note that this method will have a longer downtime)&amp;lt;blockquote&amp;gt;If your server was hacked and you want to migrate your cPanel/WHM, follow this guide:&lt;br /&gt;
&lt;br /&gt;
* Boot your server A into rescue mode/system or any alternative rescue OS or request your datacenter to do the same.&lt;br /&gt;
* Login to the terminal using SSH. If SSH is unavailable, you can also use KVM screen or IPMI console.&lt;br /&gt;
* Use the following commands: &amp;lt;code&amp;gt;root@rescue ~ # lsblk&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* If it&#039;s showing md1,md2, then you have a RAID setup. If it does display an output with md, then you do not have a RAID setup. Accordingly, mount the system to /mnt&lt;br /&gt;
* In case of RAID, the following command can be used: &amp;lt;code&amp;gt;mount /dev/md2 /home&amp;lt;/code&amp;gt;&lt;br /&gt;
* If it&#039;s not a RAID setup, the following command can be used: &amp;lt;code&amp;gt;mount /dev/sda3 /home&amp;lt;/code&amp;gt;&lt;br /&gt;
* Do note that you need to mount both the drives or RAID to the correct mount points for the solution to work. The mount point for the 1st drive or RAID setup is always &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; while for 2nd drive in a non-RAID setup, you have to check /etc/fstab file using the following command: &amp;lt;code&amp;gt;cat /etc/fstab&amp;lt;/code&amp;gt;&lt;br /&gt;
* After mounting the drives, use the following command to switch to the root environment of the server A:  &lt;br /&gt;
&amp;lt;code&amp;gt;chroot-prepare /home&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;chroot /home&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Create a new directory to store the transfer data using the following command on server A: &amp;lt;code&amp;gt;mkdir /transfer&amp;lt;/code&amp;gt;&lt;br /&gt;
* Run the following command to create a loop for backing up all cPanel accounts on server A: &lt;br /&gt;
&lt;br /&gt;
 for x in `ls /var/cpanel/users|grep -v \/`; do /scripts/pkgacct $x /transfer; done&lt;br /&gt;
&lt;br /&gt;
* After the cpmove backups are complete, transfer them to the server B using any secure method like SFTP, SCP or FTPS. We will be using SFTP on server A.&lt;br /&gt;
&lt;br /&gt;
 cd /transfer&lt;br /&gt;
 sftp root@serverb.com&lt;br /&gt;
&lt;br /&gt;
 cd /home&lt;br /&gt;
 put *&lt;br /&gt;
&lt;br /&gt;
* All the cpmove files are now transferred to /home directory on server B. Use the following command to restore all the cPanel accounts on the server B:&lt;br /&gt;
&lt;br /&gt;
 cd /home&lt;br /&gt;
 ls cpmove*.tar.gz | cut -d\- -f2- | cut -d\. -f1 | while read x ; do /scripts/restorepkg --force $x ;done&lt;br /&gt;
&lt;br /&gt;
* This command will create a loop to list all cpmove files and restore them. After it&#039;s done, move the cpmove file to a different location for backup purpose or delete them. We will move them to &amp;lt;code&amp;gt;/restoredata&amp;lt;/code&amp;gt; on server B:&lt;br /&gt;
&lt;br /&gt;
 mkdir /restoredata&lt;br /&gt;
 mv cpmove-* /restoredata/&lt;br /&gt;
The manual migration is now complete.&lt;br /&gt;
&lt;br /&gt;
== Making websites live again ==&lt;br /&gt;
After the transfer is complete, the DNS servers still serves the records from server A. To point all the websites to the new server, change the following:&lt;br /&gt;
&lt;br /&gt;
* Nameservers A records&lt;br /&gt;
* Nameservers glue records&lt;br /&gt;
&lt;br /&gt;
In case a cPanel DNS cluster was setup, just link the server B to the [[cPanel DNSonly]] server and push the new DNS records from server B.&lt;br /&gt;
&lt;br /&gt;
In case any websites which were using third-party DNS like Cloudflare, their DNS records will have to manually be updated to point the websites to server B.&lt;br /&gt;
&lt;br /&gt;
After the DNS is propogated, the websites should be live again. (DNS propogation takes a maximum of 5-10min and on average takes less than a minute)&lt;br /&gt;
[[Category:CPanel]]&lt;br /&gt;
[[Category:Transfer Tool]]&lt;br /&gt;
[[Category:CPanel Migration]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=How_to_migrate_cPanel/WHM_from_one_server_to_another%3F&amp;diff=65</id>
		<title>How to migrate cPanel/WHM from one server to another?</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=How_to_migrate_cPanel/WHM_from_one_server_to_another%3F&amp;diff=65"/>
		<updated>2023-02-04T12:49:43Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide explains how to migrate all your cPanel/WHM accounts from one server to another. Typically, you would do this when you need to replace your server. Here is the abbreviation we will be using in the whole guide:&lt;br /&gt;
&lt;br /&gt;
Server A : Old Server&lt;br /&gt;
&lt;br /&gt;
Server B : New Server&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;root&#039;&#039; access to both servers&lt;br /&gt;
* cPanel/WHM installed and configured on Server B ([[How to Install cPanel and WHM on CentOS 7|Use this guide to install cPanel/WHM]])&lt;br /&gt;
* Check the following compaitablity issues:&lt;br /&gt;
** cPanel/WHM version should be newer on Server B&lt;br /&gt;
** Install any addons/plugins on Server B that you installed on Server A&lt;br /&gt;
** Database Version should be the same (If you want to upgrade, do [[MySQL/MariaDB upgrade]] after the transfer)&lt;br /&gt;
** [[EasyApache 4]] packages on server B should include the packages installed on server A&lt;br /&gt;
** Edit [[CPanel Tweak Settings|Tweak Settings]], [[CPanel MultiPHP Manager|MultiPHP Manager]] on WHM and make them similar or same as on server A.&lt;br /&gt;
&lt;br /&gt;
== cPanel Migration Guide ==&lt;br /&gt;
&lt;br /&gt;
=== Automatic Migration ===&lt;br /&gt;
&lt;br /&gt;
* Login to WHM and go to &amp;quot;Transfer Tool&amp;quot;[[File:Transfer Tool.png|center|thumb]]&lt;br /&gt;
* Enter the public IP address or FQDN(Fully-Qualified Domain Name) hostname and root password or SSH Public Key.&lt;br /&gt;
* Click Scan Remote Server. (Also select Restricted Restore if you do not trust the remote server or it belongs to someone else. This would prevent any security incident.)&lt;br /&gt;
* Select all the accounts and the packages if you are transferring the whole server. Else, select the specific accounts and packages related to those accounts.(Do not select any service configurations as it breaks server configuration most of the time.)&lt;br /&gt;
* Click on Copy and the migration will be started. You do not need to stay on this page for the transfer to continue. (The transfer log can be viewed at any time by going to &#039;&#039;&#039;[[WHM Review Transfers and Restores|Review Transfers and Restores]]&#039;&#039;&#039; in WHM and clicking the &#039;&#039;&#039;Review&#039;&#039;&#039; link next to the transfer session ID that was started to review the progress)&lt;br /&gt;
&lt;br /&gt;
The automatic migration is now complete.&lt;br /&gt;
&lt;br /&gt;
=== Manual Migration ===&lt;br /&gt;
If the automatic migration is failing or your server A has gone in an unbootable state, try this method. (Do note that this method will have a longer downtime)&amp;lt;blockquote&amp;gt;If your server was hacked and you want to migrate your cPanel/WHM, follow this guide:&lt;br /&gt;
&lt;br /&gt;
* Boot your server A into rescue mode/system or any alternative rescue OS or request your datacenter to do the same.&lt;br /&gt;
* Login to the terminal using SSH. If SSH is unavailable, you can also use KVM screen or IPMI console.&lt;br /&gt;
* Use the following commands: &amp;lt;code&amp;gt;root@rescue ~ # lsblk&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* If it&#039;s showing md1,md2, then you have a RAID setup. If it does display an output with md, then you do not have a RAID setup. Accordingly, mount the system to /mnt&lt;br /&gt;
* In case of RAID, the following command can be used: &amp;lt;code&amp;gt;mount /dev/md2 /home&amp;lt;/code&amp;gt;&lt;br /&gt;
* If it&#039;s not a RAID setup, the following command can be used: &amp;lt;code&amp;gt;mount /dev/sda3 /home&amp;lt;/code&amp;gt;&lt;br /&gt;
* Do note that you need to mount both the drives or RAID to the correct mount points for the solution to work. The mount point for the 1st drive or RAID setup is always &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; while for 2nd drive in a non-RAID setup, you have to check /etc/fstab file using the following command: &amp;lt;code&amp;gt;cat /etc/fstab&amp;lt;/code&amp;gt;&lt;br /&gt;
* After mounting the drives, use the following command to switch to the root environment of the server A:  &amp;lt;code&amp;gt;chroot-prepare /home&amp;lt;/code&amp;gt; &amp;lt;code&amp;gt;chroot /home&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Create a new directory to store the transfer data using the following command on server A: &amp;lt;code&amp;gt;mkdir /transfer&amp;lt;/code&amp;gt;&lt;br /&gt;
* Run the following command to create a loop for backing up all cPanel accounts on server A: &lt;br /&gt;
&lt;br /&gt;
 for x in `ls /var/cpanel/users|grep -v \/`; do /scripts/pkgacct $x /transfer; done&lt;br /&gt;
&lt;br /&gt;
* After the cpmove backups are complete, transfer them to the server B using any secure method like SFTP, SCP or FTPS. We will be using SFTP on server A.&lt;br /&gt;
&lt;br /&gt;
 cd /transfer&lt;br /&gt;
 sftp root@serverb.com&lt;br /&gt;
&lt;br /&gt;
 cd /home&lt;br /&gt;
 put *&lt;br /&gt;
&lt;br /&gt;
* All the cpmove files are now transferred to /home directory on server B. Use the following command to restore all the cPanel accounts on the server B:&lt;br /&gt;
&lt;br /&gt;
 cd /home&lt;br /&gt;
 ls cpmove*.tar.gz | cut -d\- -f2- | cut -d\. -f1 | while read x ; do /scripts/restorepkg --force $x ;done&lt;br /&gt;
&lt;br /&gt;
* This command will create a loop to list all cpmove files and restore them. After it&#039;s done, move the cpmove file to a different location for backup purpose or delete them. We will move them to &amp;lt;code&amp;gt;/restoredata&amp;lt;/code&amp;gt; on server B:&lt;br /&gt;
&lt;br /&gt;
 mkdir /restoredata&lt;br /&gt;
 mv cpmove-* /restoredata/&lt;br /&gt;
The manual migration is now complete.&lt;br /&gt;
&lt;br /&gt;
== Making websites live again ==&lt;br /&gt;
After the transfer is complete, the DNS servers still serves the records from server A. To point all the websites to the new server, change the following:&lt;br /&gt;
&lt;br /&gt;
* Nameservers A records&lt;br /&gt;
* Nameservers glue records&lt;br /&gt;
&lt;br /&gt;
In case a cPanel DNS cluster was setup, just link the server B to the [[cPanel DNSonly]] server and push the new DNS records from server B.&lt;br /&gt;
&lt;br /&gt;
In case any websites which were using third-party DNS like Cloudflare, their DNS records will have to manually be updated to point the websites to server B.&lt;br /&gt;
&lt;br /&gt;
After the DNS is propogated, the websites should be live again. (DNS propogation takes a maximum of 5-10min and on average takes less than a minute)&lt;br /&gt;
[[Category:CPanel]]&lt;br /&gt;
[[Category:Transfer Tool]]&lt;br /&gt;
[[Category:CPanel Migration]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=How_to_migrate_cPanel/WHM_from_one_server_to_another%3F&amp;diff=64</id>
		<title>How to migrate cPanel/WHM from one server to another?</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=How_to_migrate_cPanel/WHM_from_one_server_to_another%3F&amp;diff=64"/>
		<updated>2023-02-04T12:48:44Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;This guide explains how to migrate all your cPanel/WHM accounts from one server to another. Typically, you would do this when you need to replace your server. Here is the abbreviation we will be using in the whole guide:  Server A : Old Server  Server B : New Server  == Prerequisites ==  * &amp;#039;&amp;#039;root&amp;#039;&amp;#039; access to both servers * cPanel/WHM installed and configured on Server B (Use this guide to install cPanel/WHM) * Check the follo...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide explains how to migrate all your cPanel/WHM accounts from one server to another. Typically, you would do this when you need to replace your server. Here is the abbreviation we will be using in the whole guide:&lt;br /&gt;
&lt;br /&gt;
Server A : Old Server&lt;br /&gt;
&lt;br /&gt;
Server B : New Server&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;root&#039;&#039; access to both servers&lt;br /&gt;
* cPanel/WHM installed and configured on Server B ([[How to Install cPanel and WHM on CentOS 7|Use this guide to install cPanel/WHM]])&lt;br /&gt;
* Check the following compaitablity issues:&lt;br /&gt;
** cPanel/WHM version should be newer on Server B&lt;br /&gt;
** Install any addons/plugins on Server B that you installed on Server A&lt;br /&gt;
** Database Version should be the same (If you want to upgrade, do [[MySQL/MariaDB upgrade]] after the transfer)&lt;br /&gt;
** [[EasyApache 4]] packages on server B should include the packages installed on server A&lt;br /&gt;
** Edit [[CPanel Tweak Settings|Tweak Settings]], [[CPanel MultiPHP Manager|MultiPHP Manager]] on WHM and make them similar or same as on server A.&lt;br /&gt;
&lt;br /&gt;
== cPanel Migration Guide ==&lt;br /&gt;
&lt;br /&gt;
=== Automatic Migration ===&lt;br /&gt;
&lt;br /&gt;
* Login to WHM and go to &amp;quot;Transfer Tool&amp;quot;[[File:Transfer Tool.png|center|thumb]]&lt;br /&gt;
* Enter the public IP address or FQDN(Fully-Qualified Domain Name) hostname and root password or SSH Public Key.&lt;br /&gt;
* Click Scan Remote Server. (Also select Restricted Restore if you do not trust the remote server or it belongs to someone else. This would prevent any security incident.)&lt;br /&gt;
* Select all the accounts and the packages if you are transferring the whole server. Else, select the specific accounts and packages related to those accounts.(Do not select any service configurations as it breaks server configuration most of the time.)&lt;br /&gt;
* Click on Copy and the migration will be started. You do not need to stay on this page for the transfer to continue. (The transfer log can be viewed at any time by going to &#039;&#039;&#039;[[WHM Review Transfers and Restores|Review Transfers and Restores]]&#039;&#039;&#039; in WHM and clicking the &#039;&#039;&#039;Review&#039;&#039;&#039; link next to the transfer session ID that was started to review the progress)&lt;br /&gt;
&lt;br /&gt;
The automatic migration is now complete.&lt;br /&gt;
&lt;br /&gt;
=== Manual Migration ===&lt;br /&gt;
If the automatic migration is failing or your server A has gone in an unbootable state, try this method. (Do note that this method will have a longer downtime)&amp;lt;blockquote&amp;gt;If your server was hacked and you want to migrate your cPanel/WHM, follow this guide:&lt;br /&gt;
&lt;br /&gt;
* Boot your server A into rescue mode/system or any alternative rescue OS or request your datacenter to do the same.&lt;br /&gt;
* Login to the terminal using SSH. If SSH is unavailable, you can also use KVM screen or IPMI console.&lt;br /&gt;
* Use the following commands: &amp;lt;code&amp;gt;root@rescue ~ # lsblk&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* If it&#039;s showing md1,md2, then you have a RAID setup. If it does display an output with md, then you do not have a RAID setup. Accordingly, mount the system to /mnt&lt;br /&gt;
* In case of RAID, the following command can be used: &amp;lt;code&amp;gt;mount /dev/md2 /home&amp;lt;/code&amp;gt;&lt;br /&gt;
* If it&#039;s not a RAID setup, the following command can be used: &amp;lt;code&amp;gt;mount /dev/sda3 /home&amp;lt;/code&amp;gt;&lt;br /&gt;
* Do note that you need to mount both the drives or RAID to the correct mount points for the solution to work. The mount point for the 1st drive or RAID setup is always &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; while for 2nd drive in a non-RAID setup, you have to check /etc/fstab file using the following command: &amp;lt;code&amp;gt;cat /etc/fstab&amp;lt;/code&amp;gt;&lt;br /&gt;
* After mounting the drives, use the following command to switch to the root environment of the server A: &amp;lt;code&amp;gt;chroot-prepare /home&amp;lt;/code&amp;gt;  &amp;lt;code&amp;gt;chroot /home&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Create a new directory to store the transfer data using the following command on server A: &amp;lt;code&amp;gt;mkdir /transfer&amp;lt;/code&amp;gt;&lt;br /&gt;
* Run the following command to create a loop for backing up all cPanel accounts on server A: &lt;br /&gt;
&lt;br /&gt;
 for x in `ls /var/cpanel/users|grep -v \/`; do /scripts/pkgacct $x /transfer; done&lt;br /&gt;
&lt;br /&gt;
* After the cpmove backups are complete, transfer them to the server B using any secure method like SFTP, SCP or FTPS. We will be using SFTP on server A.&lt;br /&gt;
&lt;br /&gt;
 cd /transfer&lt;br /&gt;
 sftp root@serverb.com&lt;br /&gt;
&lt;br /&gt;
 cd /home&lt;br /&gt;
 put *&lt;br /&gt;
&lt;br /&gt;
* All the cpmove files are now transferred to /home directory on server B. Use the following command to restore all the cPanel accounts on the server B:&lt;br /&gt;
&lt;br /&gt;
 cd /home&lt;br /&gt;
 ls cpmove*.tar.gz | cut -d\- -f2- | cut -d\. -f1 | while read x ; do /scripts/restorepkg --force $x ;done&lt;br /&gt;
&lt;br /&gt;
* This command will create a loop to list all cpmove files and restore them. After it&#039;s done, move the cpmove file to a different location for backup purpose or delete them. We will move them to &amp;lt;code&amp;gt;/restoredata&amp;lt;/code&amp;gt; on server B:&lt;br /&gt;
&lt;br /&gt;
 mkdir /restoredata&lt;br /&gt;
 mv cpmove-* /restoredata/&lt;br /&gt;
The manual migration is now complete.&lt;br /&gt;
&lt;br /&gt;
== Making websites live again ==&lt;br /&gt;
After the transfer is complete, the DNS servers still serves the records from server A. To point all the websites to the new server, change the following:&lt;br /&gt;
&lt;br /&gt;
* Nameservers A records&lt;br /&gt;
* Nameservers glue records&lt;br /&gt;
&lt;br /&gt;
In case a cPanel DNS cluster was setup, just link the server B to the [[cPanel DNSonly]] server and push the new DNS records from server B.&lt;br /&gt;
&lt;br /&gt;
In case any websites which were using third-party DNS like Cloudflare, their DNS records will have to manually be updated to point the websites to server B.&lt;br /&gt;
&lt;br /&gt;
After the DNS is propogated, the websites should be live again. (DNS propogation takes a maximum of 5-10min and on average takes less than a minute)&lt;br /&gt;
[[Category:CPanel]]&lt;br /&gt;
[[Category:Transfer Tool]]&lt;br /&gt;
[[Category:CPanel Migration]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=File:Transfer_Tool.png&amp;diff=63</id>
		<title>File:Transfer Tool.png</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=File:Transfer_Tool.png&amp;diff=63"/>
		<updated>2023-02-04T12:01:42Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Transfer Tool&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=How_to_Add_DMARC_Record_in_cPanel%3F&amp;diff=62</id>
		<title>How to Add DMARC Record in cPanel?</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=How_to_Add_DMARC_Record_in_cPanel%3F&amp;diff=62"/>
		<updated>2023-02-04T11:43:02Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;A DMARC record is used to validate emails in order to prevent email spoofing.  == About DMARC == DMARC stands for &amp;#039;&amp;#039;&amp;#039;Domain-based Message Authentication and Conformance&amp;#039;&amp;#039;&amp;#039; is a record that is defined in the DNS records associated with your domain name. The DMARC record contains a set of rules that work with SPF and DKIM records to best provide security for your email. The record also lets mail service providers like Gmail or Yahoo! know that the domain is using D...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A DMARC record is used to validate emails in order to prevent email spoofing.&lt;br /&gt;
&lt;br /&gt;
== About DMARC ==&lt;br /&gt;
DMARC stands for &#039;&#039;&#039;Domain-based Message Authentication and Conformance&#039;&#039;&#039; is a record that is defined in the DNS records associated with your domain name. The DMARC record contains a set of rules that work with [[SPF]] and [[DKIM]] records to best provide security for your email. The record also lets mail service providers like Gmail or Yahoo! know that the domain is using DMARC rules. &lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
* cPanel Account&lt;br /&gt;
&lt;br /&gt;
== Add DMARC Record in DNS ==&lt;br /&gt;
To add a DMARC record in cPanel, follow these steps:&lt;br /&gt;
&lt;br /&gt;
# Login to your cPanel account.&lt;br /&gt;
# Go to the &amp;quot;[[Zone Editor]]&amp;quot; section under the &amp;quot;[[Domains]]&amp;quot; category.&lt;br /&gt;
# Select the domain you want to add the DMARC record to.&lt;br /&gt;
# Click the &amp;quot;Add Record&amp;quot; button.&lt;br /&gt;
# Select &amp;quot;TXT&amp;quot; as the record type.&lt;br /&gt;
# Enter &amp;quot;@&amp;quot; for the name and the DMARC record value in the &amp;quot;TXT Data&amp;quot; field. An example is given below:&lt;br /&gt;
&lt;br /&gt;
 Name :  @&lt;br /&gt;
 TTL : 14400&lt;br /&gt;
 Type : TXT&lt;br /&gt;
 TXT Data : &amp;lt;code&amp;gt;v=DMARC1; p=none; rua=&amp;lt;nowiki&amp;gt;mailto:dmarc_aggregate@example.com&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Click the &amp;quot;Add Record&amp;quot; button to save the changes.&lt;br /&gt;
&lt;br /&gt;
It may take up to 24 hours for the changes to propagate and for the [[DMARC]] record to be recognized by [[Mail server|mail servers]].&lt;br /&gt;
[[Category:CPanel]]&lt;br /&gt;
[[Category:DNS]]&lt;br /&gt;
[[Category:DMARC]]&lt;br /&gt;
[[Category:Zone Editor]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=Main_Page&amp;diff=61</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=Main_Page&amp;diff=61"/>
		<updated>2023-02-04T11:32:38Z</updated>

		<summary type="html">&lt;p&gt;Admin: Protected &amp;quot;Main Page&amp;quot;: High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== &amp;lt;strong&amp;gt;Welcome to [https://lhycloud.com LHYcloud] Docs!&amp;lt;/strong&amp;gt; ====&lt;br /&gt;
You can find almost all documentation regarding Shared Hosting, Virtual Private Servers, Dedicated Servers, Cloud, softwares and many more. If you would like us to add a documentation for anything, just mail us at [mailto:docs@lhycloud.com docs@lhycloud.com]. If you would like to contribute to this website, we are happy to give you access to this knowledgebase. This knowledgebase is not just for LHY Technologies users but the whole community.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* CloudMate&lt;br /&gt;
* LHYcloud&lt;br /&gt;
* HostEviL&lt;br /&gt;
&lt;br /&gt;
== [[:Category:Hosting Control Panel|Hosting Control Panels]] ==&lt;br /&gt;
&lt;br /&gt;
* [[:Category:CPanel|cPanel]]&lt;br /&gt;
* Plesk&lt;br /&gt;
* DirectAdmin&lt;br /&gt;
* ISPconfig&lt;br /&gt;
* Webmin&lt;br /&gt;
* hPanel&lt;br /&gt;
* CentOS Web Panel(CWP)&lt;br /&gt;
* VestaCP&lt;br /&gt;
* [[:Category:Aapanel|aaPanel]]&lt;br /&gt;
* [[:Category:CyberPanel|CyberPanel]]&lt;br /&gt;
&lt;br /&gt;
== Operating Systems ==&lt;br /&gt;
&lt;br /&gt;
* [[:Category:Ubuntu|Ubuntu]]&lt;br /&gt;
* [[:Category:CentOS|CentOS]]&lt;br /&gt;
* Debian&lt;br /&gt;
* Rocky Linux&lt;br /&gt;
* Alma Linux&lt;br /&gt;
* CloudLinux&lt;br /&gt;
* Windows&lt;br /&gt;
* Fedora Linux&lt;br /&gt;
&lt;br /&gt;
== Softwares/CMS ==&lt;br /&gt;
&lt;br /&gt;
* [[:Category:WordPress|WordPress]]&lt;br /&gt;
* PrestaShop&lt;br /&gt;
* MyBB&lt;br /&gt;
* WHMCS&lt;br /&gt;
* Magento&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=Main_Page&amp;diff=59</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=Main_Page&amp;diff=59"/>
		<updated>2023-01-30T09:09:56Z</updated>

		<summary type="html">&lt;p&gt;Admin: /* Softwares/CMS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== &amp;lt;strong&amp;gt;Welcome to [https://lhycloud.com LHYcloud] Docs!&amp;lt;/strong&amp;gt; ====&lt;br /&gt;
You can find almost all documentation regarding Shared Hosting, Virtual Private Servers, Dedicated Servers, Cloud, softwares and many more. If you would like us to add a documentation for anything, just mail us at [mailto:docs@lhycloud.com docs@lhycloud.com]. If you would like to contribute to this website, we are happy to give you access to this knowledgebase. This knowledgebase is not just for LHY Technologies users but the whole community.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* CloudMate&lt;br /&gt;
* LHYcloud&lt;br /&gt;
* HostEviL&lt;br /&gt;
&lt;br /&gt;
== [[:Category:Hosting Control Panel|Hosting Control Panels]] ==&lt;br /&gt;
&lt;br /&gt;
* [[:Category:CPanel|cPanel]]&lt;br /&gt;
* Plesk&lt;br /&gt;
* DirectAdmin&lt;br /&gt;
* ISPconfig&lt;br /&gt;
* Webmin&lt;br /&gt;
* hPanel&lt;br /&gt;
* CentOS Web Panel(CWP)&lt;br /&gt;
* VestaCP&lt;br /&gt;
* [[:Category:Aapanel|aaPanel]]&lt;br /&gt;
* [[:Category:CyberPanel|CyberPanel]]&lt;br /&gt;
&lt;br /&gt;
== Operating Systems ==&lt;br /&gt;
&lt;br /&gt;
* [[:Category:Ubuntu|Ubuntu]]&lt;br /&gt;
* [[:Category:CentOS|CentOS]]&lt;br /&gt;
* Debian&lt;br /&gt;
* Rocky Linux&lt;br /&gt;
* Alma Linux&lt;br /&gt;
* CloudLinux&lt;br /&gt;
* Windows&lt;br /&gt;
* Fedora Linux&lt;br /&gt;
&lt;br /&gt;
== Softwares/CMS ==&lt;br /&gt;
&lt;br /&gt;
* [[:Category:WordPress|WordPress]]&lt;br /&gt;
* PrestaShop&lt;br /&gt;
* MyBB&lt;br /&gt;
* WHMCS&lt;br /&gt;
* Magento&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=Category:WordPress&amp;diff=58</id>
		<title>Category:WordPress</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=Category:WordPress&amp;diff=58"/>
		<updated>2023-01-30T09:09:26Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;WordPress&amp;#039;&amp;#039;&amp;#039; is a free and open-source content management system (CMS) written in hypertext preprocessor (PHP) language and paired with a MySQL or MariaDB database with supported HTTPS. WordPress was originally created as a blog-publishing system but has evolved to support other web content types including more traditional mailing lists and Internet fora, media galleries, membership sites, learning management systems (LMS) and online stores.  WordP...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;WordPress&#039;&#039;&#039; is a free and open-source content management system ([[CMS]]) written in hypertext preprocessor ([[PHP]]) language and paired with a [[MySQL]] or [[MariaDB]] database with supported [[HTTPS]]. WordPress was originally created as a blog-publishing system but has evolved to support other web content types including more traditional mailing lists and Internet fora, media galleries, membership sites, learning management systems (LMS) and online stores.&lt;br /&gt;
&lt;br /&gt;
WordPress was released on May 27, 2003, by its founders, American developer Matt Mullenweg and English developer Mike Little, as a fork of &#039;&#039;b2/cafelog&#039;&#039;. The software is released under the GPLv2 (or later) license.&lt;br /&gt;
&lt;br /&gt;
WordPress Foundation owns WordPress, WordPress projects, and other related trademarks.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=Main_Page&amp;diff=55</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=Main_Page&amp;diff=55"/>
		<updated>2023-01-30T09:04:20Z</updated>

		<summary type="html">&lt;p&gt;Admin: /* Softwares/CMS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== &amp;lt;strong&amp;gt;Welcome to [https://lhycloud.com LHYcloud] Docs!&amp;lt;/strong&amp;gt; ====&lt;br /&gt;
You can find almost all documentation regarding Shared Hosting, Virtual Private Servers, Dedicated Servers, Cloud, softwares and many more. If you would like us to add a documentation for anything, just mail us at [mailto:docs@lhycloud.com docs@lhycloud.com]. If you would like to contribute to this website, we are happy to give you access to this knowledgebase. This knowledgebase is not just for LHY Technologies users but the whole community.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* CloudMate&lt;br /&gt;
* LHYcloud&lt;br /&gt;
* HostEviL&lt;br /&gt;
&lt;br /&gt;
== [[:Category:Hosting Control Panel|Hosting Control Panels]] ==&lt;br /&gt;
&lt;br /&gt;
* [[:Category:CPanel|cPanel]]&lt;br /&gt;
* Plesk&lt;br /&gt;
* DirectAdmin&lt;br /&gt;
* ISPconfig&lt;br /&gt;
* Webmin&lt;br /&gt;
* hPanel&lt;br /&gt;
* CentOS Web Panel(CWP)&lt;br /&gt;
* VestaCP&lt;br /&gt;
* [[:Category:Aapanel|aaPanel]]&lt;br /&gt;
* [[:Category:CyberPanel|CyberPanel]]&lt;br /&gt;
&lt;br /&gt;
== Operating Systems ==&lt;br /&gt;
&lt;br /&gt;
* [[:Category:Ubuntu|Ubuntu]]&lt;br /&gt;
* [[:Category:CentOS|CentOS]]&lt;br /&gt;
* Debian&lt;br /&gt;
* Rocky Linux&lt;br /&gt;
* Alma Linux&lt;br /&gt;
* CloudLinux&lt;br /&gt;
* Windows&lt;br /&gt;
* Fedora Linux&lt;br /&gt;
&lt;br /&gt;
== Softwares/CMS ==&lt;br /&gt;
&lt;br /&gt;
* [[WordPress]]&lt;br /&gt;
* PrestaShop&lt;br /&gt;
* MyBB&lt;br /&gt;
* WHMCS&lt;br /&gt;
* Magento&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=How_to_install_MySQL_server_on_Ubuntu%3F&amp;diff=54</id>
		<title>How to install MySQL server on Ubuntu?</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=How_to_install_MySQL_server_on_Ubuntu%3F&amp;diff=54"/>
		<updated>2023-01-25T04:51:35Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;== System Requirements == CPU: 1 Cores minimum, 2 Cores recommended  RAM: 1GB minimum, 2GB recommended  Storage: 10GB available minimum  User: root (Use &amp;lt;code&amp;gt;sudo&amp;lt;/code&amp;gt; in front of every command if you are not the root user)  == Prerequisites ==  * Deploy a new Ubuntu server of any version  == Installing MySQL ==  * Update and install updates: &amp;lt;code&amp;gt;apt update &amp;amp;&amp;amp; sudo apt upgrade -y&amp;lt;/code&amp;gt; (OPTIONAL)  * Install the MySQL-server package: &amp;lt;code&amp;gt;apt install mysql-server -...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== System Requirements ==&lt;br /&gt;
CPU: 1 Cores minimum, 2 Cores recommended&lt;br /&gt;
&lt;br /&gt;
RAM: 1GB minimum, 2GB recommended&lt;br /&gt;
&lt;br /&gt;
Storage: 10GB available minimum&lt;br /&gt;
&lt;br /&gt;
User: root (Use &amp;lt;code&amp;gt;sudo&amp;lt;/code&amp;gt; in front of every command if you are not the root user)&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
* Deploy a new Ubuntu server of any version&lt;br /&gt;
&lt;br /&gt;
== Installing MySQL ==&lt;br /&gt;
&lt;br /&gt;
* Update and install updates: &amp;lt;code&amp;gt;apt update &amp;amp;&amp;amp; sudo apt upgrade -y&amp;lt;/code&amp;gt; (OPTIONAL)&lt;br /&gt;
&lt;br /&gt;
* Install the MySQL-server package: &amp;lt;code&amp;gt;apt install mysql-server -y&amp;lt;/code&amp;gt;&lt;br /&gt;
* After installation, use the following command to secure your installation: &amp;lt;code&amp;gt;mysql_secure_installation&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 Securing the MySQL server deployment.&lt;br /&gt;
 &lt;br /&gt;
 Connecting to MySQL using a blank password.&lt;br /&gt;
 &lt;br /&gt;
 VALIDATE PASSWORD COMPONENT can be used to test passwords&lt;br /&gt;
 and improve security. It checks the strength of password&lt;br /&gt;
 and allows the users to set only those passwords which are&lt;br /&gt;
 secure enough. Would you like to setup VALIDATE PASSWORD component?&lt;br /&gt;
 &lt;br /&gt;
 Press y|Y for Yes, any other key for No:&lt;br /&gt;
&lt;br /&gt;
* If you want to use the &amp;quot;VALIDATE PASSWORD COMPONENT&amp;quot; type Y otherwise N, then press enter.&lt;br /&gt;
&lt;br /&gt;
=== Configure &amp;quot;VALIDATE PASSWORD COMPONENT&amp;quot; (Optional) ===&lt;br /&gt;
 There are three levels of password validation policy:&lt;br /&gt;
 &lt;br /&gt;
 LOW    Length &amp;gt;= 8&lt;br /&gt;
 MEDIUM Length &amp;gt;= 8, numeric, mixed case, and special characters&lt;br /&gt;
 STRONG Length &amp;gt;= 8, numeric, mixed case, special characters and dictionary  file&lt;br /&gt;
 &lt;br /&gt;
 Please enter 0 = LOW, 1 = MEDIUM and 2 = STRONG:&lt;br /&gt;
We will use LOW so we &#039;&#039;type 0 and press enter.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Set the password for the root user ===&lt;br /&gt;
 Please set the password for root here.&lt;br /&gt;
 &lt;br /&gt;
 New password: unthinkablePassword&lt;br /&gt;
 &lt;br /&gt;
 Re-enter new password: unthinkablePassword&lt;br /&gt;
Enter your password, press enter and re-enter your password, then again press enter.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;If you have set up the &amp;quot;VALIDATE PASSWORD COMPONENT&amp;quot; press y now.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Remove anonymous user ===&lt;br /&gt;
 By default, a MySQL installation has an anonymous user,&lt;br /&gt;
 allowing anyone to log into MySQL without having to have&lt;br /&gt;
 a user account created for them. This is intended only for&lt;br /&gt;
 testing, and to make the installation go a bit smoother.&lt;br /&gt;
 You should remove them before moving into a production&lt;br /&gt;
 environment.&lt;br /&gt;
 Remove anonymous users? (Press y|Y for Yes, any other key for No) : Y&lt;br /&gt;
Type Y, then press enter&lt;br /&gt;
&lt;br /&gt;
=== Configure root remote root login ===&lt;br /&gt;
 Normally, root should only be allowed to connect from&lt;br /&gt;
 &#039;localhost&#039;. This ensures that someone cannot guess at&lt;br /&gt;
 the root password from the network.&lt;br /&gt;
 &lt;br /&gt;
 Disallow root login remotely? (Press y|Y for Yes, any other key for No) :&lt;br /&gt;
You have to choose this by yourself! If you want to access remotely type n and press enter if not type y and press enter.&lt;br /&gt;
&lt;br /&gt;
=== Remove the test database ===&lt;br /&gt;
 By default, MySQL comes with a database named &#039;test&#039; that&lt;br /&gt;
 anyone can access. This is also intended only for testing,&lt;br /&gt;
 and should be removed before moving into a production&lt;br /&gt;
 environment.&lt;br /&gt;
 &lt;br /&gt;
 Remove test database and access to it? (Press y|Y for Yes, any other key for No) : Y&lt;br /&gt;
Type Y, then press enter&lt;br /&gt;
  - Dropping test database...&lt;br /&gt;
 Success.&lt;br /&gt;
 &lt;br /&gt;
  - Removing privileges on test database...&lt;br /&gt;
 Success.&lt;br /&gt;
&lt;br /&gt;
=== Reload privilege tables ===&lt;br /&gt;
 Reloading the privilege tables will ensure that all changes&lt;br /&gt;
 made so far will take effect immediately.&lt;br /&gt;
 &lt;br /&gt;
 Reload privilege tables now? (Press y|Y for Yes, any other key for No) : Y&lt;br /&gt;
Type Y, then press enter&lt;br /&gt;
 Success.&lt;br /&gt;
 &lt;br /&gt;
 All done!&lt;br /&gt;
&lt;br /&gt;
== Remote Access setup (OPTIONAL) ==&lt;br /&gt;
You should need this if you want to access remotely to your database. For example if u run a gameserver on server A and your database runs on server B you need to enable.&lt;br /&gt;
&lt;br /&gt;
Open the config file with an editor of your choice: &amp;lt;code&amp;gt;nano /etc/mysql/mysql.conf.d/mysqld.cnf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Find the following line:&lt;br /&gt;
 bind-address           = 127.0.0.1&lt;br /&gt;
and change it to:&lt;br /&gt;
 bind-address = 0.0.0.0&lt;br /&gt;
to bind to all available IP addresses connected to the server.&lt;br /&gt;
&lt;br /&gt;
Restart MySQL service now using: &amp;lt;code&amp;gt;service mysql restart&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
https://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/&lt;br /&gt;
[[Category:Mysql]]&lt;br /&gt;
[[Category:Ubuntu]]&lt;br /&gt;
[[Category:Ubuntu20.04]]&lt;br /&gt;
[[Category:Ubuntu22.04]]&lt;br /&gt;
[[Category:Ubuntu18.04]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=File:Softaculous_Installed_WordPress.png&amp;diff=52</id>
		<title>File:Softaculous Installed WordPress.png</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=File:Softaculous_Installed_WordPress.png&amp;diff=52"/>
		<updated>2023-01-21T16:44:16Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Softaculous Installed WordPress&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=File:Wordpress_getting_installed.png&amp;diff=51</id>
		<title>File:Wordpress getting installed.png</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=File:Wordpress_getting_installed.png&amp;diff=51"/>
		<updated>2023-01-21T16:42:50Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Wordpress getting installed&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=File:Install_WordPress_through_Softaculous.png&amp;diff=50</id>
		<title>File:Install WordPress through Softaculous.png</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=File:Install_WordPress_through_Softaculous.png&amp;diff=50"/>
		<updated>2023-01-21T16:38:04Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Install WordPress through Softaculous&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=File:WordPress_Manager_by_Softaculous.png&amp;diff=49</id>
		<title>File:WordPress Manager by Softaculous.png</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=File:WordPress_Manager_by_Softaculous.png&amp;diff=49"/>
		<updated>2023-01-21T16:34:33Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;WordPress Manager by Softaculous&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=File:CPanel.png&amp;diff=48</id>
		<title>File:CPanel.png</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=File:CPanel.png&amp;diff=48"/>
		<updated>2023-01-21T16:30:23Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Logged-in cPanel&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=How_to_configure_IP_Aliasing_in_CentOS%3F&amp;diff=47</id>
		<title>How to configure IP Aliasing in CentOS?</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=How_to_configure_IP_Aliasing_in_CentOS%3F&amp;diff=47"/>
		<updated>2023-01-15T16:37:18Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;== System Requirements ==  # Operating System: CentOS or Fedora 25 and earlier # An additional IP address or block # &amp;#039;&amp;#039;root&amp;#039;&amp;#039; access to the server # Basic networking and administration knowledge  == Prerequisites ==  * Deploy a new CentOS 7/8 or Fedora 25 and earlier server  == Configuring IP Aliasing == We will be assuming the following things in these docs:  Primary IP Address: 192.168.2.1  Additional IP Address: 192.168.2.2  Network Interface: eth0  # Log in to the se...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== System Requirements ==&lt;br /&gt;
&lt;br /&gt;
# Operating System: CentOS or Fedora 25 and earlier&lt;br /&gt;
# An additional IP address or block&lt;br /&gt;
# &#039;&#039;root&#039;&#039; access to the server&lt;br /&gt;
# Basic networking and administration knowledge&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
* Deploy a new CentOS 7/8 or Fedora 25 and earlier server&lt;br /&gt;
&lt;br /&gt;
== Configuring IP Aliasing ==&lt;br /&gt;
We will be assuming the following things in these docs:&lt;br /&gt;
 Primary IP Address: 192.168.2.1&lt;br /&gt;
 Additional IP Address: 192.168.2.2&lt;br /&gt;
 Network Interface: eth0&lt;br /&gt;
&lt;br /&gt;
# Log in to the server as the root user via [[SSH]] or [[VNC access]].&lt;br /&gt;
# Run the command &amp;lt;code&amp;gt;ip addr show&amp;lt;/code&amp;gt; to view the current network interfaces and their configurations.&lt;br /&gt;
# You can either make a temporary link which will be reset after a system reboot or make a permanent link instead. (Permanent Link is recommend on LHYcloud servers or any remote server)&lt;br /&gt;
&lt;br /&gt;
=== Making a temporary IP Aliasing link: ===&lt;br /&gt;
&lt;br /&gt;
# Run the command &amp;lt;code&amp;gt;ip addr add [alias_IP]/[subnet_mask] dev [interface]&amp;lt;/code&amp;gt; to add an IP alias to the desired interface. For example:&lt;br /&gt;
&lt;br /&gt;
 ip addr add 192.168.2.1/32 dev eth0&lt;br /&gt;
Repeat this step for each additional IP address or subnet you want to add as an alias.&lt;br /&gt;
&lt;br /&gt;
To know more about your [[Subnet Mask]], you can refer to this [https://www.ripe.net/about-us/press-centre/IPv4CIDRChart_2015.pdf RIPE cheatsheet].&lt;br /&gt;
&lt;br /&gt;
=== Making a permanent IP Aliasing link: ===&lt;br /&gt;
&lt;br /&gt;
* Make a copy of the source file &amp;lt;code&amp;gt;/etc/sysconfig/network-scripts/ifcfg-[interface]&amp;lt;/code&amp;gt; so that you can use it as a template:&lt;br /&gt;
&lt;br /&gt;
 cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0:0&lt;br /&gt;
&lt;br /&gt;
* You can now modify the &amp;lt;code&amp;gt;[interface]:0&amp;lt;/code&amp;gt; file in order to replace the IP Address or subnet:&lt;br /&gt;
&lt;br /&gt;
 nano /etc/sysconfig/network-scripts/ifcfg-eth0:0&lt;br /&gt;
&lt;br /&gt;
* Edit the following details in the file and remove rest of the lines: (Device name, Additional IP Address, Subnet mask)&lt;br /&gt;
&lt;br /&gt;
 DEVICE=eth0:0&lt;br /&gt;
 ONBOOT=yes&lt;br /&gt;
 BOOTPROTO=none # For some network configurations, it may be &amp;quot;static&amp;quot;&lt;br /&gt;
 IPADDR=192.168.2.2&lt;br /&gt;
 NETMASK=255.255.255.255&lt;br /&gt;
&lt;br /&gt;
* Save and exit the configuration file. If you have more IP addresses or subnets, you can create more network files using the same template like &amp;lt;code&amp;gt;[interface]:1&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;[interface]:0&amp;lt;/code&amp;gt; .&lt;br /&gt;
* Restart the network services with the command &amp;lt;code&amp;gt;systemctl restart network&amp;lt;/code&amp;gt;. (If you are unsure about your setup and wondering if the link will come UP or the whole network will go down, use the following command instead &amp;lt;code&amp;gt;ifup eth0:0&amp;lt;/code&amp;gt;)&lt;br /&gt;
* Verify that the IP aliases are now active on the server by running the command &amp;lt;code&amp;gt;ip addr show&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[[Category:IP aliasing]]&lt;br /&gt;
[[Category:CentOS 7]]&lt;br /&gt;
[[Category:CentOS]]&lt;br /&gt;
[[Category:CentOS 6]]&lt;br /&gt;
[[Category:Fedora 25]]&lt;br /&gt;
[[Category:Network Configuration]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=Category:Ubuntu&amp;diff=46</id>
		<title>Category:Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=Category:Ubuntu&amp;diff=46"/>
		<updated>2022-11-13T17:14:30Z</updated>

		<summary type="html">&lt;p&gt;Admin: Added EOL for Ubuntu&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Ubuntu is the modern, open source [[Debian]]-based operating system on Linux for the enterprise server, desktop, cloud, and IoT. Developed by Canonical,it&#039;s one of the most popular distributions, thanks to its ease of use.&lt;br /&gt;
&lt;br /&gt;
===End of Life announcements:===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Ubuntu Releases&lt;br /&gt;
!Release&lt;br /&gt;
!Active Support&lt;br /&gt;
!Security Support&lt;br /&gt;
|-&lt;br /&gt;
|Ubuntu 14.04 &#039;Trusty Tahr&#039;&lt;br /&gt;
(LTS)&lt;br /&gt;
|Ended on 02 Apr 2019&lt;br /&gt;
|Ends on 01 Apr 2024&lt;br /&gt;
|-&lt;br /&gt;
|Ubuntu 16.04 &#039;Xenial Xerus&#039;&lt;br /&gt;
(LTS)&lt;br /&gt;
|Ended on 02 Apr 2021&lt;br /&gt;
|Ends on 01 Apr 2026&lt;br /&gt;
|-&lt;br /&gt;
|Ubuntu 18.04 &#039;Bionic Beaver&#039;&lt;br /&gt;
(LTS)&lt;br /&gt;
|Ends on 02 Apr 2023&lt;br /&gt;
|Ends on 01 Apr 2028&lt;br /&gt;
|-&lt;br /&gt;
|Ubuntu 20.04 &#039;Focal Fossa&#039;&lt;br /&gt;
(LTS)&lt;br /&gt;
|Ends on 02 Apr 2025&lt;br /&gt;
|Ends on 01 Apr 2030&lt;br /&gt;
|-&lt;br /&gt;
|Ubuntu 22.04 &#039;Jammy Jellyfish&#039;&lt;br /&gt;
(LTS)&lt;br /&gt;
|Ends on 21 Apr 2027&lt;br /&gt;
|Ends on 01 Apr 2032&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=Main_Page&amp;diff=45</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=Main_Page&amp;diff=45"/>
		<updated>2022-09-02T19:38:08Z</updated>

		<summary type="html">&lt;p&gt;Admin: /* Operating Systems */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== &amp;lt;strong&amp;gt;Welcome to [https://lhycloud.com LHYcloud] Docs!&amp;lt;/strong&amp;gt; ====&lt;br /&gt;
You can find almost all documentation regarding Shared Hosting, Virtual Private Servers, Dedicated Servers, Cloud, softwares and many more. If you would like us to add a documentation for anything, just mail us at [mailto:docs@lhycloud.com docs@lhycloud.com]. If you would like to contribute to this website, we are happy to give you access to this knowledgebase. This knowledgebase is not just for LHY Technologies users but the whole community.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* CloudMate&lt;br /&gt;
* LHYcloud&lt;br /&gt;
* HostEviL&lt;br /&gt;
&lt;br /&gt;
== [[:Category:Hosting Control Panel|Hosting Control Panels]] ==&lt;br /&gt;
&lt;br /&gt;
* [[:Category:CPanel|cPanel]]&lt;br /&gt;
* Plesk&lt;br /&gt;
* DirectAdmin&lt;br /&gt;
* ISPconfig&lt;br /&gt;
* Webmin&lt;br /&gt;
* hPanel&lt;br /&gt;
* CentOS Web Panel(CWP)&lt;br /&gt;
* VestaCP&lt;br /&gt;
* [[:Category:Aapanel|aaPanel]]&lt;br /&gt;
* [[:Category:CyberPanel|CyberPanel]]&lt;br /&gt;
&lt;br /&gt;
== Operating Systems ==&lt;br /&gt;
&lt;br /&gt;
* [[:Category:Ubuntu|Ubuntu]]&lt;br /&gt;
* [[:Category:CentOS|CentOS]]&lt;br /&gt;
* Debian&lt;br /&gt;
* Rocky Linux&lt;br /&gt;
* Alma Linux&lt;br /&gt;
* CloudLinux&lt;br /&gt;
* Windows&lt;br /&gt;
* Fedora Linux&lt;br /&gt;
&lt;br /&gt;
== Softwares/CMS ==&lt;br /&gt;
&lt;br /&gt;
* WordPress&lt;br /&gt;
* PrestaShop&lt;br /&gt;
* MyBB&lt;br /&gt;
* WHMCS&lt;br /&gt;
* Magento&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=Install_aaPanel_on_Ubuntu_20.04&amp;diff=44</id>
		<title>Install aaPanel on Ubuntu 20.04</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=Install_aaPanel_on_Ubuntu_20.04&amp;diff=44"/>
		<updated>2022-09-02T14:44:25Z</updated>

		<summary type="html">&lt;p&gt;Admin: Admin moved page Install aaPanel on Ubuntu 20.04 to How to Install aaPanel on Ubuntu 20.04: Updating title&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[How to Install aaPanel on Ubuntu 20.04]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=How_to_Install_aaPanel_on_Ubuntu_20.04&amp;diff=43</id>
		<title>How to Install aaPanel on Ubuntu 20.04</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=How_to_Install_aaPanel_on_Ubuntu_20.04&amp;diff=43"/>
		<updated>2022-09-02T14:44:25Z</updated>

		<summary type="html">&lt;p&gt;Admin: Admin moved page Install aaPanel on Ubuntu 20.04 to How to Install aaPanel on Ubuntu 20.04: Updating title&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== System Requirements ==&lt;br /&gt;
CPU: 1 Cores minimum, 2 Cores recommended&lt;br /&gt;
&lt;br /&gt;
RAM: 512MB minimum, 768MB recommended&lt;br /&gt;
&lt;br /&gt;
Storage: 100MB available minimum&lt;br /&gt;
&lt;br /&gt;
User: root recommended&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
* Deploy a new Ubuntu 20.04 server&lt;br /&gt;
&lt;br /&gt;
== Installing aaPanel ==&lt;br /&gt;
Run the following commands mentioned below:&lt;br /&gt;
 apt-get update -y &amp;amp;&amp;amp; apt-get upgrade -y&lt;br /&gt;
 apt-get install wget -y&lt;br /&gt;
 wget -O install.sh &amp;lt;nowiki&amp;gt;https://www.aapanel.com/script/install-ubuntu_6.0_en.sh&amp;lt;/nowiki&amp;gt; &amp;amp;&amp;amp; sudo bash install.sh&lt;br /&gt;
You will be asked to select the installation directory:&lt;br /&gt;
 +----------------------------------------------------------------------&lt;br /&gt;
 | aaPanel 6.0 FOR CentOS/Ubuntu/Debian&lt;br /&gt;
 +----------------------------------------------------------------------&lt;br /&gt;
 | Copyright © 2015-2099 BT-SOFT(&amp;lt;nowiki&amp;gt;http://www.aapanel.com&amp;lt;/nowiki&amp;gt;) All rights reserved.&lt;br /&gt;
 +----------------------------------------------------------------------&lt;br /&gt;
 | The WebPanel URL will be &amp;lt;nowiki&amp;gt;http://SERVER_IP:8888&amp;lt;/nowiki&amp;gt; when installed.&lt;br /&gt;
 +----------------------------------------------------------------------&lt;br /&gt;
 &lt;br /&gt;
 Do you want to install aaPanel to the /www directory now?(y/n): (Enter Y)&lt;br /&gt;
You should see the details of the default admin user after the installation script finishes it&#039;s process.&lt;br /&gt;
 Firewall reloaded&lt;br /&gt;
 ==================================================================&lt;br /&gt;
 Congratulations! Installed successfully!&lt;br /&gt;
 ==================================================================&lt;br /&gt;
 aaPanel Internet Address: &amp;lt;nowiki&amp;gt;http://example.com:8888/5b52b2f3&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 aaPanel Internal Address: &amp;lt;nowiki&amp;gt;http://example.com:8888/5b52b2f3&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 username: ***************&lt;br /&gt;
 password: ***************&lt;br /&gt;
 Warning:&lt;br /&gt;
 If you cannot access the panel, &lt;br /&gt;
 release the following port (8888|888|80|443|20|21) in the security group&lt;br /&gt;
 ==================================================================&lt;br /&gt;
 Time consumed: 3 Minute!&lt;br /&gt;
We should now be able to access the web hosting panel with the following details.&lt;br /&gt;
&lt;br /&gt;
== Configure aaPanel ==&lt;br /&gt;
Copy the URL from your SSH console. Paste it in your web browser and log in to the control panel using random credentials generated by the installation script.&lt;br /&gt;
&lt;br /&gt;
Immediately after logging in with this default user, you will be asked to install recommended software packages. The two choices will be:&lt;br /&gt;
&lt;br /&gt;
* LAMP: Linux, Apache, MySQL, PHP&lt;br /&gt;
* LNMP: Linux, NGINX, MySQL, PHP&lt;br /&gt;
&lt;br /&gt;
You can select based on which WebServer you prefer. We will be picking &#039;&#039;&#039;LAMP&#039;&#039;&#039; in this installation:&lt;br /&gt;
[[File:Selectaapanel.png|thumb|447x447px|center]]&lt;br /&gt;
&lt;br /&gt;
The installation process will start. Depending on your server specifications, the installation will take upto 4 minutes to complete.&lt;br /&gt;
&lt;br /&gt;
Once you login and install all the recommended packages or close the screen, you should see a screen similar to the screenshot attached below.&lt;br /&gt;
[[File:Dashboard aapanel.png|thumb|798x798px|center]]&lt;br /&gt;
&lt;br /&gt;
== Secure aaPanel ==&lt;br /&gt;
After that, you&#039;ll most likely need an SSL certificate so everything is secure. To secure the control panel, navigate to Settings and change the default port from 8888 to something random, then change Alias (Panel name) to your desired custom text.&lt;br /&gt;
&lt;br /&gt;
Set a short timeout period of at least 360 seconds (6 minutes) to log out active users if the control panel is dormant with no user action.&lt;br /&gt;
&lt;br /&gt;
Modify Security Entrance to a custom string you can use to securely access the control panel. You can not access the web panel without the security key because Security Entrance is turned on by default.&lt;br /&gt;
&lt;br /&gt;
Additionally, change the administrator Panel user account and Panel Password from the random defaults provided by the installation script to your custom values. To further tighten your server security, you can optionally specify a list of authorized IP addresses that can access the web panel under Authorized IP.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
If the server reboots, the web panel will fails to load on port 8888. Start aaPanel using &amp;lt;code&amp;gt;bt&amp;lt;/code&amp;gt; as the service:&lt;br /&gt;
 systemctl start bt&lt;br /&gt;
To confirm if the panel is running with or without errors, query the &amp;lt;code&amp;gt;bt&amp;lt;/code&amp;gt; service status:&lt;br /&gt;
 systemctl status bt&lt;br /&gt;
Enable the &amp;lt;code&amp;gt;bt&amp;lt;/code&amp;gt; service on reboot using this command:&lt;br /&gt;
 systemctl enable bt&lt;br /&gt;
&lt;br /&gt;
== Common Commands ==&lt;br /&gt;
Stop Service:&lt;br /&gt;
 service bt stop&lt;br /&gt;
Start Service:&lt;br /&gt;
 service bt start&lt;br /&gt;
Restart Service:&lt;br /&gt;
 service bt restart&lt;br /&gt;
Uninstall aaPanel:&lt;br /&gt;
 service bt stop &amp;amp;&amp;amp; chkconfig --del bt &amp;amp;&amp;amp; rm -f /etc/init.d/bt &amp;amp;&amp;amp; rm -rf /www/server/panel&lt;br /&gt;
View current port of control panel:&lt;br /&gt;
 cat /www/server/panel/data/port.pl&lt;br /&gt;
Force to change MySQL manager (root) Password，e.g. 123456:&lt;br /&gt;
 cd /www/server/panel &amp;amp;&amp;amp; python tools.py root 123456&lt;br /&gt;
Change control Panel login password，e.g. 123456:&lt;br /&gt;
 cd /www/server/panel &amp;amp;&amp;amp; python tools.py panel 123456&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
[https://www.aapanel.com/new/download.html aaPanel documentation]&lt;br /&gt;
[[Category:Aapanel]]&lt;br /&gt;
[[Category:Ubuntu]]&lt;br /&gt;
[[Category:Ubuntu20.04]]&lt;br /&gt;
[[Category:LAMP]]&lt;br /&gt;
[[Category:LNMP]]&lt;br /&gt;
__INDEX__&lt;br /&gt;
[[Category:Hosting Control Panel]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=Main_Page&amp;diff=42</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=Main_Page&amp;diff=42"/>
		<updated>2022-09-02T14:44:00Z</updated>

		<summary type="html">&lt;p&gt;Admin: /* Hosting Control Panels */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== &amp;lt;strong&amp;gt;Welcome to [https://lhycloud.com LHYcloud] Docs!&amp;lt;/strong&amp;gt; ====&lt;br /&gt;
You can find almost all documentation regarding Shared Hosting, Virtual Private Servers, Dedicated Servers, Cloud, softwares and many more. If you would like us to add a documentation for anything, just mail us at [mailto:docs@lhycloud.com docs@lhycloud.com]. If you would like to contribute to this website, we are happy to give you access to this knowledgebase. This knowledgebase is not just for LHY Technologies users but the whole community.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* CloudMate&lt;br /&gt;
* LHYcloud&lt;br /&gt;
* HostEviL&lt;br /&gt;
&lt;br /&gt;
== [[:Category:Hosting Control Panel|Hosting Control Panels]] ==&lt;br /&gt;
&lt;br /&gt;
* [[:Category:CPanel|cPanel]]&lt;br /&gt;
* Plesk&lt;br /&gt;
* DirectAdmin&lt;br /&gt;
* ISPconfig&lt;br /&gt;
* Webmin&lt;br /&gt;
* hPanel&lt;br /&gt;
* CentOS Web Panel(CWP)&lt;br /&gt;
* VestaCP&lt;br /&gt;
* [[:Category:Aapanel|aaPanel]]&lt;br /&gt;
* [[:Category:CyberPanel|CyberPanel]]&lt;br /&gt;
&lt;br /&gt;
== Operating Systems ==&lt;br /&gt;
&lt;br /&gt;
* [[:Category:Ubuntu|Ubuntu]]&lt;br /&gt;
* [[:Category:CentOS|CentOS]]&lt;br /&gt;
* Debian&lt;br /&gt;
* CloudLinux&lt;br /&gt;
* Windows&lt;br /&gt;
* Fedora Linux&lt;br /&gt;
&lt;br /&gt;
== Softwares/CMS ==&lt;br /&gt;
&lt;br /&gt;
* WordPress&lt;br /&gt;
* PrestaShop&lt;br /&gt;
* MyBB&lt;br /&gt;
* WHMCS&lt;br /&gt;
* Magento&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=Category:Hosting_Control_Panel&amp;diff=41</id>
		<title>Category:Hosting Control Panel</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=Category:Hosting_Control_Panel&amp;diff=41"/>
		<updated>2022-09-02T14:43:35Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;A web hosting control panel is a tool that allows you to control most of the web services like web pages, emails, FTP services, etc. For most system admins, a control panel with a GUI presents a much easier and faster way to manage and monitor all hosted services.  There are many tasks to be done with control panels, some of these tasks are referenced here:  * DNS Management * Email Management * Database management * FTP (i.e. File Transfer Protocol) * File manager * Bac...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A web hosting control panel is a tool that allows you to control most of the web services like web pages, emails, FTP services, etc. For most system admins, a control panel with a GUI presents a much easier and faster way to manage and monitor all hosted services.&lt;br /&gt;
&lt;br /&gt;
There are many tasks to be done with control panels, some of these tasks are referenced here:&lt;br /&gt;
&lt;br /&gt;
* DNS Management&lt;br /&gt;
* Email Management&lt;br /&gt;
* Database management&lt;br /&gt;
* FTP (i.e. File Transfer Protocol)&lt;br /&gt;
* File manager&lt;br /&gt;
* Backup and restore&lt;br /&gt;
* Logging and monitoring&lt;br /&gt;
* Security: TLS/SSL&lt;br /&gt;
* Installing apps to launch web pages&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=Category:CyberPanel&amp;diff=40</id>
		<title>Category:CyberPanel</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=Category:CyberPanel&amp;diff=40"/>
		<updated>2022-09-02T14:40:47Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;CyberPanel is the first open-source control panel which supports OpenLiteSpeed and LiteSpeed Enterprise. Easily host your Websites in the cloud with CyberPanel, without the overhead of hiring a Linux admin and paying 10x as much to slow hosting companies! CyberPanel comes bundled with ModSecurity which is web application firewall to protect your website against online attacks. On top of ModSecurity you can also use CSF with CyberPanel and that requires only few clicks....&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;CyberPanel is the first open-source control panel which supports OpenLiteSpeed and LiteSpeed Enterprise. Easily host your Websites in the cloud with CyberPanel, without the overhead of hiring a Linux admin and paying 10x as much to slow hosting companies! CyberPanel comes bundled with ModSecurity which is web application firewall to protect your website against online attacks. On top of ModSecurity you can also use CSF with CyberPanel and that requires only few clicks.&lt;br /&gt;
&lt;br /&gt;
CyberPanel itself is &#039;&#039;&#039;free&#039;&#039;&#039;, you can install CyberPanel with OpenLiteSpeed and deploy unlimited super fast websites. It also have a paid version which comes bundled with LiteSpeed Enterprise price included.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=How_to_Install_CyberPanel_on_CentOS_7&amp;diff=39</id>
		<title>How to Install CyberPanel on CentOS 7</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=How_to_Install_CyberPanel_on_CentOS_7&amp;diff=39"/>
		<updated>2022-09-02T14:38:23Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;== System Requirements == CPU: 1 Core minimum, 2vCore or more recommended  RAM: 1GB RAM minimum, 2GB or more recommended  Storage: 10GB or more  User: root  == Prerequisites ==  * Deploy a new Ubuntu 20.04 server * Server&amp;#039;s IP Address should be static * Update your server using YUM  == Installing CyberPanel == Ensure wget and curl is installed or install it using:  yum install wget -y   yum install curl -y Run the installation script using:  sh &amp;lt;(curl &amp;lt;nowiki&amp;gt;https://cyb...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== System Requirements ==&lt;br /&gt;
CPU: 1 Core minimum, 2vCore or more recommended&lt;br /&gt;
&lt;br /&gt;
RAM: 1GB RAM minimum, 2GB or more recommended&lt;br /&gt;
&lt;br /&gt;
Storage: 10GB or more&lt;br /&gt;
&lt;br /&gt;
User: root&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
* Deploy a new Ubuntu 20.04 server&lt;br /&gt;
* Server&#039;s IP Address should be static&lt;br /&gt;
* Update your server using YUM&lt;br /&gt;
&lt;br /&gt;
== Installing CyberPanel ==&lt;br /&gt;
Ensure wget and curl is installed or install it using:&lt;br /&gt;
 yum install wget -y&lt;br /&gt;
&lt;br /&gt;
 yum install curl -y&lt;br /&gt;
Run the installation script using:&lt;br /&gt;
 sh &amp;lt;(curl &amp;lt;nowiki&amp;gt;https://cyberpanel.net/install.sh&amp;lt;/nowiki&amp;gt; || wget -O - &amp;lt;nowiki&amp;gt;https://cyberpanel.net/install.sh&amp;lt;/nowiki&amp;gt;)&lt;br /&gt;
It will show the following on SSH:&lt;br /&gt;
                                CyberPanel Installer v2.1.2&lt;br /&gt;
 &lt;br /&gt;
 1. Install CyberPanel.&lt;br /&gt;
 2. Addons and Miscellaneous&lt;br /&gt;
 3. Exit.&lt;br /&gt;
 &lt;br /&gt;
 Please enter the number[1-3]:&lt;br /&gt;
Select &#039;&#039;&#039;1&#039;&#039;&#039;. Then it will ask for which Which webserver to choose as shown below:&lt;br /&gt;
                                CyberPanel Installer v2.1.2&lt;br /&gt;
 &lt;br /&gt;
 RAM check : 122/981MB (18.76%)&lt;br /&gt;
 &lt;br /&gt;
 Disk check : 4/30GB (13.33%) (Minimal 10GB free space)&lt;br /&gt;
 &lt;br /&gt;
 1. Install CyberPanel with OpenLiteSpeed.&lt;br /&gt;
 &lt;br /&gt;
 2. Install Cyberpanel with LiteSpeed Enterprise.&lt;br /&gt;
 &lt;br /&gt;
 3. Exit.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
   Please enter the number[1-3]:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Select which version of LiteSpeed to install. OpenLitespeed is FREE whereas Litespeed Enterprise has a monthly subscription.&lt;br /&gt;
&lt;br /&gt;
If you select LiteSpeed Enterprise, please ensure that you have obtained a license key first. It is free for 1 domain, but you still need to obtain the key.&amp;lt;/blockquote&amp;gt;Select either &#039;&#039;&#039;1&#039;&#039;&#039; or &#039;&#039;&#039;2&#039;&#039;&#039; based on your requirement. Next you will be presented with a series of prompts for different options and add-ons that are available. Enter &#039;&#039;&#039;Y&#039;&#039;&#039; for full service installation:&lt;br /&gt;
 Install Full service for CyberPanel? This will include PowerDNS, Postfix and Pure-FTPd.&lt;br /&gt;
 Full installation [Y/n]:&lt;br /&gt;
or choose from a series of prompts.&lt;br /&gt;
&lt;br /&gt;
Next press &#039;&#039;&#039;ENTER&#039;&#039;&#039; for the following screen:&lt;br /&gt;
 Press Enter key to continue with latest version or &lt;br /&gt;
 Enter specific version such as: 1.9.4 , 1.9.5 ...etc&lt;br /&gt;
You will be asked to choose the default password, random password or set your own password. Choose whatever option suits you best:&lt;br /&gt;
 Please choose to use default admin password 1234567, &lt;br /&gt;
 randomly generate one (recommended) or &lt;br /&gt;
 specify the admin password?&lt;br /&gt;
 &lt;br /&gt;
 Choose [d]fault, [r]andom or [s]et password: [d/r/s]&lt;br /&gt;
Next, the installer would ask whether Memcached, Redis and Watchdog should be installed. Select &#039;&#039;&#039;Y&#039;&#039;&#039; for all those options:&lt;br /&gt;
 Do you wish to install Memcached extension and backend?&lt;br /&gt;
 Please select [Y/n]:&lt;br /&gt;
&lt;br /&gt;
 Do you wish to install Redis extension and backend?&lt;br /&gt;
 Please select [Y/n]:&lt;br /&gt;
&lt;br /&gt;
 Would you like to set up a WatchDog (beta) for Web service and Database service ?&lt;br /&gt;
 The watchdog script will be automatically started up after installation and server reboot&lt;br /&gt;
 If you want to kill the watchdog , run watchdog kill&lt;br /&gt;
 Please type Yes or no (with capital Y, default Yes):&lt;br /&gt;
The installation process will proceed automatically. It will take 5-10 minutes, depending on the speed of your server.&lt;br /&gt;
&lt;br /&gt;
The script will install CyberPanel, along with its extensions. When finished, the script will display your administrator details.&lt;br /&gt;
 ###################################################################&lt;br /&gt;
                 CyberPanel Successfully Installed&lt;br /&gt;
 &lt;br /&gt;
                 Current Disk usage : 7/30GB (26%)&lt;br /&gt;
 &lt;br /&gt;
                 Current RAM  usage : 313/981MB (31.91%)&lt;br /&gt;
 &lt;br /&gt;
                 Installation time  : 0 hrs 11 min 0 sec&lt;br /&gt;
 &lt;br /&gt;
                 Visit: https://&amp;lt;your server&#039;s IP address&amp;gt;:8090&lt;br /&gt;
                 Panel username: admin&lt;br /&gt;
                 Panel password: &amp;lt;the password you set during installation&amp;gt;&lt;br /&gt;
                 Visit: &amp;lt;your server&#039;s IP address&amp;gt;:7080&lt;br /&gt;
                 WebAdmin console username: admin&lt;br /&gt;
                 WebAdmin console password: JPOsnUIKms76hb&lt;br /&gt;
 &lt;br /&gt;
                 Visit: https://&amp;lt;your server&#039;s IP address&amp;gt;:8090/rainloop/?admin&lt;br /&gt;
                 Rainloop Admin username: admin&lt;br /&gt;
                 Rainloop Admin password: yGKFEp4I3nR7xN&lt;br /&gt;
 &lt;br /&gt;
              Run cyberpanel help to get FAQ info&lt;br /&gt;
              Run cyberpanel upgrade to upgrade it to latest version.&lt;br /&gt;
              Run cyberpanel utility to access some handy tools .&lt;br /&gt;
 &lt;br /&gt;
               Website : &amp;lt;nowiki&amp;gt;https://www.cyberpanel.net&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
               Forums  : &amp;lt;nowiki&amp;gt;https://forums.cyberpanel.net&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
               Wikipage: &amp;lt;nowiki&amp;gt;https://docs.cyberpanel.net&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
               Docs    : &amp;lt;nowiki&amp;gt;https://cyberpanel.net/docs/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
             Enjoy your accelerated Internet by&lt;br /&gt;
                 CyberPanel &amp;amp; OpenLiteSpeed&lt;br /&gt;
 ###################################################################&lt;br /&gt;
 If your provider has a network-level firewall&lt;br /&gt;
 Please make sure you have opened following port for both in/out:&lt;br /&gt;
 TCP: 8090 for CyberPanel&lt;br /&gt;
 TCP: 80, TCP: 443 and UDP: 443 for webserver&lt;br /&gt;
 TCP: 21 and TCP: 40110-40210 for FTP&lt;br /&gt;
 TCP: 25, TCP: 587, TCP: 465, TCP: 110, TCP: 143 and TCP: 993 for mail service&lt;br /&gt;
 TCP: 53 and UDP: 53 for DNS service&lt;br /&gt;
The installer will then ask whether server should be restarted. Enter &#039;&#039;&#039;Y&#039;&#039;&#039; or enter “reboot” later after you have performed other desired operations.&lt;br /&gt;
 Would you like to restart your server now? [y/N]:&lt;br /&gt;
&lt;br /&gt;
== Configure CyberPanel ==&lt;br /&gt;
Visit your server&#039;s IP address at port 8090 on a browser. For example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;https://x.x.x.x:8090&amp;lt;/nowiki&amp;gt; (where x.x.x.x is your server&#039;s IP Address)&lt;br /&gt;
You can login using the username and password that you had set during the time of installation.&lt;br /&gt;
&lt;br /&gt;
== Common Commands ==&lt;br /&gt;
Restart CyberPanel using:&lt;br /&gt;
 systemctl restart lscpd&lt;br /&gt;
Change LiteSpeed Console password using:&lt;br /&gt;
 /usr/local/lsws/admin/misc/admpass.sh&lt;br /&gt;
Check MySQL/MariaDB root password using:&lt;br /&gt;
 cat /etc/cyberpanel/mysqlPassword&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== 503 Error After Install ===&lt;br /&gt;
If you get a 503 error after installing CyberPanel, you can do one of the following things.&lt;br /&gt;
&lt;br /&gt;
1. Check LSCPD Status.&lt;br /&gt;
 systemctl status lscpd&lt;br /&gt;
If LSCPD is not running, start LSCPD using:&lt;br /&gt;
 systemctl start lscpd&lt;br /&gt;
2. Manually set up virtualevn&lt;br /&gt;
 source /usr/local/CyberCP/bin/activate&lt;br /&gt;
 pip install --ignore-installed -r /usr/local/CyberCP/requirments.txt&lt;br /&gt;
 deactivate&lt;br /&gt;
 virtualenv --system-site-packages /usr/local/CyberCP&lt;br /&gt;
 systemctl restart lscpd&lt;br /&gt;
3. Install Logs&lt;br /&gt;
&lt;br /&gt;
If you are still having issues after these steps, you can try to find errors in the install logs, they are located at:&lt;br /&gt;
 /var/log/installLogs.tx&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
[https://community.cyberpanel.net/docs/ CyberPanel Docs]&lt;br /&gt;
[[Category:Hosting Control Panel]]&lt;br /&gt;
[[Category:CentOS]]&lt;br /&gt;
[[Category:CentOS 7]]&lt;br /&gt;
[[Category:CyberPanel]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=How_to_Install_cPanel_and_WHM_in_Ubuntu_20.04&amp;diff=38</id>
		<title>How to Install cPanel and WHM in Ubuntu 20.04</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=How_to_Install_cPanel_and_WHM_in_Ubuntu_20.04&amp;diff=38"/>
		<updated>2022-09-02T14:03:52Z</updated>

		<summary type="html">&lt;p&gt;Admin: Admin moved page How to Install cPanel and WHM in Ubuntu 20.04 to How to Install cPanel and WHM on Ubuntu 20.04: Wrong Title&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[How to Install cPanel and WHM on Ubuntu 20.04]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=How_to_Install_cPanel_and_WHM_on_Ubuntu_20.04&amp;diff=37</id>
		<title>How to Install cPanel and WHM on Ubuntu 20.04</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=How_to_Install_cPanel_and_WHM_on_Ubuntu_20.04&amp;diff=37"/>
		<updated>2022-09-02T14:03:52Z</updated>

		<summary type="html">&lt;p&gt;Admin: Admin moved page How to Install cPanel and WHM in Ubuntu 20.04 to How to Install cPanel and WHM on Ubuntu 20.04: Wrong Title&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:How to Install cPanel and WHM on Ubuntu 20.04}}&lt;br /&gt;
&lt;br /&gt;
==System Requirements==&lt;br /&gt;
CPU: 2 Core minimum, 4vCore or more recommended&lt;br /&gt;
&lt;br /&gt;
RAM: 1GB RAM minimum, 4GB or more recommended&lt;br /&gt;
&lt;br /&gt;
Storage: 20GB or more&lt;br /&gt;
&lt;br /&gt;
User: root&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
*Deploy a new Ubuntu 20.04 server&lt;br /&gt;
*Server&#039;s IP Address should be static.&lt;br /&gt;
*Update your server using APT&lt;br /&gt;
&lt;br /&gt;
==Installing cPanel&amp;amp;WHM==&lt;br /&gt;
Change the server hostname to a FQDN(Fully Qualified Domain Name). It can be like server.yourdomain.com or server1.yourdomain.com or any other subdomain. Run the following command to change the server hostname:&lt;br /&gt;
 hostnamectl set-hostname server.yourdomain.com&lt;br /&gt;
Disable network firewall:&lt;br /&gt;
 iptables-save &amp;gt; ~/firewall.rules&lt;br /&gt;
 systemctl stop ufw.service&lt;br /&gt;
 systemctl disable ufw.service&lt;br /&gt;
Ensure that curl is installed or install it using this command:&lt;br /&gt;
  apt-get install curl -y&lt;br /&gt;
To begin cPanel&amp;amp;WHM Installation, run the following command:&lt;br /&gt;
 cd /home &amp;amp;&amp;amp; curl -o latest -L &amp;lt;nowiki&amp;gt;https://securedownloads.cpanel.net/latest&amp;lt;/nowiki&amp;gt; &amp;amp;&amp;amp; sh latest&lt;br /&gt;
&lt;br /&gt;
==Configure cPanel&amp;amp;WHM==&lt;br /&gt;
After the installation is complete, reboot your server using:&lt;br /&gt;
 reboot&lt;br /&gt;
The installation is now complete. Login to WHM to configure the primary settings in WHM. Login using the link in your browser:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;https://x.x.x.x:2087&amp;lt;/nowiki&amp;gt; (replace x.x.x.x with the IP address of your server)&lt;br /&gt;
[[File:CPanel-first-login-after-installation.png|center|frameless|1024x1024px]]&lt;br /&gt;
Read cPanel&amp;amp;WHM terms and agree to all&lt;br /&gt;
[[File:Accept-cpanel-Terms-to-continue-basic-WHM-configuration.png|center|thumb|549x549px]]&lt;br /&gt;
It will now ask you to Login to cPanel store in order to issue a trial license to the server IPv4 address. Create a new account if you are new to cPanel. After signup/signin, a new trial license(15 days) will be issued if no trial licenses were issued to the server.&lt;br /&gt;
&lt;br /&gt;
Afterwards, it will ask you to enter an Email Address and Nameservers. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Email Address&#039;&#039;&#039;: It is recommended that Email address should be a business email as it will be displayed on DNS records as well. Try something like admin@yourdomain.com or webmaster@yourdomain.com. You can create these Email addresses later inside cPanel as well.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Nameservers&#039;&#039;&#039;: You can enter upto 5 nameservers but on this page, you can enter the first 2. You can keep them like ns1.yourdomain.com and ns2.yourdomain.com or anything of your choice.&lt;br /&gt;
[[File:WHM.png|center|thumb|889x889px]]&lt;br /&gt;
Congratulations! You have successfully installed cPanel&amp;amp;WHM. You can begin configuring and securing your server with the following options inside WHM:&lt;br /&gt;
&lt;br /&gt;
*Basic WebHost Manager Setup&lt;br /&gt;
*Initial Quota Setup&lt;br /&gt;
*Tweak Settings&lt;br /&gt;
*Security Advisor&lt;br /&gt;
*MySQL/MariaDB Upgrade (You cannot upgrade to MariaDB in Ubuntu as cPanel supports MySQL 8 only in Ubuntu 20.04)&lt;br /&gt;
&lt;br /&gt;
The following plugins and operating systems are recommended for secure cPanel&amp;amp;WHM Environment. These are paid plugins which help you managing your server security and backup. Here is the full list:&lt;br /&gt;
&lt;br /&gt;
#CageFS (Comes with CloudLinux. Used to jail users to keep the server secure) [OPTIONAL]&lt;br /&gt;
#LetsEncrypt SSL (Free SSL Certificate for all users) [OPTIONAL]&lt;br /&gt;
#CSF (ConfigSecurity&amp;amp;Firewall)&lt;br /&gt;
#Imunify360 (Antivirus with Real-Time scan and Web Application Firewall)&lt;br /&gt;
#JetBackup (Automated Backups with all options like restore, download and much more)&lt;br /&gt;
&lt;br /&gt;
You can install SSL certificate on Hostname by using the following commands:&lt;br /&gt;
 /usr/local/cpanel/bin/checkallsslcerts&lt;br /&gt;
This will issue an SSL Certificate from cPanel Store.&lt;br /&gt;
&lt;br /&gt;
==Common Commands==&lt;br /&gt;
Start cPanel Service:&lt;br /&gt;
 service cpanel start&lt;br /&gt;
Restart cPanel Service:&lt;br /&gt;
 /scripts/restartsrv_cpsrvd&lt;br /&gt;
(You can also use this command if cPanel services are failing to start. This scripts also fixes potential issues leading to cPanel crashing.)&lt;br /&gt;
&lt;br /&gt;
Update cPanel License Key:&lt;br /&gt;
 /usr/local/cpanel/cpkeyclt&lt;br /&gt;
Rebuild HTTPD Configuration:&lt;br /&gt;
 /scripts/rebuildhttpdconf&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
[https://docs.cpanel.net/installation-guide/install/ cPanel Installation]&lt;br /&gt;
&lt;br /&gt;
[https://docs.cpanel.net/whm/scripts/whm-scripts/ WHM Scripts]&lt;br /&gt;
&lt;br /&gt;
[https://support.cpanel.net/hc/en-us/articles/360049231953-Install-the-free-SSL-Certificate-on-the-server-s-hostname Install SSL Certificate on cPanel]&lt;br /&gt;
&lt;br /&gt;
[[Category:Hosting Control Panel]]&lt;br /&gt;
[[Category:Ubuntu]]&lt;br /&gt;
[[Category:Ubuntu20.04]]&lt;br /&gt;
[[Category:CPanel]]&lt;br /&gt;
[[Category:WHM]]&lt;br /&gt;
[[Category:LAMP]]&lt;br /&gt;
{{DEFAULTSORT:How_to_Install_cPanel_and_WHM_on_Ubuntu_20.04}}&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=How_to_Install_cPanel_and_WHM_in_CentOS_7&amp;diff=36</id>
		<title>How to Install cPanel and WHM in CentOS 7</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=How_to_Install_cPanel_and_WHM_in_CentOS_7&amp;diff=36"/>
		<updated>2022-09-02T14:03:18Z</updated>

		<summary type="html">&lt;p&gt;Admin: Admin moved page How to Install cPanel and WHM in CentOS 7 to How to Install cPanel and WHM on CentOS 7: Wrong Title&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[How to Install cPanel and WHM on CentOS 7]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=How_to_Install_cPanel_and_WHM_on_CentOS_7&amp;diff=35</id>
		<title>How to Install cPanel and WHM on CentOS 7</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=How_to_Install_cPanel_and_WHM_on_CentOS_7&amp;diff=35"/>
		<updated>2022-09-02T14:03:18Z</updated>

		<summary type="html">&lt;p&gt;Admin: Admin moved page How to Install cPanel and WHM in CentOS 7 to How to Install cPanel and WHM on CentOS 7: Wrong Title&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:How to Install cPanel and WHM on CentOS 7}}&lt;br /&gt;
&lt;br /&gt;
== System Requirements ==&lt;br /&gt;
CPU: 1 Core minimum, 2vCore or more recommended&lt;br /&gt;
&lt;br /&gt;
RAM: 1GB RAM minimum, 2GB or more recommended&lt;br /&gt;
&lt;br /&gt;
Storage: 20GB or more&lt;br /&gt;
&lt;br /&gt;
User: root&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
* Deploy a new CentOS 7.9 server&lt;br /&gt;
* Server&#039;s IP Address should be static.&lt;br /&gt;
&lt;br /&gt;
== Installing cPanel&amp;amp;WHM ==&lt;br /&gt;
Change the server hostname to a FQDN(Fully Qualified Domain Name). It can be like server.yourdomain.com or server1.yourdomain.com or any other subdomain. Run the following command to change the server hostname:&lt;br /&gt;
 hostnamectl set-hostname server.yourdomain.com&lt;br /&gt;
Disable NetworkManager if it is enabled using:&lt;br /&gt;
 systemctl stop NetworkManager&lt;br /&gt;
 systemctl disable NetworkManager&lt;br /&gt;
Start network using the following commands:&lt;br /&gt;
 systemctl enable network.service&lt;br /&gt;
 systemctl start network.service&lt;br /&gt;
SELinux is the main security defender of the Linux Kernel, and it is better to be disabled to prevent any access issues when we install cPanel on CentOS Server. You can use the below command to disable it temporarily:&lt;br /&gt;
 setenforce 0&lt;br /&gt;
Ensure that curl is installed or install it using this command:&lt;br /&gt;
  yum install curl -y&lt;br /&gt;
To begin cPanel&amp;amp;WHM Installation, run the following command:&lt;br /&gt;
 cd /home &amp;amp;&amp;amp; curl -o latest -L &amp;lt;nowiki&amp;gt;https://securedownloads.cpanel.net/latest&amp;lt;/nowiki&amp;gt; &amp;amp;&amp;amp; sh latest&lt;br /&gt;
&lt;br /&gt;
== Configure cPanel&amp;amp;WHM ==&lt;br /&gt;
After the installation is complete, reboot your server using:&lt;br /&gt;
 reboot&lt;br /&gt;
The installation is now complete. Login to WHM to configure the primary settings in WHM. Login using the link in your browser:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;https://x.x.x.x:2087&amp;lt;/nowiki&amp;gt; (replace x.x.x.x with the IP address of your server)&lt;br /&gt;
[[File:CPanel-first-login-after-installation.png|center|frameless|1024x1024px]]&lt;br /&gt;
Read cPanel&amp;amp;WHM terms and agree to all&lt;br /&gt;
[[File:Accept-cpanel-Terms-to-continue-basic-WHM-configuration.png|center|thumb|549x549px]]&lt;br /&gt;
It will now ask you to Login to cPanel store in order to issue a trial license to the server IPv4 address. Create a new account if you are new to cPanel. After signup/signin, a new trial license(15 days) will be issued if no trial licenses were issued to the server.&lt;br /&gt;
&lt;br /&gt;
Afterwards, it will ask you to enter an Email Address and Nameservers. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Email Address&#039;&#039;&#039;: It is recommended that Email address should be a business email as it will be displayed on DNS records as well. Try something like admin@yourdomain.com or webmaster@yourdomain.com. You can create these Email addresses later inside cPanel as well.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Nameservers&#039;&#039;&#039;: You can enter upto 5 nameservers but on this page, you can enter the first 2. You can keep them like ns1.yourdomain.com and ns2.yourdomain.com or anything of your choice.&lt;br /&gt;
[[File:WHM.png|center|thumb|889x889px]]&lt;br /&gt;
Congratulations! You have successfully installed cPanel&amp;amp;WHM. You can begin configuring and securing your server with the following options inside WHM:&lt;br /&gt;
&lt;br /&gt;
* Basic WebHost Manager Setup&lt;br /&gt;
* Initial Quota Setup&lt;br /&gt;
* Tweak Settings&lt;br /&gt;
* Security Advisor&lt;br /&gt;
* MySQL/MariaDB Upgrade&lt;br /&gt;
&lt;br /&gt;
The following plugins and operating systems are recommended for secure cPanel&amp;amp;WHM Environment. These are paid plugins which help you managing your server security and backup. Here is the full list:&lt;br /&gt;
&lt;br /&gt;
# CloudLinux (Operating System for managing resources per user) [OPTIONAL]&lt;br /&gt;
# CageFS (Comes with CloudLinux. Used to jail users to keep the server secure) [OPTIONAL]&lt;br /&gt;
# LetsEncrypt SSL (Free SSL Certificate for all users) [OPTIONAL]&lt;br /&gt;
# CSF (ConfigSecurity&amp;amp;Firewall)&lt;br /&gt;
# Imunify360 (Antivirus with Real-Time scan and Web Application Firewall)&lt;br /&gt;
# JetBackup (Automated Backups with all options like restore, download and much more)&lt;br /&gt;
&lt;br /&gt;
You can install SSL certificate on Hostname by using the following commands:&lt;br /&gt;
 /usr/local/cpanel/bin/checkallsslcerts&lt;br /&gt;
This will issue an SSL Certificate from cPanel Store.&lt;br /&gt;
&lt;br /&gt;
== Common Commands ==&lt;br /&gt;
Start cPanel Service:&lt;br /&gt;
 service cpanel start&lt;br /&gt;
Restart cPanel Service:&lt;br /&gt;
 /scripts/restartsrv_cpsrvd&lt;br /&gt;
(You can also use this command if cPanel services are failing to start. This scripts also fixes potential issues leading to cPanel crashing.)&lt;br /&gt;
&lt;br /&gt;
Update cPanel License Key:&lt;br /&gt;
 /usr/local/cpanel/cpkeyclt&lt;br /&gt;
Rebuild HTTPD Configuration:&lt;br /&gt;
 /scripts/rebuildhttpdconf&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
[https://docs.cpanel.net/installation-guide/install/ cPanel Installation]&lt;br /&gt;
&lt;br /&gt;
[https://docs.cpanel.net/whm/scripts/whm-scripts/ WHM Scripts]&lt;br /&gt;
&lt;br /&gt;
[https://support.cpanel.net/hc/en-us/articles/360049231953-Install-the-free-SSL-Certificate-on-the-server-s-hostname Install SSL Certificate on cPanel]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Hosting Control Panel]]&lt;br /&gt;
[[Category:CentOS]]&lt;br /&gt;
[[Category:CentOS 7]]&lt;br /&gt;
[[Category:CPanel]]&lt;br /&gt;
[[Category:WHM]]&lt;br /&gt;
[[Category:LAMP]]&lt;br /&gt;
{{DEFAULTSORT:How_to_Install_cPanel_and_WHM_on_CentOS_7}}&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=How_to_Install_cPanel_and_WHM_on_CentOS_7&amp;diff=34</id>
		<title>How to Install cPanel and WHM on CentOS 7</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=How_to_Install_cPanel_and_WHM_on_CentOS_7&amp;diff=34"/>
		<updated>2022-09-02T14:01:01Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:How to Install cPanel and WHM on CentOS 7}}&lt;br /&gt;
&lt;br /&gt;
== System Requirements ==&lt;br /&gt;
CPU: 1 Core minimum, 2vCore or more recommended&lt;br /&gt;
&lt;br /&gt;
RAM: 1GB RAM minimum, 2GB or more recommended&lt;br /&gt;
&lt;br /&gt;
Storage: 20GB or more&lt;br /&gt;
&lt;br /&gt;
User: root&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
* Deploy a new CentOS 7.9 server&lt;br /&gt;
* Server&#039;s IP Address should be static.&lt;br /&gt;
&lt;br /&gt;
== Installing cPanel&amp;amp;WHM ==&lt;br /&gt;
Change the server hostname to a FQDN(Fully Qualified Domain Name). It can be like server.yourdomain.com or server1.yourdomain.com or any other subdomain. Run the following command to change the server hostname:&lt;br /&gt;
 hostnamectl set-hostname server.yourdomain.com&lt;br /&gt;
Disable NetworkManager if it is enabled using:&lt;br /&gt;
 systemctl stop NetworkManager&lt;br /&gt;
 systemctl disable NetworkManager&lt;br /&gt;
Start network using the following commands:&lt;br /&gt;
 systemctl enable network.service&lt;br /&gt;
 systemctl start network.service&lt;br /&gt;
SELinux is the main security defender of the Linux Kernel, and it is better to be disabled to prevent any access issues when we install cPanel on CentOS Server. You can use the below command to disable it temporarily:&lt;br /&gt;
 setenforce 0&lt;br /&gt;
Ensure that curl is installed or install it using this command:&lt;br /&gt;
  yum install curl -y&lt;br /&gt;
To begin cPanel&amp;amp;WHM Installation, run the following command:&lt;br /&gt;
 cd /home &amp;amp;&amp;amp; curl -o latest -L &amp;lt;nowiki&amp;gt;https://securedownloads.cpanel.net/latest&amp;lt;/nowiki&amp;gt; &amp;amp;&amp;amp; sh latest&lt;br /&gt;
&lt;br /&gt;
== Configure cPanel&amp;amp;WHM ==&lt;br /&gt;
After the installation is complete, reboot your server using:&lt;br /&gt;
 reboot&lt;br /&gt;
The installation is now complete. Login to WHM to configure the primary settings in WHM. Login using the link in your browser:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;https://x.x.x.x:2087&amp;lt;/nowiki&amp;gt; (replace x.x.x.x with the IP address of your server)&lt;br /&gt;
[[File:CPanel-first-login-after-installation.png|center|frameless|1024x1024px]]&lt;br /&gt;
Read cPanel&amp;amp;WHM terms and agree to all&lt;br /&gt;
[[File:Accept-cpanel-Terms-to-continue-basic-WHM-configuration.png|center|thumb|549x549px]]&lt;br /&gt;
It will now ask you to Login to cPanel store in order to issue a trial license to the server IPv4 address. Create a new account if you are new to cPanel. After signup/signin, a new trial license(15 days) will be issued if no trial licenses were issued to the server.&lt;br /&gt;
&lt;br /&gt;
Afterwards, it will ask you to enter an Email Address and Nameservers. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Email Address&#039;&#039;&#039;: It is recommended that Email address should be a business email as it will be displayed on DNS records as well. Try something like admin@yourdomain.com or webmaster@yourdomain.com. You can create these Email addresses later inside cPanel as well.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Nameservers&#039;&#039;&#039;: You can enter upto 5 nameservers but on this page, you can enter the first 2. You can keep them like ns1.yourdomain.com and ns2.yourdomain.com or anything of your choice.&lt;br /&gt;
[[File:WHM.png|center|thumb|889x889px]]&lt;br /&gt;
Congratulations! You have successfully installed cPanel&amp;amp;WHM. You can begin configuring and securing your server with the following options inside WHM:&lt;br /&gt;
&lt;br /&gt;
* Basic WebHost Manager Setup&lt;br /&gt;
* Initial Quota Setup&lt;br /&gt;
* Tweak Settings&lt;br /&gt;
* Security Advisor&lt;br /&gt;
* MySQL/MariaDB Upgrade&lt;br /&gt;
&lt;br /&gt;
The following plugins and operating systems are recommended for secure cPanel&amp;amp;WHM Environment. These are paid plugins which help you managing your server security and backup. Here is the full list:&lt;br /&gt;
&lt;br /&gt;
# CloudLinux (Operating System for managing resources per user) [OPTIONAL]&lt;br /&gt;
# CageFS (Comes with CloudLinux. Used to jail users to keep the server secure) [OPTIONAL]&lt;br /&gt;
# LetsEncrypt SSL (Free SSL Certificate for all users) [OPTIONAL]&lt;br /&gt;
# CSF (ConfigSecurity&amp;amp;Firewall)&lt;br /&gt;
# Imunify360 (Antivirus with Real-Time scan and Web Application Firewall)&lt;br /&gt;
# JetBackup (Automated Backups with all options like restore, download and much more)&lt;br /&gt;
&lt;br /&gt;
You can install SSL certificate on Hostname by using the following commands:&lt;br /&gt;
 /usr/local/cpanel/bin/checkallsslcerts&lt;br /&gt;
This will issue an SSL Certificate from cPanel Store.&lt;br /&gt;
&lt;br /&gt;
== Common Commands ==&lt;br /&gt;
Start cPanel Service:&lt;br /&gt;
 service cpanel start&lt;br /&gt;
Restart cPanel Service:&lt;br /&gt;
 /scripts/restartsrv_cpsrvd&lt;br /&gt;
(You can also use this command if cPanel services are failing to start. This scripts also fixes potential issues leading to cPanel crashing.)&lt;br /&gt;
&lt;br /&gt;
Update cPanel License Key:&lt;br /&gt;
 /usr/local/cpanel/cpkeyclt&lt;br /&gt;
Rebuild HTTPD Configuration:&lt;br /&gt;
 /scripts/rebuildhttpdconf&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
[https://docs.cpanel.net/installation-guide/install/ cPanel Installation]&lt;br /&gt;
&lt;br /&gt;
[https://docs.cpanel.net/whm/scripts/whm-scripts/ WHM Scripts]&lt;br /&gt;
&lt;br /&gt;
[https://support.cpanel.net/hc/en-us/articles/360049231953-Install-the-free-SSL-Certificate-on-the-server-s-hostname Install SSL Certificate on cPanel]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Hosting Control Panel]]&lt;br /&gt;
[[Category:CentOS]]&lt;br /&gt;
[[Category:CentOS 7]]&lt;br /&gt;
[[Category:CPanel]]&lt;br /&gt;
[[Category:WHM]]&lt;br /&gt;
[[Category:LAMP]]&lt;br /&gt;
{{DEFAULTSORT:How_to_Install_cPanel_and_WHM_on_CentOS_7}}&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=How_to_Install_cPanel_and_WHM_on_Ubuntu_20.04&amp;diff=33</id>
		<title>How to Install cPanel and WHM on Ubuntu 20.04</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=How_to_Install_cPanel_and_WHM_on_Ubuntu_20.04&amp;diff=33"/>
		<updated>2022-09-02T14:00:10Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:How to Install cPanel and WHM on Ubuntu 20.04}}&lt;br /&gt;
&lt;br /&gt;
==System Requirements==&lt;br /&gt;
CPU: 2 Core minimum, 4vCore or more recommended&lt;br /&gt;
&lt;br /&gt;
RAM: 1GB RAM minimum, 4GB or more recommended&lt;br /&gt;
&lt;br /&gt;
Storage: 20GB or more&lt;br /&gt;
&lt;br /&gt;
User: root&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
*Deploy a new Ubuntu 20.04 server&lt;br /&gt;
*Server&#039;s IP Address should be static.&lt;br /&gt;
*Update your server using APT&lt;br /&gt;
&lt;br /&gt;
==Installing cPanel&amp;amp;WHM==&lt;br /&gt;
Change the server hostname to a FQDN(Fully Qualified Domain Name). It can be like server.yourdomain.com or server1.yourdomain.com or any other subdomain. Run the following command to change the server hostname:&lt;br /&gt;
 hostnamectl set-hostname server.yourdomain.com&lt;br /&gt;
Disable network firewall:&lt;br /&gt;
 iptables-save &amp;gt; ~/firewall.rules&lt;br /&gt;
 systemctl stop ufw.service&lt;br /&gt;
 systemctl disable ufw.service&lt;br /&gt;
Ensure that curl is installed or install it using this command:&lt;br /&gt;
  apt-get install curl -y&lt;br /&gt;
To begin cPanel&amp;amp;WHM Installation, run the following command:&lt;br /&gt;
 cd /home &amp;amp;&amp;amp; curl -o latest -L &amp;lt;nowiki&amp;gt;https://securedownloads.cpanel.net/latest&amp;lt;/nowiki&amp;gt; &amp;amp;&amp;amp; sh latest&lt;br /&gt;
&lt;br /&gt;
==Configure cPanel&amp;amp;WHM==&lt;br /&gt;
After the installation is complete, reboot your server using:&lt;br /&gt;
 reboot&lt;br /&gt;
The installation is now complete. Login to WHM to configure the primary settings in WHM. Login using the link in your browser:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;https://x.x.x.x:2087&amp;lt;/nowiki&amp;gt; (replace x.x.x.x with the IP address of your server)&lt;br /&gt;
[[File:CPanel-first-login-after-installation.png|center|frameless|1024x1024px]]&lt;br /&gt;
Read cPanel&amp;amp;WHM terms and agree to all&lt;br /&gt;
[[File:Accept-cpanel-Terms-to-continue-basic-WHM-configuration.png|center|thumb|549x549px]]&lt;br /&gt;
It will now ask you to Login to cPanel store in order to issue a trial license to the server IPv4 address. Create a new account if you are new to cPanel. After signup/signin, a new trial license(15 days) will be issued if no trial licenses were issued to the server.&lt;br /&gt;
&lt;br /&gt;
Afterwards, it will ask you to enter an Email Address and Nameservers. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Email Address&#039;&#039;&#039;: It is recommended that Email address should be a business email as it will be displayed on DNS records as well. Try something like admin@yourdomain.com or webmaster@yourdomain.com. You can create these Email addresses later inside cPanel as well.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Nameservers&#039;&#039;&#039;: You can enter upto 5 nameservers but on this page, you can enter the first 2. You can keep them like ns1.yourdomain.com and ns2.yourdomain.com or anything of your choice.&lt;br /&gt;
[[File:WHM.png|center|thumb|889x889px]]&lt;br /&gt;
Congratulations! You have successfully installed cPanel&amp;amp;WHM. You can begin configuring and securing your server with the following options inside WHM:&lt;br /&gt;
&lt;br /&gt;
*Basic WebHost Manager Setup&lt;br /&gt;
*Initial Quota Setup&lt;br /&gt;
*Tweak Settings&lt;br /&gt;
*Security Advisor&lt;br /&gt;
*MySQL/MariaDB Upgrade (You cannot upgrade to MariaDB in Ubuntu as cPanel supports MySQL 8 only in Ubuntu 20.04)&lt;br /&gt;
&lt;br /&gt;
The following plugins and operating systems are recommended for secure cPanel&amp;amp;WHM Environment. These are paid plugins which help you managing your server security and backup. Here is the full list:&lt;br /&gt;
&lt;br /&gt;
#CageFS (Comes with CloudLinux. Used to jail users to keep the server secure) [OPTIONAL]&lt;br /&gt;
#LetsEncrypt SSL (Free SSL Certificate for all users) [OPTIONAL]&lt;br /&gt;
#CSF (ConfigSecurity&amp;amp;Firewall)&lt;br /&gt;
#Imunify360 (Antivirus with Real-Time scan and Web Application Firewall)&lt;br /&gt;
#JetBackup (Automated Backups with all options like restore, download and much more)&lt;br /&gt;
&lt;br /&gt;
You can install SSL certificate on Hostname by using the following commands:&lt;br /&gt;
 /usr/local/cpanel/bin/checkallsslcerts&lt;br /&gt;
This will issue an SSL Certificate from cPanel Store.&lt;br /&gt;
&lt;br /&gt;
==Common Commands==&lt;br /&gt;
Start cPanel Service:&lt;br /&gt;
 service cpanel start&lt;br /&gt;
Restart cPanel Service:&lt;br /&gt;
 /scripts/restartsrv_cpsrvd&lt;br /&gt;
(You can also use this command if cPanel services are failing to start. This scripts also fixes potential issues leading to cPanel crashing.)&lt;br /&gt;
&lt;br /&gt;
Update cPanel License Key:&lt;br /&gt;
 /usr/local/cpanel/cpkeyclt&lt;br /&gt;
Rebuild HTTPD Configuration:&lt;br /&gt;
 /scripts/rebuildhttpdconf&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
[https://docs.cpanel.net/installation-guide/install/ cPanel Installation]&lt;br /&gt;
&lt;br /&gt;
[https://docs.cpanel.net/whm/scripts/whm-scripts/ WHM Scripts]&lt;br /&gt;
&lt;br /&gt;
[https://support.cpanel.net/hc/en-us/articles/360049231953-Install-the-free-SSL-Certificate-on-the-server-s-hostname Install SSL Certificate on cPanel]&lt;br /&gt;
&lt;br /&gt;
[[Category:Hosting Control Panel]]&lt;br /&gt;
[[Category:Ubuntu]]&lt;br /&gt;
[[Category:Ubuntu20.04]]&lt;br /&gt;
[[Category:CPanel]]&lt;br /&gt;
[[Category:WHM]]&lt;br /&gt;
[[Category:LAMP]]&lt;br /&gt;
{{DEFAULTSORT:How_to_Install_cPanel_and_WHM_on_Ubuntu_20.04}}&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=How_to_Install_cPanel_and_WHM_on_Ubuntu_20.04&amp;diff=32</id>
		<title>How to Install cPanel and WHM on Ubuntu 20.04</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=How_to_Install_cPanel_and_WHM_on_Ubuntu_20.04&amp;diff=32"/>
		<updated>2022-09-02T13:22:49Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;==System Requirements== CPU: 2 Core minimum, 4vCore or more recommended  RAM: 1GB RAM minimum, 4GB or more recommended  Storage: 20GB or more  User: root  ==Prerequisites==  *Deploy a new Ubuntu 20.04 server *Server&amp;#039;s IP Address should be static. *Update your server using APT  ==Installing cPanel&amp;amp;WHM== Change the server hostname to a FQDN(Fully Qualified Domain Name). It can be like server.yourdomain.com or server1.yourdomain.com or any other subdomain. Run the following...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==System Requirements==&lt;br /&gt;
CPU: 2 Core minimum, 4vCore or more recommended&lt;br /&gt;
&lt;br /&gt;
RAM: 1GB RAM minimum, 4GB or more recommended&lt;br /&gt;
&lt;br /&gt;
Storage: 20GB or more&lt;br /&gt;
&lt;br /&gt;
User: root&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
&lt;br /&gt;
*Deploy a new Ubuntu 20.04 server&lt;br /&gt;
*Server&#039;s IP Address should be static.&lt;br /&gt;
*Update your server using APT&lt;br /&gt;
&lt;br /&gt;
==Installing cPanel&amp;amp;WHM==&lt;br /&gt;
Change the server hostname to a FQDN(Fully Qualified Domain Name). It can be like server.yourdomain.com or server1.yourdomain.com or any other subdomain. Run the following command to change the server hostname:&lt;br /&gt;
 hostnamectl set-hostname server.yourdomain.com&lt;br /&gt;
Disable network firewall:&lt;br /&gt;
 iptables-save &amp;gt; ~/firewall.rules&lt;br /&gt;
 systemctl stop ufw.service&lt;br /&gt;
 systemctl disable ufw.service&lt;br /&gt;
Ensure that curl is installed or install it using this command:&lt;br /&gt;
  apt-get install curl -y&lt;br /&gt;
To begin cPanel&amp;amp;WHM Installation, run the following command:&lt;br /&gt;
 cd /home &amp;amp;&amp;amp; curl -o latest -L &amp;lt;nowiki&amp;gt;https://securedownloads.cpanel.net/latest&amp;lt;/nowiki&amp;gt; &amp;amp;&amp;amp; sh latest&lt;br /&gt;
&lt;br /&gt;
==Configure cPanel&amp;amp;WHM==&lt;br /&gt;
After the installation is complete, reboot your server using:&lt;br /&gt;
 reboot&lt;br /&gt;
The installation is now complete. Login to WHM to configure the primary settings in WHM. Login using the link in your browser:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;https://x.x.x.x:2087&amp;lt;/nowiki&amp;gt; (replace x.x.x.x with the IP address of your server)&lt;br /&gt;
[[File:CPanel-first-login-after-installation.png|center|frameless|1024x1024px]]&lt;br /&gt;
Read cPanel&amp;amp;WHM terms and agree to all&lt;br /&gt;
[[File:Accept-cpanel-Terms-to-continue-basic-WHM-configuration.png|center|thumb|549x549px]]&lt;br /&gt;
It will now ask you to Login to cPanel store in order to issue a trial license to the server IPv4 address. Create a new account if you are new to cPanel. After signup/signin, a new trial license(15 days) will be issued if no trial licenses were issued to the server.&lt;br /&gt;
&lt;br /&gt;
Afterwards, it will ask you to enter an Email Address and Nameservers. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Email Address&#039;&#039;&#039;: It is recommended that Email address should be a business email as it will be displayed on DNS records as well. Try something like admin@yourdomain.com or webmaster@yourdomain.com. You can create these Email addresses later inside cPanel as well.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Nameservers&#039;&#039;&#039;: You can enter upto 5 nameservers but on this page, you can enter the first 2. You can keep them like ns1.yourdomain.com and ns2.yourdomain.com or anything of your choice.&lt;br /&gt;
[[File:WHM.png|center|thumb|889x889px]]&lt;br /&gt;
Congratulations! You have successfully installed cPanel&amp;amp;WHM. You can begin configuring and securing your server with the following options inside WHM:&lt;br /&gt;
&lt;br /&gt;
*Basic WebHost Manager Setup&lt;br /&gt;
*Initial Quota Setup&lt;br /&gt;
*Tweak Settings&lt;br /&gt;
*Security Advisor&lt;br /&gt;
*MySQL/MariaDB Upgrade (You cannot upgrade to MariaDB in Ubuntu as cPanel supports MySQL 8 only in Ubuntu 20.04)&lt;br /&gt;
&lt;br /&gt;
The following plugins and operating systems are recommended for secure cPanel&amp;amp;WHM Environment. These are paid plugins which help you managing your server security and backup. Here is the full list:&lt;br /&gt;
&lt;br /&gt;
#CageFS (Comes with CloudLinux. Used to jail users to keep the server secure) [OPTIONAL]&lt;br /&gt;
#LetsEncrypt SSL (Free SSL Certificate for all users) [OPTIONAL]&lt;br /&gt;
#CSF (ConfigSecurity&amp;amp;Firewall)&lt;br /&gt;
#Imunify360 (Antivirus with Real-Time scan and Web Application Firewall)&lt;br /&gt;
#JetBackup (Automated Backups with all options like restore, download and much more)&lt;br /&gt;
&lt;br /&gt;
You can install SSL certificate on Hostname by using the following commands:&lt;br /&gt;
 /usr/local/cpanel/bin/checkallsslcerts&lt;br /&gt;
This will issue an SSL Certificate from cPanel Store.&lt;br /&gt;
&lt;br /&gt;
==Common Commands==&lt;br /&gt;
Start cPanel Service:&lt;br /&gt;
 service cpanel start&lt;br /&gt;
Restart cPanel Service:&lt;br /&gt;
 /scripts/restartsrv_cpsrvd&lt;br /&gt;
(You can also use this command if cPanel services are failing to start. This scripts also fixes potential issues leading to cPanel crashing.)&lt;br /&gt;
&lt;br /&gt;
Update cPanel License Key:&lt;br /&gt;
 /usr/local/cpanel/cpkeyclt&lt;br /&gt;
Rebuild HTTPD Configuration:&lt;br /&gt;
 /scripts/rebuildhttpdconf&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
[https://docs.cpanel.net/installation-guide/install/ cPanel Installation]&lt;br /&gt;
&lt;br /&gt;
[https://docs.cpanel.net/whm/scripts/whm-scripts/ WHM Scripts]&lt;br /&gt;
&lt;br /&gt;
[https://support.cpanel.net/hc/en-us/articles/360049231953-Install-the-free-SSL-Certificate-on-the-server-s-hostname Install SSL Certificate on cPanel]&lt;br /&gt;
&lt;br /&gt;
[[Category:Hosting Control Panel]]&lt;br /&gt;
[[Category:Ubuntu]]&lt;br /&gt;
[[Category:Ubuntu20.04]]&lt;br /&gt;
[[Category:CPanel]]&lt;br /&gt;
[[Category:WHM]]&lt;br /&gt;
[[Category:LAMP]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=Main_Page&amp;diff=31</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=Main_Page&amp;diff=31"/>
		<updated>2022-09-02T13:11:16Z</updated>

		<summary type="html">&lt;p&gt;Admin: /* Hosting Control Panels */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== &amp;lt;strong&amp;gt;Welcome to [https://lhycloud.com LHYcloud] Docs!&amp;lt;/strong&amp;gt; ====&lt;br /&gt;
You can find almost all documentation regarding Shared Hosting, Virtual Private Servers, Dedicated Servers, Cloud, softwares and many more. If you would like us to add a documentation for anything, just mail us at [mailto:docs@lhycloud.com docs@lhycloud.com]. If you would like to contribute to this website, we are happy to give you access to this knowledgebase. This knowledgebase is not just for LHY Technologies users but the whole community.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* CloudMate&lt;br /&gt;
* LHYcloud&lt;br /&gt;
* HostEviL&lt;br /&gt;
&lt;br /&gt;
== Hosting Control Panels ==&lt;br /&gt;
&lt;br /&gt;
* [[:Category:CPanel|cPanel]]&lt;br /&gt;
* Plesk&lt;br /&gt;
* DirectAdmin&lt;br /&gt;
* ISPconfig&lt;br /&gt;
* Webmin&lt;br /&gt;
* hPanel&lt;br /&gt;
* CentOS Web Panel(CWP)&lt;br /&gt;
* VestaCP&lt;br /&gt;
* [[:Category:Aapanel|aaPanel]]&lt;br /&gt;
* CyberPanel&lt;br /&gt;
&lt;br /&gt;
== Operating Systems ==&lt;br /&gt;
&lt;br /&gt;
* [[:Category:Ubuntu|Ubuntu]]&lt;br /&gt;
* [[:Category:CentOS|CentOS]]&lt;br /&gt;
* Debian&lt;br /&gt;
* CloudLinux&lt;br /&gt;
* Windows&lt;br /&gt;
* Fedora Linux&lt;br /&gt;
&lt;br /&gt;
== Softwares/CMS ==&lt;br /&gt;
&lt;br /&gt;
* WordPress&lt;br /&gt;
* PrestaShop&lt;br /&gt;
* MyBB&lt;br /&gt;
* WHMCS&lt;br /&gt;
* Magento&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=Category:CPanel&amp;diff=30</id>
		<title>Category:CPanel</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=Category:CPanel&amp;diff=30"/>
		<updated>2022-09-02T13:10:53Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;cPanel is a web hosting control panel software developed by [https://cpanel.net/ cPanel, LLC]. It provides a graphical interface (GUI) and automation tools designed to simplify the process of hosting a web site to the website owner or the &amp;quot;end user&amp;quot;. It enables administration through a standard web browser using a three-tier structure. While cPanel is limited to managing a single hosting account, cPanel &amp;amp; WHM allows the administration of the entire server.  In addition t...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;cPanel is a web hosting control panel software developed by [https://cpanel.net/ cPanel, LLC]. It provides a graphical interface (GUI) and automation tools designed to simplify the process of hosting a web site to the website owner or the &amp;quot;end user&amp;quot;. It enables administration through a standard web browser using a three-tier structure. While cPanel is limited to managing a single hosting account, cPanel &amp;amp; WHM allows the administration of the entire server.&lt;br /&gt;
&lt;br /&gt;
In addition to the GUI, cPanel also has command line and API-based access that allows third-party software vendors, web hosting organizations, and developers to automate standard system administration processes. cPanel &amp;amp; WHM is designed to function either on a dedicated server or virtual private server.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=Main_Page&amp;diff=29</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=Main_Page&amp;diff=29"/>
		<updated>2022-09-02T13:08:43Z</updated>

		<summary type="html">&lt;p&gt;Admin: /* Operating Systems */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== &amp;lt;strong&amp;gt;Welcome to [https://lhycloud.com LHYcloud] Docs!&amp;lt;/strong&amp;gt; ====&lt;br /&gt;
You can find almost all documentation regarding Shared Hosting, Virtual Private Servers, Dedicated Servers, Cloud, softwares and many more. If you would like us to add a documentation for anything, just mail us at [mailto:docs@lhycloud.com docs@lhycloud.com]. If you would like to contribute to this website, we are happy to give you access to this knowledgebase. This knowledgebase is not just for LHY Technologies users but the whole community.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* CloudMate&lt;br /&gt;
* LHYcloud&lt;br /&gt;
* HostEviL&lt;br /&gt;
&lt;br /&gt;
== Hosting Control Panels ==&lt;br /&gt;
&lt;br /&gt;
* cPanel&lt;br /&gt;
* Plesk&lt;br /&gt;
* DirectAdmin&lt;br /&gt;
* ISPconfig&lt;br /&gt;
* Webmin&lt;br /&gt;
* hPanel&lt;br /&gt;
* CentOS Web Panel(CWP)&lt;br /&gt;
* VestaCP&lt;br /&gt;
* [[:Category:Aapanel|aaPanel]]&lt;br /&gt;
* CyberPanel&lt;br /&gt;
&lt;br /&gt;
== Operating Systems ==&lt;br /&gt;
&lt;br /&gt;
* [[:Category:Ubuntu|Ubuntu]]&lt;br /&gt;
* [[:Category:CentOS|CentOS]]&lt;br /&gt;
* Debian&lt;br /&gt;
* CloudLinux&lt;br /&gt;
* Windows&lt;br /&gt;
* Fedora Linux&lt;br /&gt;
&lt;br /&gt;
== Softwares/CMS ==&lt;br /&gt;
&lt;br /&gt;
* WordPress&lt;br /&gt;
* PrestaShop&lt;br /&gt;
* MyBB&lt;br /&gt;
* WHMCS&lt;br /&gt;
* Magento&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=Category:CentOS&amp;diff=28</id>
		<title>Category:CentOS</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=Category:CentOS&amp;diff=28"/>
		<updated>2022-09-02T13:07:48Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;The CentOS Linux distribution is a stable, predictable, manageable and reproducible platform derived from the sources of Red Hat Enterprise Linux (RHEL). The CentOS Project is a community-driven free software effort focused around the goal of providing a rich base platform for open source communities to build upon.  === End of Life announcements: === {| class=&amp;quot;wikitable&amp;quot; |+CentOS Project !Release !Active Support !Security Support |- |CentOS 6 |Ended on 10 May 2017 |Ended...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The CentOS Linux distribution is a stable, predictable, manageable and reproducible platform derived from the sources of Red Hat Enterprise Linux (RHEL). The CentOS Project is a community-driven free software effort focused around the goal of providing a rich base platform for open source communities to build upon.&lt;br /&gt;
&lt;br /&gt;
=== End of Life announcements: ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+CentOS Project&lt;br /&gt;
!Release&lt;br /&gt;
!Active Support&lt;br /&gt;
!Security Support&lt;br /&gt;
|-&lt;br /&gt;
|CentOS 6&lt;br /&gt;
|Ended on 10 May 2017&lt;br /&gt;
|Ended on 30 Nov 2020&lt;br /&gt;
|-&lt;br /&gt;
|CentOS 7&lt;br /&gt;
|Ended on 06 Aug 2020&lt;br /&gt;
|Ends on 30 Jun 2024&lt;br /&gt;
|-&lt;br /&gt;
|CentOS 8&lt;br /&gt;
|Ended on 31 Dec 2021&lt;br /&gt;
|Ended on 31 Dec 2021&lt;br /&gt;
|-&lt;br /&gt;
|CentOS Stream 8&lt;br /&gt;
|Ends on 31 May 2024&lt;br /&gt;
|Ends on 31 May 2024&lt;br /&gt;
|-&lt;br /&gt;
|CentOS Stream 9&lt;br /&gt;
|Ends on 31 May 2027&lt;br /&gt;
|Ends on 31 May 2027&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=How_to_Install_cPanel_and_WHM_on_CentOS_7&amp;diff=27</id>
		<title>How to Install cPanel and WHM on CentOS 7</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=How_to_Install_cPanel_and_WHM_on_CentOS_7&amp;diff=27"/>
		<updated>2022-09-01T19:07:08Z</updated>

		<summary type="html">&lt;p&gt;Admin: /* Prerequisites */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== System Requirements ==&lt;br /&gt;
CPU: 1 Core minimum, 2vCore or more recommended&lt;br /&gt;
&lt;br /&gt;
RAM: 1GB RAM minimum, 2GB or more recommended&lt;br /&gt;
&lt;br /&gt;
Storage: 20GB or more&lt;br /&gt;
&lt;br /&gt;
User: root&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
* Deploy a new CentOS 7.9 server&lt;br /&gt;
* Server&#039;s IP Address should be static.&lt;br /&gt;
&lt;br /&gt;
== Installing cPanel&amp;amp;WHM ==&lt;br /&gt;
Change the server hostname to a FQDN(Fully Qualified Domain Name). It can be like server.yourdomain.com or server1.yourdomain.com or any other subdomain. Run the following command to change the server hostname:&lt;br /&gt;
 hostnamectl set-hostname server.yourdomain.com&lt;br /&gt;
Disable NetworkManager if it is enabled using:&lt;br /&gt;
 systemctl stop NetworkManager&lt;br /&gt;
 systemctl disable NetworkManager&lt;br /&gt;
Start network using the following commands:&lt;br /&gt;
 systemctl enable network.service&lt;br /&gt;
 systemctl start network.service&lt;br /&gt;
SELinux is the main security defender of the Linux Kernel, and it is better to be disabled to prevent any access issues when we install cPanel on CentOS Server. You can use the below command to disable it temporarily:&lt;br /&gt;
 setenforce 0&lt;br /&gt;
Ensure that curl is installed or install it using this command:&lt;br /&gt;
  yum install curl -y&lt;br /&gt;
To begin cPanel&amp;amp;WHM Installation, run the following command:&lt;br /&gt;
 cd /home &amp;amp;&amp;amp; curl -o latest -L &amp;lt;nowiki&amp;gt;https://securedownloads.cpanel.net/latest&amp;lt;/nowiki&amp;gt; &amp;amp;&amp;amp; sh latest&lt;br /&gt;
&lt;br /&gt;
== Configure cPanel&amp;amp;WHM ==&lt;br /&gt;
After the installation is complete, reboot your server using:&lt;br /&gt;
 reboot&lt;br /&gt;
The installation is now complete. Login to WHM to configure the primary settings in WHM. Login using the link in your browser:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;https://x.x.x.x:2087&amp;lt;/nowiki&amp;gt; (replace x.x.x.x with the IP address of your server)&lt;br /&gt;
[[File:CPanel-first-login-after-installation.png|center|frameless|1024x1024px]]&lt;br /&gt;
Read cPanel&amp;amp;WHM terms and agree to all&lt;br /&gt;
[[File:Accept-cpanel-Terms-to-continue-basic-WHM-configuration.png|center|thumb|549x549px]]&lt;br /&gt;
It will now ask you to Login to cPanel store in order to issue a trial license to the server IPv4 address. Create a new account if you are new to cPanel. After signup/signin, a new trial license(15 days) will be issued if no trial licenses were issued to the server.&lt;br /&gt;
&lt;br /&gt;
Afterwards, it will ask you to enter an Email Address and Nameservers. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Email Address&#039;&#039;&#039;: It is recommended that Email address should be a business email as it will be displayed on DNS records as well. Try something like admin@yourdomain.com or webmaster@yourdomain.com. You can create these Email addresses later inside cPanel as well.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Nameservers&#039;&#039;&#039;: You can enter upto 5 nameservers but on this page, you can enter the first 2. You can keep them like ns1.yourdomain.com and ns2.yourdomain.com or anything of your choice.&lt;br /&gt;
[[File:WHM.png|center|thumb|889x889px]]&lt;br /&gt;
Congratulations! You have successfully installed cPanel&amp;amp;WHM. You can begin configuring and securing your server with the following options inside WHM:&lt;br /&gt;
&lt;br /&gt;
* Basic WebHost Manager Setup&lt;br /&gt;
* Initial Quota Setup&lt;br /&gt;
* Tweak Settings&lt;br /&gt;
* Security Advisor&lt;br /&gt;
* MySQL/MariaDB Upgrade&lt;br /&gt;
&lt;br /&gt;
The following plugins and operating systems are recommended for secure cPanel&amp;amp;WHM Environment. These are paid plugins which help you managing your server security and backup. Here is the full list:&lt;br /&gt;
&lt;br /&gt;
# CloudLinux (Operating System for managing resources per user) [OPTIONAL]&lt;br /&gt;
# CageFS (Comes with CloudLinux. Used to jail users to keep the server secure) [OPTIONAL]&lt;br /&gt;
# LetsEncrypt SSL (Free SSL Certificate for all users) [OPTIONAL]&lt;br /&gt;
# CSF (ConfigSecurity&amp;amp;Firewall)&lt;br /&gt;
# Imunify360 (Antivirus with Real-Time scan and Web Application Firewall)&lt;br /&gt;
# JetBackup (Automated Backups with all options like restore, download and much more)&lt;br /&gt;
&lt;br /&gt;
You can install SSL certificate on Hostname by using the following commands:&lt;br /&gt;
 /usr/local/cpanel/bin/checkallsslcerts&lt;br /&gt;
This will issue an SSL Certificate from cPanel Store.&lt;br /&gt;
&lt;br /&gt;
== Common Commands ==&lt;br /&gt;
Start cPanel Service:&lt;br /&gt;
 service cpanel start&lt;br /&gt;
Restart cPanel Service:&lt;br /&gt;
 /scripts/restartsrv_cpsrvd&lt;br /&gt;
(You can also use this command if cPanel services are failing to start. This scripts also fixes potential issues leading to cPanel crashing.)&lt;br /&gt;
&lt;br /&gt;
Update cPanel License Key:&lt;br /&gt;
 /usr/local/cpanel/cpkeyclt&lt;br /&gt;
Rebuild HTTPD Configuration:&lt;br /&gt;
 /scripts/rebuildhttpdconf&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
[https://docs.cpanel.net/installation-guide/install/ cPanel Installation]&lt;br /&gt;
&lt;br /&gt;
[https://docs.cpanel.net/whm/scripts/whm-scripts/ WHM Scripts]&lt;br /&gt;
&lt;br /&gt;
[https://support.cpanel.net/hc/en-us/articles/360049231953-Install-the-free-SSL-Certificate-on-the-server-s-hostname Install SSL Certificate on cPanel]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Hosting Control Panel]]&lt;br /&gt;
[[Category:CentOS]]&lt;br /&gt;
[[Category:CentOS 7]]&lt;br /&gt;
[[Category:CPanel]]&lt;br /&gt;
[[Category:WHM]]&lt;br /&gt;
[[Category:LAMP]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=How_to_Install_cPanel_and_WHM_on_CentOS_7&amp;diff=26</id>
		<title>How to Install cPanel and WHM on CentOS 7</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=How_to_Install_cPanel_and_WHM_on_CentOS_7&amp;diff=26"/>
		<updated>2022-09-01T19:05:47Z</updated>

		<summary type="html">&lt;p&gt;Admin: Created page with &amp;quot;== System Requirements == CPU: 1 Core minimum, 2vCore or more recommended  RAM: 1GB RAM minimum, 2GB or more recommended  Storage: 20GB or more  User: root  == Prerequisites ==  * Deploy a new CentOS 7.9 server * Server&amp;#039;s IP Address should be static and   == Installing cPanel&amp;amp;WHM == Change the server hostname to a FQDN(Fully Qualified Domain Name). It can be like server.yourdomain.com or server1.yourdomain.com or any other subdomain. Run the following command to change t...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== System Requirements ==&lt;br /&gt;
CPU: 1 Core minimum, 2vCore or more recommended&lt;br /&gt;
&lt;br /&gt;
RAM: 1GB RAM minimum, 2GB or more recommended&lt;br /&gt;
&lt;br /&gt;
Storage: 20GB or more&lt;br /&gt;
&lt;br /&gt;
User: root&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
* Deploy a new CentOS 7.9 server&lt;br /&gt;
* Server&#039;s IP Address should be static and &lt;br /&gt;
&lt;br /&gt;
== Installing cPanel&amp;amp;WHM ==&lt;br /&gt;
Change the server hostname to a FQDN(Fully Qualified Domain Name). It can be like server.yourdomain.com or server1.yourdomain.com or any other subdomain. Run the following command to change the server hostname:&lt;br /&gt;
 hostnamectl set-hostname server.yourdomain.com&lt;br /&gt;
Disable NetworkManager if it is enabled using:&lt;br /&gt;
 systemctl stop NetworkManager&lt;br /&gt;
 systemctl disable NetworkManager&lt;br /&gt;
Start network using the following commands:&lt;br /&gt;
 systemctl enable network.service&lt;br /&gt;
 systemctl start network.service&lt;br /&gt;
SELinux is the main security defender of the Linux Kernel, and it is better to be disabled to prevent any access issues when we install cPanel on CentOS Server. You can use the below command to disable it temporarily:&lt;br /&gt;
 setenforce 0&lt;br /&gt;
Ensure that curl is installed or install it using this command:&lt;br /&gt;
  yum install curl -y&lt;br /&gt;
To begin cPanel&amp;amp;WHM Installation, run the following command:&lt;br /&gt;
 cd /home &amp;amp;&amp;amp; curl -o latest -L &amp;lt;nowiki&amp;gt;https://securedownloads.cpanel.net/latest&amp;lt;/nowiki&amp;gt; &amp;amp;&amp;amp; sh latest&lt;br /&gt;
&lt;br /&gt;
== Configure cPanel&amp;amp;WHM ==&lt;br /&gt;
After the installation is complete, reboot your server using:&lt;br /&gt;
 reboot&lt;br /&gt;
The installation is now complete. Login to WHM to configure the primary settings in WHM. Login using the link in your browser:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;https://x.x.x.x:2087&amp;lt;/nowiki&amp;gt; (replace x.x.x.x with the IP address of your server)&lt;br /&gt;
[[File:CPanel-first-login-after-installation.png|center|frameless|1024x1024px]]&lt;br /&gt;
Read cPanel&amp;amp;WHM terms and agree to all&lt;br /&gt;
[[File:Accept-cpanel-Terms-to-continue-basic-WHM-configuration.png|center|thumb|549x549px]]&lt;br /&gt;
It will now ask you to Login to cPanel store in order to issue a trial license to the server IPv4 address. Create a new account if you are new to cPanel. After signup/signin, a new trial license(15 days) will be issued if no trial licenses were issued to the server.&lt;br /&gt;
&lt;br /&gt;
Afterwards, it will ask you to enter an Email Address and Nameservers. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Email Address&#039;&#039;&#039;: It is recommended that Email address should be a business email as it will be displayed on DNS records as well. Try something like admin@yourdomain.com or webmaster@yourdomain.com. You can create these Email addresses later inside cPanel as well.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Nameservers&#039;&#039;&#039;: You can enter upto 5 nameservers but on this page, you can enter the first 2. You can keep them like ns1.yourdomain.com and ns2.yourdomain.com or anything of your choice.&lt;br /&gt;
[[File:WHM.png|center|thumb|889x889px]]&lt;br /&gt;
Congratulations! You have successfully installed cPanel&amp;amp;WHM. You can begin configuring and securing your server with the following options inside WHM:&lt;br /&gt;
&lt;br /&gt;
* Basic WebHost Manager Setup&lt;br /&gt;
* Initial Quota Setup&lt;br /&gt;
* Tweak Settings&lt;br /&gt;
* Security Advisor&lt;br /&gt;
* MySQL/MariaDB Upgrade&lt;br /&gt;
&lt;br /&gt;
The following plugins and operating systems are recommended for secure cPanel&amp;amp;WHM Environment. These are paid plugins which help you managing your server security and backup. Here is the full list:&lt;br /&gt;
&lt;br /&gt;
# CloudLinux (Operating System for managing resources per user) [OPTIONAL]&lt;br /&gt;
# CageFS (Comes with CloudLinux. Used to jail users to keep the server secure) [OPTIONAL]&lt;br /&gt;
# LetsEncrypt SSL (Free SSL Certificate for all users) [OPTIONAL]&lt;br /&gt;
# CSF (ConfigSecurity&amp;amp;Firewall)&lt;br /&gt;
# Imunify360 (Antivirus with Real-Time scan and Web Application Firewall)&lt;br /&gt;
# JetBackup (Automated Backups with all options like restore, download and much more)&lt;br /&gt;
&lt;br /&gt;
You can install SSL certificate on Hostname by using the following commands:&lt;br /&gt;
 /usr/local/cpanel/bin/checkallsslcerts&lt;br /&gt;
This will issue an SSL Certificate from cPanel Store.&lt;br /&gt;
&lt;br /&gt;
== Common Commands ==&lt;br /&gt;
Start cPanel Service:&lt;br /&gt;
 service cpanel start&lt;br /&gt;
Restart cPanel Service:&lt;br /&gt;
 /scripts/restartsrv_cpsrvd&lt;br /&gt;
(You can also use this command if cPanel services are failing to start. This scripts also fixes potential issues leading to cPanel crashing.)&lt;br /&gt;
&lt;br /&gt;
Update cPanel License Key:&lt;br /&gt;
 /usr/local/cpanel/cpkeyclt&lt;br /&gt;
Rebuild HTTPD Configuration:&lt;br /&gt;
 /scripts/rebuildhttpdconf&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
[https://docs.cpanel.net/installation-guide/install/ cPanel Installation]&lt;br /&gt;
&lt;br /&gt;
[https://docs.cpanel.net/whm/scripts/whm-scripts/ WHM Scripts]&lt;br /&gt;
&lt;br /&gt;
[https://support.cpanel.net/hc/en-us/articles/360049231953-Install-the-free-SSL-Certificate-on-the-server-s-hostname Install SSL Certificate on cPanel]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Hosting Control Panel]]&lt;br /&gt;
[[Category:CentOS]]&lt;br /&gt;
[[Category:CentOS 7]]&lt;br /&gt;
[[Category:CPanel]]&lt;br /&gt;
[[Category:WHM]]&lt;br /&gt;
[[Category:LAMP]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=File:WHM.png&amp;diff=25</id>
		<title>File:WHM.png</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=File:WHM.png&amp;diff=25"/>
		<updated>2022-09-01T18:49:01Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;WHM&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=File:WHM-first-basic-Configuration-step-add-email-address-and-set-name-servers.png&amp;diff=24</id>
		<title>File:WHM-first-basic-Configuration-step-add-email-address-and-set-name-servers.png</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=File:WHM-first-basic-Configuration-step-add-email-address-and-set-name-servers.png&amp;diff=24"/>
		<updated>2022-09-01T18:44:07Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;WHM-first-basic-Configuration-step-add-email-address-and-set-name-servers&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=File:Accept-cpanel-Terms-to-continue-basic-WHM-configuration.png&amp;diff=23</id>
		<title>File:Accept-cpanel-Terms-to-continue-basic-WHM-configuration.png</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=File:Accept-cpanel-Terms-to-continue-basic-WHM-configuration.png&amp;diff=23"/>
		<updated>2022-09-01T18:40:09Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Accept-cpanel-Terms-to-continue-basic-WHM-configuration&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=File:CPanel-first-login-after-installation.png&amp;diff=22</id>
		<title>File:CPanel-first-login-after-installation.png</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=File:CPanel-first-login-after-installation.png&amp;diff=22"/>
		<updated>2022-09-01T18:38:16Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;CPanel-first-login-after-installation&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=How_to_Install_aaPanel_on_Ubuntu_20.04&amp;diff=21</id>
		<title>How to Install aaPanel on Ubuntu 20.04</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=How_to_Install_aaPanel_on_Ubuntu_20.04&amp;diff=21"/>
		<updated>2022-09-01T18:16:01Z</updated>

		<summary type="html">&lt;p&gt;Admin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== System Requirements ==&lt;br /&gt;
CPU: 1 Cores minimum, 2 Cores recommended&lt;br /&gt;
&lt;br /&gt;
RAM: 512MB minimum, 768MB recommended&lt;br /&gt;
&lt;br /&gt;
Storage: 100MB available minimum&lt;br /&gt;
&lt;br /&gt;
User: root recommended&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
* Deploy a new Ubuntu 20.04 server&lt;br /&gt;
&lt;br /&gt;
== Installing aaPanel ==&lt;br /&gt;
Run the following commands mentioned below:&lt;br /&gt;
 apt-get update -y &amp;amp;&amp;amp; apt-get upgrade -y&lt;br /&gt;
 apt-get install wget -y&lt;br /&gt;
 wget -O install.sh &amp;lt;nowiki&amp;gt;https://www.aapanel.com/script/install-ubuntu_6.0_en.sh&amp;lt;/nowiki&amp;gt; &amp;amp;&amp;amp; sudo bash install.sh&lt;br /&gt;
You will be asked to select the installation directory:&lt;br /&gt;
 +----------------------------------------------------------------------&lt;br /&gt;
 | aaPanel 6.0 FOR CentOS/Ubuntu/Debian&lt;br /&gt;
 +----------------------------------------------------------------------&lt;br /&gt;
 | Copyright © 2015-2099 BT-SOFT(&amp;lt;nowiki&amp;gt;http://www.aapanel.com&amp;lt;/nowiki&amp;gt;) All rights reserved.&lt;br /&gt;
 +----------------------------------------------------------------------&lt;br /&gt;
 | The WebPanel URL will be &amp;lt;nowiki&amp;gt;http://SERVER_IP:8888&amp;lt;/nowiki&amp;gt; when installed.&lt;br /&gt;
 +----------------------------------------------------------------------&lt;br /&gt;
 &lt;br /&gt;
 Do you want to install aaPanel to the /www directory now?(y/n): (Enter Y)&lt;br /&gt;
You should see the details of the default admin user after the installation script finishes it&#039;s process.&lt;br /&gt;
 Firewall reloaded&lt;br /&gt;
 ==================================================================&lt;br /&gt;
 Congratulations! Installed successfully!&lt;br /&gt;
 ==================================================================&lt;br /&gt;
 aaPanel Internet Address: &amp;lt;nowiki&amp;gt;http://example.com:8888/5b52b2f3&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 aaPanel Internal Address: &amp;lt;nowiki&amp;gt;http://example.com:8888/5b52b2f3&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 username: ***************&lt;br /&gt;
 password: ***************&lt;br /&gt;
 Warning:&lt;br /&gt;
 If you cannot access the panel, &lt;br /&gt;
 release the following port (8888|888|80|443|20|21) in the security group&lt;br /&gt;
 ==================================================================&lt;br /&gt;
 Time consumed: 3 Minute!&lt;br /&gt;
We should now be able to access the web hosting panel with the following details.&lt;br /&gt;
&lt;br /&gt;
== Configure aaPanel ==&lt;br /&gt;
Copy the URL from your SSH console. Paste it in your web browser and log in to the control panel using random credentials generated by the installation script.&lt;br /&gt;
&lt;br /&gt;
Immediately after logging in with this default user, you will be asked to install recommended software packages. The two choices will be:&lt;br /&gt;
&lt;br /&gt;
* LAMP: Linux, Apache, MySQL, PHP&lt;br /&gt;
* LNMP: Linux, NGINX, MySQL, PHP&lt;br /&gt;
&lt;br /&gt;
You can select based on which WebServer you prefer. We will be picking &#039;&#039;&#039;LAMP&#039;&#039;&#039; in this installation:&lt;br /&gt;
[[File:Selectaapanel.png|thumb|447x447px|center]]&lt;br /&gt;
&lt;br /&gt;
The installation process will start. Depending on your server specifications, the installation will take upto 4 minutes to complete.&lt;br /&gt;
&lt;br /&gt;
Once you login and install all the recommended packages or close the screen, you should see a screen similar to the screenshot attached below.&lt;br /&gt;
[[File:Dashboard aapanel.png|thumb|798x798px|center]]&lt;br /&gt;
&lt;br /&gt;
== Secure aaPanel ==&lt;br /&gt;
After that, you&#039;ll most likely need an SSL certificate so everything is secure. To secure the control panel, navigate to Settings and change the default port from 8888 to something random, then change Alias (Panel name) to your desired custom text.&lt;br /&gt;
&lt;br /&gt;
Set a short timeout period of at least 360 seconds (6 minutes) to log out active users if the control panel is dormant with no user action.&lt;br /&gt;
&lt;br /&gt;
Modify Security Entrance to a custom string you can use to securely access the control panel. You can not access the web panel without the security key because Security Entrance is turned on by default.&lt;br /&gt;
&lt;br /&gt;
Additionally, change the administrator Panel user account and Panel Password from the random defaults provided by the installation script to your custom values. To further tighten your server security, you can optionally specify a list of authorized IP addresses that can access the web panel under Authorized IP.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
If the server reboots, the web panel will fails to load on port 8888. Start aaPanel using &amp;lt;code&amp;gt;bt&amp;lt;/code&amp;gt; as the service:&lt;br /&gt;
 systemctl start bt&lt;br /&gt;
To confirm if the panel is running with or without errors, query the &amp;lt;code&amp;gt;bt&amp;lt;/code&amp;gt; service status:&lt;br /&gt;
 systemctl status bt&lt;br /&gt;
Enable the &amp;lt;code&amp;gt;bt&amp;lt;/code&amp;gt; service on reboot using this command:&lt;br /&gt;
 systemctl enable bt&lt;br /&gt;
&lt;br /&gt;
== Common Commands ==&lt;br /&gt;
Stop Service:&lt;br /&gt;
 service bt stop&lt;br /&gt;
Start Service:&lt;br /&gt;
 service bt start&lt;br /&gt;
Restart Service:&lt;br /&gt;
 service bt restart&lt;br /&gt;
Uninstall aaPanel:&lt;br /&gt;
 service bt stop &amp;amp;&amp;amp; chkconfig --del bt &amp;amp;&amp;amp; rm -f /etc/init.d/bt &amp;amp;&amp;amp; rm -rf /www/server/panel&lt;br /&gt;
View current port of control panel:&lt;br /&gt;
 cat /www/server/panel/data/port.pl&lt;br /&gt;
Force to change MySQL manager (root) Password，e.g. 123456:&lt;br /&gt;
 cd /www/server/panel &amp;amp;&amp;amp; python tools.py root 123456&lt;br /&gt;
Change control Panel login password，e.g. 123456:&lt;br /&gt;
 cd /www/server/panel &amp;amp;&amp;amp; python tools.py panel 123456&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
[https://www.aapanel.com/new/download.html aaPanel documentation]&lt;br /&gt;
[[Category:Aapanel]]&lt;br /&gt;
[[Category:Ubuntu]]&lt;br /&gt;
[[Category:Ubuntu20.04]]&lt;br /&gt;
[[Category:LAMP]]&lt;br /&gt;
[[Category:LNMP]]&lt;br /&gt;
__INDEX__&lt;br /&gt;
[[Category:Hosting Control Panel]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://docs.lhycloud.com/index.php?title=Main_Page&amp;diff=20</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://docs.lhycloud.com/index.php?title=Main_Page&amp;diff=20"/>
		<updated>2022-09-01T18:09:47Z</updated>

		<summary type="html">&lt;p&gt;Admin: /* Shared Hosting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== &amp;lt;strong&amp;gt;Welcome to [https://lhycloud.com LHYcloud] Docs!&amp;lt;/strong&amp;gt; ====&lt;br /&gt;
You can find almost all documentation regarding Shared Hosting, Virtual Private Servers, Dedicated Servers, Cloud, softwares and many more. If you would like us to add a documentation for anything, just mail us at [mailto:docs@lhycloud.com docs@lhycloud.com]. If you would like to contribute to this website, we are happy to give you access to this knowledgebase. This knowledgebase is not just for LHY Technologies users but the whole community.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* CloudMate&lt;br /&gt;
* LHYcloud&lt;br /&gt;
* HostEviL&lt;br /&gt;
&lt;br /&gt;
== Hosting Control Panels ==&lt;br /&gt;
&lt;br /&gt;
* cPanel&lt;br /&gt;
* Plesk&lt;br /&gt;
* DirectAdmin&lt;br /&gt;
* ISPconfig&lt;br /&gt;
* Webmin&lt;br /&gt;
* hPanel&lt;br /&gt;
* CentOS Web Panel(CWP)&lt;br /&gt;
* VestaCP&lt;br /&gt;
* [[:Category:Aapanel|aaPanel]]&lt;br /&gt;
* CyberPanel&lt;br /&gt;
&lt;br /&gt;
== Operating Systems ==&lt;br /&gt;
&lt;br /&gt;
* [[:Category:Ubuntu|Ubuntu]]&lt;br /&gt;
* CentOS&lt;br /&gt;
* Debian&lt;br /&gt;
* CloudLinux&lt;br /&gt;
* Windows&lt;br /&gt;
* Fedora Linux&lt;br /&gt;
&lt;br /&gt;
== Softwares/CMS ==&lt;br /&gt;
&lt;br /&gt;
* WordPress&lt;br /&gt;
* PrestaShop&lt;br /&gt;
* MyBB&lt;br /&gt;
* WHMCS&lt;br /&gt;
* Magento&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>