Step 1: Decompress theme package, we will get the folder “Quick Start Files”. In the folder we get a sub folder (ex: magento 2.0.x or magento 2.1.x). At here we use 2.1.x
The theme quickstart package we will have there files and folders as this:
Step 2: Create new database and import the file “Quickstart Files/magento 2.1.0/database_magento210.sql or /database.sql” into the database which you just created.
Step 3: Upload and decompress the file [THEME]_magento210_quickstart.zip into webroot folder of your site.
Step 4: Go to site url in web browser. Setup steps by steps. In setup config database we input the database name which you created and imported sql file on step 2.
Or you setup via SSH command:
php bin/magento setup:install --base-url=http://yourdomain.com/ \ --db-host=localhost --db-name=magento_database_name --db-user=database_username --db-password=database_password \ --admin-firstname=Magento --admin-lastname=User [email protected] \ --admin-user=admin123 --admin-password=admin123 --language=en_US \ --currency=USD --use-rewrites=1 --backend-frontname=myadmin
–base-url: is your site domain which you want to setup
–db-name: is database name which you created and imported sample database
–db-user: is database user name to connect to the database server
— db-password: is database password of –db-user
–admin-email: is email of admin
–admin-user: is admin user name which you want to create
–admin-password: is admin password
–backend-frontname: is admin route which you want to make for your site. For example: http://yourdomain.com/myadmin
More information about setup via command you can view at here: http://devdocs.magento.com/guides/v2.0/install-gde/install/cli/install-cli-install.html
Note: If you have problem when run setup quickstart (maybe 500 error). Because the files and folders in your server are having wrong permission. We should change permission for them. Try to use ssh commands:
chmod -R 0777 pub/ var/ app/etc/
chmod -R 0777 pub/ var/ app/etc/ chmod -R 0755 index.php setup/