aliyun yum 源安装ceph集群
[root@ceph16 yum.repos.d]# less ceph.repo
[root@ceph16 yum.repos.d]# less ceph.repo
[Ceph-SRPMS]
name=Ceph SRPMS packages
baseurl=https://mirrors.aliyun.com/ceph/rpm-jewel/el7/SRPMS/
enabled=1
gpgcheck=0
type=rpm-md
[Ceph-aarch64]
name=Ceph aarch64 packages
baseurl=https://mirrors.aliyun.com/ceph/rpm-jewel/el7/aarch64/
enabled=1
gpgcheck=0
type=rpm-md
[Ceph-noarch]
name=Ceph noarch packages
baseurl=https://mirrors.aliyun.com/ceph/rpm-jewel/el7/noarch/
enabled=1
gpgcheck=0
type=rpm-md
[Ceph-x86_64]
name=Ceph x86_64 packages
baseurl=https://mirrors.aliyun.com/ceph/rpm-jewel/el7/x86_64/
enabled=1
gpgcheck=0
type=rpm-md
ceph-deploy 安装的时候只需要在后面加上参数就可以避免自定义ceph.repo yum源 被覆盖掉
如下:
sudo ceph-deploy install ceph{2111..2114} --no-adjust-repos 不需要下载任何依赖
备注:其他依赖还要下载如epel-release 源