電腦與網路相關系統的使用存在許多「秘密」, 而這些所謂的「秘密」都與系統的版次有關, 因為各軟硬體套件在不同時間與環境下, 各有不同的組態設定匹配需求, 一旦其中一個組態條件改變, 原先軟硬體套件既有的功能, 可能就無法達成.
當電腦與網路配置條件, 在開源軟體開發流程中透過 Release 發布之後, 這些「秘密」將不復存在.
以 VMboxVmService 為例:
假如您此刻所使用的套件是從 http://vboxvmservice.sourceforge.net/ 下載, 「最新」版本是 5.2 版, 當套用 https://www.virtualbox.org/wiki/Download_Old_Builds_5_2 中截至 5.2.30 的版本執行建立 Windows 10 環境下的系統服務時, 完全沒有問題.
但是隨著 Virtualbox 更新至 https://www.virtualbox.org/wiki/Download_Old_Builds_6_0 之後, 乃至目前最新的 6.0.8 Virtualbox, 之前下載的 VBoxVmService 5.2 就會失效, 這時使用者就有兩種選擇.
相對保守的選擇是, 將 Virtualbox 從 6.0.8 退回 5.2.30 之前的版本, 可以繼續使用舊版 5.2 的 VBoxVmService, 但是過程中新版套件針對舊版所修正 5 版中的 bugs 或 6 版中的 bugs 與新增功能就無法使用.
因此, 最佳的選擇應該就是, 追蹤到 VBoxVmService 的原始碼開發倉儲: https://github.com/onlyfang/VBoxVmService/releases, 將 VBoxVmService 升級為最新的 6.0, 並且與最新的 Virtualbox 6.0.8 匹配使用.
透過以上的說明, 可以得知: http://vboxvmservice.sourceforge.net/ 與 https://sourceforge.net/projects/vboxvmservice/files/ 已經是兩個遭受原始開發者「遺棄」的網站, 內容已經不再更新. 而 https://github.com/onlyfang/VBoxVmService 才是目前仍繼續配合 https://www.virtualbox.org 持續改版的倉儲.
網路上類似的案例還有很多:
https://github.com/BBBSnowball/python-solvespace 早在六年前就只剩下參考的價值, 接替而起的倉儲是 https://github.com/KmolYuan/python-solvespace, 但是從上個月起, 這個倉儲也準備不再更新, 因為取而代之的是能夠與原始 Solvespace 開發倉儲緊密結合的 Python 分支: https://github.com/KmolYuan/solvespace/tree/python.
Showing posts with label virtualbox. Show all posts
Showing posts with label virtualbox. Show all posts
Saturday, June 15, 2019
Sunday, April 21, 2019
Virtualbox 虛擬主機的網路設定
Virtualbox 兩層次設定
Virtualbox File 下拉式功能表下的 Preferences 屬於全系統的偏好設定, 而與各虛擬主機對應的 Settings 則僅與該對應的虛擬主機有關.
Virtualbox 虛擬主機網路設定
參考:
https://www.virtualbox.org/manual/ch06.html
https://technology.amis.nl/2018/07/27/virtualbox-networking-explained/
Not Attached
當使用者需要模擬虛擬主機的網路卡連接線被拔除的情況時, 可將該虛擬主機的網路卡以 Not Attached 模式設定.
NAT
當使用者只需要讓虛擬主機能夠上網, 下載檔案或登入電子郵箱時, 可以將虛擬主機的網路卡以 NAT 模式設定. 在 NAT 模式下, 只有 ping 能夠運作, tracert 與其他與 ICMP 、VPN 或 PPTP 等協定對應的功能都將會失效.
NAT Network
NAT Network 與 NAT 類似, 但使用者可以透過 File-Preferences-Network 新增多個 NAT Network, 並選擇所要使用的網段與 DHCP 或是否支援 IPv6 等設定.
Bridged Adapter
當使用者需要利用虛擬主機建立與 Host 位階相同的網路模式時, 可以將虛擬主機的網卡設訂為 Bridged Adapter.
Internal Network
當使用者需要讓虛擬主機設定為 https://en.wikipedia.org/wiki/Software-defined_networking 時, 可以將網路卡設為可透過軟體調控的網路模式.
Host-only Adapter
當使用者只需要讓虛擬主機與 Host 電腦連線時, 可以將網卡設為 Host-only Adapter, 此一模式的使用時機可以在虛擬主機中配置 WWW 伺服器、應用程式伺服器、Fossil SCM 伺服器, 然後透過 Host 上的瀏覽器進行連線測試, 或者在虛擬主機上安裝特定軟體套件的認證主機, 以便讓 Host 中的軟體套件透過虛擬主機執行授權認證.
參考 vdi:
位於雲端的 Ubuntu 18.04_201904.vdi (約 9 GB) - 已經配置 Fossil SCM: https 5443, Host-only: 192.168.56.2, https: 443 and 8843 for CMSimfly, Squid Proxy Server.
假如要利用 USB 隨身碟存放上述約 9 GB 的 Ubuntu 18.04 vdi 檔案, 必須將隨身碟格式化為 NTFS, 若採 Fat32 格式, 最大單一檔案必須小於 4 GB.
另外在近端有一類似的檔案, 可提供上課學員下載:
http://wcmg1.kmol.info:88/ub1804_nox.vdi (僅限近端用戶使用 IPv6 協定者下載)
參考網際應用程式:
https://github.com/mdecourse/wcms-scrum1
http://mde.tw/2017springcd/blog/brython-spur-gears.html
https://github.com/mdecourse/cd2018/issues/33
https://github.com/looooo/freecad.gears
https://forum.freecadweb.org/viewtopic.php?t=27566
https://www.freecadweb.org/wiki/Scripting_examples
https://github.com/mdecourse/WebCADViewer
https://github.com/JMG1/ExplodedAssembly
https://github.com/shaise/FreeCAD_SheetMetal
https://github.com/jmplonka/InventorLoader
https://github.com/jptned/3DGuitar
https://framagit.org/FrViPofm/Bike3D
Ubuntu 18.04 虛擬主機網路連線設定
設定檔案 /etc/netplan/50-cloud-init.yaml
修改後, 以
sudo netplan apply
讓設定生效.
Ubuntu 18.04 Service 管理
https://github.com/mdecourse/cadp2018/issues/16#issuecomment-485048985
CMSimfly 透過 uwsgi 在 Ubuntu 18.04 以 service 啟動
https://github.com/mdecourse/cadp2018/issues/16#issuecomment-485080368
Ubuntu 18.04 apt proxy 設定
安裝 Ubuntu 18.04-2 過程中所輸入的 proxy server, 將存入 /etc/apt/apt.conf.d/90curtin-aptproxy 檔案中, 這與之前使用 /etc/apt/apt.conf 的設定不同.
Virtualbox 虛擬主機與實體操作系統間的雙向轉換
https://github.com/mdecourse/cadp2018/issues/16#issuecomment-485101887
Virtualbox File 下拉式功能表下的 Preferences 屬於全系統的偏好設定, 而與各虛擬主機對應的 Settings 則僅與該對應的虛擬主機有關.
Virtualbox 虛擬主機網路設定
參考:
https://www.virtualbox.org/manual/ch06.html
https://technology.amis.nl/2018/07/27/virtualbox-networking-explained/
Not Attached
當使用者需要模擬虛擬主機的網路卡連接線被拔除的情況時, 可將該虛擬主機的網路卡以 Not Attached 模式設定.
NAT
當使用者只需要讓虛擬主機能夠上網, 下載檔案或登入電子郵箱時, 可以將虛擬主機的網路卡以 NAT 模式設定. 在 NAT 模式下, 只有 ping 能夠運作, tracert 與其他與 ICMP 、VPN 或 PPTP 等協定對應的功能都將會失效.
NAT Network
NAT Network 與 NAT 類似, 但使用者可以透過 File-Preferences-Network 新增多個 NAT Network, 並選擇所要使用的網段與 DHCP 或是否支援 IPv6 等設定.
Bridged Adapter
當使用者需要利用虛擬主機建立與 Host 位階相同的網路模式時, 可以將虛擬主機的網卡設訂為 Bridged Adapter.
Internal Network
當使用者需要讓虛擬主機設定為 https://en.wikipedia.org/wiki/Software-defined_networking 時, 可以將網路卡設為可透過軟體調控的網路模式.
Host-only Adapter
當使用者只需要讓虛擬主機與 Host 電腦連線時, 可以將網卡設為 Host-only Adapter, 此一模式的使用時機可以在虛擬主機中配置 WWW 伺服器、應用程式伺服器、Fossil SCM 伺服器, 然後透過 Host 上的瀏覽器進行連線測試, 或者在虛擬主機上安裝特定軟體套件的認證主機, 以便讓 Host 中的軟體套件透過虛擬主機執行授權認證.
參考 vdi:
位於雲端的 Ubuntu 18.04_201904.vdi (約 9 GB) - 已經配置 Fossil SCM: https 5443, Host-only: 192.168.56.2, https: 443 and 8843 for CMSimfly, Squid Proxy Server.
假如要利用 USB 隨身碟存放上述約 9 GB 的 Ubuntu 18.04 vdi 檔案, 必須將隨身碟格式化為 NTFS, 若採 Fat32 格式, 最大單一檔案必須小於 4 GB.
另外在近端有一類似的檔案, 可提供上課學員下載:
http://wcmg1.kmol.info:88/ub1804_nox.vdi (僅限近端用戶使用 IPv6 協定者下載)
參考網際應用程式:
https://github.com/mdecourse/wcms-scrum1
http://mde.tw/2017springcd/blog/brython-spur-gears.html
https://github.com/mdecourse/cd2018/issues/33
https://github.com/looooo/freecad.gears
https://forum.freecadweb.org/viewtopic.php?t=27566
https://www.freecadweb.org/wiki/Scripting_examples
https://github.com/mdecourse/WebCADViewer
https://github.com/JMG1/ExplodedAssembly
https://github.com/shaise/FreeCAD_SheetMetal
https://github.com/jmplonka/InventorLoader
https://github.com/jptned/3DGuitar
https://framagit.org/FrViPofm/Bike3D
Ubuntu 18.04 虛擬主機網路連線設定
設定檔案 /etc/netplan/50-cloud-init.yaml
修改後, 以
sudo netplan apply
讓設定生效.
Ubuntu 18.04 Service 管理
https://github.com/mdecourse/cadp2018/issues/16#issuecomment-485048985
CMSimfly 透過 uwsgi 在 Ubuntu 18.04 以 service 啟動
https://github.com/mdecourse/cadp2018/issues/16#issuecomment-485080368
Ubuntu 18.04 apt proxy 設定
安裝 Ubuntu 18.04-2 過程中所輸入的 proxy server, 將存入 /etc/apt/apt.conf.d/90curtin-aptproxy 檔案中, 這與之前使用 /etc/apt/apt.conf 的設定不同.
Virtualbox 虛擬主機與實體操作系統間的雙向轉換
https://github.com/mdecourse/cadp2018/issues/16#issuecomment-485101887
Subscribe to:
Posts (Atom)
NX12
NX 12 Help https://docs.plm.automation.siemens.com/tdoc/nx/12/nx_help Python related https://docs.plm.automation.siemens.com/tdoc/nx/...
-
2019 Spring Week9 五專網際內容管理 期中考自評影片 請各學員依照 https://2019wcm.blogspot.com/2019/04/2019-spring.html 說明 進行期中考週各項任務. 影片上傳後, 以類似下方的 ancho...
-
2019 Spring Week9 2a 期中考自評影片 請各學員依照 https://2019wcm.blogspot.com/2019/04/2019-spring.html 說明 進行期中考週各項任務. 2a 倉儲: https://github.c...
-
2019 Spring Week9 四技網際內容管理 期中考自評影片 請各學員依照 https://2019wcm.blogspot.com/2019/04/2019-spring.html 說明 進行期中考週各項任務. 影片上傳後, 以類似下方的 ancho...