How to Install LiteCart on CentOS 7

LiteCart is another creative free shopping cart platform created in PHP. Established by swedish engineer T. Almroth. In view of the most recent present day innovation, for example, PHP 5.3+, jQuery, HTML 5 and CSS 3. Sensible design and an easy to utilize interface. The framework is constructed to be lightweight and easy for developers to modify and build upon. LiteCart is a free e-commerce, feature rich e-commerce solution.

In this article I will show you how to install LiteCart on CentOS 7 machine.

Install LiteCart on CentOS 7


  • LAMP ( Apache, MariaDB, PHP7) Stack should be installed on the system.
  • Create a database and user with sufficient privileges to user.
  • PHP Modules : mod_php71w php71w-cli php71w-common php71w-gd php71w-mbstring php71w-mcrypt php71w-mysqlnd php71w-xml
  • Required Repository : EPEL and Webtatic

LiteCart Installation

First of all you have to download LiteCart package into your web document root directory from its Official Website. After downloaded LiteCart package go to html location with help of below command and list it.

# cd /var/www/html/
# ll
total 2544
-rwxrw-rw- 1 root root 2604063 Nov  9 13:48 litecart-2.0.2.zip

Once download download completed, extract it using below command.

# unzip litecart-2.0.2.zip -d litecart
Archive:  litecart-2.0.2.zip
  inflating: litecart/STANDARD.md    
  inflating: litecart/UPGRADE.md     
   creating: litecart/art/
  inflating: litecart/art/cart.svg   
  inflating: litecart/art/loader.svg  
  inflating: litecart/art/logotype.svg  
  inflating: litecart/art/noimage.svg  
   creating: litecart/public_html/
extracting: litecart/public_html/vqmod/xml/index.html  
  inflating: litecart/CREDITS.md     
  inflating: litecart/LICENSE.md     
  inflating: litecart/README.md  

Change ownership of the LiteCart directory.

# chown apache:apache -R litecart

Now create Apache virtual host config file called “litecart.conf” and add the below line in it.

# vim /etc/httpd/conf.d/litecart.conf
ServerAdmin [email protected]
DocumentRoot /var/www/html/litecart/
ServerName litecart.com
ServerAlias www.litecart.com

Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all

ErrorLog /var/log/httpd/litecart.com-error_log
CustomLog /var/log/httpd/litecart.com-access_log common

Save and close file.

Edit the local hosts file and add the below line.

# vim /etc/hosts	  litecart.com   # My local machine IP and domain name

Save and close file. Now restart Apache service using below command.

# systemctl restart httpd

Now go to your web browser and type the below URL.


LiteCart installation page will be open.


Scroll down the page and fill the database, admin and store details.


Then click on Install button.


Click on OK button to proceed.


LiteCart has been installed on you system. Click on admin area to open admin panel.



Enter your admin details and click on OK button.


Again it will ask for your admin details. Fill the admin details and click on Login.


After clicking on Login button next admin page will appear on your screen.


Thank you! for visiting LookLinux.

If you find this tutorial helpful please share with your friends to keep it alive. For more helpful topic browse my website www.looklinux.com. To become an author at Look Linux Submit Article. Stay connected to Facebook.

About the author


Santosh Prasad

Hi! I'm Santosh and I'm here to post some cool article for you. If you have any query and suggestion please comment in comment section.

Leave a Comment