SIMULATION -
Configure the system synchronous as 172.24.40.10.
SIMULATION -
Configure the system synchronous as 172.24.40.10.
To configure the system to synchronize time with the server at 172.24.40.10 on a RHEL8 system, you need to follow these steps: 1. Install the chrony package using the command `sudo yum -y install chrony`. 2. Edit the chrony configuration file with `sudo vi /etc/chrony.conf` and add the line `server 172.24.40.10`. The optional `iburst` keyword can be added to speed up the initial synchronization. 3. Enable NTP synchronization with `sudo timedatectl set-ntp true`. 4. Start and enable the chrony service with `sudo systemctl enable --now chronyd`. 5. Check the status of the chrony synchronization using `chronyc sources -v`. These steps ensure that your system time is synchronized with the specified server.
FOR RHEL8: sudo yum -y install chrony $ sudo vi /etc/chrony.conf server 192.168.25.3 sudo timedatectl set-ntp true sudo systemctl enable --now chronyd
Don't forget iburst option server 192.168.25.3 iburst and to check the server that ntp is synchronized with use the command , chronyc sources -v.
iburst option not required. Need only server <hostname or ip>
iburst option not required. Need only server <hostname or ip>
where did "server 192.168.25.3" come from?
server 172.24.40.10?
For RHEL8: #chkconfig chronyd on #sudo vim /etc/chrony.conf allow 172.24.40.0/24 server 172.24.40.10 #sudo systemctl restart chronyd #sudo chronyc sources -v
yum install chrony.x86_64 vi /etc/chrony.conf pool 172.24.40.10 iburst timedatectl status ##check if NTP service is not active timedatectl set-ntp true systemctl enable --now chronyd.service ##check status of chrony sync chronyc sources -v
Do you guys this "Configure the system synchronous as 172.24.40.10." This is a incomplete question statement?
why we need to "timedatectl set-ntp true"? can we just strart chronyd alone?
(i just wondering why need that... i think 'mariuszz' is right answer )
I never did that, what's use for? timedatectl set-ntp true usually $ sudo yum -y install chrony $ sudo vi /etc/chrony.conf server 192.168.25.3 $ systemctl restart chronyd $ chronyc sources
its required to tell the system to use the ntp configuration.
its required to tell the system to use the ntp configuration.
I never did that, what's use for? timedatectl set-ntp true usually $ sudo yum -y install chrony $ sudo vi /etc/chrony.conf server 192.168.25.3 $ systemctl restart chronyd $ chronyc sources
its required to tell the system to use the ntp configuration.
its required to tell the system to use the ntp configuration.
Also, don't forget to modify the firewall-cmd settings: firewall-cmd --permanent --add-service=ntp firewall-cmd --reload firewall-cmd --list-all