当前位置:网站首页>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
cd
Enter 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
SSH
service
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
SSH
When the connection , Will generate an authentication , Store on client ( Also is to useSSH
The 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
边栏推荐
- ESP32-ULP协处理器低功耗模式RTC GPIO中断唤醒
- JVM 垃圾回收 详细学习笔记(二)
- OpenGL三维图形绘制
- 个人力扣题目分类记录
- How long does the PMP usually need to prepare for the exam in advance?
- Simulation volume leetcode [general] 1705 The maximum number of apples to eat
- [chaosblade: delete pod according to the tag, pod domain name access exception scenario, pod file system i/o failure scenario]
- C语言指针(特别篇)
- Alibaba P8 teaches you how to realize multithreading in automated testing? Hurry up and stop
- Register address name mapping
猜你喜欢
随机推荐
Storage of data in memory
2021 year end summary
OpenGL帧缓冲
硬件大熊原创合集(2022/05更新)
Implement custom memory allocator
Cmake command line use
Druid monitoring - Introduction to JMX usage and principle
JVM 垃圾回收 详细学习笔记(二)
徽商期货公司评级是多少?开户安全吗?我想开户,可以吗?
外部中断实现按键实验
Skills that testers must know: Selenium's three waiting ways are interpreted clearly
LED模拟与数字调光
Alibaba P8 teaches you how to realize multithreading in automated testing? Hurry up and stop
Interview question: general layout and wiring principles of high-speed PCB
NVIC interrupt priority management
串口实验——简单数据收发
Digital triangle model acwing 275 Pass a note
Unity Shader入门精要初级篇(一)-- 基础光照笔记
Leetcode刷题记录(数组)组合总和、组合总和 II
Digital triangle model acwing 1027 Grid access