• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to Install CubeCart in Ubuntu

{{postValue.id}}

To install CubeCart in Ubuntu

CubeCart is an open source e-commerce shopping cart software used for Linux distributions. It allows the users to setup their own online stores to sell digital or physical products all over the world. This article shows the installation process of the CubeCart in Ubuntu.


Installation of CubeCart

Before installing the CubeCart, you must have to install LAMP server by using the following reference link.

https://www.linuxhelp.com/how-to-install-lamp-by-using-tasksel-tool-in-ubuntu/

First login to the MySQL server and create database for CubeCart.

root@linuxhelp:/home/user1/Desktop# mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with   or g.
Your MySQL connection id is 9
Server version: 5.6.28-0ubuntu0.15.04.1 (Ubuntu)
Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type ' help '  or ' h'  for help. Type ' c'  to clear the current input statement.
mysql>  create database cubecart 
Query OK, 1 row affected (0.05 sec)
mysql>  GRANT ALL PRIVILEGES ON cubecart.* TO ' cubeuser' @' localhost'  IDENTIFIED BY ' password'  
Query OK, 0 rows affected (0.07 sec)
mysql>  FLUSH PRIVILEGES 
Query OK, 0 rows affected (0.01 sec)
mysql>  exit
Bye

Download the CubeCart installation package with the following command.

root@linuxhelp:/home/user1/Desktop# cd /opt/
root@linuxhelp:/opt# wget https://www.cubecart.com/download/CubeCart-6.0.8.zip
--2016-11-16 01:50:04--  https://www.cubecart.com/download/CubeCart-6.0.8.zip
Resolving www.cubecart.com (www.cubecart.com)... 139.59.160.147
Connecting to www.cubecart.com (www.cubecart.com)|139.59.160.147|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3880087 (3.7M) [application/zip]
Saving to: ‘ CubeCart-6.0.8.zip’ 
CubeCart-6.0.8.zip             100%[====================================================> ]   3.70M   127KB/s   in 14s    
2016-11-16 01:50:19 (273 KB/s) - ‘ CubeCart-6.0.8.zip’  saved [3880087/3880087]
root@linuxhelp:/opt# mkdir cubecart
Extract the package to cubecart directory
root@linuxhelp:/opt# unzip CubeCart-6.0.8.zip -d cubecart/
Archive:  CubeCart-6.0.8.zip
  inflating: cubecart/README.md      
   creating: cubecart/admin/
  inflating: cubecart/admin/index.php  
.
.
.
  inflating: cubecart/skins/foundation/templates/element.social.php  
  inflating: cubecart/skins/foundation/templates/main.checkout.php  
  inflating: cubecart/skins/foundation/templates/main.php  
  inflating: cubecart/skins/foundation/templates/print.receipt.php

Move the downloaded package to the respective directory.

root@linuxhelp:/opt# mv cubecart/ /var/www/html/cubecart/

Now its time to change the ownership for cubecart directory.

root@linuxhelp:/opt# chown -R www-data:www-data /var/www/html/cubecart

Here you need to create a new Apache configuration file in name of ' cubecart.conf' in the virtual server. Add some content into the file as shown below,

root@linuxhelp:/opt# touch /etc/apache2/sites-available/cubecart.conf
root@linuxhelp:/opt# ln -s /etc/apache2/sites-available/cubecart.conf /etc/apache2/sites-enabled/cubecart.conf
root@linuxhelp:/opt# nano /etc/apache2/sites-available/cubecart.conf

ServerAdmin admin@yourdomain.com
DocumentRoot /var/www/html/cubecart/
ServerName linuxhelp
ServerAlias www.your-domain.com

Options FollowSymLinks
AllowOverride All

ErrorLog /var/log/apache2/your-domain.com-error_log
CustomLog /var/log/apache2/your-domain.com-access_log common

Change the Hostname in the configuration file before save and exit.

Restart the Apache web server to take effect.

root@linuxhelp:/opt# service apache2 restart

Once the above process is completed, open the web browser and navigate to http://< IP_ADDR> /cubecart for compatibility check.

CubeCart-open

Click on continue option to install CubeCart.

CubeCart-install

Accept the license agreement and click on continue option.

CubeCart-license-agreement

Check the file permissions and click on continue.

CubeCart-file-permissions

Enter the database information and add the administrative user.

CubeCart-database

The CubeCart is installed successfully. Click on admin control panel.

CubeCart-installed-successfully

Login Admin control panel with the users credentials.

CubeCart-Admin-control-panel

You can add your customers in the customer list.

CubeCart-customer-list

You can add your products in the inventory.

CubeCart-product-inventory

Sales report

CubeCart-Sales-report

Store settings

CubeCart-Store-settings

Tags:
isaac
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

While accessing CubeCart in web interface results in a blank page, How to resolve this?

A

In CubeCart, check for php and php modules are installed properly and also look into the apache error logs.

Q

while calling in browser . It opens the default apache page ?

A

check the documentroot specified in virtual host

Q

How to resolve 404 not found error, while accessing cube cart in the web interface?

A

Check the document root specified in the virtual host of cube cart configuration.

Q

How to overcome the forbidden error while accessing Cubecart on Web interface?

A

Check the permission and ownership of document root directory.

Q

What is CubeCart?

A

CubeCart is an open source e-commerce shopping cart software used for Linux distributions. It allows users to set up their own online stores to sell digital or physical products all over the world.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Jayce ?
What are the types of table used in IPtables

What are the various types of table used in IPtables and how to use that for my server security?

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.