# time synchronization

```bash
apt install ntp ntpdate -y
```
```bash
mv /etc/ntp.conf /etc/ntp.conf.orig
vim /etc/ntp.conf
```
```bash
server 10.8.10.254 prefer iburst
```
```bash
timedatectl set-ntp no
```
```bash
service ntp restart
```
```bash
ntpq -p
ntpdate 10.8.10.254
```