简介
本次视频将会讲解 Centos8 命令行和桌面版的详细安装,一般作为初学者学习 Linux 操作系统,都是用到 Centos,因为它来自 RedHat,而且大部分公司企业的服务器都是RedHat / Centos 操作系统,本视频可以让你快速了解 Centos 的安装流程,让你快速步入 Linux 的大门,需要安装 Centos 7 的小伙伴也可以参考下,安装流程基本一致。
下载Centos 8
进入Centos 官网,https://www.centos.org/
点击【CentOS Linux DVD ISO】,选择对自己合适的镜像站下载
![图片[1]-超详细使用 VMware 虚拟机 安装Linux Centos 7/8 操作系统-极客很忙](https://geekbusy.com/wp-content/uploads/2020/05/2506dd76f6686e8258aac7e14e818cd4.png)
Centos8 1911 (2020年05月10日)
阿里源:http://mirrors.aliyun.com/centos/8.1.1911/isos/x86_64/CentOS-8.1.1911-x86_64-dvd1.iso
网易源:http://mirrors.163.com/centos/8.1.1911/isos/x86_64/CentOS-8.1.1911-x86_64-dvd1.iso
华为源:http://mirrors.huaweicloud.com/centos/8.1.1911/isos/x86_64/CentOS-8.1.1911-x86_64-dvd1.iso
清华源:http://mirrors.tuna.tsinghua.edu.cn/centos/8.1.1911/isos/x86_64/CentOS-8.1.1911-x86_64-dvd1.iso
新建虚拟机
新建虚拟机,选择【自定义(高级)】,然后点击【下一步】
![图片[2]-超详细使用 VMware 虚拟机 安装Linux Centos 7/8 操作系统-极客很忙](https://geekbusy.com/wp-content/uploads/2020/05/dcb4601fcd3b592f35172e2b374e1ecc.png)
选择合适的Vmware 平台,这边以选择【Workstion 10.x】为例,主要了为了方便分享给安装低于Vmware 15的用户使用,毕竟Vmware 10的硬件限制我们目前使用完全达不到
![图片[3]-超详细使用 VMware 虚拟机 安装Linux Centos 7/8 操作系统-极客很忙](https://geekbusy.com/wp-content/uploads/2020/05/bd0fa9de1f9c11937f78dd2d07e2fc5f-1.png)
选择【稍后安装操作系统】,然后点击【下一步】
![图片[4]-超详细使用 VMware 虚拟机 安装Linux Centos 7/8 操作系统-极客很忙](https://geekbusy.com/wp-content/uploads/2020/05/910c3a40ca4e795449eb1dbe7be0f701-1.png)
客户端操作系统选择【Linux】,视频中版本选择【其他 Linux 5.x 或更高版本内核 64位】,准点来说,应该选择【其他Linux 4.x 64位】,但是都可以正常启动的
![图片[5]-超详细使用 VMware 虚拟机 安装Linux Centos 7/8 操作系统-极客很忙](https://geekbusy.com/wp-content/uploads/2020/05/54b8120b09bc905a408d63aae4cfe28c-1-1024x767.png)
![图片[6]-超详细使用 VMware 虚拟机 安装Linux Centos 7/8 操作系统-极客很忙](https://geekbusy.com/wp-content/uploads/2020/05/6b1def57f910f0f9537929f55fe54f8e.png)
修改虚拟机名称和位置
![图片[7]-超详细使用 VMware 虚拟机 安装Linux Centos 7/8 操作系统-极客很忙](https://geekbusy.com/wp-content/uploads/2020/05/9aa458e2b28b42b12725cfb7515a65be.png)
根据电脑配置给虚拟机分配处理器核心数(注意:不可超过自己电脑本机的处理器核心数)
![图片[8]-超详细使用 VMware 虚拟机 安装Linux Centos 7/8 操作系统-极客很忙](https://geekbusy.com/wp-content/uploads/2020/05/add1d26e7ad0115e3a4f124dd4ca8a60-1.png)
滑动蓝色指示条或者右侧直接输入内存数量,根据自己本机电脑内存而定,一般Linux 图形化建议给1-2G,命令行模式低于1G也可以
![图片[9]-超详细使用 VMware 虚拟机 安装Linux Centos 7/8 操作系统-极客很忙](https://geekbusy.com/wp-content/uploads/2020/05/5197b95449ebba8c4b8e27fd9248a488.png)
网络类型默认NAT
![图片[10]-超详细使用 VMware 虚拟机 安装Linux Centos 7/8 操作系统-极客很忙](https://geekbusy.com/wp-content/uploads/2020/05/c153f56cebc0b09528f77dcab4df1bfd.png)
下面设置都使用推荐值
![图片[11]-超详细使用 VMware 虚拟机 安装Linux Centos 7/8 操作系统-极客很忙](https://geekbusy.com/wp-content/uploads/2020/05/234b0d0296c70a537f7d617efb4ae3d6-1.png)
![图片[12]-超详细使用 VMware 虚拟机 安装Linux Centos 7/8 操作系统-极客很忙](https://geekbusy.com/wp-content/uploads/2020/05/d056b7e12321cda6d398aafcc22820d1-1-1024x767.png)
![图片[13]-超详细使用 VMware 虚拟机 安装Linux Centos 7/8 操作系统-极客很忙](https://geekbusy.com/wp-content/uploads/2020/05/18b627bce1cf6a74bee994918bb9d3c0-1.png)
选择合适的磁盘容量大小,并且【将虚拟机磁盘存储为单个文件】
![图片[14]-超详细使用 VMware 虚拟机 安装Linux Centos 7/8 操作系统-极客很忙](https://geekbusy.com/wp-content/uploads/2020/05/8dd8847a2843788acd750ceb94ce290d-1.png)
指定磁盘文件到刚刚创建的文件夹中
![图片[15]-超详细使用 VMware 虚拟机 安装Linux Centos 7/8 操作系统-极客很忙](https://geekbusy.com/wp-content/uploads/2020/05/0a0c2bfbbc9d9f9f530a99783924b204-1.png)
因为刚刚并没有选择操作系统镜像文件,所以完成后点击【自定义硬件】或【编辑虚拟机设置】,将CD/DVD处理,选择下载好的iso镜像文件
![图片[16]-超详细使用 VMware 虚拟机 安装Linux Centos 7/8 操作系统-极客很忙](https://geekbusy.com/wp-content/uploads/2020/05/3c3ae629f21cf012377b331640314912-1.png)
安装Centos
开启虚拟机,用键盘上建选择第一项,直接安装,默认是检测镜像完整性再安装
![图片[17]-超详细使用 VMware 虚拟机 安装Linux Centos 7/8 操作系统-极客很忙](https://geekbusy.com/wp-content/uploads/2020/05/eef65367dd248d0d2c196a590c8df871.png)
选择合适的语言,中文在最下方,点击【继续】
![图片[18]-超详细使用 VMware 虚拟机 安装Linux Centos 7/8 操作系统-极客很忙](https://geekbusy.com/wp-content/uploads/2020/05/c92680ca2e8b8006c22ddc5bb8768136.png)
开启虚拟机网络连接
![图片[19]-超详细使用 VMware 虚拟机 安装Linux Centos 7/8 操作系统-极客很忙](https://geekbusy.com/wp-content/uploads/2020/05/31db28d545196fa7c25ea8ecbb35fd3a.png)
修改地区和时间
![图片[20]-超详细使用 VMware 虚拟机 安装Linux Centos 7/8 操作系统-极客很忙](https://geekbusy.com/wp-content/uploads/2020/05/600a338c7705f5e46ff8909ab2fb01e2.png)
修改安装目标位置
![图片[21]-超详细使用 VMware 虚拟机 安装Linux Centos 7/8 操作系统-极客很忙](https://geekbusy.com/wp-content/uploads/2020/05/d8755a34251e44374671e014ce59d4bf.png)
软件选择,默认是【带GUI的服务器】就是带桌面的版本,如果需要安装纯命令行版本,选择【最小安装】
![图片[22]-超详细使用 VMware 虚拟机 安装Linux Centos 7/8 操作系统-极客很忙](https://geekbusy.com/wp-content/uploads/2020/05/cba98b241b16ca88372f89c4b64c7eb5.png)
修改完成后,点击【开始安装】
![图片[23]-超详细使用 VMware 虚拟机 安装Linux Centos 7/8 操作系统-极客很忙](https://geekbusy.com/wp-content/uploads/2020/05/b790a8fc78cc4ccfb7d24ecacac4446c.png)
- 在安装过程中,分别设置【根密码】和【创建用户】,
- 带GUI模式如果这边不创建新用户,进入图形化页面后,会强制要求创建,且密码必须符合一定的复杂程度
- 最小安装模式可以不创建用户
![图片[24]-超详细使用 VMware 虚拟机 安装Linux Centos 7/8 操作系统-极客很忙](https://geekbusy.com/wp-content/uploads/2020/05/3b9ef70705ac3836fcfb3ce4a08fe7cd.png)
![图片[25]-超详细使用 VMware 虚拟机 安装Linux Centos 7/8 操作系统-极客很忙](https://geekbusy.com/wp-content/uploads/2020/05/790c2be4bdb1c525220eb7af4c3eb842-1024x635.png)
![图片[26]-超详细使用 VMware 虚拟机 安装Linux Centos 7/8 操作系统-极客很忙](https://geekbusy.com/wp-content/uploads/2020/05/25ae04888488dae22a5b722b2417a0ff.png)
带GUI的服务器
![图片[27]-超详细使用 VMware 虚拟机 安装Linux Centos 7/8 操作系统-极客很忙](https://geekbusy.com/wp-content/uploads/2020/05/e5314713a2ee13e2d11812ea8853cbe1.png)
最小安装
![图片[28]-超详细使用 VMware 虚拟机 安装Linux Centos 7/8 操作系统-极客很忙](https://geekbusy.com/wp-content/uploads/2020/05/29702fb8a6785cc4c271ad75f5a1f21e.png)
注意
- CentOS 8.x系列只有64位系统,没有32位。
- CentOS 8.x的版本有CentOS 8.x和CentOS Stream两个版本
- CentOS Stream是一个面向开发人员的发行版,是Red Hat Enterprise Linux的滚动发行版,是一个连续的内容流,每天更新几次,其中包含RHEL的最新和最大更新
- Centos 8 逐步转向CentOS Stream









暂无评论内容