• Home
    • English
    • 中文
  • About Us
  • Services
    • SEO Services
    • Website Design Service
  • Projects
  • Docs
  • Blog
    • Affiliate
    • Ecommerce
    • Frontend
    • linux
      • nginx
    • PHP
      • Magento
      • wordpress
    • Python
    • SEO
    • Web
  • Contact Us

Subscribe to Updates

Get the latest creative news from FooBar about art, design and business.

What's Hot

Design a plugin for wordpress woocommerce to display a tab to show attachment download

2024-04-06

TranslatePress v2.6.9 – WordPress Translation Plugin

2023-12-25

A Linux batch script converting pictures to webp format

2023-07-10
Facebook Twitter Instagram
  • 中文
  • English
Facebook Twitter Instagram Pinterest VKontakte
Weilai Tech Weilai Tech
  • Home
    • English
    • 中文
  • About Us
  • Services
    • SEO Services
    • Website Design Service
  • Projects
  • Docs
  • Blog
    • Affiliate
    • Ecommerce
    • Frontend
    • linux
      • nginx
    • PHP
      • Magento
      • wordpress
    • Python
    • SEO
    • Web
  • Contact Us
Weilai Tech Weilai Tech
Home»Magento»how to install magento 2.3.1 on cyberpanel enterprise
Magento

how to install magento 2.3.1 on cyberpanel enterprise

OxfordBy Oxford2021-09-29No Comments5 Mins Read
Facebook Twitter Pinterest LinkedIn Tumblr Email
Share
Facebook Twitter LinkedIn Pinterest Email

How to Install Magento on CyberPanel Enterprise

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.

Requirments:

Requirements for installing Magento Community Edition on your system:

  • CyberPanel Enterprise
  • PHP version 7.1x or later
  • LiteSpeed Web Server (Site Owner or Web Host licenses) Free Starter has no LiteMage Module

download 1

Step 1: Download Magento Community Edition

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.

http://www.magentocommerce.com/download

Step 2: Upload Magento to CyberPanel Enterprise

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.

download 2

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.

FireShot Capture 010 File Manager CyberPanel 51.68.253.114

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.

Step 3: Create Database

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.

database23

Step 4: Installation Process

Now open your browser and navigate to the following URL. You will be presented with the Magento installation wizard.

http://IP_ADDRESS/

magento Install

Next, the wizard will carry on a Readiness Check for the correct PHP version, file permissions and compatibility.

magento php

Readiness Check Summary 

premissions

Enter Database Setting

database setting

Setting up Web-site Configuration

web site

Modify your Magento store by setting currency, timezone and language.

time zone

Create an Admin account to manage your Magento store with admin credentials.

database admin

Now click the ‘Install Now‘ button to continue the Magento installation process.

installation 

Success

All done! you have successfully installed Magento on CyberPanel Enterprise. If you face any error while installing please comment below.

Step 5: Install and Configure LiteMage Cache

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:

  1. Log into your SSH account
  2. Access the root directory where Magento is installed. In my case it is cd /home/shaheer.cyberpanel.net/public_html
  3. In your command line, set Magento to developer mode. Run the following command:
    php bin/magento deploy:mode:set developer
  4. To download the LiteMage plugin files, you have two methods:
    1. Method 1: Use wget download directly:
      wget https://github.com/litespeedtech/magento2-LiteSpeed_LiteMage/archive/master.zip
    2. Method 2: Use composer to get latest LiteMage 2 package with command:
      composer require litespeed/module-litemage

      or for a specific version, command:

      composer require litespeed/module-litemage:2.3.1
  5. To extract the files in the .zip file, you can do from the CyberPanel Extract button on control panel or just type this  command on the command line:
    unzip master.zip
  6. To create a directory for the LiteMage plugin files, type the following command:
    mkdir -p app/code/Litespeed/Litemage
  7. Move the unpacked LiteMage plugin files to the new directory:
    mv magento2-LiteSpeed_LiteMage-master/* app/code/Litespeed/Litemage/
    
  8. To enable the LiteMage plugin, run the following command:
    php bin/magento module:enable Litespeed_Litemage
    
  9. To make the plugin settings available for the Magento Admin panel, type the following command:
    php bin/magento setup:upgrade
    
  10. Run Compile as following command:
    php bin/magento setup:di:compile
  11. To set Magento back to production mode, type the following command:
    php bin/magento deploy:mode:set production
    
  12. Go to the Root Directory of Magento, open the .htaccess file, and paste the following code on the top of the file:
    <IfModule Litespeed>
        LiteMage on
    </IfModule>

To activate LiteMage on Magento, the following steps should be followed correctly:

  1. Log into the Magento admin panel.
  2. In the left sidebar, click STORES, and then click Configuration.
  3. Click ADVANCED, and then click System.
  4. Click Full Page Cache.
  5. In the Caching Application list box, confirm that LiteMage Cache within LiteSpeed Server is selected. If LiteMage Cache within LiteSpeed Server is not selected, select it in the Caching Application list box, and then click Save Config.
  6. In the left sidebar, click SYSTEM, and then click Cache Management.
  7. Select the Configuration and Page Cache check boxes.
  8. In the list box above the table, select Refresh, and then click Submit.

VERIFYING LITEMAGE CACHE

  1. Open your web browser to visit a page that is cache-enabled.
  2. Open the web browser inspector by right-clicking the page, and then click Inspect.
  3. Select the Network tab, and then refresh the page.
  4. Select the item from the list that corresponds to the current HTML page (this is usually the first item ending in .html).
  5. Under Headers, if you see the following response header, then LiteMage is working correctly:
    X-LiteSpeed-Cache: hit,litemage

    For More Information, Please Check: LiteMage for Magento 2 Installation Guide

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Avatar photo
Oxford

Related Posts

How to Create GDPR Consent Form

2020-05-09

Nostrum et delectus modi fuga

2020-04-28

Quasi distinctio molestiae quibusdam excepturi quia accusamus

2020-04-28

Install: Quick Install Magento 2 on litespeed

2019-11-25
Recent Posts
  • Design a plugin for wordpress woocommerce to display a tab to show attachment download
  • TranslatePress v2.6.9 – WordPress Translation Plugin
  • A Linux batch script converting pictures to webp format
  • Hearing aid listed company official website SEO case
  • how to use docker to run php5.6 plus apache
September 2021
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
27282930  
« Aug   Oct »
Tags
app branding design digital Docly docs etc faq fix github Helpdesk Image issue magento Manual marketing memecached Photography planing seo sequrity tips Travel ui/ux web WordPress 爬虫
Editors Picks
About Us

Guangzhou Weilai Technology is a foreign trade integrated marketing service provider focusing on Google as the drainage center and marketing self-built website as the carrier.

Email Us: [email protected]
Contact: +86 18676917505

Facebook Pinterest YouTube LinkedIn
Recent Posts
  • Design a plugin for wordpress woocommerce to display a tab to show attachment download
  • TranslatePress v2.6.9 – WordPress Translation Plugin
  • A Linux batch script converting pictures to webp format
  • Hearing aid listed company official website SEO case
  • how to use docker to run php5.6 plus apache
From Flickr
Website Design Case
© 2024 Copyright by Guangzhou Weilai Technology Co.,Ltd..
  • Home
  • About Us
  • SEO Services
  • Website Design Service
  • Projects
  • Blog
  • Contact Us

Type above and press Enter to search. Press Esc to cancel.