Introduction:
Magento is an open-source e-commerce platform written in PHP. It uses multiple other PHP frameworks such as Laminas and Symfony. Magento source code is distributed under Open Software License v3.0
Prerequisites
Basic system requirement to install Magento2
(i) Web services Requirements
- Apache 2.2 or 2.4
- Nginx 1.x
(ii) Database Engine Requirements
- MySQL 5.6, 5.7
- MariaDB 5.6, 5.7
(iii) PHP Requirements
- >= 7.1.3
- >= 7.2.0
(iv) PHP extensions requirements
- bcmath
- ctype
- curl
- dom
- gd
- hash
- iconv
- intl
- mbstring
- openssl
- pdo_mysql
- simplexml
- soap
- spl
- xsl
- zip
- libxml (lib)
(v) Cache system Requirements
- PHP OPcache (Recommend)
- Redis
- Vanish
- mem-cached
(vi) Email services Requirements
- Mail Transfer Agent (MTA)
- SMTP server
(vii) SSL Requirements
- A valid security certificate is required for HTTPS.
- Self-signed SSL certificates are not supported.
- Transport Layer Security (TLS) requirement
Note:
Softaculoius License required to install the application via softaculous
Implementation:
1. Log in to cPanel
2. Click Softaculous Apps Installer in the Software section or from the search bar.
3. In the Softaculous Apps Installer, type ‘Magento‘ in the search field, then click the Magento link
4. Click on the install as mentioned in the snapshot
5. Review the below options and its description then verify the details accordingly if required modify as per the requirement.
Option | Description |
Choose the version you want to install | Please select the version to install. |
Choose Protocol | If your site has SSL, then please choose the HTTPS protocol. |
Choose Domain | Please choose the domain to install the software. |
In Directory | The directory is relative to your domain and should not exist. e.g. To install at https://mydomain/dir/ just type dir. To install only in https://mydomain/ leave this empty. |
CRON Job | This script requires a CRON to work. Please specify the CRON timings. If you are unaware of it, leave it as it is! |
Admin Path | Enter a location for accessing the admin section of your site. If you enter ‘admin123’ you would access your admin Dashboard by navigating to: example.com/admin123 |
Sample Data | Choose if you want sample information installed in your Magento cart. This can be helpful when learning how to use Magento. |
Admin Username | Enter the username you want to use to log in to the Magento Dashboard. |
Admin Password | Enter the password you want to use to log in to the Magento Dashbaord. |
First Name | Enter the first name of the Magento Administrator. |
Last Name | Enter the last name of the Magento Administrator. |
Admin Email | Enter the email address of the Magento Administrator. |
6. Click on the install option to install the Magento
7. It may take a few minutes to complete the installation, and finally the successful message has been displayed. We can access the site as per the instructions in the message