How to Install Shopware on Debian 10

Install Shopware on Debian 10

In this article, we will have explained the necessary steps to install and configure Shopware on Debian 10. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

Shopware is a free and open-source e-commerce application. As an alternative to another e-commerce application, like Magento, Shopware is a complete e-commerce solution it is a very powerful and flexible application. However, it is not entirely free, but has a community version that we can use for our small business or just to test.

Install Shopware on Debian

Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.

Step 2. Install LAMP on Debian Linux.

Shopware is a web application. Therefore it requires a LAMP server installed on the server. So, installing LAMP on Debian system is the first step in this tutorial. Read our post about it.

Step 3. Install Shopware on Debian.

First, download the latest release of Shopware:

Next, create a folder for Shopware:

Then, return to the previous directory and move the Shopware folder to the Apache root directory:

Change the owner and set the correct permissions for these files, you need to run the following command:

Step 4. Configure the Database.

Next, we need to create a new database. To do this, log in to your MariaDB database server as the root user by typing the following command:

Once you are signed in, create a new database and user:

Step 5. Configure Apache.

We have to make a new virtual host for Shopware. To create a new file for this and add the following:

Reload your Apache server in order to activate the new configuration:

Step 6. Accessing Shopware Installation.

Now open your favorite web browser and go to http://your-server/ or to start the Shopware installation wizard.

Congratulation, you have learned how to install and configure Shopware on Debian 10 Buster. If you have any question, please leave a comment below.