KNOWNHOST KNOWLEDGE BASE

Hosting Question? Find the Solution - Browse our Guides, Articles, and How-To's

How To Install osCommerce via Softaculous

Softaculous can make a useful way of installing software for creating websites, and for helping to keep the installed software updated. Among the things that can be installed in this way is osCommerce.

Note that in order to install osCommerce via Softaculous, it is necessary to have a Premium license for Softaculous. If you do not yet have a Premium license for Softaculous, you can purchase one via our Billing Department.

Step 1: Make sure osCommerce is available for installation

First, log into WHM and make sure osCommerce is one of the scripts being made available to the cPanel users for installation. To do this, log into WHM and go to Plugins → Softaculous Instant Installs”.

Then within the Softaculous frame’s left sidebar, go to “Software → General Scripts”.

Then make sure osCommerce is enabled there. To save time later, you can also check the box in the Pre-Download column.

After checking that the boxes are checked, scroll back up to the top of the list to click the “Update Settings” button.

You should then see the success message:

Step 2: Create the cPanel account

If you haven’t already, you will need to make the cPanel account for the site. This is done in WHM under “Create a New Account”. If you aren’t already sure how to do this, you can read more about some of the first steps to getting a cPanel account set up here.

Step 3: Install osCommerce

After logging in to the cPanel, scroll down to section “Softaculous Apps Installer”. In the subsection “Scripts”, one of the options should be osCommerce.

Then click the “Install Now” button.

Fill in the information in the form. The first three blanks are for determining the url of the main page of the site. The first dropdown box is to specify if you want to use https or plain http, and whether you want “www.” as part of the url or not. The second dropdown box chooses which of the domains or subdomains in the cPanel account to use for the site (in case the cPanel account has more than one). The third box is to type the folder name of the site, in case you don’t want it directly under the domain’s documentroot. Next, you can choose the time you want the cronjob to run. If you are not sure, or if you are unsure of the format to use to specify the time, you can leave the default. The time of the cronjob can be changed later, and if you need assistance doing so, you can open a Support Ticket. After the space for the cronjob’s time, you can also name the new website.

You will also need to specify the username and password you would like to use for the administrative account in the new osCommerce site. Be very sure to choose a strong password! This is also where you can specify contact email address of the site administrator. There is also an expandable list of Advanced Options.

Within the Advanced section, you can choose the Database Name and/or Table Prefix, if desired. If WHM has “Require a username prefix on names of new databases and database users” enabled in “Tweak Settings”, Softaculous will make sure the name of the database includes the required prefix. It is not recommended to check the box for “Disable Update Notifications”. These notifications are very useful to let you know when the site needs updated. It is extremely important that whenever updates are available that they be applied as quickly as possible, in case there are important security patches included in the newer versions. If needed, you can also enable softaculous-level backups of the site, but it is recommended instead to use the automatic backups builtin to WHM. If you do enable the Softaculous-level backups, be sure to enable the backup rotation for a finite number of retained backups. Do not choose unlimited here! Once you have chosen the desired settings, click the Install button at the bottom of the page. If desired, you can first enter your email address in the box below the button, to have Softaculous email you details about the installation.

After clicking “Install”, there will briefly be a progress bar as Softaculous checks the validity of the information you entered into the form. If it worked, you should soon thereafter see the success page.

If you choose to have Softaculous send you an email with the installation information, it should look something like this:

  Return-path: <oscommerce@host.XXXXX.net>
  Received: from oscommerce by host.XXXXX.net with local (Exim 4.87)
          (envelope-from <oscommerce@host.XXXXX.net>)
          id 1c6nrX-0006rJ-Ss
          for admin@oscommercetest.XXXXX.net; Tue, 15 Nov 2016 19:14:03 -0500
  To: admin@oscommercetest.XXXXX.net
  Subject: New Installation of osCommerce
  X-PHP-Originating-Script: 0:mail_functions.php
  MIME-Version: 1.0
  Content-Type: text/plain; charset=UTF-8
  From: Softaculous <admin@host.XXXXX.net>
  Reply-To: admin@host.XXXXX.net
  X-Mailer: PHP/5.6.20
  Message-Id: <E1c6nrX-0006rJ-Ss@host.XXXXX.net>
  Date: Tue, 15 Nov 2016 19:14:03 -0500

  A new installation of osCommerce 2.3.4 has been completed. The details of the installation are shown below:
  Path : /home/oscommerce/public_html/oscom
  URL : http://oscommercetest.XXXXX.net/oscom
  Admin URL : http://oscommercetest.XXXXX.net/oscom/admin
  Admin Username : hopefullysomethingnotobvious
  Admin Password : ********
  Admin Email: admin@oscommercetest.XXXXX.net
  MySQL Database : oscommer_osco200
  MySQL DB User : oscommer_osco200
  MySQL DB Host : localhost
  MySQL DB Password : ********
  Update Notification : Enabled
  Auto Upgrade : Disabled
  Automated Backups : Disabled
  Time of Installation : November 16, 2016, 12:14 am

  If you wish to unsubscribe from such emails, go to your Control Panel -> Softaculous -> Email Settings

Step 4: First Login

Once the site has been installed, you can then log into the newly-installed site.

Once logged in, you can check some of the site-level configuration, or check out some of the available tools!