简体   繁体   English

为Google Compute Engine设置Cloud 9

[英]Setup Cloud 9 for Google Compute Engine

I am trying to access Compute Engine from Cloud 9, but I need the HOSTNAME and SSH keys for my server. 我正在尝试从Cloud 9访问Compute Engine,但是我需要服务器的HOSTNAME和SSH密钥。 How do I find them? 我如何找到他们?

Cloud nine needs node but has auto detect. 云九需要节点,但具有自动检测功能。 Initial Path and Port are optional, but I have no idea what to put. 初始路径和端口是可选的,但我不知道要输入什么。

You can go to www.whatismyip.com from the shell of your GCE machine to see your IP. 您可以从GCE机器的外壳访问www.whatismyip.com以查看您的IP。 You can use vi to edit ~/.ssh/authorized_keys and add your key there. 您可以使用vi编辑〜/ .ssh / authorized_keys并在其中添加密钥。 If you have node installed via a typical package manager, cloud9 should be able to find your node path. 如果您是通过典型的程序包管理器安装的节点,那么cloud9应该能够找到您的节点路径。 Initial path and port can be as they are. 初始路径和端口可以保持原样。

You can get your GCE instance's IP from the Google Developer Console: https://console.developers.google.com 您可以从Google Developer Console获取GCE实例的IP: https//console.developers.google.com

You want the External IP. 您需要外部 IP。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Google Cloud Compute Engine-Node.js无法正常工作 - Google Cloud Compute Engine - Nodejs not working Google Cloud Compute Engine API:直接使用setMetadata创建createVM - Google Cloud Compute Engine API: createVM directly with setMetadata 无法在 Compute Engine 中克隆 Google Cloud Repository - Can't clone Google Cloud Repository in Compute Engine 在Compute Engine上连接Redis时,Google Cloud App Engine标准环境节点JS连接超时 - Google Cloud App Engine Standard Environment Node JS connection timeout when connecting Redis on Compute Engine 来自 google 官方文档的 Google Cloud Speech to Text NodeJs 在 Google Compute Engine Linux 服务器上不起作用 - Google Cloud Speech to Text NodeJs that from google official document does not work on Google Compute Engine Linux Server 使用Firebase Cloud Functions中的Google Cloud Compute Engine REST API - Use the Google Cloud Compute Engine REST API from Firebase Cloud Functions 使用Google App Engine或Google Cloud Compute VM来测试“运行我的App”? - Use Google App Engine or Google Cloud Compute VM to Test Run My App? 带有nodejs的Google Compute Engine上的SSL - SSL on Google Compute Engine with nodejs 谷歌计算引擎外部IP - Google compute engine external ip 在 Google Compute Engine 上启用 Cors - Enable Cors on Google Compute Engine
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM