zoukankan      html  css  js  c++  java
  • redhat6和ubuntu13.10在WMware player 下与Windows共享文件

    Redhat下:

    点击VMware的 setting -> vmware tools install

    mount /dev/cdrom /mnt/cdrom
    cd /mnt/cdrom
    里面有一个vmware tools的tar包,解压执行vmware-tools-install.pl脚本(双击打开,选择  在终端中运行),一路回车,一般没有问题。

    点击Edit->Virtual Machine Settigns->Option->SharedFolders

    勾选Always Enable

    然后点击Add选定要共享的文件夹并给这个文件夹命名,下一步。

    选定 “Enable this share”, 确定以后,vmware会把这个文件夹自动mount到/mnt/hgfs目录下。

    此时就可以很方便地在宿主机和客户机之间共享数据。

    ubuntu13.10下:

      1. Create a folder in your Windows file system that you want to use as the share. Make sure it’s in a location where your user account has full access rights. I’ve created one in My Documents as it will also be backed up by my Mozy Home account
      2. Power down the VM shutting down Ubuntu
      3. Select your VM in VMware Player and click Edit virtual machine settings
      4. In the Options tab click Shared Folders in the left hand pane
      5.  Click Always enabled in the right and pane and click Add…
      6. This will take you into the “Add Shared Folder Wizard”
      7. Click Next and follow the prompts selecting the folder you created in Step 1
      8. Also name the share – this is the name that the folder will have in Ubuntu
      9. You will come back to the Settings screen with your share added
      10. Click OK to close the settings
      11. Play the VM to boot Ubuntu
      12. Shared folders in Ubuntu appear in the location /mnt/hgfs but you probably won’t be able to see it
      13. To check to see if Ubuntu is aware that there is a shared folder available run this command in a terminal window
        $vmware-hgfsclient
      14. This will output the share name into the terminal window, e.g.

         
        $vmware-hgfsclient
        WinLinShare
      15. So far so good! Now we need to run the VMWare config tools. In terminal enter
        sudo vmware-config-tools.pl
      16. Follow the prompts, accepting the default values
      17. Check to see that your folder is now showing in the /mnt/hgfs directory
        $ dir /mnt/hgfs
        WinLinShare
  • 相关阅读:
    Tor网络突破IP封锁,爬虫好搭档【入门手册】
    ubuntu python3相关
    toutiao url
    处理跨域请求
    Python使用虚拟环境
    Python删除文件,空文件夹,非空文件夹
    如何在jupyter中使用Python2和Python3
    推荐使用国内的豆瓣源安装Python插件
    Python数据库查询之组合条件查询-F&Q查询
    获取Django项目的全部url
  • 原文地址:https://www.cnblogs.com/wahsonleung/p/3230401.html
Copyright © 2011-2022 走看看