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

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 theNext 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

HostArmada
$2.49 /mo
Starting price
Visit HostArmada
Rating based on expert review
  • User Friendly
    4.5
  • Support
    4.5
  • Features
    4.5
  • Reliability
    4.5
  • Pricing
    4.0
Hostinger
$2.99 /mo
Starting price
Visit Hostinger
Rating based on expert review
  • User Friendly
    4.7
  • Support
    4.7
  • Features
    4.8
  • Reliability
    4.8
  • Pricing
    4.7
FastComet
$1.79 /mo
Starting price
Visit FastComet
Rating based on expert review
  • User Friendly
    4.7
  • Support
    5.0
  • Features
    4.8
  • Reliability
    4.5
  • Pricing
    5.0

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

How to install the AbanteCart shopping cart on Ubuntu 18.04
2 min read
Mark Armistead
Mark Armistead
Author

How To Install and Configure Zen Cart on an Ubuntu 18.04 VPS or Dedicated Server

How to Install Zen Cart on an Ubuntu 18.04 VPS or Dedicated Server
3 min read
Mark Armistead
Mark Armistead
Author

How to Install a Let’s Encrypt Certificate on your Ubuntu 18.04 Dedicated Server or VPS

If you are hosting your website on a VPS server running Ubuntu 18.04, we will sh
3 min read
Michael Levanduski
Michael Levanduski
Expert Hosting Writer & Tester

How to Install Own Cloud On an an Ubuntu 18.04 Dedicated Server or VPS

You can create your own self-hosted cloud storage services by installing the ope
3 min read
Idan Cohen
Idan Cohen
Marketing Expert
HostAdvice.com provides professional web hosting reviews fully independent of any other entity. Our reviews are unbiased, honest, and apply the same evaluation standards to all those reviewed. While monetary compensation is received from a few of the companies listed on this site, compensation of services and products have no influence on the direction or conclusions of our reviews. Nor does the compensation influence our rankings for certain host companies. This compensation covers account purchasing costs, testing costs and royalties paid to reviewers.
Click to go to the top of the page
Go To Top