How to install magento2 extension over SSH?
Asked
Active
Viewed 1,884 times
2 Answers
3
- Connect to your magento webserver using ssh To do this, run the following command in the terminal and enter user password (please skip this step if youre installing expansion on the local machine):
ssh username@domain.com
- Change your current directory to Magento 2 web root directory
Run command:
cd /full_path_to_magento2
- Start setup process
Run command:
php bin/magento setup:upgrade
- Run the single-tenant compiler
Run Command:
php bin/magento setup:di:compile
- Deploy static view files
Run Command:
php bin/magento setup:static-content:deploy
- All done Now you can navigate to your magento 2 admin panel and start configuring your extension
Rahul Singh
- 1,650
- 2
- 19
- 40
1
You have to just run below command,
php bin/magento setup:upgrade
After run this command,
php bin/magento setup:static-content:deploy
Remove var folder.
Rakesh Jesadiya
- 42,221
- 18
- 132
- 183