网上下载的VCSA6.5,由于里面密码过期,所以安装是肯定会出问题的,具体解决办法如下:
1 密码重置失败password reset failed
是因为下载的非官方的包密码过期了,如果是Windows引导安装:
安装完虚拟机的时候就马上执行下面步骤,修改密码有效期即可。
重启vcsa,在引导界面(photon的图形界面)里按e编辑启动项
在consoleblank=0 后面添加rw init=/bin/bash,F10启动
进入命令行后,执行passwd -x 700 root,将密码有效期延长(chage -l root可查看到期时间,可把700写出2000等更长)
执行passwd修改root密码!最好修改成和你安装页面填写的密码一致
运行umount / 和reboot -f
2 IP配置失败
指定的ip配置不成功,可能会变成dhcp,只需要手工进去改了就行了
3 域名解析失败
So I got a response from vmware tech support on this, and the only thing that worked for me was this: Pause the install process right before phase 2. Open a console to the appliance, enable SSH On the appliance, echo "::1 localhost.localdom localhost" >> /etc/hosts Continue the installer and magically it works. This shouldn‘t really matter, but it does, so I figured I‘d let people see if it fixed their issues. Their first recommendation was basically most people‘s problem: forward and reverse DNS should work before you install. But if your DNS is happy and the appliance still hates life, it appears to also care about v6 lookups.
参考:https://www.opvizor.com/vcsa-6-5-reset-root-password
https://www.reddit.com/r/vmware/comments/7856fx/vcsa_65_cant_set_root_password/
https://community.spiceworks.com/topic/1995603-vcentre-6-5-appliance-install-problem
如果出现主机识别不了internal error等错误,是DNS没有配置的问题:
可以在第一步配置ip时设为dhcp先。