当前位置:网站首页>RHCE the next day
RHCE the next day
2022-07-28 23:49:00 【cxy003344】
1. Achieve password free login
Generate public and private keys
ssh-keygen -t rsa

Copy the public key file to the directory of the server :
ssh -copy-id Specify the server
![]()
Specify the server
Achieve password free login

Windows Connect to Linux Password free login

Upload files 
Additional 


2. Settings only allow student1, student2 The user login 

3.get and post The difference between 
4.HTTP Status code , What are the commonly used status codes ?
The status code : It's made up of three figures , The first number defines the category of response , And there are five possible values .
1xx: instructions —— Indicates that the request has been received , To continue processing
2xx: success —— Indicates that the request was received successfully 、 understand 、 Accept
3xx: Redirect —— Further action must be taken to complete the request
4xx: Client error —— The request has a syntax error or the request cannot be implemented
5xx: Server-side error —— The server could not fulfill the legitimate request
Common status code 、 The description of the state is as follows :
503 Server Unavailable: The server is currently unable to process the client's request , It may return to normal after some time
500 Internal Server Error: An unexpected error occurred on the server
404 Not Found: The requested resource does not exist , for instance : I typed the wrong one URL
403 Forbidden: The server receives the request , But refused to provide service
401 Unauthorized: Request not authorized , The status code must be equal to WWW-Authenticate Header fields are used together
400 Bad Request: Client request has syntax error , Not understood by the server 200 OK: Client request successful
5.HTTP Request message and response message
http The request message is sent by the request line 、 Request header 、 The blank line and the request message body are composed of several parts :
http The response message consists of the starting line 、 Response head 、 The blank line and the main body of the response message are composed of :
6.HTTP How to keep connected
There are two ways to maintain the state :cookie+session The implementation and token Realization
One .cookie+session Realization
cookie:
Cookie It's generated by the server side , Send it to the browser , The browser will Cookie Of key/value Save to a text file in a directory , Automatically send this... The next time you request the same website Cookie To server Cookie Can be used in some WEB Persistent state between site sessions
session:
Session It's another mechanism for recording customer status , be based on Cookie Realization , The difference is Cookie Save in the client browser , and Session Save it on the server when the client browser accesses the server , The server records client information in some form on the server , This is it. Session, The client browser only needs to access it from that Session To find the status of the customer .
边栏推荐
猜你喜欢

电商数据模型设计

Kingbasees client programming interface guide ODBC (4. Create data source)
![[self] - brush questions array](/img/a9/d12c41183df6961b2e9dd7cb49dfec.png)
[self] - brush questions array

如何将一个mongodb中集合的索引 添加到另一个mongodb中集合中

How to open a profitable gym? I tell you from one year's experience that don't fall in love

Byte 8 years' experience of female test Director - for girls who want to change careers or are about to enter the testing industry

The computer doesn't know what to uninstall, can't open the calculator, can't edit screenshots, can't open txt files, and so on

Codeforces Round #810 (Div. 2) A - C

Arduino uno driver universe 1.8 'TFT SPI screen example demonstration (including data package)

通配符 SSL/TLS 证书
随机推荐
Codeforces Round #810 (Div. 2) A - C
2022 welder (Junior) work license questions and answers
Deep analysis of integrated learning gbdt
Asynchronism and synchronization of visa write and read functions by LabVIEW
2022年R2移动式压力容器充装考题模拟考试平台操作
General paging - front desk
Blocking queue
2022年R2移动式压力容器充装考题模拟考试平台操作
The classic dual stack implementation queue, pay attention to the modification of the judgment conditions of traversing the stack.
酪氨酸脱羧酶丨Worthington粪链球菌酪氨酸脱羧酶的特征
剑指 Offer 55 - I. 二叉树的深度
2022 R2 mobile pressure vessel filling test question simulation test platform operation
2022G3锅炉水处理考试模拟100题模拟考试平台操作
猿人学第二十题
Compatibility description between kingbasees and Oracle (5. Pl/sql)
Mongodb index add, view, export, delete
Arm-A53资料「建议收藏」
金仓数据库 KingbaseES V8.3至V8.6迁移最佳实践(2. KingbaseES V8.3和 V8.6 兼容性)
从XSS Payload学习浏览器解码
电脑不知卸载什么,打不开计算器无法编辑截图功能打不开txt文件等等解决方案之一
