Proxmox 使用国内源安装ceph
2020-12-13 20:21:35
使用web 页面安装ceph 会自动更新ceph.list 源为国外的官网文件,那速度太慢了。
通过后台查看运行的命令
apt-get --no-install-recommends -o Dpkg::Options::=–force-confnew install – ceph ceph-common ceph-mds ceph-fuse gdisk
自行修改源文件
Ceph源
vi /etc/apt/sources.list.d/ceph.list
#deb http://download.proxmox.com/debian/ceph-nautilus buster main
deb http://mirrors.ustc.edu.cn/proxmox/debian/ceph-nautilus buster main
apt-get install ceph ceph-common ceph-mds ceph-fuse gdisk -y
很快安装完成,但是这个时候在WEB页面还不能直接配置CEPH
还需要运行
pveceph install 让程序自动配置一下 然后悲剧了,报错版本不对
接下来操作如下
cd /var/lib/apt
mv lists lists.old
mkdir -p lists/partial
apt-get update
挂在代理
export http_proxy=http://wind3v2-27381.chinacloudapp.cn:8083
apt-get --fix-broken install ceph-common ceph-mds librados2 libradosstriper1 librbd1 python-cephfs python-rados python-rbd ceph-base ceph-mgr python-jwt python-bcrypt ceph-base librados2 liblttng-ust0 librados2 librabbitmq4 python-ceph-argparse liboath0 librdkafka1 ceph-common ceph-base liblttng-ust-ctl4 ceph-osd nvme-cli sudo ceph-mds
pveceph install
评论(0)