Skip to main content

Shopware

On this site, you find a guide to install Shopware on CloudPanel.

Creating a Shopware Site#

Via CloudPanel#

  1. Click on + Add Site and then click on Create a PHP Site.
Create a PHP Site
  1. Select the Application Shopware 6, enter Domain Name, Site User, Site User Password, and click on Create.
Create a Shopware Site

Via CloudPanel CLI#

If you like the command line, you can create a Shopware Site with the following command as root user.

clpctl site:add:php --domainName=www.domain.com --phpVersion=8.0 --vhostTemplate='Shopware 6' --siteUser='john-doe' --siteUserPassword='!secretPassword!'

Creating a Shopware Project#

  1. Log in via SSH with the Site User:
ssh john-doe@server-ip-address
  1. Go to the tmp directory:
cd ~/tmp
  1. Download and extract the latest Shopware 6 version.
curl -sLo shopware6.zip https://www.shopware.com/en/Download/redirect/version/sw6/file/install_v6.4.11.1_4acac2b5012d6a03377ae5881590aec8cda0196b.zip && unzip shopware6.zip -d shopware6
Latest Version

You find the latest version on github: https://www.shopware.com/en/download/#shopware-6

  1. Copy files to the root directory of your site:
cp -R shopware6/*  ~/htdocs/www.domain.com/
  1. Clean up the tmp directory.
rm -rf ~/tmp/*
  1. Ensure to have a valid TLS Certificate installed for your domain.
  2. Create a Database, open your site in the browser, and go through the Shopware Installer.
Shopware Installer
  1. Done! Shopware is now installed.
Shopware Installed