当前位置:网站首页>Setting up a time server requires the client to automatically synchronize the time of the server at 9 a.m. every day
Setting up a time server requires the client to automatically synchronize the time of the server at 9 a.m. every day
2022-07-01 17:40:00 【Yang Yangyang baa ~】
Setting up a time server requires the server to automatically synchronize the time at 9 o'clock every morning
Environmental requirements
1、 There is a server and a client .
2、 Need to have yum Source , download chrony package .
One 、 Build time server
1、 Server side :
1) Download it yum Source , install chrony package
command :yum install -y chrony
2) edit chrony.conf The configuration file
command :vim /etc/chrony.conf
Add the time server address available in China 
Add addresses that allow access , Write the URL of the client .
Save and exit !
3) Close the firewall and selinux
command :systemctl stop firewalld
close selinux The order of :setenforce 0
4) Restart the service and see .
2、 client
1) download yum Source , install chrony package 
2) Edit profile :vim /etc/chrony.conf
Specify the time server address as the server address 
3) Restart the service and request the time from the server 
Two 、 Set recurring routine tasks
Routine tasks of the system , stay /etc/crontab in
The order is :vim /etc/crontab
Five * Numbers represent branch when Japan month Zhou 
边栏推荐
- LeetCode中等题之TinyURL 的加密与解密
- 目前炒期货在哪里开户最正规安全?怎么期货开户?
- China acetonitrile market forecast and strategic consulting research report (2022 Edition)
- GameFramework食用指南
- (16) ADC conversion experiment
- 多线程并发之CountDownLatch阻塞等待
- Redis -- data type and operation
- Key points on February 15, 2022
- 重磅披露!上百个重要信息系统被入侵,主机成为重点攻击目标
- 提交review时ReviewBoard出现500错误解决方法
猜你喜欢

Leetcode records - sort -215, 347, 451, 75

Iommu/smmuv3 code analysis (10) page table operation

Gold, silver and four job hopping, interview questions are prepared, and Ali becomes the champion

ACM mm 2022 video understanding challenge video classification track champion autox team technology sharing

整形数组合并【JS】

Length of learning and changing

可迭代对象与迭代器、生成器的区别与联系

(27) Open operation, close operation, morphological gradient, top hat, black hat

Vulnhub range hacker_ Kid-v1.0.1

智能运维实战:银行业务流程及单笔交易追踪
随机推荐
中国氮化硅陶瓷基板行业研究与投资前景报告(2022版)
Unity3d extended toolbar
There is a new breakthrough in quantum field: the duration of quantum state can exceed 5 seconds
中国乙腈市场预测与战略咨询研究报告(2022版)
LeetCode中等题之TinyURL 的加密与解密
Enter wechat applet
Key points on February 15, 2022
【Try to Hack】vulnhub DC4
ACL 2022 | decomposed meta learning small sample named entity recognition
中国茂金属聚乙烯(mPE)行业研究报告(2022版)
Integer array merge [JS]
ACM mm 2022 video understanding challenge video classification track champion autox team technology sharing
February 16, 2022 Daily: graph neural network self training method under distribution and migration
Irradiance, Joule energy, exercise habits
[wrung Ba wrung Ba is 20] [essay] why should I learn this in college?
pyqt5中,在控件上画柱状图
The difference and relationship between iteratible objects, iterators and generators
New patent applications and transfers
【C語言補充】判斷明天是哪一天(明天的日期)
Thinkphp6 - CMS multi wechat management system source code