zoukankan      html  css  js  c++  java
  • 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.
  • 相关阅读:
    多表代换密码
    仿射变换
    LeetCode实战练习题目
    13.线性同余方程 扩展欧几里得算法
    12.扩展欧几里得算法
    11.快速幂求逆元
    10.快速幂
    9.筛法求欧拉函数
    8.欧拉函数
    7.最大公约数 欧几里得算法,也叫辗转相除法
  • 原文地址:https://www.cnblogs.com/martin001/p/10016477.html
Copyright © 2011-2022 走看看