赞
踩
vim /etc/netplan/01-netcfg.yaml
将dhcp4改为 yes,删除addresses和gateway4,然后重启
vim /etc/ssh/sshd_config 去除“PermitRootLogin yes”和“PasswordAuthentication yes”注释
sudo service ssh start(不行就reboot)
- vim /etc/apt/source.list 复制以下内容进行替换
- “”
- deb http://repo.huaweicloud.com/ubuntu-ports/ jammy main restricted universe multiverse
- deb http://repo.huaweicloud.com/ubuntu-ports/ jammy-security main restricted universe multiverse
- deb http://repo.huaweicloud.com/ubuntu-ports/ jammy-updates main restricted universe multiverse
- deb http://repo.huaweicloud.com/ubuntu-ports/ jammy-proposed main restricted universe multiverse
- deb-src http://repo.huaweicloud.com/ubuntu-ports/ jammy main restricted universe multiverse
- deb-src http://repo.huaweicloud.com/ubuntu-ports/ jammy-security m
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。