Shopware Community Edition is an open-source eCommerce platform. It enables businesses to create and run their own online stores. This tutorial will guide you through the process of installing Shopware CE on the latest version of OpenSUSE.
Before proceeding, ensure that you have the following:
Download the latest version of Shopware CE from the official website using the following command:
wget https://www.shopware.com/de/Download/redirect/version/sw6/file/install_6.4.4_1625098529.zip
Shopware CE requires several dependencies to be installed on your system. Install the required dependencies using the following commands:
zypper ar -cfp 90 https://download.opensuse.org/repositories/server:/php:/extensions/openSUSE_Leap_15.3/ php-extensions
zypper ref
zypper in -y apache2 mod_php7 php7 php7-mysql php7-json php7-iconv php7-gd php7-intl php7-zip php7-curl php7-dom php7-sodium php7-xmlwriter mariadb mariadb-client
Extract the downloaded Shopware CE package to your web server's root directory using the following command:
unzip install_6.4.4_1625098529.zip -d /srv/www/htdocs/
Create a database and a user for the Shopware CE installation using the following commands:
mysql -u root -p
mysql> CREATE DATABASE shopware;
mysql> GRANT ALL PRIVILEGES ON shopware.* TO 'shopware'@'localhost' IDENTIFIED BY 'password';
mysql> FLUSH PRIVILEGES;
mysql> EXIT;
Replace password
with your desired password.
Configure your web server to serve Shopware CE. For Apache, create a new virtual host file with the following contents:
<VirtualHost *:80>
ServerName your-domain.com
DocumentRoot /srv/www/htdocs/install_6.4.4_1625098529/public
ErrorLog /var/log/apache2/shopware_error.log
CustomLog /var/log/apache2/shopware_access.log combined
<Directory /srv/www/htdocs/install_6.4.4_1625098529/public>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Replace your-domain.com
with your domain name.
Run the Shopware CE installer by navigating to the following URL in your web browser:
http://your-domain.com/recovery/install/index.php
Follow the on-screen instructions to complete the installation process. When prompted for the database credentials, enter the following:
After completing the installation, you can log in to the Shopware CE administration dashboard by navigating to the following URL:
http://your-domain.com/admin
You have successfully installed Shopware Community Edition on the latest version of OpenSUSE. You can now start configuring your online store and adding products. For more information, refer to the official Shopware CE documentation.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!