当前位置:网站首页>RHCE's at, crontab's basic operations, the Chrony service, symmetric encryption and asymmetric encryption
RHCE's at, crontab's basic operations, the Chrony service, symmetric encryption and asymmetric encryption
2022-07-29 03:37:00 【Xiao Chen loves exercise】
a, First at There are many later time formats
at 4pm + 3 days
at 10am Jul 31
at 1am tomorrow
HH:MM
midnight, noon, teatime (4pm)
AM or PM
month-name day with an optional year
MMDD[CC]YY, MM/DD/[CC]YY, DD.MM.[CC]YY or [CC]YY-MM-DD
now + count time-units
minutes, hours,days, or weeks
today,tomorrow
1.at Configure in 5 Hours later, , take "This is a at task" write in root Home directory at_test In file
[[email protected] ~]# at now + 5 hours
warning: commands will be executed using /bin/sh
at> echo "This is a at task" > /root/at_test
at> <EOT>
job 8 at Sun Jul 24 02:46:00 2022
[[email protected] ~]# atq
8 Sun Jul 24 02:46:00 2022 a root
[[email protected] ~]# date
Sat Jul 23 21:47:12 CST 2022
2.crontab To configure , Every Saturday , Sunday 9 Half past six ,14 spot Remind me to go RHCE course write in root Home directory cron_test In file
[[email protected] ~]# crontab -e
crontab: installing new crontab
[[email protected] ~]# crontab -l
0 9,14 * * 6,7 echo " It's time to go RHCE Class of " > /root/cron_test

3. On two Linux Upper Department chrony service : requirement : The first one synchronizes the time from Alibaba cloud server , The second synchronizes the time from the first
1> First we need to download and install chrony, because chrony There are dependent software , So we can use yum download .
yum -y install chrony
2> After installation , We need to get into /etc/chrony.conf This file is used to configure
Our first one linux The server needs to synchronize time from Alibaba cloud server , Alibaba cloud time service center website is ntp.aliyun.com

3> After this, we need to modify other options , As shown in the figure below

4> Set boot up , Restart the service
systemctl enable chronyd
systemctl restart chronyd
Turn on network time synchronization
timedatectl set-ntp true


At this time, the first one has been completed
5> We also need another server , We can clone the first one , In this way, I have chrony Software

6> The operation is the same as that of the first server , Yes /etc/chrony.conf Editing , Only need to ip Change to the first server ip Can

Then is
Set boot up , Restart the service
systemctl enable chronyd
systemctl restart chronyd
Turn on network time synchronization
timedatectl set-ntp true

At this point... Has been completed
4. What is symmetric encryption , What is asymmetric encryption , What are the encryption algorithms of symmetric encryption , What encryption algorithms are needed for asymmetric encryption
Symmetric encryption : Encryption and decryption use the same key
Symmetric encryption algorithm :DES、3DES、AES、DESX、Blowfish、、RC4、RC5、RC6.
Asymmetric encryption : The encryption and decryption keys are different , But it's a pair
Asymmetric encryption algorithm :RSA、DSA( For digital signature )、ECC( For mobile devices )、Diffie-Hellman、El Gamal.
边栏推荐
- MOS tube - rapid recovery application notes (II) [parameters and applications]
- HDU multi School Game 2 1011 DOS card
- i. MX 8m plus integrated dedicated neural processing engine (NPU)
- (2022杭电多校三)1011-Link is as bear(思维+线性基)
- three.js 第五十四用如何给shader传递结构体数组
- How to solve the time zone problem in MySQL timestamp
- Why don't programmers work blindly?
- C language programming | exchange binary odd and even bits (macro Implementation)
- Simple code implementation of K-means clustering
- Division and description of military technical documents
猜你喜欢

Implement Lmax disruptor queue from scratch (VI) analysis of the principle of disruptor solving pseudo sharing and consumers' elegant stopping
![MOS tube - rapid recovery application notes (II) [parameters and applications]](/img/54/eb040a51304192def8cfb360c7c213.png)
MOS tube - rapid recovery application notes (II) [parameters and applications]

(codeforce547)C-Mike and Foam(质因子+容斥原理)

ShardingSphere之水平分表实战(三)

Matlab learning -- structured programs and user-defined functions

ROS - create workspace

容斥原理

Android view system and custom view Series 1: (kotlin version)

机器学习【Numpy】

Practical application cases of digital Twins - smart energy
随机推荐
I.MX6U-驱动开发-2-LED驱动
今晚7:30 | 连界、将门、百度、碧桂园创投四位大佬眼中的AI世界,是继续高深还是回归商业本质?...
ROS - create workspace
Vs code must know and know 20 shortcut keys!
Configure vscade to realize ROS writing
(2022杭电多校三)1011-Link is as bear(思维+线性基)
Asynchronous callback future mode of concurrent mode
How to realize multi line annotation in MATLAB
Use of leak scanning (vulnerability scanning) tool burpsuite or burp Suite (with installation and installation package download of burpsuite+1.7.26)
Kubernetes-1.24.x feature
Introduction to static routing and dynamic routing protocols OSPF and rip and static routing configuration commands
Whole process record of yolov3 target detection
后缀自动机(sam)板子 from jly
GJB common confused concepts
Anti vulnerability · benefit from uncertainty --- management?
Why do many programmers hate pair programming?
Rdkit II: use rdkit screening to screen 2D pharmacophores of chemical small molecules
Numpy acceleration -- > cupy installation
[technology 1]
MOS tube - rapid recovery application notes (II) [parameters and applications]