Once you have checked and met the system requirements of your web server from the last step, create an empty installation directory for Shopware 6.
Then you can download the Shopware 6 installer as a php file and move it into this installation directory. Also make sure that the unpacked files and directories have write permissions.
To install Shopware now call the php file previously stored in the Shopware directory in the web browser:
www.my-url.com/ShopwareFolder/shopware-installer.phar.php
The installation will now start.
You will then be guided through the installation wizard, where you can enter some information.
In the second step of the installation, the system requirements are checked to see if they are met. The arrowbuttons list the requirements, the folded out menu show which requirements are not met or which settings can be optimized.
In the next step you can read the license under which Shopware is licensed. In order to continue the installer, you must agree to the license terms.
In this step it is time to configure the database.
Under point (1) you define the server. In most cases the database is located on the same server, so you enter localhost or 127.0.0.1 here. Sometimes there are problems with the translation with the Unix socket, so you might prefer to enter an IP address, because it uses a TCP connection.
Under point (2) the user name of the database is entered.
Under point (3) the password of the database is entered.
Under point (4) the port of the database is entered.
Under point (5) the file path of the SSL certification authority (CA) is entered. It is important to enter an SSL certificate if an external database server is defined and this requires a secure connection.
Under point (6) the file path of the SSL certificate is entered.
Under point (7) the file path of the SSL certificate key is entered.
Under point (8) it can be defined whether a check of the certificate should take place. This is important in cases where, for example, self-signed SSL certificates are used that do not have an authorized certification authority.
Under point (9) the name of the database is entered.
Under point (10) you can create a database.
In this step the Shopware database is imported. Click on Start installation to initiate the database import.
The installation wizard will inform you that the installation is completed. Click next to proceed to the configuration.
In the last step you specify the basic settings for your shop:
Please bear in mind that the default language and the default currency cannot be changed at a later date.
The installation is now complete and the installer will automatically redirect you to the admin interface. To login use the admin user you have just created to set up your Shopware 6 shop.
Finally, note that you set the routing of your URL to the /public/ directory of your Shopware directory, as this is where the frontend is located that should be accessible to customers.