GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Freebsd how do you set the time? (https://gfy.com/showthread.php?t=150680)

4Pics 07-07-2003 10:52 PM

Freebsd how do you set the time?
 
Someone know how you adjust the date/time on your freebsd server?

Jon2 07-07-2003 11:23 PM

the command is time

time help

Jon

hive 07-07-2003 11:28 PM

/usr/sbin/ntpdate clock.isc.org

Timezone modification can be done with the following steps.
/stand/sysinstall
| -- [ Configure ]
|--[ Time Zone ]

oO..\/
peace

hive 07-07-2003 11:31 PM

Quote:

Originally posted by qualitythumbs
the command is time

time help

Jon

actually time is for command execution timing in freebsd.

eg...
$ time perl -e 'for(0..10000000){}'

real 0m1.425s
user 0m1.394s
sys 0m0.009s

Trixel 07-08-2003 01:09 AM

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

hibbidiji 07-08-2003 01:25 AM

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

lawked 07-08-2003 01:48 AM

> 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