Answer the question
In order to leave comments, you need to log in
How to change time on freebsd server?
Hello, I have a server on FreeBSD 9.1.
After the recent transition to winter time, I need to change the clock on it, tell me how to do this?
I try through the date command, but after a while the server moves the clock back an hour ahead.
Tried via ntpdate
# ntpdate -b 0.ru.pool.ntp.org
27 Oct 15:26:37 ntpdate[71748]: step time server 195.91.239.8 offset 0.008201 sec
This time is also an hour ahead
Answer the question
In order to leave comments, you need to log in
The current tzdata must be collected, which takes into account that we now have winter time. itadept.ru/freebsd-timezone-update
portsnap fetch
portsnap update
cd /usr/ports/misc/zoneinfo/ && make install clean
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question