当前位置:网站首页>Some pit avoidance guidelines for using Huawei ECS
Some pit avoidance guidelines for using Huawei ECS
2022-07-07 09:11:00 【FOR. GET】
One 、 About domain name registration
- Purchase domain name (1 Days or so )
- Real name authentication ( At first I forgot , The back is mended quickly )
- Website filing ( Preliminary review modification 3 Time , More than a week , The authority reviews for one week )20 It should end in days
- DNS analysis : Create a public domain name 、 Management resolution ( Finally, quickly add parsing in the upper right corner ), And then it's all right
Two 、 Server installation others Python edition
- Reference resources : How to use apt stay ubuntu18.04 Installation on python3.8
Use apt stay ubuntu18.04 Installation on python3.8 Methods :
Open terminal window .
Enter the following command to update the list of packages and install prerequisites .
sudo apt update
sudo apt install software-properties-common
- Entering the following command will deadsnakes PPA Add to the source list of the system .
sudo add-apt-repository ppa:deadsnakes/ppa
When prompted , Press Enter continue installation .
When the repository is enabled , Type the following command to install python3.8.
sudo apt install python3.8
- Finally, you can use the following command to verify whether the installation is successful .
python3.8 --version
3、 ... and 、 establish Python A virtual environment
- install
virtualenv
pip3 install virtualenv
cdEnter the location where you need to install the virtual environment
virtualenv pyenv( Environment name ) --python=python3.8
Four 、 About SSH Remote connection Vscode
Generally not installed , First install... On the server
SSHservice
Ubuntu install SSH service
sudo apt install openssh-server
Encounters an error :
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
【 Solution 】, I installed solution 2 in the article .
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock*
sudo dpkg --configure -a
sudo apt update
You think it's over ?
# Re install
sudo apt install openssh-server
# The following error occurred
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
# Input according to the prompt
sudo dpkg --configure -a
# then , You have successfully installed
Set up firewall
sudo ufw allow ssh
see SSH Service status
systemctl status ssh
Until here , I am excited to go to the local test , The result is wrong
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is...
...
Then look up the errors , eureka 【 Solution 】, The reason for the error is that : for the first time
SSHWhen the connection , Will generate an authentication , Store on client ( Also is to useSSHThe one that connects to other computers , The one who operates by himself ) Mediumknown_hosts, But if the server has been verified , Of course, the certification information will also change , The server is different from the client , There will be mistakes ~ therefore , Just delete the authentication information from the computer , Regenerate... On connection , It's all perfect ~ It's easy to delete , Just type a command on the client side
ssh-keygen -R + Enter the... Of the server IP
Next, connect again , There will be
Are you sure you want to continue connecting (yes/no)?
Input yes, You can complete the connection , use windows Terminal connection to server
ssh [email protected] Server address
边栏推荐
- LED模拟与数字调光
- H3C VXLAN配置
- MySQL master-slave delay solution
- Test Engineer Interview Questions 2022
- How to pass the PMP Exam in a short time?
- Hard core sharing: a common toolkit for hardware engineers
- How can I apply for a PMP certificate?
- PMP certificate preparation experience sharing
- Recommended by Alibaba P8, the test coverage tool - Jacobo is very practical
- 5A summary: seven stages of PMP learning
猜你喜欢

What are the conditions for applying for NPDP?

Output all composite numbers between 6 and 1000

PMP certificate preparation experience sharing

Two schemes of unit test

Storage of data in memory

C language pointer (special article)

STM32 clock system

Postman interface test (II. Set global variables \ sets)

Confitest of fixture py

Druid monitoring - Introduction to JMX usage and principle
随机推荐
OpenGL frame buffer
Screen automatically generates database documents
模拟卷Leetcode【普通】1557. 可以到达所有点的最少点数目
Analysis of Hessian serialization principle
Original collection of hardware bear (updated on May 2022)
LeetCode 736. LISP syntax parsing
Original collection of hardware bear (updated on June 2022)
PMP experience learning and sharing process
Platformization, a fulcrum of strong chain complementing chain
Personal deduction topic classification record
徽商期货公司评级是多少?开户安全吗?我想开户,可以吗?
Skill review of test engineer before interview
5A summary: seven stages of PMP learning
个人力扣题目分类记录
Hard core sharing: a common toolkit for hardware engineers
LED模拟与数字调光
Skills that testers must know: Selenium's three waiting ways are interpreted clearly
Storage of data in memory
Locust performance test 2 (interface request)
Druid monitoring - Introduction to JMX usage and principle