虛擬機器Oracle VM VirtualBox linux系統如何訪問windows共用資料夾

來源:互聯網
上載者:User

標籤:代碼   round   地址   comm   jin   oracle   started   log   tab   

1、 在本機系統設定一個共用資料夾,用於與Ubuntu互動的地區空間。

 
 

2、右擊狀態列上共用資料夾表徵圖或功能表列“裝置-共用資料夾”,開啟共用資料夾設定,示

 

3、點擊共用資料夾設定框,右上方的添加按鈕

選擇之前本機設定的共用資料夾

此時一定不可以勾選自動掛載

4、設定好共用名稱後,進入Linux系統,開啟終端,先執行命令,在掛載點目錄添加“Windows_Share”目錄,接著執行" mount -t vboxsf VirtureBox_Share /mnt/Windows_Share/",就能完成共用資料夾的設定。

[[email protected] ~]$ suPassword: [[email protected] oracle]# mkdir /mnt/Windows_Share[[email protected] oracle]# mount -t vboxsf VirtureBox_Share /mnt/Windows_Share/[[email protected] oracle]#

5、設定完成,可以建立幾個檔案,測試一下

 

(測試方法:

1. 在本地C:\Software\Oracle\VirtureBox_Share建立一個檔案,到mnt/ Windows_Share/目錄 查看。

2.在mnt/Windows_Share/目錄建立一個檔案,在本機C:\Software\Oracle\VirtureBox_Share進行查看)

[[email protected] oracle]# cd /mnt/Windows_Share/[[email protected] Windows_Share]# lswindow建立.txt[[email protected] Windows_Share]# touch linux.txt[[email protected] Windows_Share]# lslinux.txt window建立.txt[[email protected] Windows_Share]#

6、設定自動掛載

[[email protected] ~]$ suPassword: [[email protected] oracle]#vim /etc/fstab

添加

VirtureBox_Share /mnt/Windows_Share/ vboxsf rw,gid=110,uid=1100,auto 0 0

7、卸載掛載點命令:

umount -f /mnt/share
原文地址:

VirtualBox內Linux系統怎樣與Windows共用資料夾

虛擬機器Oracle VM VirtualBox linux系統如何訪問windows共用資料夾

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.