v2ray-agent/demo.sh

6 lines
233 B
Bash
Raw Normal View History

2020-05-22 15:30:07 +08:00
#!/usr/bin/env bash
yum install wget -y
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-8.repo
yum makecache
yum update -y