How VPS - How to use/setup VPS
  • 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
60
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 [email protected] 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 : [email protected]

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 [email protected].

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
How VPS

How VPS

Related Posts

How to Install Apache Tomcat 8 on CentOS 7
Linux

How to Install Apache Tomcat 8 on CentOS 7?

February 11, 2020
Linux

Setup IonCube Loader on Ubuntu 14

January 1, 2020
Linux

Converting from MySQL to MariaDB on Ubuntu

January 1, 2020
Next Post

How to Use Docker: Creating Your First Docker Container

ServerPilot on Vultr

How to Install Ajenti and Ajenti V on Ubuntu 14.04 and 16.04

Leave a Reply Cancel reply

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

Follow Us

  • 121 Followers
  • 87.2k Followers

Recommended

Configure Apache With TLS/SSL Certificate on Ubuntu 18

4 years ago

Installing Fuel CMS on CentOS 7

3 years ago

Setup Gogs on Debian 9 or Ubuntu 16.04

3 years ago

How to Use 8 Useful ‘Debian Goodies Utilities’ to Manage Debian Packages

4 years ago

Instagram

    Please install/update and activate JNews Instagram plugin.

Categories

  • 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

Topics

Apache Web Server Bluehost Review 2019 Bluehost Review 2020 Bluehost Review 2021 Centmin Mod CentminMod centos install htop fsck htop install HTTP DoS attack Install Snort on an Ubuntu install Zabbix on CentOS install Zabbix on CentOS 7 Linux Commands linux guide linux install htop linux vps setup guide MariaDB MariaDB Error Mysql mysqld error optimize MariaDB optimize Mysql snort Ubuntu
No Result
View All Result

Highlights

Top Free Web Hosting Control Panels To Manage VPS/Dedicated Servers

Webmin Reviews

Virtualmin Reviews

CentOS Web Panel Reviews

Ajenti Reviews

ISPConfig Reviews

Trending

Failed to download metadata for repo 'appstream' on Centos 8
CentOS

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

by How VPS
February 25, 2022
0

I tried to update some extensions by use yum on centOs which I specified in Dockerfile. After...

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
Top Free Web Hosting Control Panels To Manage VPS/Dedicated Servers

Top Free Web Hosting Control Panels To Manage VPS/Dedicated Servers

February 17, 2020
Webmin Reviews

Webmin Reviews

February 17, 2020
How VPS – How to use/setup VPS

We bring you the best Premium WordPress Themes that perfect for news, magazine, personal blog, etc. Visit our landing page to see all features & demos.
LEARN MORE »

Recent News

  • 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”? November 17, 2020
  • How to optimize Mysql or MariaDB November 3, 2020

Categories

  • 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

[mc4wp_form]

© 2018 JNews - City News Magazine WordPress theme. All rights belong to their respective owners.
JNews is a top selling 2018 WordPress News, Blog, Newspaper & Magazine Theme.

No Result
View All Result
  • Home

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