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.
- Download CubeCart From This Page
- Upload It To A Folder On Your Server
- Update the System
$ sudo apt-get update && sudo apt-get upgrade
- Install unzip, and tasksel
$ sudo apt-get install unzip$ sudo apt-get install tasksel
- Install LAMP
$ sudo tasksel
Select LAMP and install
- Unzip the CubeCart File
$ sudo unzip /usr/CubeCart/CubeCart-6.2.2.zip $ sudo rm /usr/CubeCart/CubeCart-6.2.2.zip
- 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
- 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
- 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/
- 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
- Browse to Your Domain. Click “Continue”
- Click “Continue”
Again
- Agree to the Licensing Agreement and click “Continue”
- Click “Continue” if There Are No Issues With Permissions
- On theNext Screen Fill Out the Database, Admin, and Store Info Sections
- Installation is Now Complete But if You go to Your Storefront You’ll See an Error Message
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.
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.