Your package manager should run mysql_upgrade automatically. Next, run your package manager’s update command, stop your MySQL server, and then install MariaDB with your package manager. Choose your distro, MariaDB version, and download mirror, then copy and run the command created by the wizard to install the repository signing key, and copy the repository configuration into your source list. You can reliably switch to MariaDB and then switch back to MySQL. You will be successful to proceed with this migration if you go through the below steps as the simplest method.ġ- Update your software repositories list with the MariaDB reposĢ- Update your Linux package manager with the new reposĤ- Install MariaDB with the package managerĪll the above steps should be done after you prepare the backup. In the following, you will learn how to install MariaDB over your MySQL server. It would not be so challenging since MariaDB is designed to be a drop-in replacement for MySQL. In this step of Optimize and improve cPanel speed, you need to upgrade from MySQL to MariaDB. Step 3: Upgrade MySQL database to MariaDB If you do, WHM will not restart LiteSpeed automatically when configuration changes have been made. Very Important: Do not uncheck the ”Apache Web Server” service under WHM’s service manager. Next, click ”Switch to LiteSpeed” to finish it. To do this, click ”Change Port Offset” and set the value to 0 if you had not done so previously. So, it is time to replace Apache with LiteSpeed Web Server. If you have passed the above steps carefully, all should be ok and working now. To start LiteSpeed, click ”Restart LiteSpeed”. OR Found Errors ERROR: /usr/local/bin/php -i returns 134 You can try to build matching PHP from command line: "/usr/local/cpanel/whostmgr/cgi/lsws/cmd_buildmatchingphp.sh" Found Errors ERROR: /usr/local/bin/php -i returns 6 You can try to build matching PHP from command line: "/usr/local/cpanel/whostmgr/cgi/lsws/cmd_buildmatchingphp.sh" You may see one of the following error messages when running ”Build Matching LSPHP”, try increasing ”Max cPanel process memory (minimum: 512)” in the side menu under Server Configuration Tweak Setting to at least 512MB. Then, click ”build Matching LSPHP” and be aware that this will take a while. Although the LSWS comes with a pre-built PHP 4 binary, you must build your own PHP using configuration options matching those used by Apache mod_php. You should build a matching PHP binary for EA3. So, you do not need to build matching PHP. The plugin of LiteSpeed will detect the right configuration and correct them when needed. The plugin will handle EA4 through the script. _ Username and password for LWSW WebAdmin Console _ Port Offset (set to 0 to replace Apache otherwise set a number like “2000” for example to try LiteSpeed on port 2080) _ LiteSpeed target installation directory To pass this step, follow the path below one by one:ġ- Click the “LiteSpeed Web Server” plugin Install LiteSpeed Speed Web Server from within WHM You can uninstall the WHM LiteSpeed plugin by running the following command: /usr/local/cpanel/whostmgr/docroot/cgi/lsws/lsws_whm_plugin_uninstall.shĢ. Here are the steps of installing the whm plugin, LSWS, and PHP.Īs we mentioned, you need SSH access, so run the command below from ssh and as root. You are recommended to install the WHM PLUGIN LSWS through one line auto-installer. In the following, you will review the steps of installing the LiteSpeed Web Server plugin for cPanel/WHM. SSH root access to the cPanel server with root privileges is also required. Since it only works with LiteSpeed Enterprise Edition, you need to provide a trial key or an Enterprise License serial number. In case you do not prefer to buy a license, you can use the Free Starter plan on a server with less than 2GB of memory. To install LiteSpeed you need to consider some prerequisites such as a LiteSpeed Web Server license. LiteSpeed is a proprietary web server built as a drop-in replacement for Apache. While you log in as a root user, open an SSH account and run the following commands: wget sh cldeploy -k # if you have activation key or sh cldeploy -i # if you have IP based license reboot In this way, you can provide an admin interface within cPanel and WHM software to manage account usage easily. The security and efficiency will be increased, multiple PHP version and Hardened kernel are other features of this integration. When you install CloudLinux on cPanle, you are improving the stability because it limits the resources. Previously, you have learned how to install CloudLinux on cPanel. There are 5 suggested steps include an explanation that helps you optimize cPanel and speed up it. Let’s go through the steps of this guide to learn How to Optimize And Improve cPanel speed. Recommended Article: Tutorial make a full backup of Host Cpanel Optimize And Improve Speed CPanel Step By Step
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |