Start a Project

How to Setup OpenCart On AWS

In this tutorial, we will learn how to install OpenCart on Ubuntu 20.04 LTS.

OpenCart is a popular shopping cart software that Polish developer Jakub Kucharski created in 2004. It allows you to create a store from scratch or improve an existing website.

It has a user-friendly interface and supports a variety of languages. OpenCart is free, open-source software available to download and use without charge.

Requirements to install OpenCart :

Step1:Install Apache WebServer

Start by updating the package manager cache. The sudo apt update command is used to download package information from all configured sources.

Apache2 is an open-source popular, powerful, reliable, and highly extensible web/HTTP server software used by numerous websites on the internet.

You can confirm that the Apache2 service is up and enabled on boot using the following systemctl command

Step2:Install PHP Latest

A general-purpose open-source scripting language, PHP is one of the most popular programming languages for web development.

It powers some of the most popular websites and web applications in the world.

Step3:Install MySQL and Create Database

Case 1: If you are using Local Database Server

Now that you have a web server up and running, you need to install the database system to be able to store and manage data for your site.

MySQL is a popular database management system used within PHP environments.

To access the MySQL shell, run the mysql command with the -u option with sudo. If you do not use the sudo command, you are bound to encounter the error indicated in the following screenshot.

Case 2: If you are using AWS RDS

Step4:Download Opencart Latest Version 4.0.1.1

Then unzip the downloaded file.

After unzipping the downloaded file, you will get the upload directory, and move them in /var/www/html

After Moving the upload directory Files in /var/www/html rename the config.dist.php file in config.php then go to the admin directory and change here also config.dist.php name as config.php

Let’s set the directory permissions accordingly:

Next, go to http://yourdomain.com or IP address to complete the installation

Please read the OpenCart license agreement then Click Next

Pre-Installation

Configuration for Database Connection Details then Click Continue.

Case 1: If you are using Local Database Server

Case 2: If you are using AWS RDS

Once the installation is completed, you will see this window.

For configuring the Free Self-signed certificates from let’s encrypt, Please click on this link

Conclusion

In this tutorial, you have learned to install OpenCart on Ubuntu Server. we’ve covered the most essential aspects you need to know about installing and setting up an OpenCart site.

Need Support?

Thank You for reading this Blog!

For further more interesting blogs, keep in touch with us. If you need any kind of support, simply raise a ticket at https://webkul.uvdesk.com/en/.

You may also visit our Prestashop development services and quality Prestashop Addons.

For further help or query, please contact us or raise a ticket.

Exit mobile version