[精讚] [會員登入]
1268

使用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

你可能感興趣的文章

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

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

[NetBeans]如何從git下載專案改建為自己的專案 修改git專案

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

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

openssl package update issue caused by cve-2022-2068 centos7 is at maintenance support phase2, only critical impact security issues will be patched

隨機好文

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

在新版谷歌協作平台嵌入edimax或lass空氣盒子讀取數值並視覺化 embeeded javascript to read and visualized lass json value on new google site

如何用git log功能產生有固定格式的commit紀錄 how to create a git commit history log file with custom format

測試及處理slow http attack on Apache 2.4.6 at CentOS-7 avoiding and testing slow http attack

在ESXI6.7修改系統時間 how to modify esxi system time setting for good