运行可下载的 CloudFoundry 实例时,如何检索 IP 地址?
我已经下载了 Micro Cloud Foundry v1.1.0 实例,并按照此处提供的说明将其配置为离线工作:http://blog.cloudfoundry.com/post/9962996319/working-offline-with-micro-cloud-foundry
但是,当我准备好设置 SSH 隧道时(我之前成功过一次) )我再也找不到IP地址了。根据说明,它应该显示在显示“IP 地址:(网络启动)”的位置,但它不再显示。
有其他方法可以让我获取实例的 IP 地址吗?
I have downloaded the Micro Cloud Foundry v1.1.0 instance and am configuring it to work offline per the instructions available here: http://blog.cloudfoundry.com/post/9962996319/working-offline-with-micro-cloud-foundry
However when I get ready to setup the SSH Tunnel (which I was successful with once before) I can't find the IP address anymore. According to the instructions it is supposed to be displayed where it shows "IP Address: (network up)" but it no longer is displaying.
Any idea on another way for me to get the IP Address of the instance?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否尝试过菜单选项 1,
刷新控制台
来查看它是否出现?或者菜单选项 8,重新启动网络
?您还应该能够登录 Ubuntu 控制台并查看网络信息。按
Alt-F2
切换到登录提示。对于用户名,输入vcap
并输入您首次启动和配置 Micro Cloud Foundry VM 时提供的密码。登录后,运行命令ifconfig
查看网络和 IP 信息。最后一件事:确认您的虚拟机网卡设置为 NAT 模式而不是桥接模式。如果更改,请务必重新启动虚拟机才能生效。
Did you try menu option 1,
refresh console
to see if it comes up? Or menu option 8,restart network
?You should be able to also login to the Ubuntu console and see networking information. Press
Alt-F2
to switch to a login prompt. For the username entervcap
and enter the password you gave when you first booted and configured the Micro Cloud Foundry VM. After you've logged in, run the commandifconfig
to view network and IP information.One last thing: confirm your VM NIC is set to NAT mode rather than Bridged. If you change it, be sure to reboot the VM for it to take effect.