• 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 LiteCart on CentOS 7

{{postValue.id}}

To install LiteCart on CentOS 7

LiteCart is a free e-commerce, feature rich e-commerce solution. The framework is constructed to be lightweight and easy for developers to modify and build upon. LiteCart relies on the latest HyperText standard HTML 5, the latest CSS 3 for styling, the amazing jQuery framework for client-side dynamics, and the popular web scripting language PHP for server-side dynamics. In this tutorial, you will learn about the method to install LiteCart on CentOS 7.

Pre-requirement
Install LAMP(apache, mariadb, php7)
For MariaDB

Create database and user. Also give privilages to that user

For php
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm

php modules (yum install -y mod_php71w php71w-cli php71w-common php71w-gd php71w-mbstring php71w-mcrypt php71w-mysqlnd php71w-xml)

Installing LitCart

If you want to download an installation package for LiteCart, make sure you download it from the official website. Here is the link: https://www.litecart.net/download. Once it is downloaded, get into the html location with the help of the following command.

[root@linuxhelp ~]# cd /var/www/html/


List the directory and view the downloaded package.

[root@linuxhelp html]# ll
total 2544
-rwxrw-rw- 1 root root 2604063 Nov  9 13:48 litecart-2.0.2.zip


Once you have downloaded the package, extract the downloaded file by running the following command.

[root@linuxhelp html]# 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      


Next, you need to change the ownership of Litecart directory.

[root@linuxhelp html]# chown apache:apache -R litecart/


Configuration of Apache' s VirtualHost is one of the most important steps in this installation process. So create a .conf file as follows.

[root@linuxhelp html]# vim /etc/httpd/conf.d/litecart.conf

In that file, add the following lines.

< virtualHost *:80> 
ServerAdmin admin@litecart.abc
DocumentRoot /var/www/html/litecart/
ServerName litecart.abc
ServerAlias www.litecart.abc
< Directory /var/www/html/litecart/> 
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
< /Directory> 
ErrorLog /var/log/httpd/litecart.abc-error_log
CustomLog /var/log/httpd/litecart.abc-access_log common
< /VirtualHost> 

Once it is done, make an entry in the host file. Open it with the help of the following command.

[root@linuxhelp html]# vim /etc/hosts

And in that file, add the following.

< machine ip >   domain-name


Once it is done, restart the Apache service by running the following command.

[root@linuxhelp html]# systemctl restart httpd

Let us now continue the process via GUI. Open your browser, and enter http://litecart.abc/public_html as your URL. The installation page appears on your screen.
1

Once it is done, scroll down and fill the database, admin, store details

2


Now click on the install option.
3

Then proceed by clicking the ok option.
4


The installation is now complete, click admin area to open admin panel.

5
6

Enter your admin credentials and click ok.
7

Again, give your admin credentials and click login
8

You are now logged in as an Admin.
9

With this, the installation of LiteCart gets completed.

Tags:
jackson
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

what are the main features LiteCart?

A

Easy to install
Extremely easy to use
Easy to modify
Innovative features
High performance
Modern technology

Q

How to start and enable the MySQL service?

A

These two commands used for start and enable the MySQL service

# systemctl start mysql.service

# systemctl enable mysql.service

Q

What is Litecart?

A

*LiteCart is a free online catalog and cart platform. It is programmed in PHP using HTML and CSS. *LiteCart has an elegant and simple admin panel.

Q

How do I access a virtual host from another computer?

A

Open the hosts configuration file located at C:\Windows\System32\drivers\etc\hosts in notepad.

On a new line, add the IP address of the host machine (the machine running WAMP), followed by the ServerName for the vhost (ie: johndugan.local).

Q

How to install PHP and its modules in Ubuntu?

A

After setting the password, install PHP and its modules

# apt-get install php7.0 libapache2-mod-php7.0 php7.0-mcrypt php7.0-mysql php7.0-gd -y

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.