linux虚拟机设置共享文件夹

来源:互联网 发布:网络推广的综合方案 编辑:程序博客网 时间:2024/04/27 08:16

# window文件共享
sudo mount -t vmhgfs .host:/ /mnt/hgfs
# 脚本文件
/usr/bin/mount_hgfs

#NFS文件共享
mount –t nfs –o nolock 192.168.1.199:/armnfs /mnt/disk/Lee

#更改IP
ifconfig eth0 192.168.0.200
ifconfig eth0 down
ifconfig eth0 up

# 交叉编译文件
/opt/qt-4.7.1/bin/qmake


#手工加载SD卡
mount -t vfat /dev/sdcard /sdcard/

# 压缩文件
tar czvf Detector.0524.tar.gz Detector

# 解压文件
tar xzvf Detector.0524.tar.gz -C ./ 

原创粉丝点击