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.
If you find your cPanel disk space filling up, or an email address has hit its disk space quota, cPanel has a helpful built in Email Disk Usage tool. This will provide you with a simple to understand breakdown of how much disk space each folder for a particular email...
Although WHM will normally automatically keep itself up to date, you may want to manually check for server updates / push through an update that is pending, or it may be that you have automatic updates switched off on your cPanel server. In this guide we will show you how...
You may sometimes need to manually adjust the PHP settings on your cPanel server – for example if a site is hitting the PHP memory, or file size upload limit. WHM allows you to quickly change the settings of any PHP version installed on the server when needed, using the...