Skip to content

设置root用户

给root账户设置密码 在当前普通用户界面下输入命令: sudo passwd root 然后按提示两次输入密码即可

配置ens33网卡

1.进入 /etc/netplan/ 目录 2.修改目录下文件 file

3.执行命令 netplan apply 再重启执行 ifconfig 就能看到 ens33 网卡已经存在了

查询VM虚拟机网关 vm菜单栏 – 编辑 – 虚拟网络编辑器 file

file

安装ubuntu时参考

file

虚拟机目录挂载

在root模式下输入

bash
vim /etc/fstab

然后在最后一行加入

bash
.host:/ /mnt/hgfs fuse.vmhgfs-fuse allow_other 0

并保存

参考文章

Released under the MIT License.