Size: 1357
Comment: format
|
Size: 1357
Comment: fixed ambiguity
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
||<tablestyle="width: 100%;" style="border: 0px hidden">~-[:DebianWiki/EditorGuide#translation:Translation(s)]: none-~||<style="text-align: right;border: 0px hidden"> (!) [:/Discussion:Discussion]|| | ||<tablewidth="100%" tablestyle=""style="border: 0px hidden ;">~-[:DebianWiki/EditorGuide#translation:Translation(s)]: none-~ ||<style="border: 0px hidden ; text-align: right;"> (!) ["/Discussion"] || |
Line 4: | Line 4: |
Network Time Protocol, This will keep you system date with exact match to actual date. | Network Time Protocol, This will keep you system date with exact match to actual date. |
Line 6: | Line 6: |
## If your page gets really long, uncomment this Table of Contents | ## If your page gets really long, uncomment this Table of Contents |
Line 8: | Line 8: |
*Type date to see current date and time |
* Type date to see current date and time |
Line 13: | Line 12: |
*Install NTP | * Install NTP |
Line 17: | Line 16: |
*Done. *Type '''date''' again to see if the time changed. *[Optional]If you would like to add a server that is closer to you and you know its address. You could type: |
* Done. * Type '''date''' again to see if the time changed. * [Optional]If you would like to add a server that is closer to you and you know its address. You could type: |
Line 26: | Line 25: |
=== Using The Cron === To configure the system to synchronize the clock with an Internet Time Server every morning, add the following entry to the /etc/crontab configuration file: |
|
Line 27: | Line 28: |
=== Using The Cron === | #m h dom mon dow user command 57 5 * * * root /usr/sbin/ntpdate ntp.blueyonder.co.uk |
Line 29: | Line 30: |
To configure the system to synchronize the clock with an Internet Time Server, every morning add the following entry to the /etc/crontab configuration file: | === Public Internet Time Servers === uk.pool.ntp.org (This points to a random United Kingdom based time server) |
Line 31: | Line 33: |
#m h dom mon dow user command 57 5 * * * root /usr/sbin/ntpdate ntp.blueyonder.co.uk === Public Internet Time Servers === uk.pool.ntp.org (This points to a random United Kingdom based time server) |
|
Line 39: | Line 35: |
##See also: | ##See also: |
Line 41: | Line 37: |
CategoryNetwork | . CategoryNetwork |
- Network Time Protocol, This will keep you system date with exact match to actual date.
- Type date to see current date and time
date
- Install NTP
apt-get install ntpdate
- Done.
Type date again to see if the time changed.
- [Optional]If you would like to add a server that is closer to you and you know its address. You could type:
/etc/init.d/ntp-server stop ntpdate clock.fmt.he.net ntpdate ntp1.tummy.com /etc/init.d/ntp-server start
Using The Cron
To configure the system to synchronize the clock with an Internet Time Server every morning, add the following entry to the /etc/crontab configuration file:
#m h dom mon dow user command 57 5 * * * root /usr/sbin/ntpdate ntp.blueyonder.co.uk
Public Internet Time Servers
uk.pool.ntp.org (This points to a random United Kingdom based time server)