**Centos8.5初始化配置
linux 8.5系统初始化
关闭防火墙
systemctl disable --now firewalld
关闭SELinux
vi /etc/selinux/config
SELINUX=disabled
设置阿里云为yum仓库
(1)创建备份文件 :
mkdir /etc/yum.repos.d/backup
mv /etc/yum.repos.d/*.repo /etc/yum.repos.d/backup
(2)创建并编辑仓库:
curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo
(3):启用仓库
yum repolist
yum clean all && yum makecache
安装常用软件
yum -y install gcc make autoconf gcc-c++ glibc glibc-devel pcre