Building Enterprise Services CentOS 5.5 NTP Server Deployment

Source: Internet
Author: User
Tags local time modify centos

Experimental environment:

Linux CentOS 5.5 Two units

IP Address:

ntpserver:192.168.186.129

ntpclient:192.168.186.152

Test requirements:

Install the NTP server and deploy the implementation to allow the client to synchronize its practices normally. and analysis of the fault handling encountered during the implementation of the project.

Implementation process:

NtpServer-side deployments.

1, first check whether the NTP service installed, if the installation is not installed. The installation method is very simple RPM–IVH uninstall Rpm–e query is installed as shown;

2, to see whether the NTP boot. If you do not start our setup in 3.5 mode automatically run on OK. As shown in figure:

3, modify the NTP service configuration file; in/etc/ntp.conf. In the case of illustration, we mark out the places that need to be modified. In the description of the time with the number description can be. 1. By default, all operations of the NTP client are rejected by default in centos5.5, and Kod features are turned on. RESTRICR 127.0.0.1 is all operations that are allowed locally. 2. is to add the allowed network segment and subnet mask; Here you need to pay attention to two parameters; Nomodiy indicates that the client cannot modify the parameters of the NTP server; notrap indicates that the trap remote login option is not available; Noquery does not provide NTP service. 3. Configure the IP address on the top level of the synchronization server. 4. If you cannot communicate with the NTP server on the previous level, use local time and specify the layer of the local NTP server. 5. Set the log path for the NTP server.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.