Last update at :2024-07-06,Edit by888u
This script is suitable for CentOS 5, 6, 7, Ubuntu 14.04, 16.04, 18.04, Debian 7, 8, 9, one-click matching and source replacement.
Under SSH, root user is best:
1. It is best to update it first
Under Debian/ubuntu:
apt-get install -y wget && apt-get install -y ca-certificates
Or under Centos
yum install -y wget && yum install -y ca-certificates
2. Execute source replacement
wget -qO- https://bmvps.com/wp-content/uploads/2018/11/superupdate.sh | bash
3. Debian related sources
For the Debian system, four other sets of sources are also set up, Alibaba Cloud, CloudFront CDN, NetEase 163, and the source of the University of Science and Technology of China. Please use the one-click setting of parameters as needed
bash superupdate.sh cn
bash superupdate.sh 163
bash superupdate.sh aliyun
bash superupdate.sh aws
If the configured files are not satisfied, restore them with one click
bash superupdate.sh restore
Reprinted from: https://www.oldking.net/697.html
Recommended site search: cn domain name registration, free static space, free virtual space, free server permanent use, anti-IP check, Hong Kong high-defense server rental overseas host, US host, domain name transfer, large bandwidth server rental,
p>
发表评论