Redhat配置yum源(使用阿里云yum Repo)

    技术2025-06-05  23

    Redhat配置yum源(使用阿里云yum Repo)

    本教程使用于redhat7.6

    查看版本号和系统类别: cat /etc/redhat-release

    2.配置yum源

    cd /etc/yum.repos.d/ wget http://mirrors.aliyun.com/repo/Centos-7.repo sed -i 's/$releasever/7/g' /etc/yum.repos.d/Centos-7.repo yum makecache

    至此就完成了redhat配置yum源了

    Processed: 0.010, SQL: 9