当前位置:网站首页>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
边栏推荐
- go mod module declares its path as: gtihub. com/xxx-xx but was required as:xx-xx
- Leetcode question brushing record (array) combination sum, combination sum II
- Why is access to the external network prohibited for internal services of the company?
- PPT模板、素材下载网站(纯干货,建议收藏)
- Interview question: general layout and wiring principles of high-speed PCB
- Troublesome problem of image resizing when using typora to edit markdown to upload CSDN
- Implement custom memory allocator
- Simulation volume leetcode [general] 1609 Parity tree
- Isomorphic C language
- JVM garbage collection detailed learning notes (II)
猜你喜欢
随机推荐
JVM 内存结构 详细学习笔记(一)
Un salaire annuel de 50 W Ali P8 vous montrera comment passer du test
How to pass the PMP Exam in a short time?
PPT模板、素材下载网站(纯干货,建议收藏)
串口實驗——簡單數據收發
硬核分享:硬件工程师常用工具包
External interrupt to realize key experiment
How can I apply for a PMP certificate?
cmake命令行使用
【Istio Network CRD VirtualService、Envoyfilter】
Original collection of hardware bear (updated on May 2022)
Newly found yii2 excel processing plug-in
C语言指针(特别篇)
2021 year end summary
Summary of PMP learning materials
Interview question: general layout and wiring principles of high-speed PCB
C语言指针(下篇)
LeetCode 715. Range module
[istio introduction, architecture, components]
Several common database connection methods









