Shopware 6.4 Installation

This article refers to Shopware 6 - 6.4. Please use the article for the installation of the current Shopware version 6.5.0: Shopware 6.5 Installation.


This article describes how Shopware 6 can be installed and configured on the Managed Shopware Server.

Prerequisites

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

Create website

A new website within Plesk is required for the installation of Shopware.

You can create a new website using the Add domain button. To do this, enter the desired domain under which the Shopware store should later be accessible.


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


Also specify the system user name that will later become the owner of the Shopware installation on the server.


Plesk Control Panel - Add new domain


Configure website

Shopware 6 expects a different document root directory compared to Shopware 5. The document root can be customized via the Hosting and DNSHosting tab.

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



Example: /httpdocs/public


To additionally 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 Let's Encrypt certificate.


Create 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 user name and the password for the new database user and confirm your entries by clicking the OK button.


Add MySQL database



Download installation package

Establish a connection to the server via SSH connection with root access.

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

For this procedure, we save the .zip file directly in 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/


Unzip the installation package

Unzip the installation package using the unzip command.

unzip install_v6.*


Once the installation package has been successfully unzipped, the user and group rights must be adjusted accordingly so that the web server has access to the files:


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


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


Once the installation package has been successfully unpacked and the user and group rights have been set, the installation package can be deleted using the rm command:


rm install_v6.*



Perform installation via web browser

The installation of Shopware 6 can now be carried out using a web browser. To do this, navigate to the domain that you used to create the website in the first step.


Shopware 6 Installation - Installation via web browser

Follow the instructions from the Shopware installer and use the previously created database access data for the database configuration step:


Shopware 6 Installation - Database Configuration


Shopware 6 Installation - Database Installation

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

Call up Shopware 6 Administration

Shopware 6 Administration can be accessed via the /admin directory. Navigate to your store domain and add the directory /admin. You can then log in to Shopware Administration with the previously configured login information.