How to install Cubecart 6.2.0 Linux mint 18.03
To install Cubecart 6.2.0 Linux Mint 18.03
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. In this tutorial, we will cover the installation of cubecart version 6.2.0 on Linux mint 18.3
Pre-requirements
- Install LAMP (Apache, php7.1, mariadb-server)
- In MariaDB (create database, user and give privileges to the user)
- FOR PHP INSTALLATION
add-apt-repository ppa:ondrej/php
apt-get update
apt-get install php7.1
apt install php7.1 libapache2-mod-php7.1 php7.1-common php7.1-mbstring php7.1-xmlrpc php7.1-soap php7.1-gd php7.1-xml php7.1-intl php7.1-mysql php7.1-cli
php7.1-mcrypt php7.1-ldap php7.1-zip php7.1-curl
Installation
Download the cubecart package using wget command as follows.
linuxhelp ~ # wget https://www.cubecart.com/download/CubeCart-6.2.0.zip
--2018-05-07 19:34:08-- https://www.cubecart.com/download/CubeCart-6.2.0.zip
Resolving www.cubecart.com (www.cubecart.com)... 45.32.179.53
Connecting to www.cubecart.com (www.cubecart.com)|45.32.179.53|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5194603 (5.0M) \[application/zip\]
Saving to: &lsquo CubeCart-6.2.0.zip&rsquo
CubeCart-6.2.0.zip 100%\[=================================> \] 4.95M 296KB/s in 23s
2018-05-07 19:34:32 (222 KB/s) - &lsquo CubeCart-6.2.0.zip&rsquo saved \[5194603/5194603\]
After downloading we have to extract and rename the directory.
linuxhelp ~ # unzip CubeCart-6.2.0.zip -d cubecart
Archive: CubeCart-6.2.0.zip
creating: cubecart/admin/
inflating: cubecart/admin/index.php
creating: cubecart/admin/skins/
creating: cubecart/admin/skins/default/
creating: cubecart/admin/skins/default/images/
extracting: cubecart/admin/skins/default/images/add.png
inflating: cubecart/admin/skins/default/images/page\_generic.png
inflating: cubecart/admin/skins/default/images/sort\_asc\_on.png
inflating: cubecart/admin/skins/default/images/sort\_desc\_on.png
extracting: cubecart/admin/skins/default/images/note.png
.
.
.
inflating: cubecart/skins/foundation/templates/main.checkout.php
inflating: cubecart/skins/foundation/templates/content.checkout.confirm.php
inflating: cubecart/skins/foundation/templates/content.orders.php
inflating: cubecart/skins/foundation/templates/content.recover.php
inflating: cubecart/skins/foundation/templates/element.css.php
extracting: cubecart/skins/foundation/templates/.htaccess
inflating: cubecart/skins/foundation/templates/content.product.php
Move the cubecart directory into the /var/www/html directory.
linuxhelp ~ # ls
cubecart CubeCart-6.2.0.zip
linuxhelp ~ # mv cubecart/ /var/www/html/
Go to /var/www/html directory.
linuxhelp ~ # cd /var/www/html/
linuxhelp html # ls
cubecart
Change ownership and permission for the Cubecart directory.
linuxhelp html # chown -R www-data:www-data cubecart/ & & chmod -R 775 cubecart/
We have to configure the virtual host for cubecart. Create an empty file named cube.conf.
linuxhelp html # cd /etc/apache2/sites-available/
linuxhelp sites-available # vim cube.conf
< virtualhost \*:80>
servername www.linuxhelp1.com
Documentroot /var/www/html/cubecart
< Directory /var/www/html/cubecart>
AllowOverride all
order allow,deny
allow from all
< /Directory>
< /virtualhost>
Enable the cubecart.conf file as follows.
linuxhelp sites-available # a2ensite cube.conf
Enabling site cube.
To activate the new configuration, you need to run:
service apache2 reload
After that, make an entry to the host' s file.
linuxhelp sites-available # vim /etc/hosts
< give your ip> < give your domain name>
Restart the Apache web server.
linuxhelp sites-available # systemctl restart apache2.service
Now you can proceed the further installation and configuration from the browser by navigating to the following URL: http://< ipaddress or domain name.

Verify whether all the pre-requirements are met and click on continue to proceed.

Now as you can see you cubecart is being installed on the server.

Next, you need to accept the license agreement.

Just verify that file permission and click on continue.

Next, you need to configure the database setup as follows.

And then configure the admin user setup.

After the installation, you will see the following screen which shows the installation status.

After the installation, you can login using the admin user credentials to access the cubecart. 
Once you login you will see the admin page of cubecart as shown here.

With this, the method to install Cubecart V-6.2.0 Linuxmint-18.03 comes to an end.
Comments ( 0 )
No comments available