问题
虚拟机系统的最大磁盘大小会占用真机内存吗
[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密码
没动静
失效