Wednesday, 19 April 2017

MAGENTO 2 EXTENSION INSTALLATION OVER SSH


Download extension and unzip the folder. Then move modules files to your Magento 2 root directory.

1. Connect to your magento webserver using ssh details

Run the following command in the terminal using user/password (please skip this step if you're installing expansion on the local machine) :

ssh user@domain.com

OR

ssh user@ipaddress

2. Change your current directory to Magento 2 web root directory

Command :
cd /full_path_to_magento2

3. Start setup process

Command :
php bin/magento setup:upgrade

4. Run the compiler command

Command :
php bin/magento setup:di:compile

5. Deploy static view files

Command :
php bin/magento setup:static-content:deploy


6) for reindexing
Command :
php bin/magento indexer:reindex


7) file permission change by ssh  *

find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;

chmod -R 777 pub
chmod -R 777 var

Thats all ..

Good luck.

about new GraphQL freature in Magento2

GraphQL: GraphQL is a data query language developed internally by Facebook in 2012 before being publicly released in 2015. Magento impleme...