How to install Magento 2.x in cPanel?

Do you want to install Magento 2.4.2 on Centos with cPanel? Please refer to install Magento 2.4.2 on cPanel for more details. 

System Requirement :

 

  • Operating System: Centos, Debian, Ubuntu, RHCE

  • RAM: 2 GB (Require for Magento Update)

  • Web Server: Apache 2.2 and above or Nginx

  • MySQL: 5.6 or above

  • PHP: 7.3

  • PHP Extension: bc-math, hash, zip

  1. Download Magento from this URL. You will need to create an account to download the zip file. If you have the account, you can sign in and download it.



  2. Upload Magento zip file to cPanel. Please click on this link to refer the steps to upload zip in cPanel.

  3. Right-click and Extract zip file in public_html.

  4. Access the website URL in the Browser and start Magento Installation Process.

  5. Click on Agree and Setup Magento.



  6. Click on Start Readiness Check. It will check php version, settings, Extention and File Permission. Click on Next Button.





  7. Add Database Details. Create MySQL Database using this link and Create MySQL DB User using below links.
  1. Enter Following Web Configurations:

  • Store Address: Your Storename/Website name

  • Magento Admin Adress: Your Storename/admin

  1. Advanced Options :

  • HTTPS Option: Tick both checkbox if you are going to use SSL for both the URL.

                 (A) Use HTTPS for Magento Storefront

                 (B) Use HTTPS for Magento Admin

 

  • HTTPS Store Address: Enter https URL for the store address.

  • Encryption Key: Keep it as it is. (I want to use a Magento generated key)

  • Session Save: DB (Save the session in Database. Saving session in File will increase inodes on server)

         

  1. Customize store with Default Time, Currency and Language. Choose Required Module Configurations or Select All for all Module Configuration for Magento and click Next Button.



  2. Hit Insall Now Button. 



  3. Installation Process may take a few minutes.



  4. Enter Admin account Details. Please keep these details at a safer place as it will require to enter the admin account once installation is completed. Access the Magento Admin panel with URL websitename/admin by clicking on Launch Magento Admin Button after successfully installation of Magento.



Related Articles

How to install Apache on Ubuntu?

Apache is one of the popular web servers. It has many strong features, including dynamic modules,...

How to enable error-log.txt logging using .htaccess file?

You need to add the below lines in .htaccess file if you want your PHP errors within the...

How to Install LEMP Stack (Nginx, MariaDB, PHP7.2) on Ubuntu 18.04 LTS?

Nginx, MariaDB and PHP7.2 are called (LEMP). Following are the steps to install LEMP on Ubuntu...

How to check PHP and Apache Modules that are Installed on a Linux?

Following are the steps to check which PHP and Apache Modules are installed on Linux. Login via...

How to block an IP address using .htaccess?

You can block traffic coming from any specific IP addresses with .htaaccess file. Please refer to...

  • 0 Users Found This Useful

Was this answer helpful?