Shopware 5 Installation
This article describes how to install and configure Shopware 5 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 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
If you’d also like to 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 Databases → Add 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
Establish an SSH connection to the server with root access.
Download the latest version of Shopware 5 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/ rm -r * wget https://www.shopware.com/en/Download/redirect/version/sw5/file/install_5.7.3_57ecb555210b5c8d19c787a9624206dc3edd4d04.zip Unzip the installation package
Unzip the installation package using the unzip command.
unzip install_5.7.3_57ecb555210b5c8d19c787a9624206dc3edd4d04.zip 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 system_user:psacln *
chown -R system_user:psacln .htaccess
chown -R system_user:psacln .git-blame-ignore-revs
chown -R system_user:psacln .htaccess
chown -R system_user:psacln .php-cs-fixer.php 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_5.7.3_57ecb555210b5c8d19c787a9624206dc3edd4d04.zip Perform Installation via Web Browser
You can now install Shopware 5 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 5 Backend
The Shopware 5 backend can be accessed via the /backend directory. Navigate to your store’s domain and append the /backend directory. You can then log in to the Shopware backend using the login credentials you configured earlier.