当前位置:网站首页>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 
边栏推荐
- Replace UUID, nanoid is faster and safer!
- 字节跳动数据平台技术揭秘:基于 ClickHouse 的复杂查询实现与优化
- [mathematical modeling] [matlab] implementation of two-dimensional rectangular packing code
- Gameframework eating guide
- JDBC:深入理解PreparedStatement和Statement[通俗易懂]
- Enter wechat applet
- ACL 2022 | decomposed meta learning small sample named entity recognition
- Can hero sports go public against the wind?
- Euler function: find the number of numbers less than or equal to N and coprime with n
- Technical secrets of ByteDance data platform: implementation and optimization of complex query based on Clickhouse
猜你喜欢

Sword finger offer 20 String representing numeric value

走进微信小程序

存在安全隐患 起亚召回部分K3新能源

官宣!香港科技大学(广州)获批!

Intelligent operation and maintenance practice: banking business process and single transaction tracking

ACL 2022 | decomposed meta learning small sample named entity recognition

Data warehouse (3) star model and dimension modeling of data warehouse modeling

Shenyu gateway development: enable and run locally
![[C language foundation] 12 strings](/img/42/9c024eb08eb935fe66c3aaac7589d8.jpg)
[C language foundation] 12 strings

PETRv2:一个多摄像头图像3D感知的统一框架
随机推荐
PETRv2:一个多摄像头图像3D感知的统一框架
Research Report on China's enzyme Market Forecast and investment strategy (2022 Edition)
The new server is packaged with the source code of H5 mall with an operation level value of several thousand
C language implementation of sum of two numbers [easy to understand]
手机开户股票开户安全吗?那么开户需要带些什么?
libcurl下载文件的代码示例
可迭代对象与迭代器、生成器的区别与联系
Shenyu gateway development: enable and run locally
《中国智慧环保产业发展监测与投资前景研究报告(2022版)》
【牛客网刷题系列 之 Verilog快速入门】~ 优先编码器电路①
Roewe rx5's "a little more" product strategy
两数之和c语言实现[通俗易懂]
Data warehouse (3) star model and dimension modeling of data warehouse modeling
transform. Forward and vector3 Differences in the use of forward
Heavy disclosure! Hundreds of important information systems have been invaded, and the host has become a key attack target
中国茂金属聚乙烯(mPE)行业研究报告(2022版)
Rotation order and universal lock of unity panel
Htt [ripro network disk link detection plug-in] currently supports four common network disks
(17) DAC conversion experiment
重磅披露!上百个重要信息系统被入侵,主机成为重点攻击目标