How can i setup remote project with PhpStorm with Google Compute Engine running LEMP?

别说谁变了你拦得住时间么 提交于 2019-12-25 08:47:19

问题


I was working on a web cloud app and setup Google compute Engine with micro instance (Ubuntu 14.4) with nginx, Laravel, MySQL and PHP.

Now I want to setup my PhpStorm IDE with this setup to make development fast.

Kindly help me with this thing.


回答1:


To make development faster with PHPStorm follow the steps below:

  1. Make sure you generate a SSH key-pair(public+private) with PuttyGen.

  2. Paste the contents of your public key in GCE in the SSH Key section.

You can find that section when you go to Edit menu of your GCE instance.

  1. Go to PHPStorm and enter data for your remote host in Tools/Deployment/Configuration

  2. Choose SFTP and browse and enter the path to your private key in "Private Key File" field.

Now test your connection and enjoy rapid deployment with PHPStorm and GCP



来源:https://stackoverflow.com/questions/46389911/how-can-i-setup-remote-project-with-phpstorm-with-google-compute-engine-running

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!