With the help of open stack commands I have made instance in HP cloud. After creating instance and associating with floating IP when I try to run lamp commands on instance means try to install mysql, apache etc on instance then I am getting error
在open stack命令的帮助下,我在HP云中创建了实例。在我尝试在实例上运行灯命令时创建实例并与浮动IP关联意味着尝试在实例上安装mysql,apache等然后我收到错误
unable to resolve host "instance_name"
I have implemented commands from following link.
我已经从以下链接实现了命令。
http://docs.openstack.org/cli-reference/content/novaclient_commands.html
and Link of HP account https://horizon.hpcloud.com/
和HP帐户的链接https://horizon.hpcloud.com/
what can be the error and possible solutions?
什么可能是错误和可能的解决方案?
1 个解决方案
#1
0
edit
编辑
/etc/hosts
/ etc / hosts文件
append:
附加:
127.0.0.1 <instance name>
#1
0
edit
编辑
/etc/hosts
/ etc / hosts文件
append:
附加:
127.0.0.1 <instance name>