• 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 Linuxmint 19

  • 00:39 lsb_release -a
  • 00:52 mysql -u root -p
  • 01:59 wget https://github.com/litecart/litecart/archive/master.zip
  • 02:13 unzip master.zip
  • 02:21 mv litecart-master /var/www/litecart
  • 02:33 chown -R www-data.www-data /var/www/litecart
  • 02:49 chmod -R 755 /var/www/litecart
  • 03:04 vim /etc/apache2/sites-available/litecart.conf
  • 04:14 a2dissite 000-default.conf
  • 04:26 a2ensite litecart.conf
  • 04:41 a2enmod rewrite
  • 04:51 systemctl restart apache2
{{postValue.id}}

To install Litecart on Linux Mint 19

Requirements for Litecart:

Apache

Mysql

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-dev libmcrypt-dev php-pear)

Installation procedure

Check the Linuxmint version by using the following command.

root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 19 Tara
Release: 19
Codename: tara

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 MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.7.26-0ubuntu0.18.04.1 (Ubuntu)

Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> create database litedb;
Query OK, 1 row affected (0.00 sec)

mysql> create user 'liteuser'@localhost identified by 'Linuxc#4';
Query OK, 0 rows affected (0.04 sec)

mysql> grant all privileges on litedb.* to 'liteuser'@localhost;
Query OK, 0 rows affected (0.00 sec)

mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)

mysql> exit
Bye

Once the database configuration is done, download the Lite Cart Installation package by using the wget command.

root@linuxhelp:~# wget https://github.com/litecart/litecart/archive/master.zip
--2019-06-24 17:33:34-- https://github.com/litecart/litecart/archive/master.zip
Resolving github.com (github.com)... 13.234.176.102
Connecting to github.com (github.com)|13.234.176.102|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/litecart/litecart/zip/master [following]
--2019-06-24 17:33:35-- https://codeload.github.com/litecart/litecart/zip/master
Resolving codeload.github.com (codeload.github.com)... 192.30.253.121
Connecting to codeload.github.com (codeload.github.com)|192.30.253.121|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘master.zip’

master.zip [ <=> ] 1.82M 101KB/s in 12s

2019-06-24 17:33:49 (152 KB/s) - ‘master.zip’ saved [1911752]

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

root@linuxhelp:~# unzip master.zip
Archive: master.zip
5131ac5db85d96445b164c230a6d60fe26efee40
creating: litecart-master/
creating: litecart-master/.github/
inflating: litecart-master/.github/ISSUE_TEMPLATE.md
inflating: litecart-master/.gitignore
inflating: litecart-master/CREDITS.md
inflating: litecart-master/DEVELOPER.md
inflating: litecart-master/LICENSE.md
.
.
.
creating: litecart-master/public_html/vqmod/vqcache/
extracting: litecart-master/public_html/vqmod/vqcache/index.html
inflating: litecart-master/public_html/vqmod/vqmod.php
creating: litecart-master/public_html/vqmod/xml/
extracting: litecart-master/public_html/vqmod/xml/index.html

Move the Lite Cart directory to the apache root directory.

root@linuxhelp:~# mv litecart-master /var/www/litecart

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

root@linuxhelp:~# chown -R www-data.www-data /var/www/litecart

root@linuxhelp:~# chmod -R 755 /var/www/litecart

Configure the virtual host for accessing the Lite cart.

root@linuxhelp:~# vim /etc/apache2/sites-available/litecart.conf
<Virtualhost *:80>
Servername www.linuxhelp1.com
documentroot /var/www/litecart
<directory /var/www/litecart>
allowoverride all
allow from all
</directory>
</virtualhost>

Disable the default site access.

root@linuxhelp:~# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2

Enable the site access for accessing the Lite cart.

root@linuxhelp:~# a2ensite litecart.conf
Enabling site litecart.
To activate the new configuration, you need to run:
systemctl reload apache2

Enable the rewrite module.

root@linuxhelp:~# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2

Restart the apache service by using the following command.

root@linuxhelp:~# systemctl restart apache2

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. snap4

Configure the admin credentials And Accept the license agreement. snap5

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

Enter your admin credentials and click ok. snap7

Again, give your admin credentials and click login. snap8

This is the dashboard of the Lite cart. snap9

With this, the method to install LiteCart on Linux Mint 19 comes to an end.

Tags:
muhammad ahmad
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 host's 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 host (ie: john Dugan.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 the LiteCart?

A

These two commands used to 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 Jayce ?
What are the types of table used in IPtables

What are the various types of table used in IPtables and how to use that for my server security?

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.