• 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 on Linuxmint 19

  • 00:31 lsb_release -a
  • 00:46 mysql -u root -p
  • 02:04 wget https://www.cubecart.com/download/CubeCart-6.2.5.zip
  • 02:23 unzip CubeCart-6.2.5.zip -d cube
  • 02:36 mv cube /var/www/
  • 02:47 chown -R www-data.www-data /var/www/cube
  • 03:02 chmod -R 755 /var/www/cube
  • 03:16 vim /etc/apache2/sites-available/cube.conf
  • 04:26 a2dissite 000-default.conf
  • 04:39 a2ensite cube.conf
  • 04:47 a2enmod rewrite
  • 04:59 systemctl restart apache2
{{postValue.id}}

How to install CubeCart on Linux Mint 19

Requirements for CubeCart:

Apache
Mysql
Php

PHP Modules

(php php-xml php-mysql php-mbstring php-zip php-soap php-curl php-gd php-ldap php-imap php-common php-dev libmcrypt-dev php-pear)

Installation procedure

Check the Linuxmint version by using the following command.

root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 19 Tara
Release: 19
Codename: tara

Configure the MySQL database. Log into MySQL as a root user and make the necessary settings.

root@linuxhelp:~# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.7.26-0ubuntu0.18.04.1 (Ubuntu)

Copyright (c) 2000, 2019, 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 cubedb;
Query OK, 1 row affected (0.00 sec)

mysql> create user 'cubeuser'@localhost identified by 'Linuxc#4';
Query OK, 0 rows affected (0.03 sec)

mysql> grant all privileges on cubedb.* to 'cubeuser'@localhost;
Query OK, 0 rows affected (0.00 sec)

mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)

mysql> exit
Bye

Once the database configuration is done, download the CubeCart installation package by using the wget command.

root@linuxhelp:~# wget https://www.cubecart.com/download/CubeCart-6.2.5.zip
--2019-06-24 15:39:53-- https://www.cubecart.com/download/CubeCart-6.2.5.zip
Resolving www.cubecart.com (www.cubecart.com)... 104.27.174.104, 104.27.175.104, 2606:4700:30::681b:ae68, ...
Connecting to www.cubecart.com (www.cubecart.com)|104.27.174.104|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘CubeCart-6.2.5.zip’

CubeCart-6.2.5.zip [ <=> ] 6.30M 899KB/s in 6.9s

2019-06-24 15:40:01 (939 KB/s) - ‘CubeCart-6.2.5.zip’ saved [6608723]

Once the download is completed extract the downloaded package using unzip command.

root@linuxhelp:~# unzip CubeCart-6.2.5.zip -d cube
Archive: CubeCart-6.2.5.zip
creating: cube/admin/
inflating: cube/admin/index.php
creating: cube/admin/skins/
creating: cube/admin/skins/default/
creating: cube/admin/skins/default/images/
.
.
.
inflating: cube/skins/foundation/templates/content.orders.php
inflating: cube/skins/foundation/templates/content.recover.php
inflating: cube/skins/foundation/templates/element.css.php
extracting: cube/skins/foundation/templates/.htaccess
inflating: cube/skins/foundation/templates/content.product.php

Move the CubeCart directory to the apache root directory.

root@linuxhelp:~# mv cube /var/www/

Set the ownership and permission for CubeCart by using the following command.

root@linuxhelp:~# chown -R www-data.www-data /var/www/cube
root@linuxhelp:~# chmod -R 755 /var/www/cube

Configure the virtual host for accessing the CubeCart.

root@linuxhelp:~# vim /etc/apache2/sites-available/cube.conf
<Virtualhost *:80>
Servername www.linuxhelp1.com
Documentroot /var/www/cube
<directory /var/www/cube>
allowoverride all
allow from all
</directory>
</Virtualhost>

Disable the default site access.

root@linuxhelp:~# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2

Enable the site access for accessing the CubeCart.

root@linuxhelp:~# a2ensite cube.conf
Enabling site cube.
To activate the new configuration, you need to run:
systemctl reload apache2

Enable the rewrite module.

root@linuxhelp:~# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2

Restart the apache service by using the following command.

root@linuxhelp:~# systemctl restart apache2

Switch to your browser and enter the domain name. snap1 Verify whether all the pre-requirements are met and click on continue to proceed. snap2 Now as you can see you CubeCart is being installed on the server. snap3 Next, you need to accept the license agreement. snap4 Just verify that file permission and click on continue. snap5 We need to configure the database setup. snap6 Configure the language setup snap7 Configure the admin credentials. snap8 After the installation completed you will see the following page. snap9 After the installation, you can log in using the admin user credentials to access the CubeCart. snap10 This is the dashboard of CubeCart. snap11 With this, the method to install CubeCart On Linux Mint 19 comes to an end.

Tags:
owen
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 4 )

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.

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 the browser. Does it open the default apache page for CubeCart?

A

Check the document root specified in the virtual host.

Q

What are the required PHP modules for CubeCart?

A

The following are the required PHP modules
php libapache2-mod-phpphp-mcrypt php-mysql php-gd php-xml php-mbstring php-curl

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 Luke ?
workbench for debian

I am using workbench in CentOS whereas now I need to use Debian Operating system so could you please help to install and use in Debian?

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.