1、需要软件包
VMware Workstation Pro12
CentOS-8-x86_64-1905-dvd1.iso
2、Centos8 iso 镜像下载
阿里下载站
https://mirrors.aliyun.com/centos/8.0.1905/isos/x86_64/CentOS-8-x86_64-1905-dvd1.iso
网易下载站
http://mirrors.163.com/centos/8.0.1905/isos/x86_64/CentOS-8-x86_64-1905-dvd1.iso
阿里下载站,比较快一点,直接复制链接到迅雷就能下载了,大小约6.6G
3、创建空白虚拟机
1)创建空白虚拟机

2)典型 -> 下一步

3)稍后安装操作系统 -> 下一步

4)Linux -> 下一步

5)name -> 下一步

6)单个 -> 下一步

7)完成

8)设置相关参数

四、安装操作系统
1)开机

2)Install Centos8

3)English -> Continue

4)Keyboard

5)添加中文 -> Done

6)Language

7)添加中文

8)Installation

9)Installation Destination

10)√ -> Done

11)Kdump

12)Done
取消对勾

13)Time

14)上海 -> Done

15)software selection

16)Server with GUI -> Done

17)基本设置 -> Begin Installation

18)root

19)设置root密码

20)User

21)设置普通用户密码

22)安装中

23)安装成功 -> Reboot
花费10分钟

24)License

25)同意协议

26)Finish

27)输入密码

28)Start Using CentOS Linux

29)打完收工

30)Activities

五、Centos8 基本环境配置
1、配置网络
[root@localhost ~]# vim /etc/sysconfig/network-scripts/ifcfg-ens33
BOOTPROTO=static
#UUID=9ecf427f-3ebb-4707-965b-9c6503062558
ONBOOT=yes
IPADDR=192.168.2.100
NETMASK=255.255.255.0
GATEWAY=192.168.2.2
DNS1=192.168.2.2
DNS2=114.114.114.114
[root@localhost ~]# nmcli c up ens33
[root@localhost ~]# ifconfig

2)修改主机名
[root@localhost ~]# vim /etc/hostname
centos100
3)添加主机和ip的映射
[root@localhost ~]# vim /etc/hosts
192.168.2.100 centos100
4)关闭防火墙
[root@centos8100 ~]# systemctl stop firewalld.service
[root@centos8100 ~]# systemctl disable firewalld.service
网友评论