Ryzen3 2200g安装Debian11.1后配置VBox

〇、基础知识
vi 命令
i 进入编辑模式;
esc 退出编辑模式;
x 删除光标所在字符;
:q! 不保存退出;
:x! 保存退出。
一、启动sudo
su root
vi /etc/sudoers
光标移到 root ALL=(ALL:ALL)ALL 下一行,按i进入编辑模式,添加:
用户名 ALL=(ALL:ALL)ALL
二、换国内源
vi /etc/apt/sources.list
全部删除,替换为以下内容:
deb Index of /debian/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror bullseye main contrib non-free
# deb-src Index of /debian/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror bullseye main contrib non-free
deb Index of /debian/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror bullseye-updates main contrib non-free
# deb-src Index of /debian/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror bullseye-updates main contrib non-free​

deb Index of /debian/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror bullseye-backports main contrib non-free
# deb-src Index of /debian/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror bullseye-backports main contrib non-free​

deb Index of /debian-security/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror bullseye-security main contrib non-free
#deb-src Index of /debian-security/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror bullseye-security main contrib non-free
三、更新
sudo apt update
sudo apt upgrade
四、安装驱动
因清华源已包含non-free,可以直接安装以下驱动:
Ryzen3 2200g内置显卡驱动:
sudo apt install firmware-amd-graphics
网卡驱动:
sudo apt install firmware-realtek
五、安装VBOX6.1

$ wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
$ wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
$ echo "deb [arch=amd64] Index of http://download.virtualbox.org/virtualbox/debian bullseye contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list
sudo apt update
sudo apt install linux-headers-$(uname -r) dkms $
sudo apt install virtualbox 6.1
 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值