Lemur zaprasza
Linux: A Network Solution for Your Office ContentsIndex Chapter 14: Time Services: Summary Previous ChapterNext Chapter Sections in this Chapter: The Need for Synchronization Summary UNIX, the Internet, and Timekeeping Manual Pages Installing and Using NTP Software Previous SectionNext Section Summary Keeping system clocks accurately synchronized on your network is not merely a perfectionist's mad dream; many software packages expect that networked computers keep more or less the same time when they interoperate. Linux maintains a system clock that is separate from your computer's hardware CMOS clock. Often, the hardware clock is set to UTC, although in order to maintain compatibility with other operating systems on a multiboot computer, setting it to the local time is also possible. The system clock can be set using the date command. The hardware clock can be set or queried using hwclock. This command can also be used to periodically adjust the hardware clock in order to compensate for drift. A more sophisticated solution is to use NTP, the Network Time Protocol. With NTP server software, it is possible to synchronize your Linux system to timekeeping hosts over the Internet. It is also possible to run your Linux system as a server to which other hosts can synchronize themselves. You can run NTP server software even without a permanent Internet connection; in this case, the time source is your computer's local clock or special time hardware. If your Linux host is not expected to operate as an NTP server, but has access to another (local or remote) NTP server, you can use the ntpdate command for synchronization instead of installing the full NTP server. Windows workstations on your network can be synchronized with a Linux host in a variety of ways. These include the net time command (which requires a NetBIOS compatible server on the other end, such as Samba for Linux), the TimeServ service for Windows NT, and other third-party tools. Linux: A Network Solution for Your Office ContentsIndex Chapter 14: Time Services: Summary Previous ChapterNext Chapter Sections in this Chapter: The Need for Synchronization Summary UNIX, the Internet, and Timekeeping Manual Pages Installing and Using NTP Software Previous SectionNext Section © Copyright Macmillan USA. All rights reserved. |