How to install Quick.Cart - An Online shopping tool

To create own Website For Shopping using Quick.Cart in CentOS 7

Quick.Cart is a free platform to create own shopping Websites like Flipkart, Ebay and Amazon etc. It does not require any Database to run. It just requires webserver and PHP to be installed on the system. Installation of Quick.Cart is explained in this article.


To install Quick.cart

Run the following command to install the necessary packages.

[root@linuxhelp ~]# yum install httpd php php-gd -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base:
 * extras:
 * updates:
Resolving Dependencies
--> Running transaction check
---> Package httpd.x86_64 0:2.4.6-40.el7.centos.4 will be installed
--> Processing Dependency: httpd-tools = 2.4.6-40.el7.centos.4 for package: httpd-2.4.6-40.el7.centos.4.x86_64
--> Processing Dependency: /etc/mime.types for package: httpd-2.4.6-40.el7.centos.4.x86_64
--> Processing Dependency: for package: httpd-2.4.6-40.el7.centos.4.x86_64
Dependency Installed:
  apr.x86_64 0:1.4.8-3.el7               apr-util.x86_64 0:1.5.2-6.el7                 httpd-tools.x86_64 0:2.4.6-40.el7.centos.4          libzip.x86_64 0:0.10.1-8.el7         
  mailcap.noarch 0:2.1.41-2.el7          php-cli.x86_64 0:5.4.16-36.1.el7_2.1          php-common.x86_64 0:5.4.16-36.1.el7_2.1             t1lib.x86_64 0:5.1.2-14.el7          


Start and enable the apache service.

[root@linuxhelp ~]# systemctl start httpd
[root@linuxhelp ~]# systemctl enable httpd
ln -s '/usr/lib/systemd/system/httpd.service' '/etc/systemd/system/'

Download the Quick.Cart package by running the following command.

[root@linuxhelp ~]# wget
--2016-07-21 12:41:38--
Resolving (
Connecting to (||:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘home.html?’

    [                                          <=>                                                                                             ] 661,520     72.8KB/s   in 9.5s   

2016-07-21 12:41:50 (67.8 KB/s) - ‘home.html?’ saved [661520]

Extract the downloaded package.

[root@linuxhelp ~]# mkdir /var/www/html/quickcart
[root@linuxhelp ~]# unzip home.html? -d /var/www/html/quickcart
Archive:  home.html?
   creating: /var/www/html/quickcart/core/
  inflating: /var/www/html/quickcart/core/common-admin.js  
  inflating: /var/www/html/quickcart/core/common-admin.php  
  inflating: /var/www/html/quickcart/core/common.js  
  inflating: /var/www/html/quickcart/core/common.php  
  inflating: /var/www/html/quickcart/core/files-admin.php
  inflating: /var/www/html/quickcart/templates/default/_footer.php  
  inflating: /var/www/html/quickcart/templates/default/_header.php  
  inflating: /var/www/html/quickcart/.htaccess  
  inflating: /var/www/html/quickcart/admin.php  
  inflating: /var/www/html/quickcart/index.php  
  inflating: /var/www/html/quickcart/read-me.txt

Change the Ownership of the directory to the apache user and group as follows.

[root@linuxhelp ~]# ls -lZd /var/www/html/quickcart/
drwxr-xr-x. root root unconfined_u:object_r:httpd_sys_content_t:s0 /var/www/html/quickcart/
[root@linuxhelp ~]# chown -R apache:apache /var/www/html/quickcart/
[root@linuxhelp ~]# ls -lZd /var/www/html/quickcart/
drwxr-xr-x. apache apache unconfined_u:object_r:httpd_sys_content_t:s0 /var/www/html/quickcart/

Disable your selinux by changing the entry.

[root@linuxhelp ~]# vim /etc/sysconfig/selinux

And edit the following line

 “SELINUX=enforcing” into “SELINUX=disabled”

If you want the changes to be applied immediately, then run the following command.

[root@linuxhelp ~]# setenforce 0

Create apache virtual host for quick cart.

[root@linuxhelp ~]# vim /etc/httpd/conf.d/vhosts.conf

Add the following lines into it.

IncludeOptional vhosts.d/*.conf

Create the configuration file for apache virtual host in the new directory as follows.

[root@linuxhelp ~]# mkdir /etc/httpd/vhosts.d/
[root@linuxhelp ~]# vim /etc/httpd/vhosts.d/quickcart.conf
DocumentRoot "/var/www/html/quickcart/"
ErrorLog "/var/log/httpd/"
CustomLog "/var/log/httpd/" combined

<Directory "/var/www/html/quickcart/">
DirectoryIndex index.html index.php
Options FollowSymLinks
AllowOverride All
Require all granted

Restart the apache service.

[root@linuxhelp ~]# systemctl restart httpd



Open the browser and type http://<IP_address>
To access the admin panel, dive into http://<IP_address>/admin.php
Type the username and password to login.

Change the admin username and password if required.
The Dashboard of Quick Cart appears.
Create a new product for shopping.
Type your product name, description, availability, category, and then choose add files to add the picture for your product.
Visit the Quick cart site page and click reload.


Thank you! for using Linux Help.

You find this tutorial helpful? Share with your friends to keep it alive.
For more help topics browse our website
Be the first to comment, we value your suggestions. For further queries please comment below.

Tags: Quick Cart Web Server Virtualhost
user image Author :  Aiden