[精讚] [會員登入]
1015

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

你可能感興趣的文章

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

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

how to make wicket web application runs under docker enviorment with correct encoding 在docker環境下,wicket web application 編碼錯誤的問題

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

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

我有話要說

>>

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

訪客留言

[無留言]

隨機好文

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

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

縣市端IdP新增自訂首頁內容功能 合併本部主程式,手動於mongo內新增管理使用者資料

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

啟動chrome時要求須輸入密碼enter password to unlock login keyring asking for entering password to unlock login kerying on Ubuntu desktop