Ubuntu云服务器映像的登录凭据 [英] Login credentials of Ubuntu Cloud server image

查看:379
本文介绍了Ubuntu云服务器映像的登录凭据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



在Openstack手册中,我们提到了此链接包含,Openstack预装。



我下载了 trusty-server-cloudimg-amd64-disk1.img 文件,我使用KVM加载它。我实例化了一个虚拟机使用这个图像,但我不能登录(使用控制台)或ssh到它。



我不知道该操作系统的默认用户名和密码。



解决方案

使用默认用户名对于ubuntu映像是 ubuntu

没有默认密码,您不能使用用户名/密码ssh到机器或通过VNC连接安慰。您必须对ssh使用公钥/私钥身份验证方法。此外, ubuntu 帐户的sudo升级无密码。



访问第一次虚拟机后,



关于您的第二个问题,

是的,您可以对多个虚拟机使用相同的映像。


I am trying to build a cloud infrastructure using VM's

In the Openstack manuals, it is mentioned that the images in this link contain, Openstack pre-installed.

I downloaded the trusty-server-cloudimg-amd64-disk1.img file and I loaded it using KVM. I instantiated a Virtual Machine using this image but I am not able to login (using the console) or ssh into it.

I do not know the default username and password of that OS.

Also (a different question), I would like to build a Cloud using the 2 Virtual Machines, is it possible to use the same image?

解决方案

The default username for ubuntu image is ubuntu.
There is not a default password, and you can not ssh to the machine using username / password or connect through the VNC console. You have to use public / private key authentication method with ssh. Also sudo elevation for ubuntu account is passwordless.

After accessing for the first time your virtual machine, you can change those settings and enable username / password authentication for ssh.

Regarding your second question,
Yes, you can use the same image for multiple virtual machine.

这篇关于Ubuntu云服务器映像的登录凭据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆