Installing Magento 2 Extension Over SSH (Terminal)

Installing Magento 2 Extension Over SSH (Terminal)
COMMENTS ()
Tweet

Hi guys,

In this tutorial I’ll show you how to install a Magento 2 extension using the SSH terminal.

Before installation (Prerequisite)

Before we begin the installation, you must first download the Magento 2 extension you want to install and then move those folders from the archive to your Magento 2 root directory. Once you’ve done that, just follow the steps below to install the Magento 2 extension.

1. Connect to your Magento Web Server using SSH

To do this, run the following command in the terminal and enter the username and password required (you can skip this step if you’re installing the extension on a local machine).

ssh [email protected]

 

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

To do that, just run the following command.

cd /full_path_to_magento2

 

3. Start setup process

Next, you need to run the setup process for the extension. To do that, just run the command given below.

php bin/magento setup:upgrade

 

4. Run the single-tenant compiler

To execute the single-tenant compiler, just run the below mentioned command.

php bin/magento setup:di:compile

 

5. Deploy static view files

After you’ve successfully run the compiler, you need to deploy the static view files. To do that, just run the command given below.

php bin/magento setup:static-content:deploy

 

6. You’re done

And that’s it. You can now navigate to your Magento 2 admin panel and start configuring your extension.Hope you found this post useful. If you have a Magento design, development or Magento customization requirement you would like to discuss (for Magento 1 or Magento 2) please get in touch with us. To learn more about our Magento development services, please visit https://folio3.com/magento-development

CALL

USA408 365 4638

VISIT

1301 Shoreway Road, Suite 160,

Belmont, CA 94002

Contact us

Whether you are a large enterprise looking to augment your teams with experts resources or an SME looking to scale your business or a startup looking to build something.
We are your digital growth partner.

Tel: +1 408 365 4638
Support: +1 (408) 512 1812