Shopware 6.4 Installation

This article applies to Shopware 6–6.4. To install the latest Shopware version 6.5.0, please refer to the article: Shopware 6.5 Installation.


This article describes how to install and configure Shopware 6 on the Managed Shopware Server.

Prerequisites

  • Active Managed Shopware Server
  • SSH root access
  • Plesk Control Panel access

Create a Website

To install Shopware, you need to create a new website within Plesk.

You can create a new website by clicking the Add Domain button. Enter the desired domain name under which the Shopware store will later be accessible.


If you do not yet have your own domain, you can use the Shopware server’s working domain. This follows the syntax: sXXXX.creoline.cloud. Replace the prefix with your server ID.


Also, specify the system username that will later become the owner of the Shopware installation on the server.



Configure the Website

Shopware 6 expects a different document root directory than Shopware 5. The document root can be adjusted via the Hosting and DNSHosting tab.

Also enter the subdirectory /public here so that the document root includes both the main directory and the public directory.



Example: /httpdocs/public


To further secure your website via SSL/TLS, you can set up a free Let’s Encrypt certificate. You can find step-by-step instructions in the Help Center article Set Up a Let’s Encrypt Certificate.


Create a Database

The next step is to create a MySQL database for Shopware. You can create a new database via the menu items DatabasesAdd Database.




Enter the desired database name, the database username, and the password for the new database user, then confirm your entries by clicking the OK button.




Download the Installation Package

Connect to the server via SSH with root access.

Download the latest version of Shopware 6 from the official Shopware website.

For this procedure, we’ll save the .zip file directly to the appropriate location.

cd /var/www/vhosts/ServerName/httpdocs/
wget https://releases.shopware.com/sw6/install_v6.4.20.0_52e67425204f8bec1d1c67608f82008710f7611b.zip

Current version: https://www.shopware.com/de/download/


Extract the installation package

Extract the installation package using the unzip command.

unzip install_v6.*


After the installation package has been successfully extracted, the user and group permissions must be adjusted accordingly so that the web server has access to the files:


chown -R systembenutzer:psacln *
chown -R systembenutzer:psacln .htaccess


Important Use the correct system user that you specified when creating the website.


After the installation package has been successfully extracted and the user and group permissions have been set, the installation package can be deleted using the rm command:


rm install_v6.*



Perform Installation via Web Browser

You can now install Shopware 6 using a web browser. To do this, navigate to the domain you used in the first step to create the website.


Follow the instructions in the Shopware installer and use the database credentials you created earlier for the database configuration step:



Once the database has been successfully imported, you can configure the store’s master data and set up the first Shopware administrator.

Accessing the Shopware 6 Administration

The Shopware 6 Administration can be accessed via the /admin directory. Navigate to your store’s domain and append the /admin directory. You can then log in to the Shopware Administration using the login credentials you configured earlier.