当前位置:网站首页>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客户端编程接口指南-ODBC(4. 创建数据源)
- [self] - brush questions array
- In depth analysis of integrated learning xgboost (Continued)
- MySQL log management, backup and recovery
- Few people can really play in the "aftermarket" of the whole house intelligent fire collection
- 零视科技 H5S视频平台 GetUserInfo 信息泄漏漏洞 CNVD-2020-67113
- 金仓数据库 KingbaseES V8.3至V8.6迁移最佳实践(3. KingbaseES移植能力支撑体系)
- NPDP考试需要携带什么?文具携带说明
- Shenkaihong: on the river of Zhilian of all things, there is a bright moon of open source
- Okaleido生态核心权益OKA,尽在聚变Mining模式
猜你喜欢

Zabbix 5.0 使用自带Redis模版监控
![[self] - question brushing - string](/img/80/7d571e4f82caaad00d0a20152832c2.png)
[self] - question brushing - string

Shenkaihong: on the river of Zhilian of all things, there is a bright moon of open source

【自】-刷题-逻辑
![[self] - brush questions BFS](/img/e9/e90557c63c217a43c6a5d9de0d0869.png)
[self] - brush questions BFS

超参数优化(网格搜索和贝叶斯优化)

Apple's official website is being updated to maintain the apple store. Products such as the iPhone 13 / pro of the Bank of China will enjoy a maximum discount of 600 yuan

深度之眼(十八)——偏导数

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

Xss.haozi.me range details
随机推荐
MySQL transaction and storage system
【自】-刷题-峰值
Worthington核糖核酸测定详细攻略
Pagoda phpMyAdmin unauthorized access vulnerability
金仓数据库 KingbaseES 与 Oracle 的兼容性说明(4. SQL)
浪潮ClusterEngineV4.0 远程命令执行漏洞 CVE-2020-21224
Few people can really play in the "aftermarket" of the whole house intelligent fire collection
What's special about this wireless router, which is popular in the whole network?
Solve thread safety problems & singleton mode
leetcode 763. Partition Labels 划分字母区间(中等)
Worthington丨STEMxyme的分类和测定方法
齐博建站指南(艾戈勒)
Codeforces Round #474 (Div. 1 + Div. 2) - C, F
PMP考试倒计时,速看3A通关锦囊!
【自】-刷题-动态规划
苹果官网正在更新维护 Apple Store,国行 iPhone 13 / Pro 等产品将最高优惠 600 元
经典双栈实现队列,注意遍历栈的判定条件修改。
简述分组密码的加密分组链接模式的工作原理及其特点(密码学移位密码加密解密)
Read the recent trends of okaleido tiger and tap the value and potential behind it
Optimization and implementation of custom MVC
