mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
1.5 KiB
1.5 KiB
| category | layout | mirrorid |
|---|---|---|
| help | help | chef |
Chef APT/YUM 镜像使用帮助
Chef 是一套自动化运维工具。
Debian/Ubuntu 用户
再选择你的 Debian/Ubuntu 版本,文本框中内容写进 /etc/apt/sources.list.d/chef.list
Debian 8 (Jessie)
Debian 9 (Stretch)
Debian 10 (Buster)
Debian 11 (Bullseye)
Ubuntu 16.04 LTS
Ubuntu 18.04 LTS
Ubuntu 20.04 LTS
{% raw %}
{%endraw%}
RHEL/CentOS 用户
新建 /etc/yum.repos.d/chef.repo,内容为:
[chef-stable]
name=chef-stable
baseurl=https://{{ site.hostname }}/chef/yum/stable/stable-el$releasever-x86_64/
enabled=1
gpgcheck=1
gpgkey=https://packages.chef.io/chef.asc