美文网首页
免费桌面虚拟机 VMware Workstation Playe

免费桌面虚拟机 VMware Workstation Playe

作者: louyang | 来源:发表于2020-01-21 16:34 被阅读0次
1 下载VMware Workstation Player

从VMware官网下载并安装VMware Workstation 15.5.0 Player for Windows 64-bit Operating Systems,2019-09-20。
如果安装失败,尝试先安装Visual Studio Community 2019。

2 下载CentOS

从CentOS官网下载CentOS 8 2019-11-20。

3 创建虚拟机

创建Linux虚拟机,50G硬盘,4G内存,2个CPU核,虚拟化引擎都勾上,不用的硬件都删掉,镜像文件指向刚下载的CentOS-8-...iso,开机后开始安装,安装过程中设置root密码和创建新用户。

image.png
4 变成 sudoer

首先确认wheel可以执行任何命令:

$ visudo
...
## Allows people in group wheel to run all commands
%wheel  ALL=(ALL)       ALL

## Same thing without a password
%wheel  ALL=(ALL)       NOPASSWD: ALL

然后把用户加入wheel组:

$ usermod -aG wheel username

CentOS竟然需要重启才能生效上述命令,有点奇怪...

5 配置 yum 代理

/etc/yum.conf

proxy=http://<Proxy-Server-IP-Address>:<Proxy_Port>
proxy_username=<Proxy-User-Name>
proxy_password=<Proxy-Password> 
6 软件跟新
$ sudo yum update
7 安装 python library
$ sudo pip3 install numpy --proxy http://<ip>:<port>

相关文章

网友评论

      本文标题:免费桌面虚拟机 VMware Workstation Playe

      本文链接:https://www.haomeiwen.com/subject/ljjinctx.html