• VSphere随笔


    今天重新安装VCSA,安装多次一直卡在80%的画面不动,显示正在安装RPM包,同时log日志显示“Failed to authenticate with the guest operating system using the supplied ”,登录控制台查看VCSA服务器进度发现root密码没有被设置,手工修改密码也是失败。经过网上查看资料,发现VCSA的安装盘是有过期日的,因为盘内老的root密码已经过期,所以root账户过期后,安装程序在执行过程中将无法按照用户的预设值去修改原系统默认的root密码。

    鉴于此情况,所以尝试了在80%界面去修改root密码,VCSA修改root密码可在系统启动时完成(可参看如下指引),修改完root密码并重启生效后,VCSA的安装界面便可以开始往后面继续执行了,直到完成VCSA安装时的第二部分配置。

    如下是VCSA的root密码修改方法:

    To reset the lost forgotten root password in vCenter Server Appliance 6.5:

      1. Take a snapshot or backup of the vCenter Server Appliance 6.5 before proceeding. Do not skip this step.
      2. Reboot the vCenter Server Appliance 6.5.
      3. After the OS starts, press key “e” to enter the GNU GRUB Edit Menu.
      4. Locate the line that begins with the word Linux.
      5. Append these entries to the end of the line:

        rw init=/bin/bash

        The line should look like the following screenshot:


         
      6. Press F10 to continue booting.
      7. Run the mount -o remount,rw / command.
      8. In the Command prompt, enter the command passwd and provide a new root password (twice for confirmation):

        passwd
         
      9. Unmount the filesystem by running this command:

        umount /
         
      10. Reboot the vCenter Server Appliance 6.5 by running this command:

        reboot -f
         
      11. Confirm that you can access the vCenter Server Appliance 6.5 using the new root password.
      12. Remove the snapshot taken in Step 1 if applicable.
  • 相关阅读:
    基于vite2的react脚手架
    基于react hooks,zarm组件库配置开发h5表单页面
    IDEA远程debug
    test wizdeploy
    使用python完成接口自动化
    测试左移和测试右移
    性能测试监控
    网络基础面试题
    (案例8)java性能定位
    Jmeter分布式测试
  • 原文地址:https://www.cnblogs.com/martin001/p/10016477.html
Copyright © 2020-2023  润新知