1. 下載vmware15
https://www.vmware.com/go/getworkstation-win
註冊號
https://gist.github.com/gopalindians/94c2c8617028cfe7a5788f760e036fd2
2. 下載centos8
http://mirrors.ocf.berkeley.edu/centos/8.1.1911/isos/x86_64/CentOS-8.1.1911-x86_64-dvd1.iso
3. 安裝centos8
https://blog.csdn.net/yang5726685/article/details/78635388
4. Disable Windows Defender Credential Guard
https://docs.microsoft.com/en-us/windows/security/identity-protection/credential-guard/credential-guard-manage#disable-windows-defender-credential-guard
跟着步驟來,些許補充如下:
- 執行第一步前,win+r ,輸入gpedit.msc
- 執行第二、三步前,win+r,輸入regedit
- 第四步需要用管理員權限,在cmd中執行(點開開始菜單,在搜索框中輸入“cmd”,在搜索結果中,對着命令提示符程序,單擊鼠標右鍵,菜單中點擊選擇“以管理員身份運行”。),千萬不要在Powershell中執行(win+x,選擇管理員權限)
5. NAT模式下連不上外網(設proxy)
https://blog.csdn.net/qq_33569093/article/details/72898126
推薦順便設置全局代理:
- vi /etc/profile
- 在文件末尾加上
http_proxy=https://yourproxy:port
https_proxy=http://yourproxy:port
ftp_proxy=http://yourproxy:port
export http_proxys
export https_proxy
export ftp_proxy - reboot
6. 升級ruby
https://blog.csdn.net/a656678879/article/details/80474531