实验环境:
主机名 | ip | 配置 |
ceph01(deploy节点) | 192.168.122.41 | 2c4g20G+20G*2 |
ceph02 | 192.168.122.42 | 2c4g20G+20G*2 |
ceph03 | 192.168.122.43 | 2c4g20G+20G*2 |
实验步骤:
1.基础配置
配置主机名,/etc/hosts文件,关iptables,关selinux,ntp时间同步等不表
2.配置yum源
yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
cat > /etc/yum.repos.d/ceph.repo <<EOF
[ceph]
name=Ceph noarch packages
baseurl=https://download.ceph.com/rpm-octopus/el7/noarch
enabled=1
gpgcheck=1
type=rpm-md
gpgkey=https://download.ceph.com/keys/release.asc
EOF
3.更新系统并重启机器
yum upgrade -y
</