vmware workstation 12 使用open-vm-tools配置ubuntu共享文件夹

link

gaoking@gaoking-virtual-machineirtual-machine:~$ vmware-hgfsclient
share_from_windows
gaoking@gaoking-virtual-machineirtual-machine:~$ cd /etc/systemd/system
gaoking@gaoking-virtual-machineirtual-machine:/etc/systemd/system$ sudo gedit ./mnt.hgfs.service
[sudo] gaoking 的密码: 

(gedit:2546): IBUS-WARNING **: 16:20:48.161: The owner of /home/gaoking/.config/ibus/bus is not root!

** (gedit:2546): WARNING **: 16:21:07.153: Set document metadata failed: 不支持设置属性 metadata::gedit-spell-language

** (gedit:2546): WARNING **: 16:21:07.154: Set document metadata failed: 不支持设置属性 metadata::gedit-encoding

** (gedit:2546): WARNING **: 16:21:11.813: Set document metadata failed: 不支持设置属性 metadata::gedit-position
gaoking@gaoking-virtual-machineirtual-machine:/etc/systemd/system$ sudo sysetmctl enable mnt.hgfs.service 
sudo: sysetmctl:找不到命令
gaoking@gaoking-virtual-machineirtual-machine:/etc/systemd/system$ systemctl --version
systemd 237
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid
gaoking@gaoking-virtual-machineirtual-machine:/etc/systemd/system$ sudo mkdir -p /mnt/hgfs
gaoking@gaoking-virtual-machineirtual-machine:/etc/systemd/system$ ls -l /mnt
总用量 4
drwxr-xr-x 2 root root 4096 3月  15 15:38 hgfs
gaoking@gaoking-virtual-machineirtual-machine:/etc/systemd/system$ sudo systemctl enable mnt.hgfs.service
Created symlink /etc/systemd/system/multi-user.target.wants/mnt.hgfs.service → /etc/systemd/system/mnt.hgfs.service.
gaoking@gaoking-virtual-machineirtual-machine:/etc/systemd/system$ ls -l /mnt/hgfs/
总用量 0
gaoking@gaoking-virtual-machineirtual-machine:/etc/systemd/system$ sudo systemctl reboot
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值