Ubuntu openKylin 安装open VMware tool 工具

本文介绍如何在Ubuntu系统中修改sources.list,添加阿里云镜像和OpenKylin源,并指导如何安装open-vm-tools以实现文件共享,包括开机自动挂载。重点在于简化设置并提升系统效率。

修改source添加

cat /etc/apt/sources.list


deb http://archive.build.openkylin.top/openkylin/ yangtze main cross pty
deb http://archive.build.openkylin.top/openkylin/ yangtze-security main cross pty
deb http://archive.build.openkylin.top/openkylin/ yangtze-updates main cross pty

deb http://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse


1.首先先更新软件列表清单
sudo apt update
2.安装open-vm-tools
sudo apt install open-vm-tools
3.安装open-vm-tools-dkms 实现文件夹共享
sudo apt install open-vm-tools-dkms
4.安装open-vm-tools-desktop 桌面环境实现文件的双向拖拽
sudo apt install open-vm-tools-desktop

安装完成,添加共享文件夹
VMware依次点击--虚拟机--设置--选项--共享文件夹--总是启f用--添加目录即可
5.许多人在上述操作后,每次重启系统都不会自动挂载共享文件夹,导致每次都要重新设置
这时,只要使用vi编辑器在/etc/fstab添加上下面这句话即可实现开机自动挂载
.host:/         /mnt/hgfs         fuse.vmhgfs-fuse allow_other,defaults   0       0
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值