wiki:centos_ntp_server
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:centos_ntp_server [2019/10/04 14:44] – [NTP Clients] walkeradmin | wiki:centos_ntp_server [2023/03/09 22:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 17: | Line 17: | ||
\\ | \\ | ||
In this example, I have three CentOS systems, and the first will be the NTP server, with the second two being NTP clients. I did this for a <color # | In this example, I have three CentOS systems, and the first will be the NTP server, with the second two being NTP clients. I did this for a <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | If you have installed the OS from a MediKind .ISO (as opposed to using the CentOS minimal .ISO) then you will have to do the following: | ||
+ | < | ||
+ | 1. Create the CentOS-Base.repo in / | ||
+ | 2. Ensure you have access to the internet | ||
+ | 3. Ensure DNS is running (or you won't connect to any repos) | ||
+ | |||
+ | You will still have to perform steps 2 and 3 if you used the CentOS Minimal install. | ||
+ | </ | ||
\\ | \\ | ||
\\ | \\ | ||
Line 117: | Line 127: | ||
systemctl enable ntpd | systemctl enable ntpd | ||
</ | </ | ||
+ | Use the command line ' | ||
+ | \\ | ||
+ | < | ||
+ | # date | ||
+ | Fri Oct 4 13:45:46 UTC 2019 | ||
+ | </ | ||
+ | \\ | ||
+ | \\ | ||
- | |||
- | |||
- | date |
wiki/centos_ntp_server.1570196682.txt.gz · Last modified: 2023/03/09 22:35 (external edit)