[精讚] [會員登入]
1161

使用virtualbox每次都忘記的事情

share folder from win host to linux guest vm

分享此文連結 //n.sfs.tw/12647

分享連結 使用virtualbox每次都忘記的事情@外行中的外行
(文章歡迎轉載,務必尊重版權註明連結來源)
2019-10-23 15:57:46 最後編修
2018-08-23 23:12:55 By jung
 

很久沒發文,就是為了要把這件每次都忘記的事記下來!!!

由於bitvise不知為何在我的win10 home edition當掉了@@

只好回到putty+filezilla,可是一個很大的問題,filezilla讀不到我在linux下編譯後要上傳遠端主機的檔案等等

於是samba不管用,又回到virtualbox的share folder機制

然後,在windows host分享了資料夾給ubuntu vm如果你沒做這個動作就悲劇了,資料夾在linux guest vm裡就是沒有存取權限,看得到吃不到GG

想了好久,每次裝linux vm一定要做的事,就是:

sudo usermod -aG vboxsf $(whoami)

然後登出再登入,或reboot

就是為了把linux一般使用者加入wheel管理權

一定要記得做,切記!

 

在ubuntu host則是要用

sudo usermod -aG vboxusers $USER

如果是要讓虛擬機存取host端的vmdk等虛擬硬碟檔案,要再做

sudo usermod -aG disk $USER

 

END

你可能感興趣的文章

更新java版本後一定要做的事情 how to deal with PKIX path building failed issue after upgrade java sdk version in IDE

intellij IDEA git設定說明 whenever using git push fuction in the intellij IDEA

specific instructions to create a maven archetype from local existing project. Generate an archetype from the project

在intellij IDEA解決檔案內容顯示為UTF-8字碼而不是中文的問題 how to show correct language content of file, instead of utf-8 encoded charactors

使用letsEncrypt替換docker容器內的nginx https憑證 using cerbot for nginx on oracle linux 9

how to stop wildfly keeping standalone server log how to stop wildfly keeping standalone server log

我有話要說

>>

限制:留言最高字數1000字。 限制:未登入訪客,每則留言間隔需超過10分鐘,每日最多5則留言。

訪客留言

[無留言]

隨機好文

[網管心得]qnap+proxmox 韌體更新及nfs掛載或變更

設定win10開機自動執行openvpn連接vpn server how to make win10 connecting to a vpn server automactically after booting up

bitbucket repository control application setup 安裝完bitbucket服務後,須設定bitbucket.properties

安裝netbeans9遇到的小狀況 how to show netbeans9 program onto ubuntu desktop

如何在ubuntu 18.04上設定一開機就啟動virtualbox某個vm a way to setup ubuntu18.04 for start vm on boot