当前位置:网站首页>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 
边栏推荐
- [wrung Ba wrung Ba is 20] [essay] why should I learn this in college?
- In depth Research Report on China's disposable sanitary products production equipment industry (2022 Edition)
- SLO is increasingly used to achieve observability | Devops
- [Verilog quick start of Niuke network question brushing series] ~ priority encoder circuit ①
- Work and leisure suggestions of old programmers
- 中国酶制剂市场预测与投资战略研究报告(2022版)
- Redis -- data type and operation
- The reviewboard has 500 errors when submitting a review. Solutions
- Length of learning and changing
- Htt [ripro network disk link detection plug-in] currently supports four common network disks
猜你喜欢

Cassette helicopter and alternating electric field magnetic manometer DPC

New patent applications and transfers

Vulnhub range hacker_ Kid-v1.0.1

(17) DAC conversion experiment

Yyds dry inventory MySQL RC transaction isolation level implementation

LeetCode中等题之TinyURL 的加密与解密
![[Verilog quick start of Niuke network question brushing series] ~ priority encoder circuit ①](/img/24/23f6534e2c74724f9512c5b18661b6.png)
[Verilog quick start of Niuke network question brushing series] ~ priority encoder circuit ①

Cookies and session keeping technology

换掉UUID,NanoID更快更安全!

重磅披露!上百个重要信息系统被入侵,主机成为重点攻击目标
随机推荐
Pytest learning notes (13) -allure of allure Description () and @allure title()
Official announcement! Hong Kong University of science and Technology (Guangzhou) approved!
Sword finger offer 20 String representing numeric value
China biodegradable plastics market forecast and investment strategy report (2022 Edition)
Wechat applet blind box - docking wechat payment
transform. Forward and vector3 Differences in the use of forward
Unity3d extended toolbar
An example of data analysis of an old swatch and an old hard disk disassembly and assembly combined with the sensor of an electromagnetic press
[C supplement] [string] display the schedule of a month by date
RadHat搭建内网YUM源服务器
In depth evaluation and development trend prediction report of China's ice cream market (2022 Edition)
荣威 RX5 的「多一点」产品策略
DNS
SQL injection vulnerability (MySQL and MSSQL features)
Heavy disclosure! Hundreds of important information systems have been invaded, and the host has become a key attack target
June issue | antdb database participated in the preparation of the "Database Development Research Report" and appeared on the list of information technology and entrepreneurship industries
在MeterSphere接口测试中如何使用JMeter函数和MockJS函数
多线程使用不当导致的 OOM
Research Report on development prediction and investment direction of nylon filament sewing thread in China (2022 Edition)
Kia recalls some K3 new energy with potential safety hazards