LINUX910 CENTOS8 新建虚拟机;重设root密码/时间同步

发布于:2025-09-12 ⋅ 阅读:(23) ⋅ 点赞:(0)

问题

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
虚拟机系统的最大磁盘大小会占用真机内存吗
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

[root@localhost ~]# ntp.date.ntp.orf
bash: ntp.date.ntp.orf: 未找到命令...
[root@localhost ~]# ntp.date.ntp.org
bash: ntp.date.ntp.org: 未找到命令...
[root@localhost ~]# 
[root@localhost ~]# yum install ntpdate
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
上次元数据过期检查:1:40:27 前,执行于 2025年09月10日 星期三 17时18分40秒。
No match for argument: ntpdate
错误:没有任何匹配: ntpdate
[root@localhost ~]# 
[root@localhost ~]# yum install epel-release -y
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
上次元数据过期检查:1:42:30 前,执行于 2025年09月10日 星期三 17时18分40秒。
No match for argument: epel-release
错误:没有任何匹配: epel-release
[root@localhost ~]# 

[root@localhost ~]# yum install chrony 
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
上次元数据过期检查:1:45:10 前,执行于 2025年09月10日 星期三 17时18分40秒。
软件包 chrony-3.5-1.el8.x86_64 已安装。
依赖关系解决。
无需任何处理。
完毕!
[root@localhost ~]# systmctl enable --now chronyd
bash: systmctl: 未找到命令...
[root@localhost ~]# systemctl enable --now chronyd
Created symlink /etc/systemd/system/multi-user.target.wants/chronyd.service → /usr/lib/systemd/system/chronyd.service.
[root@localhost ~]# chronyc sources
210 Number of sources = 4
MS Name/IP address         Stratum Poll Reach LastRx Last sample               
===============================================================================
^* 119.28.206.193                2   6    17     0  -1188us[-4588us] +/-   57ms
^? tick.ntp.infomaniak.ch        1   6     1     4  +3865us[ +19.6s] +/-  113ms
^- time.cloudflare.com           3   6    17     1  +3029us[+3029us] +/-  113ms
^+ time.cloudflare.com           3   6    17     1  -3799us[-7200us] +/-  112ms
[root@localhost ~]# systemctl start chronyd
[root@localhost ~]# chronyc -a makestep 
200 OK
[root@localhost ~]# chronyc tracking
Reference ID    : 771CCEC1 (119.28.206.193)
Stratum         : 3
Ref time (UTC)  : Wed Sep 10 16:05:08 2025
System time     : 0.000564188 seconds fast of NTP time
Last offset     : +0.000577126 seconds
RMS offset      : 0.000577126 seconds
Frequency       : 5.849 ppm slow
Residual freq   : -0.000 ppm
Skew            : 507.599 ppm
Root delay      : 0.047914155 seconds
Root dispersion : 0.027760565 seconds
Update interval : 64.3 seconds
Leap status     : Normal
[root@localhost ~]# 

Centos8

新建虚拟机

在这里插入图片描述
在这里插入图片描述

内核数

在这里插入图片描述
在这里插入图片描述

内存在这里插入图片描述

在这里插入图片描述
在这里插入图片描述

磁盘类型

在这里插入图片描述
在这里插入图片描述

磁盘选择

在这里插入图片描述
在这里插入图片描述

最大磁盘

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

固件类型

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

安装模式

在这里插入图片描述

在这里插入图片描述

时间

在这里插入图片描述

磁盘分区

在这里插入图片描述
在这里插入图片描述
物理内存
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

重置root密码

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
没动静在这里插入图片描述
外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传
在这里插入图片描述
失效


网站公告

今日签到

点亮在社区的每一天
去签到