• 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 Cube Cart on CentOS 7.6

  • 00:45 rpm -q centos-release
  • 01:04 mysql -u root -p
  • 02:27 wget https://github.com/cubecart/v6/archive/6.2.0-branch.zip
  • 02:39 unzip 6.2.0-branch.zip
  • 02:51 mv v6-6.2.0-branch /var/www/cubecart
  • 03:03 chown -R apache:apache /var/www/cubecart
  • 03:20 chmod -R 755 /var/www/cubecart
  • 03:33 vim /etc/httpd/conf.d/cubecart.conf
  • 04:42 systemctl restart httpd
{{postValue.id}}

Installation of CubeCart on CentOS 7.6

CubeCart is an open source e-commerce shopping cart software used for Linux distributions. It allows the users to set up their own online stores to sell digital or physical products over all the world. Cubecart is a truly free, user-friendly, open source shopping cart software. It contains features such as customization, integration with payment, works with any hosting company and can choose own domain name.This tutorial covers the installation of Cubecart on CentOS 7.6

Requirements for Cube cart

Apache MariaDB PHP and its modules php php-xml php-mysql php-mbstring php-zip php-soap php-curl php-gd php-ldap php-imap php-common php-mcrypt

Installation procedure

Check the CentOS version by using the following command.

[root@linuxhelp ~]# rpm -q centos-release
centos-release-7-6.1810.2.el7.centos.x86_64

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 MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 10
Server version: 5.5.60-MariaDB MariaDB Server

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> create database cubedb;
Query OK, 1 row affected (0.05 sec)

MariaDB [(none)]> create user 'cubeuser'@localhost identified by 'Linuxc#4';
Query OK, 0 rows affected (0.15 sec)

MariaDB [(none)]> grant all privileges on cubedb.* to 'cubeuser'@localhost;
Query OK, 0 rows affected (0.03 sec)


MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.00 sec)

MariaDB [(none)]> Ctrl-C -- exit!
Aborted

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

 [root@linuxhelp ~]# wget https://github.com/cubecart/v6/archive/6.2.0-branch.zip
--2019-05-29 11:28:43--  https://github.com/cubecart/v6/archive/6.2.0-branch.zip
Resolving github.com (github.com)... 13.234.176.102
Connecting to github.com (github.com)|13.234.176.102|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/cubecart/v6/zip/6.2.0-branch [following]
--2019-05-29 11:28:44--  https://codeload.github.com/cubecart/v6/zip/6.2.0-branch
Resolving codeload.github.com (codeload.github.com)... 192.30.253.120
Connecting to codeload.github.com (codeload.github.com)|192.30.253.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘6.2.0-branch.zip’

    [  <=>                                                      ] 6,604,533    402KB/s   in 27s    

2019-05-29 11:29:11 (243 KB/s) - ‘6.2.0-branch.zip’ saved [6604533]

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

 [root@linuxhelp ~]# unzip 6.2.0-branch.zip
Archive:  6.2.0-branch.zip
7034a3755ce9a2d070a11efaee9d2fb90e123887
   creating: v6-6.2.0-branch/
  inflating: v6-6.2.0-branch/admin.php  
   creating: v6-6.2.0-branch/admin/
  inflating: v6-6.2.0-branch/admin/.htaccess  
  inflating: v6-6.2.0-branch/admin/index.php  
   creating: v6-6.2.0-branch/admin/skins/
.
.
  inflating: v6-6.2.0-branch/skins/foundation/templates/element.search.manufacturers.select.chosen.php  
  inflating: v6-6.2.0-branch/skins/foundation/templates/element.social.php  
  inflating: v6-6.2.0-branch/skins/foundation/templates/main.checkout.php  
  inflating: v6-6.2.0-branch/skins/foundation/templates/main.php  
  inflating: v6-6.2.0-branch/skins/foundation/templates/print.receipt.php  

Move the Cube cart directory to apache root directory.

[root@linuxhelp ~]# mv v6-6.2.0-branch /var/www/cubecart

Set the ownership and permission for Cube cart by using the following command.

 [root@linuxhelp ~]# chown -R apache:apache /var/www/cubecart
[root@linuxhelp ~]# chmod -R 755 /var/www/cubecart

Configure the virtualhost for accessing the CubeCart.

 [root@linuxhelp ~]# vim /etc/httpd/conf.d/cubecart.conf
<Virtualhost *:80>
        Servername www.linuxhelp1.com
        Documentroot /var/www/cubecart
<directory /var/www/cubecart>
allowoverride all
allow from all
</directory>
</Virtualhost>

Restart the apache service by using the following command.

 [root@linuxhelp ~]# systemctl restart httpd

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 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 cube cart snap11 With this, the method to install Cubecart On Centos 7.6 comes to an end.

Tags:
markdjokovic
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 for Cubecart ?

A

Check the document root specified in virtual host

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

What are the rquired php and its module for Cubecart?

A

These are the required php modules



php libapache2-mod-phpphp-mcrypt php-mysql php-gd php-xml php-mbstring php-curl

Q

How to configure the host entry for Cubecart?

A

Enter into #vim /etc/hosts



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 Isaac ?
How to run windows application in linux

I need to run the windows application in my Linux machine, instead of installing from yum repo or any other repos. How to do that..??

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.