• Contact
  • Contact Us
  • Disclamer
  • Home 1
  • Home 2
  • Home 3
  • Privacy Policy
Wednesday, May 14, 2025
How VPS - How to use/setup VPS
  • Login
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
How VPS - How to use/setup VPS
No Result
View All Result
Home Operating System Linux

How to Install LiteCart Shopping Cart Platform on Ubuntu 16.04

How VPS by How VPS
January 1, 2020
in Linux
0
0
SHARES
63
VIEWS
Share on FacebookShare on Twitter

Contents

  1. Prerequisites
  2. Step 1: Update the System
  3. Step 2: Installing LEMP Stack
  4. Step 3: Configuring MariaDB for LiteCart
  5. Step 4: Installing LiteCart
  6. Step 5: Configuring Apache for LiteCart
  7. Step 6: Accessing LiteCart web installation wizard
  8. Want to contribute?


LiteCart is a free and open source shopping cart platform written in PHP, jQuery, and HTML 5. It is a simple, lightweight, and easy to use e-commerce software platform. LiteCart is quite fast compared to other shopping cart solutions and offers a user-friendly admin panel.

Here, we will learn how to install LiteCart on an Ubuntu 16.04 server.

Prerequisites

  • A newly deployed Vultr Ubuntu 16.04 server instance.
  • A non-root user with sudo privileges setup on your server.
  • A static IP address 192.168.15.110 configured on your system.

Step 1: Update the System

First, update your system to the latest stable version by running the following command:

sudo apt-get update -y
sudo apt-get upgrade -y
sudo reboot

Step 2: Installing LEMP Stack

First, you will need to install Apache, MariaDB, PHP 7 and other required PHP modules on your server. You can install all of them by running the following command:

sudo apt-get install apache2 mariadb-server php7.0 libapache2-mod-php7.0 php7.0-mcrypt php7.0-mysql php7.0-gd -y

Once the installation is complete, start MariaDB and Apache services. Also configure these services to start at boot time.

sudo systemctl start mysql
sudo systemctl start apache2
sudo systemctl enable mysql
sudo systemctl enable apache2

Step 3: Configuring MariaDB for LiteCart

By default, the MariaDB installation is not secure. You will need to secure it before continuing. Run the following script:

sudo mysql_secure_installation

Answer all of the questions as shown below:

Enter current password for root (enter for none): Enter
Set root password? [Y/n]: Y
New password: <your-password>
Re-enter new password: <your-password>
Remove anonymous users? [Y/n]: Y
Disallow root login remotely? [Y/n]: Y
Remove test database and access to it? [Y/n]: Y
Reload privilege tables now? [Y/n]: Y

Once the MariaDB installation has been secured, you will need to create a database for LiteCart.

First, login to the MySQL shell with the following command:

mysql -u root -p

Enter your root password to login. Then create a database for LiteCart with the following command:

MariaDB [(none)]> create database litecartdb;
MariaDB [(none)]> grant all privileges on litecartdb.* to lcuser@localhost identified by 'yourpassword';
MariaDB [(none)]> flush privileges;
MariaDB [(none)]> exit;

Step 4: Installing LiteCart

You can download the latest stable version of the LiteCart from the offical site. Once the download has completed, extract the downloaded zip file to the Apache web root directory.

cd ~/Downloads
unzip -d litecart-1.7.3.zip /var/www/html/

Next, change the ownership and permission of the Apache web root directory:

sudo chown -R www-data:www-data /var/www/html
sudo chmod -R 755 /var/www/html

Step 5: Configuring Apache for LiteCart

You will need to create an Apache virtual host directive for LiteCart. Open the virtual host file:

sudo nano /etc/apache2/sites-available/litecart.conf

Add the following lines:

<VirtualHost *:80>
ServerAdmin [email protected]
    DocumentRoot /var/www/html/litecart/
    ServerName 192.168.15.110

    Options FollowSymLinks
    AllowOverride All
    Order allow,deny
    allow from all

    ErrorLog /var/log/apache2/litecart_error_log
    CustomLog /var/log/apache2/litecart_access_log common
</VirtualHost>

Save and close the file. Then enable the virtual host with the following command:

sudo a2ensite litecart.conf

Finally, restart the Apache service:

sudo systemctl restart apache2

Step 6: Accessing LiteCart web installation wizard

It’s time to access LiteCart’s web installation wizard.

Open your web browser and navigate to http://192.168.15.110. Populate the install fields with the details shown below.

  • Database Type : MySQL
  • Hostname : localhost
  • Database : litecartdb
  • Username : lcuser
  • Password : yourpassword
  • Table Prefix : lc_

  • Store Name : New Store

  • Store Email : [email protected]
  • Country : India
  • Time Zone : Asia/Kolkata

  • Folder Name : admin

  • Username : admin
  • Password : admin@123

Once you are done, click the Install Now button.

After the installation finishes, log into the LiteCart web interface with username admin and the password admin@123.

Congratulations! You have successfully installed LiteCart on your Ubuntu 16.04 server.

Want to contribute?

You could earn up to $300 by adding new articles

Submit your article
Suggest an update
Request an article
Previous Post

Gzip Compression On Apache And Nginx

Next Post

How to Use Docker: Creating Your First Docker Container

Next Post

How to Use Docker: Creating Your First Docker Container

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

No Result
View All Result

Recent Post

Install Imagemagick on CentOS
CentOS

Install Imagemagick on CentOS

by How VPS
June 28, 2023
0

This is how I installed Imagemagick on a vanilla CentOS server Start off by installing the prerequisites yum install php-pear...

Read more
how to Check phpinfo

How to Check phpinfo of Hosting or VPS?

June 28, 2023
Failed to download metadata for repo 'appstream' on Centos 8

How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

February 25, 2022
How to Fix MySQL Error "Plugin 'InnoDB' registration as a STORAGE ENGINE failed"?

How to Fix MySQL Error “Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed”?

November 17, 2020
How to optimize Mysql or MariaDB

How to optimize Mysql or MariaDB

November 3, 2020

Recent News

  • Install Imagemagick on CentOS
  • How to Check phpinfo of Hosting or VPS?
  • How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

Category

  • Arch
  • Authentication
  • Backups
  • BSD
  • Centmin Mod
  • CentOS
  • Control Panels
  • CoreOS
  • CWP
  • Debian
  • Directadmin
  • Encryption
  • Fedora
  • Firewalls
  • Hocvps Script
  • Hosting providers
  • Kloxo-MR
  • Linux
  • Mitigations
  • Operating System
  • Plesk
  • Reviews
  • Securing VPS/Servers
  • Security Patches
  • SSL Certificates
  • Uncategorized
  • Upgrading
  • VPS/Servers management guides
  • Vulnerability Detection
  • Web servers software
  • Webhosting Control Panel
  • About
  • Advertise
  • Careers
  • Contact

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Thabet