【Linux】Ubuntu20.04 无法访问 http://cn.archive.ubuntu.com 问题记录解决

这篇具有很好参考价值的文章主要介绍了【Linux】Ubuntu20.04 无法访问 http://cn.archive.ubuntu.com 问题记录解决。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

问题描述

【Linux】Ubuntu20.04 无法访问 http://cn.archive.ubuntu.com 问题记录解决,Linux,linux,ubuntu,服务器

您希望继续执行吗? [Y/n] Y
错误:1 http://cn.archive.ubuntu.com/ubuntu focal/universe amd64 binfmt-support amd64 2.2.0-2
无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::18) 的连接 - connect (101: 网络不可达) 无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::15) 的连接 - connect (101: 网络不可达) 无法连接上 cn.archive.ubuntu.com:80 (91.189.91.38),连接超时 无法连接上 cn.archive.ubuntu.com:80 (91.189.91.39),连接超时
错误:2 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 libllvm11 amd64 1:11.0.0-2~ubuntu20.04.1
无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::18) 的连接 - connect (101: 网络不可达) 无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::15) 的连接 - connect (101: 网络不可达)
错误:3 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 libclang-cpp11 amd64 1:11.0.0-2~ubuntu20.04.1
无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::18) 的连接 - connect (101: 网络不可达) 无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::15) 的连接 - connect (101: 网络不可达)
错误:4 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 libclang-common-11-dev amd64 1:11.0.0-2~ubuntu20.04.1
无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::18) 的连接 - connect (101: 网络不可达) 无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::15) 的连接 - connect (101: 网络不可达)
错误:5 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 libclang1-11 amd64 1:11.0.0-2~ubuntu20.04.1
无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::18) 的连接 - connect (101: 网络不可达) 无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::15) 的连接 - connect (101: 网络不可达)
错误:6 http://cn.archive.ubuntu.com/ubuntu focal-updates/universe amd64 clang-11 amd64 1:11.0.0-2~ubuntu20.04.1
无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::18) 的连接 - connect (101: 网络不可达) 无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::15) 的连接 - connect (101: 网络不可达)
忽略:7 http://cn.archive.ubuntu.com/ubuntu focal-updates/universe amd64 clang-11-doc all 1:11.0.0-2~ubuntu20.04.1
错误:8 http://cn.archive.ubuntu.com/ubuntu focal-updates/universe amd64 clang-format-11 amd64 1:11.0.0-2~ubuntu20.04.1
无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::18) 的连接 - connect (101: 网络不可达) 无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::15) 的连接 - connect (101: 网络不可达)
错误:9 http://cn.archive.ubuntu.com/ubuntu focal-updates/universe amd64 clang-tools-11 amd64 1:11.0.0-2~ubuntu20.04.1
无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::18) 的连接 - connect (101: 网络不可达) 无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::15) 的连接 - connect (101: 网络不可达)
错误:10 http://cn.archive.ubuntu.com/ubuntu focal-updates/universe amd64 clang-tidy-11 amd64 1:11.0.0-2~ubuntu20.04.1
无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::18) 的连接 - connect (101: 网络不可达) 无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::15) 的连接 - connect (101: 网络不可达)
错误:11 http://cn.archive.ubuntu.com/ubuntu focal-updates/universe amd64 clangd-11 amd64 1:11.0.0-2~ubuntu20.04.1
无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::18) 的连接 - connect (101: 网络不可达) 无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::15) 的连接 - connect (101: 网络不可达)
错误:12 http://cn.archive.ubuntu.com/ubuntu focal-updates/universe amd64 libc++abi1-11 amd64 1:11.0.0-2~ubuntu20.04.1
无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::18) 的连接 - connect (101: 网络不可达) 无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::15) 的连接 - connect (101: 网络不可达)
错误:13 http://cn.archive.ubuntu.com/ubuntu focal-updates/universe amd64 libc++1-11 amd64 1:11.0.0-2~ubuntu20.04.1
无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::18) 的连接 - connect (101: 网络不可达) 无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::15) 的连接 - connect (101: 网络不可达)
错误:14 http://cn.archive.ubuntu.com/ubuntu focal-updates/universe amd64 libc+±11-dev amd64 1:11.0.0-2~ubuntu20.04.1
无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::18) 的连接 - connect (101: 网络不可达) 无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::15) 的连接 - connect (101: 网络不可达)
错误:15 http://cn.archive.ubuntu.com/ubuntu focal-updates/universe amd64 libc++abi-11-dev amd64 1:11.0.0-2~ubuntu20.04.1
无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::18) 的连接 - connect (101: 网络不可达) 无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::15) 的连接 - connect (101: 网络不可达)
错误:16 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 libclang-11-dev amd64 1:11.0.0-2~ubuntu20.04.1
无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::18) 的连接 - connect (101: 网络不可达) 无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::15) 的连接 - connect (101: 网络不可达)
错误:17 http://cn.archive.ubuntu.com/ubuntu focal-updates/universe amd64 libomp5-11 amd64 1:11.0.0-2~ubuntu20.04.1
无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::18) 的连接 - connect (101: 网络不可达) 无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::15) 的连接 - connect (101: 网络不可达)
错误:18 http://cn.archive.ubuntu.com/ubuntu focal-updates/universe amd64 libomp-11-dev amd64 1:11.0.0-2~ubuntu20.04.1
无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::18) 的连接 - connect (101: 网络不可达) 无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::15) 的连接 - connect (101: 网络不可达)
错误:19 http://cn.archive.ubuntu.com/ubuntu focal-updates/universe amd64 llvm-11-runtime amd64 1:11.0.0-2~ubuntu20.04.1
无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::18) 的连接 - connect (101: 网络不可达) 无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::15) 的连接 - connect (101: 网络不可达)
错误:20 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 libpfm4 amd64 4.10.1+git20-g7700f49-2
无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::18) 的连接 - connect (101: 网络不可达) 无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::15) 的连接 - connect (101: 网络不可达)
错误:21 http://cn.archive.ubuntu.com/ubuntu focal-updates/universe amd64 llvm-11 amd64 1:11.0.0-2~ubuntu20.04.1
无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::18) 的连接 - connect (101: 网络不可达) 无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::15) 的连接 - connect (101: 网络不可达)
错误:22 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 libffi-dev amd64 3.3-4
无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::18) 的连接 - connect (101: 网络不可达) 无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::15) 的连接 - connect (101: 网络不可达)
忽略:23 http://cn.archive.ubuntu.com/ubuntu focal-updates/main amd64 python3-pygments all 2.3.1+dfsg-1ubuntu2.2
错误:24 http://cn.archive.ubuntu.com/ubuntu focal-updates/universe amd64 llvm-11-tools amd64 1:11.0.0-2~ubuntu20.04.1
无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::18) 的连接 - connect (101: 网络不可达) 无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::15) 的连接 - connect (101: 网络不可达)
错误:25 http://cn.archive.ubuntu.com/ubuntu focal/universe amd64 libz3-4 amd64 4.8.7-4build1
无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::18) 的连接 - connect (101: 网络不可达) 无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::15) 的连接 - connect (101: 网络不可达)
错误:26 http://cn.archive.ubuntu.com/ubuntu focal/universe amd64 libz3-dev amd64 4.8.7-4build1
无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::18) 的连接 - connect (101: 网络不可达) 无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::15) 的连接 - connect (101: 网络不可达)
错误:27 http://cn.archive.ubuntu.com/ubuntu focal-updates/universe amd64 llvm-11-dev amd64 1:11.0.0-2~ubuntu20.04.1
无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::18) 的连接 - connect (101: 网络不可达) 无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::15) 的连接 - connect (101: 网络不可达)
错误:7 http://cn.archive.ubuntu.com/ubuntu focal-updates/universe amd64 clang-11-doc all 1:11.0.0-2~ubuntu20.04.1
无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::18) 的连接 - connect (101: 网络不可达) 无法发起与 cn.archive.ubuntu.com:80 (2001:67c:1562::15) 的连接 - connect (101: 网络不可达)

问题分析

【Linux】Ubuntu20.04 无法访问 http://cn.archive.ubuntu.com 问题记录解决,Linux,linux,ubuntu,服务器
这个地址应该是挂了,此外尝试挂了梯子仍无法解决,最后决定换个国内源

问题解决

  1. 打开 apt 源的配置文件
sudo vim /etc/apt/sources.list
  1. 将其中 http://cn.archive.ubuntu.com 全部替换成阿里源 http://mirrors.aliyun.com
    【Linux】Ubuntu20.04 无法访问 http://cn.archive.ubuntu.com 问题记录解决,Linux,linux,ubuntu,服务器
    # deb cdrom:[Ubuntu 20.04 LTS _Focal Fossa_ - Release amd64 (20200423)]/ focal main restricted
     
    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribution.
    # deb http://cn.archive.ubuntu.com/ubuntu/ focal main restricted
    deb http://mirrors.aliyun.com/ubuntu/ focal main restricted
    # deb-src http://cn.archive.ubuntu.com/ubuntu/ focal main restricted
    
    ## Major bug fix updates produced after the final release of the
    ## distribution.
    # deb http://cn.archive.ubuntu.com/ubuntu/ focal-updates main restricted
    deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted
    # deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-updates main restricted
    
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team. Also, please note that software in universe WILL NOT receive any
    ## review or updates from the Ubuntu security team.
    # deb http://cn.archive.ubuntu.com/ubuntu/ focal universe
    deb http://mirrors.aliyun.com/ubuntu/ focal universe
    # deb-src http://cn.archive.ubuntu.com/ubuntu/ focal universe
    # deb http://cn.archive.ubuntu.com/ubuntu/ focal-updates universe
    deb http://mirrors.aliyun.com/ubuntu/ focal-updates universe
    # deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-updates universe
    
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    ## team, and may not be under a free licence. Please satisfy yourself as to 
    ## your rights to use the software. Also, please note that software in 
    ## multiverse WILL NOT receive any review or updates from the Ubuntu
    ## security team.
    # deb http://cn.archive.ubuntu.com/ubuntu/ focal multiverse
    deb http://mirrors.aliyun.com/ubuntu/ focal multiverse
    # deb-src http://cn.archive.ubuntu.com/ubuntu/ focal multiverse
    # deb http://cn.archive.ubuntu.com/ubuntu/ focal-updates multiverse
    deb http://mirrors.aliyun.com/ubuntu/ focal-updates multiverse
    # deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-updates multiverse
    
    ## N.B. software from this repository may not have been tested as
    # deb cdrom:[Ubuntu 20.04 LTS _Focal Fossa_ - Release amd64 (20200423)]/ focal main restricted
    
    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribution.
    # deb http://cn.archive.ubuntu.com/ubuntu/ focal main restricted
    deb http://mirrors.aliyun.com/ubuntu/ focal main restricted
    # deb-src http://cn.archive.ubuntu.com/ubuntu/ focal main restricted
    
    ## Major bug fix updates produced after the final release of the
    ## distribution.
    # deb http://cn.archive.ubuntu.com/ubuntu/ focal-updates main restricted
    deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted
    # deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-updates main restricted
    
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team. Also, please note that software in universe WILL NOT receive any
    ## review or updates from the Ubuntu security team.
    # deb http://cn.archive.ubuntu.com/ubuntu/ focal universe
    deb http://mirrors.aliyun.com/ubuntu/ focal universe
    # deb-src http://cn.archive.ubuntu.com/ubuntu/ focal universe
    # deb http://cn.archive.ubuntu.com/ubuntu/ focal-updates universe
    deb http://mirrors.aliyun.com/ubuntu/ focal-updates universe
    # deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-updates universe
    
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    ## team, and may not be under a free licence. Please satisfy yourself as to 
    ## your rights to use the software. Also, please note that software in 
    ## multiverse WILL NOT receive any review or updates from the Ubuntu
    ## security team.
    # deb http://cn.archive.ubuntu.com/ubuntu/ focal multiverse
    deb http://mirrors.aliyun.com/ubuntu/ focal multiverse
    # deb-src http://cn.archive.ubuntu.com/ubuntu/ focal multiverse
    # deb http://cn.archive.ubuntu.com/ubuntu/ focal-updates multiverse
    deb http://mirrors.aliyun.com/ubuntu/ focal-updates multiverse
    # deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-updates multiverse
    
    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    # deb http://cn.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
    deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
    # deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
    
    ## Uncomment the following two lines to add software from Canonical's
    ## 'partner' repository.
    ## This software is not part of Ubuntu, but is offered by Canonical and the
    ## respective vendors as a service to Ubuntu users.
    # deb http://archive.canonical.com/ubuntu focal partner
    # deb-src http://archive.canonical.com/ubuntu focal partner
    
    # deb http://security.ubuntu.com/ubuntu focal-security main restricted
    deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted
    # deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
    # deb http://security.ubuntu.com/ubuntu focal-security universe
    deb http://mirrors.aliyun.com/ubuntu/ focal-security universe
    # deb-src http://security.ubuntu.com/ubuntu focal-security universe
    # deb http://security.ubuntu.com/ubuntu focal-security multiverse
    deb http://mirrors.aliyun.com/ubuntu/ focal-security multiverse
    # deb-src http://security.ubuntu.com/ubuntu focal-security multiverse
    
    # This system was installed using small removable media
    # (e.g. netinst, live or single CD). The matching "deb cdrom"
    # entries were disabled at the end of the installation process.
    # For information about how to configure apt package sources,
    # see the sources.list(5) manual.
    deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/
    # deb-src https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/
    
    ### note: 未注释的配置上方一行为原来的配置,还原只需交换相应的注释即可
    
    实践发现,http://security.ubuntu.com/ubuntu 这个也挂了,所以将它也替换成阿里源
  2. 更新 apt
    sudo apt update
    
    【Linux】Ubuntu20.04 无法访问 http://cn.archive.ubuntu.com 问题记录解决,Linux,linux,ubuntu,服务器
    全部命中!解决

额外说明

1. 备份

为了方便还原或者出现其他不可名状的错误,你应该在执行上述步骤前做好备份

cp /etc/apt/sources.list /etc/apt/sources.list.bak

2. 替换命令

sudo sed -i 's/archive.ubuntu.com/mirrors.aliyun.com/g' /etc/apt/sources.list

其他源

中科大:mirrors.aliyun.com

参考文章

1. Ubuntu 更换国内源【个人博客】
2. ubuntu官方国内源【CSDN】文章来源地址https://www.toymoban.com/news/detail-737540.html

到了这里,关于【Linux】Ubuntu20.04 无法访问 http://cn.archive.ubuntu.com 问题记录解决的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • Windows使用MobaXterm远程访问ubuntu20.04桌面

    参考ubuntu 2020.4 安装vnc remote_setup.sh脚本文件内容: x11vnc.service文件内容: 把remote_setup.sh、x11vnc.service拷贝到ubuntu系统中,执行脚本文件即可 执行后会自动重启。 注意点:ubuntu系统设置为开机自动登录,否则windows端连接ubuntu的时候,连不上,弹出要输入密码框,输入也连接不

    2024年02月11日
    浏览(34)
  • Ubuntu 20.04出现蓝牙无法打开的问题(已解决)

    安装Ubuntu20.04后,蓝牙无法打开,按钮开启后蓝牙仍处于关闭状态 解决方法(四种方式) 依次尝试,直到蓝牙设备可被检测到

    2024年02月03日
    浏览(45)
  • Ubuntu Server 20.04 系统安装(六):Linux搭建frp服务,实现内网穿透服务,实现外网到内网的在线访问 Ubuntu 设置frp开机自启动

    frp 是什么? frp 采用 Golang 编写,支持跨平台,仅需下载对应平台的二进制文件即可执行,没有额外依赖。 frp 是一个专注于内网穿透的高性能的反向代理应用,支持 TCP、UDP、HTTP、HTTPS 等多种协议。可以将内网服务以安全、便捷的方式通过具有公网 IP 节点的中转暴露到公网。

    2024年02月13日
    浏览(35)
  • Ubuntu20.04无法使用中文输入及切换快捷键设置

    今天更新到Ubuntu20.04后,语言设置里面添加了zh中文后,发现没有输入法,然后按照下面的设置成功添加。 1、先添加汉语 然后把汉语拖动到最上面,否则一直是灰化的不能选。 2、输入源选择汉语(中国) 此时只能选汉语,不能进一步选已有输入法,是因为: “ Ubuntu 20.04中

    2024年02月16日
    浏览(39)
  • Ubuntu20.04安装后,root账户无法登录,ssh无法远程连接处理方法

    最近一直在用Ubuntu系统,发现了一些规律性的东西,每当安装完系统就得去做一些事情,要不然无法正常丝滑的使用,我把这几个罗列出来:(装机的步骤我就省了,比较简单跟着向导来就行,不要最小化安装就行) 1.更换apt 源为阿里云镜像源(下载包的时候会很快) 2.给

    2024年02月10日
    浏览(57)
  • ubuntu20.04 ros http://wiki.ros.org/noetic/Installation/Ubuntu

    imu Calibration  ros  http://wiki.ros.org/noetic/Installation/Ubuntu 使用imu_utils进行IMU的误差标定以及IMU姿态解算_非晚非晚的博客-CSDN博客 Ubuntu20.04编译并运行imu_utils,并且标定IMU_学无止境的小龟的博客-CSDN博客https://github.com/ethz-asl/kalibr   imu rgb calibration

    2024年02月11日
    浏览(30)
  • ubuntu 20.04解决在处理时有错误发生: /var/cache/apt/archives/python3-catkin-pkg-modules_0.4.24-1_all.deb问题

    输入sudo apt install ros-noetic-desktop-full之后就开始报这个错 而且提示:可以用sudo apt --fix-broken install不指名修复 然后报错E: Sub-process /usr/bin/dpkg returned an error code (1) / 参考这篇博客:点击 方法:

    2024年02月11日
    浏览(46)
  • 【Linux】Ubuntu20.04更换国内源

    源是 Linux 系统中的一个文件,可以说是 Linux 的灵魂,一个 Linux 配置的源文件决定了 Linux 系统可以获取哪些资源,获取哪些文件,源文件损坏意味着 Linux 系统无法下载 / 更新等 我们使用的国外的系统,类似于Ubuntu这一类系统,默认集成的源是国外的源,下载和更新速度十分

    2024年02月12日
    浏览(43)
  • linux ubuntu 20.04 固定 ip

    打开终端:您可以使用快捷键Ctrl + Alt + T来打开终端,或者通过应用程序菜单中的\\\"终端\\\"选项来打开它。 打开网络设置文件:在终端中,输入以下命令以编辑网络设置文件: sudo nano /etc/netplan/00-installer-config.yaml 在编辑器中,您将看到类似以下内容的文件: 将dhcp4的值设置为

    2024年02月15日
    浏览(36)
  • Linux系列---【Ubuntu 20.04安装KVM】

    1.安装kvm 2. 将当前用户添加至libvirt 、 kvm组 3.验证安装 4.启动libvert 至此,kvm安装完毕! 1.安装xrdp 2.查看ubuntu的ip 3.打开windows远程连接工具 登录成功后,记得修改登录密码。不然,系统一锁屏,就打不开了。通过这里输入原来ubuntu的root密码,解不了休眠锁。 1.安装virt-manager

    2024年02月16日
    浏览(56)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包