• 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.6

  • 00:41 rpm -q centos-release
  • 00:55 mysql -u root -p
  • 02:06 wget https://github.com/litecart/litecart/archive/dev.zip
  • 02:18 unzip dev.zip
  • 02:26 mv litecart-dev /var/www/litecart
  • 02:39 chown -R apache:apache /var/www/litecart
  • 02:50 chmod -R 755 /var/www/litecart
  • 03:06 vim /etc/httpd/conf.d/litecart.conf
  • 04:17 systemctl restart httpd
{{postValue.id}}

Installation of Lite Cart on CentOS 7.6

LiteCart is 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, we will cover the installation of Lite Cart on Centos 7.6

Requirements for Lite 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 litedb;
Query OK, 1 row affected (0.03 sec)
MariaDB [(none)]> create user 'liteuser'@localhost identified by 'Linuxc#4';
Query OK, 0 rows affected (0.13 sec)
MariaDB [(none)]> grant all privileges on litedb.* to 'liteuser'@localhost;
Query OK, 0 rows affected (0.00 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 Lite cart by using the wget command.

[root@linuxhelp ~]# wget https://github.com/litecart/litecart/archive/dev.zip
--2019-05-29 15:56:12--  https://github.com/litecart/litecart/archive/dev.zip
Resolving github.com (github.com)... 13.234.210.38
Connecting to github.com (github.com)|13.234.210.38|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/litecart/litecart/zip/dev [following]
--2019-05-29 15:56:12--  https://codeload.github.com/litecart/litecart/zip/dev
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: ‘dev.zip’

    [            <=>                                            ] 1,973,770    678KB/s   in 2.8s   

2019-05-29 15:56:16 (678 KB/s) - ‘dev.zip’ saved [1973770]

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

[root@linuxhelp ~]# unzip dev.zip
Archive:  dev.zip
6507e758f09e487b0fad17a6bccc91e488061676
   creating: litecart-dev/
   creating: litecart-dev/.github/
  inflating: litecart-dev/.github/ISSUE_TEMPLATE.md  
  inflating: litecart-dev/.gitignore  
  inflating: litecart-dev/CREDITS.md  
  inflating: litecart-dev/DEVELOPER.md
.
.
  inflating: litecart-dev/public_html/vqmod/readme.txt  
   creating: litecart-dev/public_html/vqmod/vqcache/
 extracting: litecart-dev/public_html/vqmod/vqcache/index.html  
  inflating: litecart-dev/public_html/vqmod/vqmod.php  
   creating: litecart-dev/public_html/vqmod/xml/
 extracting: litecart-dev/public_html/vqmod/xml/index.html  

Move the Lite cart directory to apache root directory.

[root@linuxhelp ~]# mv litecart-dev /var/www/litecart

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

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

Configure the virtualhost for accessing the Lite cart.

 [root@linuxhelp ~]# vim /etc/httpd/conf.d/litecart.conf
<Virtualhost *:80>
        Servername www.linuxhelp1.com
        Documentroot /var/www/litecart
<directory /var/www/litecart>
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 The installation page appears on your screen. snap2 Configure the database setup. snap3 Configure the store details and admin credentials and then accept the license agreement. snap4 snap5 The installation is now complete, click admin area to open the admin panel. snap6 snap7 Enter your admin credentials and click Ok. snap8 Again, give your admin credentials and click login. snap9 This is the dashboard of Lite Cart. snap10 With this, the method to install LiteCart On Centos 7.6 comes to an end.

Tags:
grayson
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

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 for Litecart?

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

What are the required PHP and its modules in Ubuntu for Litecart?

A

# apt install php libapache2-mod-phpphp-mcrypt php-mysql php-gd php-xml php-mbstring php-curl

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 for Litecart?

A

These two commands used for start and enable the MySQL service

# systemctl start mysql.service

# systemctl enable mysql.service

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 Ganesh Konka ?
Zentya 6.1 http proxy configuration

please send link for creating zentyal 6.1 for http proxy and firewall as gateway.

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.