Firstly, please note that:
a) Your domain must be pointed to the following folder:
<magento-root-directory>/pub/
b) ElasticSearch service must be available in your host (or in a remote host). View detail.
Besides, you can read the system requirements of Magento for more details.
Extract the file flex-market-m2-v0.x.x-quick-start.zip into your Magento root directory. You will see the two following files:
<magento-root-directory>/db/step_1_schema.sql <magento-root-directory>/db/step_2_data.sql
Open MySQL, create a new database (e.g.: flexmarket_m2) and one by one import 2 files above to this database:
Log in to your store via SSH/CLI and navigate to the root of your store.
Run the following commands (please adjust the parameters in advance so that they match your website information):
php bin/magento setup:install \
--base-url=http://mystore.com \
--db-host=localhost \
--db-name=flexmarket_m2 \
--db-user=magento \
--db-password=magento \
--admin-firstname=admin \
--admin-lastname=admin \
[email protected] \
--admin-user=admin \
--admin-password=admin123 \
--language=en_US \
--currency=USD \
--timezone=America/Chicago \
--use-rewrites=1
You can customize the Admin URI with the --backend-frontname option. However, we recommend omitting this option and allowing the installation command to automatically generate a random URI. A random URI is harder for hackers or malicious software to exploit. The URI displays in your console when installation is complete.