栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

虚拟机 Ubuntu系统 vmaretools 安装

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

虚拟机 Ubuntu系统 vmaretools 安装

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

其中open-vm-tools可能出现unload package问题

可使用以下源

#deb包

deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse  
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse  
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse  
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse 
 
##测试版源  

deb http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse  

# 源码  

deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse  
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse  
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse  
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse 
 
##测试版源  

deb-src http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse  

# 更新的源的内容

# deb http://mirrors.aliyun.com/ubuntu/ raring main restricted universe multiverse
# deb http://mirrors.aliyun.com/ubuntu/ raring-security main restricted universe multiverse
# deb http://mirrors.aliyun.com/ubuntu/ raring-updates main restricted universe multiverse
# deb http://mirrors.aliyun.com/ubuntu/ raring-proposed main restricted universe multiverse
# deb http://mirrors.aliyun.com/ubuntu/ raring-backports main restricted universe multiverse
# deb-src http://mirrors.aliyun.com/ubuntu/ raring main restricted universe multiverse
# deb-src http://mirrors.aliyun.com/ubuntu/ raring-security main restricted universe multiverse
# deb-src http://mirrors.aliyun.com/ubuntu/ raring-updates main restricted universe multiverse
# deb-src http://mirrors.aliyun.com/ubuntu/ raring-proposed main restricted universe multiverse
# deb-src http://mirrors.aliyun.com/ubuntu/ raring-backports main restricted universe multiverse
文件共享功能使用

1、进入虚拟机设置共享文件 

2.查看是否有/mnt/hgfs

没有则可以自己在mnt下新建hgfs

3.vmware-hgfsclient 查看当前共享目录

4.sudo vmhgfs-fuse .host:/ /mnt/hgfs -o  subtype=vmhgfs-fuse,allow_other,nonempty 挂载共享文件

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/679355.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号