Once all of them are installed, you can proceed to install MySQL server.
Install and Configure MySQL
LiteCart store it's data in MySQL. So you will need to install MySQL on your server. You can install it by running the following command:
sudo apt-get install mysql-server mysql-client -y
Once MySQL is installed, start mysql service and enable it to start on boot time with the following command:
sudo systemctl start mysqlsudo systemctl enable mysql
By default, MySQL installation is not secured, so you will need to secure it first. Next, you will also need to secure your MySQL installation. You can do this by running mysql_secure_installation script:
Answer all the questions as shown below:
Set root password? [Y/n] n
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 MySQL is secured, log in to the MySQL shell and create a database for LiteCart:
mysql -u root -p
Enter your root password when prompt, then create a database for LiteCart. It is recommended to set secure password:
Next, enable your virtual host with the following command:
sudo a2ensite litecart.conf
Finally, restart Nginx for the changes to take effect:
sudo systemctl restart nginx
Once you are done, you can proceed to the next step.
Access LiteCart Web Interface
Before accessing the LiteCart Web Interface, you will need to allow HTTP service through UFW firewall.
By default UFW is disabled on your system, so you need to enable it first.
You can enable it with the following command:
sudo ufw enable
Once UFW firewall is enabled, you can allow HTTP service by running the following command:
sudo ufw allow http
You can now check the status of UFW firewall by running the following command:
sudo ufw status
Next, Open your web browser and type the URL http://yourdomain.com, you should see the following page:
Make sure all the system requirements are fulfilled, then click on the Next button you should see the following page:
Here, provide all the information like, database name, database username, password, store name, admin username and password, then click on the Next button, you should see the following installation completed message:
Finally, click on administratio are button, you should see the LiteCart login page in following image:
Here, provide your admin credential and click on Login button, you should see the LiteCart Default dashboard in below image:
Congratulations! You have successfully installed LiteCart on your Ubuntu 16.04 server.
Facebook0TwitterReddit0StumbleUpon0 Do you need to increase the memory limit in WordPress? Getting an error about memory Exhausted? The memory limit is one of the most common WordPress errors as the default limit of memory in WordPress is only set to 64mb! But there’s good news! The Memory Exhausted error is...
Facebook0TwitterReddit0StumbleUpon0 A vulnerability has been discovered in the “All In One WordPress Migration” WordPress plugin. All versions earlier than, and including 6.97 contain a vulnerability which allows Cross-Site Scripting (XSS).With over 2 million active installations, this vulnerability has the potential to be high impact, however, this is lessened by the...
Facebook0TwitterReddit0StumbleUpon0HostPresto will be launching a European point of presence in the coming weeks, specifically in Amsterdam. For customers needing their data located within the EU still please contact support to request migration to this location with ticket subject ‘EU Migration’. We will ensure this is actioned well before the Brexit...