Magento is an open-source e-Commerce platform or content management system (CMS) written in PHP, which lends a hand to developers to build eCommerce websites. Magento has two main editions: Enterprise and Community edition. The community edition is for programmers and small business.
Comparing to standard set up of Varnish and Nginx, LiteSpeed provide simpler stack, less resources used and HTTP2, QUIC out of box.
Magento has the potential to make online shopping sites fully customizable to meet user requirements. Magento proves to the world it’s possible to make fast eCommerce stores. It has the ability to produce fast loading pages and has very few HTTP requesta compared to other eCommerce platforms out there in the world.
In this article, we will show you how to install Magento Community Edition on CyberPanel Enterprise.
Requirements for installing Magento Community Edition on your system:
Go to the official site of Magento and create a user account in a few steps if you are a new customer, or log in if you already have an account. After that, download the latest version of Magento Community Edition.
Log into your CyberPanel server. If you have already created a website on CyberPanel, then click Websites on the left sidebar. Click List of Websites and follow the file manage link.
In public_html, upload the downloaded Magento file from your computer, extract it by clicking on the Extract button on CyberPanel as shown in the picture below.
Now you need to set the ownership on the files and folder by clicking the Fix Permissions button in CyberPanel. This will automatically fix the permissions for you.
Now you need to create the database for Magento which Cyberpanel creates for you by clicking Databases>>Create Database. There you can select the particular website, add database name, user name and password.
Note: Password can be automatically generated by clicking the Generate button.
Now open your browser and navigate to the following URL. You will be presented with the Magento installation wizard.
Next, the wizard will carry on a Readiness Check for the correct PHP version, file permissions and compatibility.
Readiness Check Summary
Enter Database Setting
Setting up Web-site Configuration
Modify your Magento store by setting currency, timezone and language.
Create an Admin account to manage your Magento store with admin credentials.
Now click the ‘Install Now‘ button to continue the Magento installation process.
All done! you have successfully installed Magento on CyberPanel Enterprise. If you face any error while installing please comment below.
In this step I will describe to you how to install and configure the LiteMage Cache solution for Magento. Follow the steps below to install for your version of Magento.
Note: LiteMage requires LiteSpeed Enterprises Web server for the correct installation.
Installing LiteMage Cache solution on Magento you have to follow these steps correctly:
php bin/magento deploy:mode:set developer
composer require litespeed/module-litemage
or for a specific version, command:
composer require litespeed/module-litemage:2.3.1
mkdir -p app/code/Litespeed/Litemage
mv magento2-LiteSpeed_LiteMage-master/* app/code/Litespeed/Litemage/
php bin/magento module:enable Litespeed_Litemage
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento deploy:mode:set production
<IfModule Litespeed> LiteMage on </IfModule>
To activate LiteMage on Magento, the following steps should be followed correctly:
For More Information, Please Check: LiteMage for Magento 2 Installation Guide