cd \/var\/www\/shopware\r\nwget\u00a0https:\/\/releases.shopware.com\/install_5.5.7_f785facc70e39f2ca4292e78739457417f19fbcf.zip?_ga=2.110917381.1678735926.1552879434-1860898197.1552787146 -O shopware.zip<\/pre>\nTo extract the file, execute the following command:<\/p>\n
sudo unzip shopware.zip<\/pre>\nThe owner of these files needs to be the user of the web server running on your system. In our example, we are using the Apache web server and Apache runs under the \u201cwww-data<\/strong>\u201d user on Debian.\u00a0 To change the owner and set the correct permissions for these files, you need to run the following command:<\/p>\nsudo chown -R www-data:www-data \/var\/www\/shopware\/<\/pre>\n<\/span>Step 6: Configure the Database<\/span><\/h2>\nNext, 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:<\/p>\n
sudo mariadb -u root -p<\/pre>\nThen enter the password you made for your MariaDB user. Once you are signed in, create a new database and user by running the following commands on the MariaDB shell:<\/p>\n
CREATE DATABASE shopware<\/span>;\r\nCREATE USER shopware<\/span>@localhost IDENTIFIED BY 'strong-password<\/span>';\r\nGRANT ALL PRIVILEGES ON shopware<\/span>.* TO shopware<\/span>@localhost;\r\nFLUSH PRIVILEGES;<\/pre>\nMake sure to replace\u00a0strong-password<\/span> with an actual strong password.<\/p>\nTo exit the MariaDB database server command line, type:<\/p>\n
exit<\/pre>\n