Configuring NTP servers
На этой странице
If you need to set the time without synchronization (for example, on Debian), follow these steps:
Set RTC to localtime
timedatectl set-local-rtc true
Set RTC to UTC
timedatectl set-local-rtc false
Time synchronization instructions for operating systems:
For Astra Linux SE, run the following commands in the terminal.
Command
sudo apt-get install ntp
sudo systemctl start ntp
sudo systemctl enable ntp
For Debian, run the following commands in the terminal.
Command
sudo apt-get install ntp
sudo systemctl start ntp
sudo systemctl enable ntp
For Ubuntu, run the following commands in the terminal.
Command
sudo apt-get install ntp
sudo systemctl start ntp
sudo systemctl enable ntp
For RED OS, run the following commands in the terminal.
Command
sudo yum install ntp
sudo systemctl start ntpd
sudo systemctl enable ntpd
If yum packages are not installed, use dnf.
For Rosa, run the following commands in the terminal.
Command
sudo apt-get install ntp
sudo systemctl start ntp
sudo systemctl enable ntp
For Alt Linux, run the following commands in the terminal.
Command
sudo apt-get install chrony
sudo systemctl start chronyd
sudo systemctl enable chronyd
For OSnova, run the following commands in the terminal.
Command
sudo apt-get install chrony
sudo systemctl start chronyd
sudo systemctl enable chronyd
For Oracle Linux, run the following commands in the terminal.
Command
sudo yum install chrony
sudo systemctl start chronyd
sudo systemctl enable chronyd
For RHEL, run the following commands in the terminal.
Command
sudo yum install chrony
sudo systemctl start chronyd
sudo systemctl enable chronyd
For Rocky Linux, run the following commands in the terminal.
Command
sudo yum install chrony
sudo systemctl start chronyd
sudo systemctl enable chronyd
For SberLinux, run the following commands in the terminal.
Command
sudo yum install chrony
sudo systemctl start chronyd
sudo systemctl enable chronyd