当前位置:网站首页>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
边栏推荐
- 多线程使用不当导致的 OOM
- Intel's open source deep learning tool library openvino will increase cooperation with local software and hardware parties and continue to open
- 深度优先遍历和广度优先遍历[通俗易懂]
- 两数之和c语言实现[通俗易懂]
- Length of learning and changing
- [C language supplement] judge which day tomorrow is (tomorrow's date)
- 开发那些事儿:EasyCVR集群设备管理页面功能展示优化
- Source code of new campus errand / campus task platform on mutual station
- In depth evaluation and development trend prediction report of China's ice cream market (2022 Edition)
- 目前炒期货在哪里开户最正规安全?怎么期货开户?
猜你喜欢
Technical secrets of ByteDance data platform: implementation and optimization of complex query based on Clickhouse
换掉UUID,NanoID更快更安全!
在MeterSphere接口测试中如何使用JMeter函数和MockJS函数
多线程使用不当导致的 OOM
Integer array merge [JS]
Detailed explanation of string's trim() and substring()
Pytest learning notes (13) -allure of allure Description () and @allure title()
官宣!香港科技大学(广州)获批!
ACL 2022 | decomposed meta learning small sample named entity recognition
Leetcode records - sort -215, 347, 451, 75
随机推荐
线上开通ETF基金账户安全吗?有哪些步骤?
Good looking UI mall source code has been scanned, no back door, no encryption
(十六)ADC转换实验
Work and leisure suggestions of old programmers
Unity3d extended toolbar
redis -- 数据类型及操作
Technical secrets of ByteDance data platform: implementation and optimization of complex query based on Clickhouse
多线程使用不当导致的 OOM
SQL注入漏洞(Mysql与MSSQL特性)
Oom caused by improper use of multithreading
如何写出好代码 — 防御式编程指南
《中国智慧环保产业发展监测与投资前景研究报告(2022版)》
Vulnhub range hacker_ Kid-v1.0.1
China metallocene polyethylene (MPE) Industry Research Report (2022 Edition)
两数之和c语言实现[通俗易懂]
libcurl下载文件的代码示例
中国茂金属聚乙烯(mPE)行业研究报告(2022版)
【C語言補充】判斷明天是哪一天(明天的日期)
In aks, use secret in CSI driver mount key vault
Leetcode records - sort -215, 347, 451, 75