Kylin OS 安装 RKE2

RKE2 安装脚本在基于 YUM 的操作系统上,默认会采用 RPM 方式安装 rke2-server。由于 Kylin 中缺少 container-selinux 依赖包,会导致 rke2-server 安装失败:

如果操作系统无需启用 SELinux,可以在脚本中通过参数调整为 TAR 安装方式,然后重新执行安装,以规避该依赖问题:

1
curl -sfL https://rancher-mirror.rancher.cn/rke2/install.sh | INSTALL_RKE2_MIRROR=cn INSTALL_RKE2_METHOD=tar sh -

Author

Warner Chen

Posted on

2026-04-13

Updated on

2026-04-13

Licensed under

You need to set install_url to use ShareThis. Please set it in _config.yml.
You forgot to set the business or currency_code for Paypal. Please set it in _config.yml.

Comments

You forgot to set the shortname for Disqus. Please set it in _config.yml.