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.
Looking for the right web hosting solution for your website can be an intimidating task. Options nowadays are more diversified than ever, and each year brings new developments in the web hosting market. If you have no clue of what to look out for, you can find yourself overwhelmed with...
Content marketing continues to be one of the most valuable tools for today’s online businesses. With content, you can improve your chances of reaching your target audience, boost your search engine standing, and even unlock new opportunities for sales. The more content you produce, the more you can strengthen your...
User Experience (UX) is one of the most crucial factors to consider in web design. As the number of websites and applications in the world today continues to accelerate, businesses are under more pressure than ever to impress customers straight away. If a user visits your website and finds slow-loading...