问题描述
我当时正在开发一个网络云应用,并使用nginx,Laravel,MySQL和PHP用微型实例(Ubuntu 14.4)设置了Google计算引擎.
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.
现在,我想使用此设置来设置PhpStorm IDE,以加快开发速度.
Now I want to setup my PhpStorm IDE with this setup to make development fast.
请帮助我解决这个问题.
Kindly help me with this thing.
推荐答案
要使用PHPStorm加快开发速度,请遵循以下步骤:
To make development faster with PHPStorm follow the steps below:
-
确保使用PuttyGen生成SSH密钥对(公共+专用).
Make sure you generate a SSH key-pair(public+private) with PuttyGen.
在SSH密钥部分的GCE中粘贴您的 public 密钥的内容.
Paste the contents of your public key in GCE in the SSH Key section.
当您转到GCE实例的编辑"菜单时,您可以找到该部分.
You can find that section when you go to Edit menu of your GCE instance.
-
转到PHPStorm并在工具/部署/配置"中输入远程主机的数据
Go to PHPStorm and enter data for your remote host in Tools/Deployment/Configuration
选择SFTP并浏览并在私人密钥文件"字段中输入您的私人密钥的路径.
Choose SFTP and browse and enter the path to your private key in "Private Key File" field.
现在测试您的连接并享受PHPStorm和GCP的快速部署
Now test your connection and enjoy rapid deployment with PHPStorm and GCP
这篇关于如何在运行LEMP的Google Compute Engine上使用PhpStorm设置远程项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!