vmware的安装就不写了,直接开始安装CentOS8
转载 vmware 安装CentOS8 教程
https://www.cnblogs.com/Dear-XiaoLe/articles/12201099.html
Linux系统安装基础软件
CentOS 8 安装wget
yum install wget
CentOS 8 切换阿里云源
//1.切换目录
cd /etc/yum.repos.d
//2.备份文件
sudo mv CentOS-Base.repo CentOS-Base.repo.bak
//3.下载仓库文件
sudo wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-8.repo
//4.生成缓存
yum makecache
CentOS 8 安装C/C++开发环境
yum -y install gcc gcc-c++ kernel-devel
安装gdb