![]() |
Freebsd how do you set the time?
Someone know how you adjust the date/time on your freebsd server?
|
the command is time
time help Jon |
/usr/sbin/ntpdate clock.isc.org
Timezone modification can be done with the following steps. /stand/sysinstall | -- [ Configure ] |--[ Time Zone ] oO..\/ peace |
Quote:
eg... $ time perl -e 'for(0..10000000){}' real 0m1.425s user 0m1.394s sys 0m0.009s |
ntpdate <ntp server>
cd /usr/share/zoneinfo ls pick your time zone cp timezonefile /etc/localtime or something like: "date 0307080106" Would set it to July 8th, 2003 1:06am 03 = 2003 07 = July 08 = Day 0106 = 24 hour time |
hehe.. ok I GOTTA SAY IT. I LOVE Bsd, and I REALLY dont like windows servers... REALLY. But jesus folks, why does it take SO MUCH to set the time in bsd? really now! really, on that note, I am sysadmin for 9 linux / freebsd servers. I REALLY like BSD, but holy shit... hehe
Andrew |
> date
Tue Jul 8 02:44:05 MDT 2003 Note the Timezone. > ntpdate ntp.nasa.gov If your timezone is not set properly, then > /stand/sysinstall Configure->Time zone -> then > ntpdate ntp.nasa.gov Too easy. |
| All times are GMT -7. The time now is 06:45 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123