摘要:
记录ceph软件源, 便于后续做存储
/etc/yum.repos.d/ceph.repo
root@localhost:/etc/yum.repos.d# cat ceph.repo
[Ceph]
name=Ceph packages for $basearch
baseurl=https://mirrors.aliyun.com/ceph/rpm-octopus/el8/$basearch
enabled=1
gpgcheck=0
type=rpm-md
[Ceph-noarch]
name=Ceph noarch packages
baseurl=https://mirrors.aliyun.com/ceph/rpm-octopus/el8/noarch
enabled=1
gpgcheck=0
type=rpm-md
[ceph-source]
name=Ceph source packages
baseurl=https://mirrors.aliyun.com/ceph/rpm-octopus/el8/SRPMS
enabled=1
gpgcheck=0
type=rpm-md
缺失依赖:
libfmt
wget https://download-ib01.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/f/fmt-6.2.1-1.el8.x86_64.rpm
rpm -i fmt-6.2.1-1.el8.x86_64.rpm
libtcmalloc
wget https://download-ib01.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/g/gperftools-libs-2.7-9.el8.x86_64.rpm
wget https://download-ib01.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/l/libunwind-1.3.1-3.el8.x86_64.rpm
liboath
wget https://download-ib01.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/l/liboath-2.6.2-3.el8.x86_64.rpm
libleveldb.so.1
wget https://download-ib01.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/l/leveldb-1.22-1.el8.x86_64.rpm
安装python模块:
python3 -m pip install cherrypy
python3 -m pip install bcrypt
python3 -m pip install pecan
测试:
yum install ceph-common -y
yum install librados2 librbd1 rbd-nbd -y