Install Magento 2 using Manually and Command line

How to Install the Magento 2 using manually and command line




First we manually install Magento 2 :- 



2. Download your magento version from the Magento Official website.



3. In xampp folder xampp/htdocs and create magento directory.



4. Open your XAMPP Control Panel and start the mysql and apache.




5.Moving forward to Magento installation on XAMPP server, go to phpMyAdmin and create a database with the name magento2.



6. Open the web browser and explore localhost/magento. Click on Agree and Setup Magento.


7. Implement the first step on installation “Readiness Check” as shown below and click “Next“.
8. You showing some error and solve this type ;extension=sockets chnage extension=sockets remove the semicolum.

And After you chnage the php.ini file and restart the apache and mysql.




9. In the “Add Database” step, enter the database details such as server host, username, password, name and click “Next“. as shown in the figure.


10. In “Web Configuration” step, enter the store and Magento admin address. Click “Next



11. In the “Customize Your Store” step, enter the details such as time zone, currency, language and click “Next

12. In the “Create Account ” step, configure the username, email, and password. Click “Next


13. Finally, the “Install” step, hit “Install Now




14. The process may take a while and Please wait for end process success.

15. Check the success message such as: 



16. And run the your url your browser like :- 

 Frontend URL :- localhost/mage/

Backend URL:- localhost/mage/admin/

And Second Install magento 2 using command line :- 

1.  Download your magento version from the Magento Official website

2. Open the your command line and go to your magento root.

3.  And Finally, run this command :- 

php bin/magento setup:install --base-url=http://localhost/magento/ --db-host=localhost --db-name=magento --db-user=admin --db-password="" --admin-firstname=Magento --admin-lastname=User --admin-email=admin@gmail.com --admin-user=admin --admin-password=admin@123 --language=en_US --currency=USD --timezone=America/Chicago --use-rewrites=1


Thanks.

Comments