Windows與VMware下的Linux檔案分享權限設定(vmware tools和Samba)

來源:互聯網
上載者:User

1.用vmware tools工具
SharedFolders是Vmware4 的一個新功能,更加方便了在Host,Guest作業系統間共用檔案。但是使用前要安裝vmware tools.
點擊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->Add,選定要共用的檔案夾並給這個檔案夾命名,下一步。

選定“Enable thisshare”, 確定以後,vmware會把這個檔案夾自動mount到/mnt/hgfs目錄下。

安裝失敗的原因可能有:

缺GCC和標頭檔(/usr/bin/gcc和/usr/bin/linux/include)

 

2.利用Windows的檔案分享權限設定功能
比如說你的Windows的IP為192.168.1.100,共用了一個叫share的目錄,那麼就可以用下列命令
mount -t smbfs //192.168.1.100/share /mnt -o username=user%passwd
或者smbmount //192.168.1.100/share /mnt -o username=user%passwd(用這個命令要安samba哦)

3.利用Samba
在linux下配置一個Samba伺服器

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.