This article describes how to install the Magento e-commerce platform using the Softaculous installer in cPanel. Using Softaculous, you can install Magento 2 as well as older versions of Magento.
Magento is a resource-intensive application. You must have at least a Turbo Web Hosting or Managed VPS account to run Magento effectively. Regular shared hosting accounts do not have sufficient resources to run a full Magento web site.
You can have Magento up and running on your web site in minutes by using the Softaculous application installer in cPanel.
To install Magento using Softaculous, follow these steps:
- Log in to cPanel.
- In the SOFTACULOUS APPS INSTALLER section of the cPanel home screen, click any of the options under Categories. The Softaculous installer page appears.
- In the Search text box, type Magento and then press Enter.
- Click Install. The installation page appears.
- In the Choose the version, you want to install list box, select the version that you want to install.
- In the Choose Protocol list box, select the protocol.
- In the Choose Domain list box, select the domain for installation, or accept the default value.
- In the In Directory text box, type the directory where you want to install the application, or accept the default value.
- In the CRON Job text boxes, type the cron job intervals, or accept the default values.
- In the Admin Path text box, type the URL you want to use for the management interface.
- To install sample data for the application, select the Sample Data check box.
- In the Admin Username text box, type the administrator username.
- In the Admin Password text box, type the administrator password
- In the First Name text box, type the administrator’s first name, or accept the default value.
- In the Last Name text box, type the administrator’s last name, or accept the default value.
- In the Admin Email text box, type the site administrator e-mail address.
- Click the icon to expand Advanced Options.
- In the Database Name text box, type the name of the database to create for the application, or accept the default value.
- In the Table Prefix text box, type the database table prefix, or accept the default value.
- If you do not want to receive e-mail notifications when application updates are available, select the Disable Update Notifications Emails check box.
- In the Backup Location list box, you can select a location to store application backups.
- In the Automated backups list box, you can select whether or not Softaculous makes periodic backups of your application.
- In the Backup Rotation list box, you can select how often Softaculous overwrites the oldest backup file with a new backup file.
- To receive site configuration information after the installation is complete, type an e-mail address in the Email installation details to text box.
- Review the installation options and settings, and then click . When installation is complete, Softaculous provides information about the application’s configuration.
Fixing display problems in Magento 2
If you use Softaculous to install Magento 2, CSS and image files may not load correctly. As a result, the site only displays plain text. To work around this problem, follow these steps:
- In the directory where you installed Magento 2, navigate to the pub/static directory.
- Open the .htaccess file in your preferred text editor.
- At the top of the file, comment out the following lines as shown:
#<IfModule mod_php5.c> #php_flag engine 0 #</IfModule> #<IfModule mod_php7.c> #php_flag engine 0 #</IfModule>
- Save your changes to the .htaccess file.
- Reload the Magento site in your web browser. The pages should now be properly formatted and display the correct styles.
Was this helpful?
1 / 0