CentOS 8 ends life cycle, switch to CentOS

888u

Last update at :2024-06-27,Edit by888u

I just shared two alternative versions of the CentOS system a few days ago. Unexpectedly, I received a text message from Alibaba Cloud today, informing me that CentOS 8 has ended its life cycle, and it is recommended to switch to the CentOS-Vault source as soon as possible. The CentOS system installed on the Bricklayer VPS should be the same, so here I will share the method of switching to the CentOS Vault source.

Configuring CentOS-Vault source tutorial

The following is the text message:

The CentOS 8 operating system version has ended its life cycle, and the Alibaba Cloud mirror station has also removed the corresponding mirror source. If your business still needs to use some installation packages in CentOS 8 during the transition period, it is recommended to switch to the CentOS-Vault source. For specific configuration, please click here.

Notice: The CentOS 8 operating system version has reached end of life (EOL), and the Linux community no longer maintains this operating system version. It is recommended that you switch to Anolis or Alinux. If your business still needs to use some installation packages in the CentOS 8 system during the transition period, please switch the source of CentOS 8 as follows.

1. Backup

mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup

2. Download the new CentOS-Base.repo to /etc/yum.repos.d/

CentOS 8 (CentOS 8 official source has been offline, it is recommended to switch to CentOS-Vault source)

wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo

or

curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo

CentOS 6 (CentOS 6 official source is offline, it is recommended to switch to CentOS-Vault source)

wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-6.10.repo

or

curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-6.10.repo

CentOS 7

wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo

or

curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo

3. Run yum makecache to generate cache

4. Others

Non-Alibaba Cloud ECS users will see the Couldn't resolve host 'mirrors.cloud.aliyuncs.com' message, which does not affect use. Users can also modify relevant configurations themselves: eg:

sed -i -e '/mirrors.cloud.aliyuncs.com/d' -e '/mirrors.aliyuncs.com/d' /etc/yum.repos.d/CentOS-Base.repo

How to switch sources after CentOS 8 ends its life cycle

Use the following command:

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-vault-8.5.2111.repo
yum clean all && yum makecache

At present, I see some comments under the official documentation page that may point out that there may be some actual problems. It is recommended that if you encounter problems, you can refer to the comments below the official documentation to solve them.

Recommended solutions for bricklayers

Warm reminder: If you have difficulty choosing, just choose the CN2 GIA-E plan in the middle. The quarterly payment is $49.99, and you can switch between up to 12 computer rooms at will.
Plan Memory CPU Hard disk Traffic/month Bandwidth Computer room Price Buy
CN2
(cheapest)
1GB 1 core 20GB 1TB 1Gbps DC3 CN2
DC8 ZNET
$49.99/year Buy
CN2 2GB 1 core 40GB 2TB 1Gbps $52.99/half a year
$99.99/year
Buy
CN2 GIA-E
(Most recommended)
1GB 2 cores 20GB 1TB 2.5Gbps DC6 CN2 GIA-E
DC9 CN2 GIA
Japan Softbank JPOS_1
Netherlands EUNL_9
$49.99/quarter
$169.99/year
Buy
CN2 GIA-E 2GB 3 core 40GB 2TB 2.5Gbps $89.99/quarter
$299.99/year
Buy
HK 2GB 2 cores 40GB 0.5TB 1Gbps Hong Kong, China CN2 GIA $89.99/month
$899.99/year
Buy
HK 4GB 4 core 80GB 1TB 1Gbps $155.99/month
$1559.99/year
Buy
TOKYO 2GB 2 cores 40GB 0.5TB 1.2Gbps Tokyo, Japan CN2 GIA $89.99/month
$899.99/year
Buy
TOKYO 4GB 4 core 80GB 1TB 1.2Gbps $155.99/month
$1559.99/year
Buy
Bricklayer Discount Code: BWH3HYATVBJW

Select a suggestion:

  • Getting started: Los Angeles CN2 package, currently the cheapest, optional CN2 GT computer room, the entry-level choice.
  • Recommendation:Los Angeles CN2 GIA-E package, super fast, with many optional computer rooms (DC6, DC9, Japan Softbank, Netherlands Unicom, etc.), the most cost-effective.
  • High-end: Hong Kong CN2 GIA package, the price is higher, but impeccable. The Tokyo CN2 GIA package is also a very good high-end option.

Recommended site search: icp registration website, proxy server ip, ip proxy, how to query domain name registration number, independent ip, Tencent cloud server, io domain name registration, me domain name, vps virtual host, registration-free space and free network

CentOS 8 ends life cycle, switch to CentOS

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码