1.在Ubuntu中遇到 vi 编辑器的上下左右方向金变成ABCD 时:
解决方法: cp /etc/vim/vimrc ~/.vimrc
然后重启终端即可
2.Ubuntu 16.04下安装VMware Tools,3行命令
第一行命令: sudo apt-get upgrade
第二行命令: sudo apt-get install open-vm-tools-desktop -y
第三行命令: sudo reboot
3.vmware自动挂载共享文件夹下面看不见文件
vmware里共享主机文件夹给虚拟机使用,系统是ubuntu18的
参考: https://bbs.csdn.net/topics/350258010
这篇文章里的,对于ubuntu18来说不行。
然后又参考文章:https://blog.csdn.net/kulala082/article/details/67635198
这篇文章中命令可以了,主要使用以下命令,首先是安装工具包,不再是open-vm-dkms
我是使用的:apt-get install open-vm-*
挂载命令:
使用命令: sudo mount -t fuse.vmhgfs-fuse .host:/VM_Shared /mnt/hgfs -o allow_other(如果卸载,就把mount -t换成umount -a)
或sudo vmhgfs-fuse .host:/VM_Shared /mnt/hgfs
(其中.host:/Documents是共享名,只需把Documents换成使用vmware-hgfsclient 命令得到的目 录,/mnt/hgfs是挂载点。)
如果每次重启之后想让系统自动挂载 #vi /etc/fstab:
在最后添加一行:
.host:/VM_Shared /mnt/hgfs fuse.vmhgfs-fuse allow_other 0 0