美文网首页
ubuntu20.10

ubuntu20.10

作者: 单曲_循环 | 来源:发表于2021-01-13 13:48 被阅读0次

    1,虚拟机安装Ubuntu20.10

    • 磁盘选项选择nvme, 开机会更快

    2, 更换清华源
    sudo cp /etc/apt/source.list /etc/apt/source.list-back
    sudo gedit /etc/apt/source.list

    • 删除原来所有的内容,添加如下内容
    # 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
    deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse
    # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse
    deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
    # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
    deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
    # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
    deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-security main restricted universe multiverse
    # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-security main restricted universe multiverse
    
    # 预发布软件源,不建议启用
    # deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-proposed main restricted universe multiverse
    # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-proposed main restricted universe multiverse
    

    sudo apt update && sudo apt upgrade

    3, vmware tools 安装以及一些常见错误

    • 常规安装vmtools
      测试中,Ubuntu20.10使用上述方法安装会出现 segmentation fault (core dumped),导致主机和虚拟机之间不能复制等等问题。
      sudo cp -r /your vmtools cd-rom path/ /~desktop
      sudo tar -zxvf vmtools.tar-gz
      cd vmtools
      sudo ./vmware-tools.pl -d
      P.S: (-d使用默认选项安装)

    • 简易安装
      sudo apt install open-vm-tools
      sudo apt install open-vm-tools-desktop
      sudo apt install open-vm-tools-dev
      sudo /etc/init.d/gdm3 restart

    相关文章

      网友评论

          本文标题:ubuntu20.10

          本文链接:https://www.haomeiwen.com/subject/fwcuaktx.html