1安装vtrialbox软件以及CentOS5.6镜像
阿里云盘资源
VirtualBox-5.2.26-128414-Win.exehttps://www.aliyundrive.com/s/deVPYU89jG3提取码: 6d5q点击链接保存,或者复制本段内容,打开「阿里云盘」APP ,无需下载极速在线查看,视频原画倍速播放。
2安装VirtualBox
点击安装包,选择安装路径后打开
3在VirtualBox中安装CentOS
3.1点击新建
![](https://img-blog.csdnimg.cn/img_convert/2e93b0b73f21d27044ae4fc8728946f0.png)
3.2选择如图所示系统类型
![](https://img-blog.csdnimg.cn/img_convert/22f381b6f574df670bafe852263cd568.png)
![](https://img-blog.csdnimg.cn/img_convert/592cacc2795b18bb9818adeaab96c51a.png)
![](https://img-blog.csdnimg.cn/img_convert/fec1edf4913b71bacb7e5e188972ec11.png)
![](https://img-blog.csdnimg.cn/img_convert/9987e61f2cfca7426ca23fcab995aede.png)
![](https://img-blog.csdnimg.cn/img_convert/b9a5b6c8836cd0fd3bfd20d5c687cb54.png)
选择存放路径,建议D盘
![](https://img-blog.csdnimg.cn/img_convert/bb074a15a48d1c19fffd9631d88fb084.png)
![](https://img-blog.csdnimg.cn/img_convert/51555da534e334cb07a768bb167aabc0.png)
3.3选择光盘映像
![](https://img-blog.csdnimg.cn/img_convert/5326db1a4be400fd3727ffdbc56320cc.png)
3.4 按TAB键或→方向键选择 SKIP,再按ENTER键
![](https://img-blog.csdnimg.cn/img_convert/711cb69ac2f6d2ebd181c6a241bee3d0.png)
3.5配置
![](https://img-blog.csdnimg.cn/img_convert/e52cdcf610f15c96c0589ce7ab696960.png)
![](https://img-blog.csdnimg.cn/img_convert/ab2039e8b1b95b94bc3b938877c26152.png)
![](https://img-blog.csdnimg.cn/img_convert/efb06f83c427c0ffb5b47eda17bfc7c1.png)
![](https://img-blog.csdnimg.cn/img_convert/1e80331a66d9b77467440d8c05646dd6.png)
3.6点击红矩形圈住的地方,再在上面的新建选择swap内存选择2048g
![](https://img-blog.csdnimg.cn/img_convert/b1eb4cc75a309b29d6847f04c1d0fc52.png)
![](https://img-blog.csdnimg.cn/img_convert/71371bd6d805cd7c48d5983cccef264b.png)
![](https://img-blog.csdnimg.cn/img_convert/90ff5bfe2814619d97bfe992daf013a1.png)
![](https://img-blog.csdnimg.cn/img_convert/0c727131aba1bba76d1412f8c9f78de9.png)
3.7再次新建 /,选择全部空间
![](https://img-blog.csdnimg.cn/img_convert/8f8e3bf0626dd8ab464c4a6f52bf69fc.png)
![](https://img-blog.csdnimg.cn/img_convert/2de3110e24ed8c761805e3c778132e19.png)
![](https://img-blog.csdnimg.cn/img_convert/2bc9ef9aee5d9987725a159ca6f5206c.png)
![](https://img-blog.csdnimg.cn/img_convert/0cf11cf03ae219be0ab71616f29bc30d.png)
![](https://img-blog.csdnimg.cn/img_convert/80804eb44ef3f70633a090adea50a57a.png)
3.8设置root密码
![](https://img-blog.csdnimg.cn/img_convert/899ef2bbc0bef4edd7beacc3f45b9e46.png)
![](https://img-blog.csdnimg.cn/img_convert/4a8a6acd2763a5ba6cb486dcd8ecc8c6.png)
![](https://img-blog.csdnimg.cn/img_convert/07113d88d2d75db0126642b17660e251.png)
![](https://img-blog.csdnimg.cn/img_convert/663333fde0c0fb31f90df145f409c4ce.png)
![](https://img-blog.csdnimg.cn/img_convert/4187910e524165d2388bd5367fd63a6c.png)
![](https://img-blog.csdnimg.cn/img_convert/f90660891a2f5410a11a79472994b82d.png)
![](https://img-blog.csdnimg.cn/img_convert/6216d6ceed5d8ed23e209129546b1226.png)
![](https://img-blog.csdnimg.cn/img_convert/e47c7b9eeb0cef0471aaddacb87fd04e.png)
![](https://img-blog.csdnimg.cn/img_convert/dba994ac051d930d1f1efb716bc777d6.png)
3.9跳过新建普通用户
![](https://img-blog.csdnimg.cn/img_convert/f19a8544eb3e5d29c71c2afec3e292d1.png)
![](https://img-blog.csdnimg.cn/img_convert/7cd7d1233e2b50941b9efa1fd639c20e.png)
输入用户名 root,以及刚刚创建的root密码
![](https://img-blog.csdnimg.cn/img_convert/73469b76ba21a8d8d40170cf4cd90bb3.png)
![](https://img-blog.csdnimg.cn/img_convert/218bce14c1e415b018666f8fd70ac51b.png)