How to setup cs-cart on AWS

Updated 13 February 2023

You can host your own online store with ease using the straightforward and effective eCommerce platform known as CS-Cart.

However, it uses MariaDB/MySQL to store its data and is written in PHP.

Using the built-in online interface, you may sell products and simply manage product inventories. There is a free 30-day trial of CS-Cart, but there is no free version.

Many features are available with CS-Cart, including multi-store, integrated SEO, theme editor, layout editor, various payment systems, and many more.

It was created specifically for creating and maintaining a great shop of any size.

We will learn how to install CS-Cart on an Ubuntu 20.04 server in this guide. Let’s start the installation.

Requirements

  • OS – Ubuntu server 18.04 or higher
  • Database ServerMySQL version 4.1 or higher / MariaDB 5.5 or higher
  • Web server – Apache/Nginx
  • PHP – version 5.3 or higher

Step 1: Update & Upgrade The Apt Source List.

Step 2: Install LAMP Stack

Install Apache web server.

Database installation MySQL server

A database can be served from the local database server as well as through the AWS RDS.

Case 1: If you are using Local Database Server

Case 2: If you are using AWS RDS

Amazon RDS handles routine database tasks, such as provisioning, patching, backup, recovery, failure detection, and repair.

You do not need to worry about anything, everything is managed at the AWS end.

Firstly you have to launch an RDS and then configure it with your Ec2 instance.

Then, Install PHP using the Ondrej repository

Open the php.ini file and make the following changes once all the packages have been installed.

Do the mentioned changes in the file.

Save and close the file. Then restart the web server well as the database server.

Now, let’s move to the next part of configuring the database for the CS cart.

MySQL Configuration:

Please follow the instructions below if you are using a local database:

If it asks for the password, simply hit enter.

Follow the instructions below if you are using an AWS RDS:

Step 3: Install CS-cart

You should first download CS-Cart from their website in the most recent version. Click here to download.

When the download is successful, use the following command to extract the downloaded file:

Let’s create a directory with the name “cscart” inside the mentioned path below.

Now unzip the downloaded file in the previously created directory “cscart”.

Next, give permission and ownership to the files and directories.

Also, run the below-mentioned commands.

Let’s move to configure the web server for the SSL & domain configuration.

Step 4: Configuring Apache for the CS-Cart

We will use the default host file to host our CS cart. Use the below command to access the file.

Then, do the required changes in the file according to your domain name.

We also have to set up the SSL for the domain to get secure. Please click here to know how to get letsencrypt certificates.

Once the certs are applied to the domain. You have to mention the certs path in the default SSL file and edit the file accordingly.

Now open apache.conf file and edit the mentioned lines.

Then restart the web server.

Once all the above configurations are done. Do proceed with the CS-cart installation. Hit your domain in your favorite browser and click on install.

After clicking on the install button agree to the terms and conditions and click on the “next step” button.

Once you will click on the “next step” button, you will be redirected to the page where you have to fill in your database credentials and then click on the “Install” button.

CS-cart installation will be started and then it will ask you to select the licensing mode, then you have to select “Trail” and if you have a key proceed with the default selection by entering your license key.

Now, click on the “select” button.

Woohoo! You have successfully installed and configured the Cs-cart. Now you can create your online store easily.

Note: Now there are some recommended steps that we have to take to protect our current installation and the source code.

First, remove the “install” directory from the root path.

It’s also advised to change the file permission. To change, run the below commands.

To access the admin page and storefront. Use the below URLs with your domain.

If you find this blog helpful, Please give us your valuable time to provide us feedback for the same.

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 CS-Cart development services and quality CS-Cart Extensions.

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

Category(s) AWS CS-Cart ecommerce linux
author
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Start a Project




    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home