当前位置:网站首页>Set up a time server
Set up a time server
2022-07-06 21:16:00 【Yang Yangyang baa ~】
Set up a time server
1、 Environmental requirements ( Both client and server should be installed chrony)
Two or more virtual machines are needed to act as servers and clients , All must have yum Source , Then install them separately ntp, Because I used it CentOS8, So the download command is :yum install -y chrony
** Be careful :** I am installing yum There are many problems with the source , I am persistent and use a way to install yum Source thus wasted a lot of time and failed to install , Later, I succeeded in borrowing the method of my classmates , Record the successful installation process here :
a. First cd /etc/yum.repos.d/ Take a look at the configuration file :
b. Delete these original yum Source :rm -rf *
c. Check your own mirrored version , Go to relevant websites to download matching yum Source 
The website here is :https://developer.aliyun.com/mirror/?spm=a2c6h.25603864.0.0.50154ccaMggZGI, Just copy the corresponding command 
d. install yum Source , The order is :
curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo
If your mirror version is centos8, You can directly copy my commands 
e. Test and install ntp(CentOS7 In the future, it will basically be chrony), see yum Source installed successfully .
here yum The source is finally available
2、 Find a reliable time server address
This step is to search on Baidu , What I use here is ntp1.aliyun.com,
After you find the right address , Start with the virtual machine ping See if it can connect , It can be used if it can be connected .
3、 Edit the of the server chrony The configuration file
The order is :vim chrony.conf
At this time, the first line of white text , It's a time server address he gave you , But we need to use our own virtual machine to test whether it can ping through , Can be used 
My result is that Ping through , But it's slower , Because he is a foreign website .
Turn on chronyd service , Verification time 
边栏推荐
- Reviewer dis's whole research direction is not just reviewing my manuscript. What should I do?
- 嵌入式开发的7大原罪
- 如何实现常见框架
- The most comprehensive new database in the whole network, multidimensional table platform inventory note, flowus, airtable, seatable, Vig table Vika, flying Book Multidimensional table, heipayun, Zhix
- Thinking about agile development
- Mtcnn face detection
- El table table - sortable sorting & disordered sorting when decimal and% appear
- It's almost the new year, and my heart is lazy
- Yyds dry goods count re comb this of arrow function
- ACdreamoj1110(多重背包)
猜你喜欢

ICML 2022 | flowformer: task generic linear complexity transformer

Chris LATTNER, the father of llvm: why should we rebuild AI infrastructure software

Swagger UI tutorial API document artifact

监控界的最强王者,没有之一!

2022 fields Award Announced! The first Korean Xu Long'er was on the list, and four post-80s women won the prize. Ukrainian female mathematicians became the only two women to win the prize in history

硬件开发笔记(十): 硬件开发基本流程,制作一个USB转RS232的模块(九):创建CH340G/MAX232封装库sop-16并关联原理图元器件

LLVM之父Chris Lattner:为什么我们要重建AI基础设施软件

全网最全的新型数据库、多维表格平台盘点 Notion、FlowUs、Airtable、SeaTable、维格表 Vika、飞书多维表格、黑帕云、织信 Informat、语雀

Study notes of grain Mall - phase I: Project Introduction

15 millions d'employés sont faciles à gérer et la base de données native du cloud gaussdb rend le Bureau des RH plus efficace
随机推荐
OSPF multi zone configuration
js之遍历数组、字符串
KDD 2022 | realize unified conversational recommendation through knowledge enhanced prompt learning
全网最全的知识库管理工具综合评测和推荐:FlowUs、Baklib、简道云、ONES Wiki 、PingCode、Seed、MeBox、亿方云、智米云、搜阅云、天翎
c#使用oracle存储过程获取结果集实例
Math symbols in lists
Chris LATTNER, the father of llvm: why should we rebuild AI infrastructure software
Swagger UI tutorial API document artifact
El table table - sortable sorting & disordered sorting when decimal and% appear
#yyds干货盘点#重新梳理箭头函数的this
SDL2来源分析7:演出(SDL_RenderPresent())
OAI 5g nr+usrp b210 installation and construction
Opencv learning example code 3.2.3 image binarization
In JS, string and array are converted to each other (I) -- the method of converting string into array
Taylor series fast Fourier transform (FFT)
嵌入式开发的7大原罪
PG basics -- Logical Structure Management (transaction)
ACdreamoj1110(多重背包)
Aiko ai Frontier promotion (7.6)
@GetMapping、@PostMapping 和 @RequestMapping详细区别附实战代码(全)