[精讚] [會員登入]
1211

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

你可能感興趣的文章

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

testing gitlab and jenkins CI/CD on docker-1 在docker架設gitlab, jenkins 測試CI/CD pipeline第一章

using google Appscript to send messages through LINE NOTIFY 使用google app script傳送LINE NOTIFY

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

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

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

隨機好文

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

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

新增縣市端回傳使用者資料功能 新增縣市端回傳使用者資料功能

在windows server建立radius服務使用active directory帳號驗證 setup windows server to add radius service using active directory accounts for authentication

在windows環境下強制刪除無法以檔案總管刪除的檔案或目錄 how to remove directories or files that cannot be deleted by default file manager