Install ShopWare6 on AWS linux2/Centos

Before installing (SW)ShopWare 6, you should take a quick look at the requirements to check if your local environment is capable of running it.

System Requirements

Operating System

Although Shopware 6 support most UNIX like environments Ubuntu 18.04/Centos7

Environment

NGINX

PHP

7.2 or higher

SQL

  • MySQL 5.7.21 or higher
  • MariaDB 10.3 or higher

JavaScript

  • Node.js 8.10.0 or higher
  • NPM 6.5.0 or higher

Recommendations

  • Zend Opcache (256M or more)
  • APCu (128M or more)
  • Webserver with HTTP2 support

Adminer (https://www.adminer.org/) is Shopware recommended database administration tool since it has better support for binary data types.

cd /var/www/html/

If you have error try to instar newer version of NPM

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash

=> Close and reopen your terminal to start using nvm or run the following to use it now:

export NVM_DIR=”$HOME/.nvm”
[ -s “$NVM_DIR/nvm.sh” ] && \. “$NVM_DIR/nvm.sh” # This loads nvm
[ -s “$NVM_DIR/bash_completion” ] && \. “$NVM_DIR/bash_completion” # This loads nvm bash_completionnvm install node

Installing ShopWare 6

# Choose your own directory
cd /var/www/html/
mkdir shopware
cd shopware
git clone https://github.com/shopware/development.git
cd development
git clone https://github.com/shopware/platform.git

Configuring Nginx for ShopWare 6

server {
listen 80;
#listen 443 ssl;

After that the setup is done. You can now access your Shopware 6 installation using the following urls:

Good article about Shop-Ware installation process

Testing our http://{yourdomain }/ site

Create an admin user:

sudo bin/console user:create -a -p admin123 — firstName ADmin — lastName Adminov — email admin@admin.com admin1

[OK] User “admin1” successfully created.

Admin is here {shopDomain}/admin

Image for post
Image for post

Written by

Magento/APP Cloud Architect. Melting metal server infrastructure into cloud solutions.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store