MAC M芯片安装配置VMware+Ubuntu

MAC M芯片安装配置VMware+Ubuntu

VMware Fusion下载

1、先注册账号:打开https://profile.broadcom.com/web/registration进行账号注册

2、下载VMware Fusion:打开https://support.broadcom.com/group/ecx/productfiles?subFamily=VMware Fusion\&displayGroup=VMware Fusion 13\&release=13.6.3\&os=\&servicePk=\&language=EN\&freeDownloads=true,如果重定向到登陆界面,登陆成功后再重新请求上面的链接,点击下载。注意第一次下载的时候,左上角有同意协议,记得点击下这个协议,才能勾选同意协议

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/共享文件夹名称

参考:https://www.bilibili.com/video/BV1V4421D7Gt/?share_source=copy_web\&vd_source=3c9e4c525626aaebdf340eb966f54b56

相关推荐
开压路机4 小时前
进程控制
linux·服务器
香蕉鼠片4 小时前
跨平台开发到底是什么
linux·windows·macos
bukeyiwanshui6 小时前
20260417 DNS实验
linux
代码中介商7 小时前
Linux 帮助手册与用户管理完全指南
linux·运维·服务器
weixin_449173659 小时前
Linux -- 项目中查找日志的常用Linux命令
linux·运维·服务器
想唱rap10 小时前
C++智能指针
linux·jvm·数据结构·c++·mysql·ubuntu·bash
Strugglingler10 小时前
基于whiptail开发shell导航工具
linux·shell·ui设计·whiptail
艾醒(AiXing-w)10 小时前
Linux系统管理(二十)——Linux root磁盘不足?一站式应急清理方案(亲测可用)
linux·运维·服务器
小义_11 小时前
【Kubernetes】(五) pod2
linux·云原生·容器·kubernetes
哇哦98211 小时前
渗透安全(渗透防御)②
linux·安全·渗透防御