Install Shopware 6

Read: https://websiteforstudents.com/install-shopware-on-ubuntu-16-04-18-04-with-apache2-mariadb-and-php-7-1/
https://docs.shopware.com/en/shopware-6-en/tutorials-and-faq/virtual-box-setup#configuration-of-apache

Download the software (community edition) on https://www.shopware.com/en/download/#shopware-6
Extract it on the web root in ‘shopware6’ directory

Create Apache2 Setting
CREATE A CONF

CONTENT

ENABLE THE VIRTUALHOST

RELOAD APACHE2

CREATE THE HOST

SET THE FILE PERMISSIONS & RELOAD APACHE2

OPEN IT ON YOUR BROWSER: http://shopware6.test/
For the first time, It’d be redirected to http://shopware6.test/recovery/install/index.php THEN Continue and Check if the server requirements are met. If not change php.ini file –> check it on http://localhost/phpinfo.php
it’s at /etc/php/7.4/apache2/php.ini

THEN CHANGE PHP7.4 APACHE2 SETTING:

CHANGE THE CONTENT:

THEN RESTART APACHE2 SERVICE:

CREATE A DATABASE ‘shopware6’ WITH utf8mb4_unicode_520_ci
CREATE A NEW ADMIN USER:
User: admin
Pass: Admin123

RESULT:
STORE URL: http://shopware6.test/
ADMIN URL: http://shopware6.test/admin#/

Magento 2.3.5 Install With Apache2

Download the code (with the sample data) at https://magento.com/tech-resources/download#archive-releases
Then extract it on your web directory

Create Apache2 Setting
CREATE A CONF

CONTENT

ENABLE THE VIRTUALHOST

RELOAD APACHE2

CREATE THE HOST

SET THE FILE PERMISSIONS & RELOAD APACHE2

THEN

ENABLE AND START ELASTICSEARCH SERVICE

OPEN IT ON YOUR BROWSER: http://magento235.test/
For the first time, It’d be redirected to http://magento235.test/setup/#/landing-install
CREATE A DATABASE ‘magento235’ WITH utf8mb4_unicode_520_ci

RESULT:
STORE URL: http://magento235.test/
ADMIN URL: http://magento235.test/admin_pgk0rv
User: advcha
Pass: M@gent0

SUCCESS!The admin page