How To 1-Click Install Magento With Softaculous
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.
This application is only available in Softaculous Premium. If you are using Softaculous on a managed VPS, you must upgrade to Softaculous Premium to install this application. If you need further assistance, please open a ticket at http://my.a2hosting.com
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.
If you do not know how to log in to your cPanel account, please see this article
- In the SOFTACULOUS APPS INSTALLER section of the cPanel home screen, click any of the options under Categories. The Softaculous installer page appears.
It does not matter which option you click under Categories. All of them start the Softaculous installer.
- In the Search text box, type magento and then press Enter.
Alternatively, you can use the navigation pane on the left side. To do this, click E-Commerce, and then click Magento.
- 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.
If you have an SSL certificate installed on your site, select https:// or https://www. If you do not have an SSL certificate installed on your site, select http:// or http://www.
- 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.
If you want your domain name to go directly to the application, make sure the In Directory text box is blank.
- In the CRON Job text boxes, type the cron job intervals, or accept the default values.
Cron jobs are tasks that are scheduled to run automatically. If you are unsure of the values you should use, 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.
Make sure that you choose a strong password! The Softaculous installer provides a ranking for your password's strength, and turns green when the password is strong. Alternatively, you can click the
icon next to the Admin Password
text box, and Softaculous generates a strong, random password for you.
- 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 check box.
A2 Hosting strongly recommends that you receive e-mail notifications when application updates are available. Keeping your site updated helps prevent unauthorized access attempts and data loss.
- 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.
Configuring Magento's cron job
The default cron job settings that Softaculous configures is not optimized for A2 Hosting's servers (and in the case of Magento 2, incomplete). For detailed information about how to configure Magento's cron job on A2 Hosting servers correctly, please see this article.
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:
#php_flag engine 0
#php_flag engine 0
- 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.
For more information about Magento, please visit http://www.magentocommerce.com.