标签:dir ror http curl -O bind install make etc code
#!/bin/bash
mkdir /etc/yum.repos.d/repo
mv /etc/yum.repos.d/*.repo /etc/yum.repos.d/repo
curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo
sed -i -e ‘/mirrors.cloud.aliyuncs.com/d‘ -e ‘/mirrors.aliyuncs.com/d‘ /etc/yum.repos.d/CentOS-Base.repo
curl -o /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
yum clean all
yum makecache all
yum -y install python3 python3-pip bash-completion* bind-utils nginx wget
标签:dir ror http curl -O bind install make etc code
原文地址:https://www.cnblogs.com/yunweizhijun/p/14430434.html