1.完成Centos系统的安装

开启网卡否则之后每次开机都需要手动开启

创建一个用户。设置root账号密码


2.完成Centos系统的基本配置
1.关闭防火墙
查看防火墙状态:
1 | systemctl status firewalld.service |
临时关闭防火墙:
1 | systemctl stop firewalld.service |
临时关闭后再永久关闭防火墙
1 | systemctl disable firewalld.service |
2.设置网络
编辑etc下selinux配置文件
将原本的enforcing修改为permissive
1 | vim /etc/selinux/config |

3.设置SElinux
关闭虚拟网卡
1 | systemctl status libvirtd.service #查看虚拟网卡状态 |

4.换源
1 | vim /etc/yum.repos.d/CentOS-Extras.repo |




5.重启网络
1 | yum clean all |

完成配置后即可联网
务必拍摄快照保存