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.youkuaiyun.com/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.youkuaiyun.com/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.youkuaiyun.com/a656678879/article/details/80474531