当前位置:网站首页>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
边栏推荐
- C语言指针(习题篇)
- 2020 year end summary
- Synchronized underlying principle, volatile keyword analysis
- systemd
- Alibaba P8 teaches you how to realize multithreading in automated testing? Hurry up and stop
- Simulation volume leetcode [general] 1705 The maximum number of apples to eat
- With an annual salary of 50W, Alibaba P8 will come out in person to teach you how to advance from testing
- Unityshader introduction essentials personal summary -- Basic chapter (I)
- Locust performance test 5 (analysis)
- 2022-06-30 unity core 8 - model import
猜你喜欢

Troublesome problem of image resizing when using typora to edit markdown to upload CSDN

C language pointer (Part 2)

Two schemes of unit test

What is the use of PMP certificate?

C语言指针(中篇)

【istio简介、架构、组件】

Druid monitoring - Introduction to JMX usage and principle

硬核分享:硬件工程师常用工具包

面试题:高速PCB一般布局、布线原则

MySql数据库-事务-学习笔记
随机推荐
Reflections on the way of enterprise IT architecture transformation (Alibaba's China Taiwan strategic thought and architecture practice)
External interrupt to realize key experiment
JVM 垃圾回收 详细学习笔记(二)
Recommended by Alibaba P8, the test coverage tool - Jacobo is very practical
Selenium mouse sliding operation event
年薪50w阿裏P8親自下場,教你如何從測試進階
H3C vxlan configuration
Several common database connection methods
【istio简介、架构、组件】
On December 8th, 2020, the memory of marketing MRC application suddenly increased, resulting in system oom
STM32的时钟系统
ESP32-ULP协处理器低功耗模式RTC GPIO中断唤醒
MySQL master-slave delay solution
MySQL主从延迟的解决方案
Port multiplexing and re imaging
Serial port experiment - simple data sending and receiving
Detailed learning notes of JVM memory structure (I)
Calculation s=1+12+123+1234+12345 C language
H3C VXLAN配置
数据在内存中的存储