1.yum设置代理(本地网络需要配置代理才能上网)
vim /etc/yum.conf
proxy=http://11.32.1.20:808
2.参考“安装Ceph存储集群” 进行安装
安装yum插件
yum install yum-plugin-priorities
ceph yum源
[root@ceph1 ~]# cat /etc/yum/pluginconf.d/priorities.conf
[main]
enabled = 1
check_obsoletes = 1
[root@ceph1 ~]# cat /etc/yum.repos.d/ceph.repo
[ceph]
name=Ceph packages for $basearch
baseurl=http://download.ceph.com/rpm-jewel/el7/x86_64/
enabled=1
priority=2
gpgcheck=1
type=rpm-md
gpgkey=https://download.ceph.com/keys/release.asc
[ceph-noarch]
name=Ceph noarch packages
baseurl=http://download.ceph.com/rpm-jewel/el7/x86_64/
enabled=1
priority=2
gpgcheck=1
type=rpm-md
gpgkey=https://download.ceph.com/keys/release.asc
skip_if_unavailable = 1
[ceph-source]
name=Ceph source packages
baseurl=http://download.ceph.com/rpm-jewel/el7/x86_64/
enabled=0
priority=2
gpgcheck=1
type=rpm-md
gpgkey=https://download.ceph.com/keys/release.asc
如何确定目录?
安装依赖包
yum install snappy leveldb gdisk python-argparse gperftools-libs
安装Ceph
yum install ceph