How To Install CubeCart on an Ubuntu 18.04 VPS or Dedicated Server


CubeCart is an open source cart platform that has been on offer since 2003. While CubeCart is open source, CubeCart limited offers two tiers of paid support. While it doesn’t have the level of market penetration that Magento or Shopify does, CubeCart’s support offering makes it a great alternative.

This article is going to walk you through install CubeCart on an Ubuntu 18.04 VPS or Server.

  1. Download CubeCart From This Page

  2. Upload It To A Folder On Your Server
    How To Install CubeCart on an Ubuntu 18

  1. Update the System

$ sudo apt-get update && sudo apt-get upgrade
  1. Install unzip, and tasksel

$ sudo apt-get install unzip$ sudo apt-get install tasksel
  1. Install LAMP

$ sudo tasksel

Select LAMP and install

How To Install CubeCart on an Ubuntu 18

  1. Unzip the CubeCart File

$ sudo unzip  /usr/CubeCart/CubeCart-6.2.2.zip
$ sudo rm /usr/CubeCart/CubeCart-6.2.2.zip
  1. Copy the Contents of Zip File to Your Web Root Document Directory

$ sudo cp -r /usr/CubeCart/. /var/www/html/$ sudo mv /var/www/html/index.html /var/www/html/index.old
  1. Create a MySQL User and Set Permissions

$ sudo mysql -u root -p
> create database cubecartdb;
> grant all privileges on cubecartdb.* to 'username'@'localhost' identified by 'passwordhere';
> flush privileges;
> exit
  1. Set File Permissions For Installation

$ sudo chmod 757 /var/www/html/backup/
$ sudo chmod 757 /var/www/html/images/
$ sudo chmod 757 /var/www/html/language/
$ sudo chmod 757 /var/www/html/cache/
$ sudo chmod 757 /var/www/html/files/
$ sudo chmod 757 /var/www/html/images/cache/
$ sudo chmod 757 /var/www/html/images/logos/
$ sudo chmod 757 /var/www/html/images/source/
$ sudo chmod 757 /var/www/html/includes/
$ sudo chmod 757 /var/www/html/includes/extra/
  1. Setup PHP Extensions

$ sudo apt-get install php-xml
$ sudo apt-get install php-gd$ sudo apt-get install php-curl$ sudo apt-get install php-zip
$ sudo apt-get install php-mbstring
$ sudo systemctl restart apache2
  1. Browse to Your Domain. Click “Continue”

How To Install CubeCart on an Ubuntu 18

  1. Click “Continue”

    Again

How To Install CubeCart on an Ubuntu 18

  1. Agree to the Licensing Agreement and click “Continue”

How To Install CubeCart on an Ubuntu 18

  1. Click “Continue” if There Are No Issues With Permissions

How To Install CubeCart on an Ubuntu 18

  1. On the Next Screen Fill Out the Database, Admin, and Store Info Sections
    How To Install CubeCart on an Ubuntu 18

  2. Installation is Now Complete But if You go to Your Storefront You’ll See an Error Message

How To Install CubeCart on an Ubuntu 18

To resolve this copy the contents of the .htaccess edit box and open nano and paste the contents in a new file. Save the file.

While we’re cleaning up delete the /setup folder as well to secure your cart installation.

$ sudo nano /var/www/html/.htaccess$ sudo rm -rf /var/www/html/setup

Now if you go back to your storefront you will see the demo CubeCart store.

How To Install CubeCart on an Ubuntu 18

You can also go to the admin panel at yourdomain.com/admin.php to begin adding products, setting up payment process, and defining shipping and payment methods to get your store up and running.

If you have any issues with CubeCart, always remember they offer paid support, so there is always somewhere to turn for help.

Check out these top 3 Linux hosting services

Was this article helpful?