MAC M芯片安装配置VMware+Ubuntu
- [VMware Fusion下载](#VMware Fusion下载)
- Ubuntu虚拟机下载
VMware Fusion下载
1、先注册账号:打开https://profile.broadcom.com/web/registration进行账号注册
3、安装过程中按照默认配置安装即可
参考:https://zhuanlan.zhihu.com/p/10399355851
Ubuntu虚拟机下载
1、官网下载UBuntu:打开https://ubuntu.com/download/server,点击ARM
点击Download
2、将下载好的iso文件拖入VMware进行安装
默认配置即可
一直选择done,回车,如果遇到下面场景选continue
在这里输入账号密码
下面选择Continue
建议安装一下ssh
下面保持默认,后面有需要再安装
安装完成后重启
遇到下面的失败直接回车即可
后面登陆自己的账号密码即可进入Ubuntu服务
3、使用ssh连接到Ubuntu虚拟机
Ubuntu安装网络工具包:
powershell
sudo apt install net-tools
查看Ubuntu的IP:
powershell
ifconfig

在mac终端(非ubuntu终端)输入ssh,即可连接Ubuntu
powershell
ssh 用户名@IP地址

4、安装ubuntu桌面系统
apt更换清华源并更新
powershell
sudo sed -i "s@http://.*archive.ubuntu.com@https://mirrors.tuna.tsinghua.edu.cn@g" /etc/apt/sources.list
sudo sed -i "s@http://.*security.ubuntu.com@https://mirrors.tuna.tsinghua.edu.cn@g" /etc/apt/sources.list
sudo apt update
sudo apt upgrade
安装Ubuntu桌面
powershell
sudo apt install ubuntu-desktop
启用桌面
powershell
sudo systemctl set-default graphical.target
重启系统
powershell
sudo reboot
5、Mac与虚拟机共享文件
安装 VMware Tools
powershell
sudo apt install open-vm-tools open-vm-tools-desktop
在 VMware 设置中启用共享文件夹
选择虚拟机 → 设置 → 共享
添加 Mac 上的文件夹作为共享文件夹
Ubuntu 中共享文件存储位置
powershell
/mnt/hgfs/共享文件夹名称