Vmware安装debian系统折腾记录

发布于 2021-02-05  578 次阅读


突发奇想给电脑装个linux虚拟机玩,就打算装个debian系统,然后,坑就来了。

首先我先放个镜像包在这里

https://chuangtzu.ftp.acc.umu.se/debian-cd/current/amd64/iso-dvd/debian-10.7.0-amd64-DVD-1.iso

1.记得安装全程选英文,不要装桌面UI,只要SSH和工具包就够了

2.SSH默认只能用非root用户登陆,登上之后,用su切换root用户

3.连接后,先装个vim,然后执行下,防止vim坑

echo set clipboard=unnamed >> ~/.vimrc

4.然后编辑vim /etc/apt/sources.list,更新为国内源

deb http://mirrors.ustc.edu.cn/debian buster main contrib non-free
deb http://mirrors.ustc.edu.cn/debian buster-backports main contrib non-free
deb http://mirrors.ustc.edu.cn/debian buster-proposed-updates main contrib non-free
deb http://mirrors.ustc.edu.cn/debian-security buster/updates main contrib non-free

5.查看IP,还是用shell工具连吧,不然vm下玩起来太累了

ip addr show

 


一沙一世界,一花一天堂。