OpenCart is a free open source e-commerce software for a better shopping cart solution. It is written in PHP and uses MySQL to store data.
It is one of the most popular eCommerce software suitable for a small and medium online businesses. You can easily manage orders, products and categories using OpenCart. OpenCart provides thousands of themes and plugins and supports multi-currency.
In this tutorial, we will learn how to install OpenCart on Ubuntu 16.04 server.
A server running Ubuntu 16.04.
A normal user with sudo privileges setup on your server.
Update the System
Before installing any packages, it is recommended to update your system with the latest stable version. You can do this with the following command:
sudo apt-get update -ysudo apt-get upgrade -y
Once your system is up to date, you can proceed to install the Apache web server.
Install Apache Web Server
First, you will need to install the Apache web server on your system. You can easily install it by running the following command:
sudo apt-get install apache2 -y
Once apache is installed, start the Apache web server and enable it to start on boot with the following command:
Options Indexes FollowSymLinks
Allow from all
Require all granted
Save and close the file when you are finished, then enable the site with the following command:
sudo a2ensite opencart.conf
Finaly, restart Apache web server so that the changes take place:
sudo systemctl restart apache2
Once you are finished, you can proceed to access opencart web installation wizard.
Before accessing the OpenCart 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:
Here, accept the License agreement and click on Continue button, you should see the following page.
Here, the installer will check if your system meets all the requirements to install OpenCart. Once all the requirements satisfied. Click on Continue button, you should see the following page.
Here, provide all the required details like, database name, Username, Password, Admin Username and Password, then click on Continue button. Once the installation is completed, you should see the following page:
Here, click on LOGIN TO ADMINISTRATION button.
Provide your login credentials and click on Login button, you should see the OpenCart Dashboard as below:
Note: After installing OpenCart don't forget to to delete the install folder.
Congratulations! You have successfully installed OpenCarton Ubuntu 16.04 server. You can now easily create your own online store using OpenCart.
Truth be told, it’s difficult for a web application that doesn’t have some kind of identification, even if you don’t see it as a security measure in and of itself. The Internet is a kind of lawless land, and even on free services like Google’s, authentication ensures that abuses will...
Although data persistence is almost always a fundamental element of applications, Node.js has no native integration with databases. Everything is delegated to third-party libraries to be included manually, in addition to the standard APIs. Although MongoDB and other non-relational databases are the most common choice with Node because if you...