How to install Magento2 using Command Prompt in Ubuntu 17.0.4

How to install Magento2 using Command Prompt in Ubuntu 17.0.4

install Magento2 using Command Prompt in Ubuntu 17.0.4

 

Magento2  is a powerful,highly,scalable and highly customizable e-commerce platform that can be used to build web shops and,if needed,some non-e-commerce sites.Its provide a large number of e-commerce features out of the box.

A high-level overview of Magento2 is provided in the following section:-

  • The technology stack
  • The architectural layers
  • The top-level file system structure
  • The module file system structure

Magento2 software is install in the /var/www/html/magento2 directory,means your storefront URL is

https://www.sumitbera.com/magento2/

Step1:-The database server is on the same host as the web server.

Step2: –Open the https://www.sumitbera.com/phpmyadmin/ and create the database name .

Step3:-Username is root and password is mine12345.

Step4:-The Magento2 administrator has the following properties:

  • Admin-firstname and admin-lastname are mine and  user.
  • Admin and password for login admin panel are admin and admin123
  • E-mail address is mine [email protected].
  • Default language is en_US (U.S. English)
  • Default currency is U.S. dollars
  • Default time zone is U.S. Central (America/Chicago)

Step5:-Go to magento2 folder or project where  paste that.Right click on it and open Terminal and

paste folllowing code:-

php -d memory_limit=10G bin/magento2 setup:install --base-url=https://www.sumitbera.com/magento2/
 --db-host=localhost --db-name=demomagento2_db --db-user=root --db-password=mine12345 
--admin-firstname=Mine --admin-lastname=User [email protected] 
--admin-user=mine --admin-password=mine123 --language=en_US --currency=USD -
-timezone=America/Chicago --use-rewrites=1

As the following format:-

php -d memory_limit=10G   bin/magento setup:install --base-url=<website url> 
--db-host=localhost --db-name=<database name> --db-user=<username>  paste
--db-password=<database password> --admin-firstname=<define first name> 
--admin-lastname=<define lastname> --admin-email=<your email> 
--admin-user=< defineusername> --admin-password=<define password> 
--language=en_US --currency=USD --timezone=America/Chicago --use-rewrites=1

 

 

Total Page Visits: 4676 - Today Page Visits: 1

Leave a Reply