首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往
您找到你想要的搜索结果了吗?
是的
没有找到

ceph rgw操作(civetweb/nginx)

1、默认使用civetweb做web server 2、civetweb部署方式: //部署需要到存在ceph.bootstrap-rgw.keyring文件的目录里 cd /home/cephuser/cluster/ ceph-deploy rgw create ceph-admin //在主机名上创建 默认的端口时7480,可以通过ceph.conf修改 [client] rgw frontends = civetweb port=666 修改完,重启:radosgw restart 检查服务是否启动:ps -ef|grep radosgw 3、ngixn方式 yum install -y radosgw nginx 新建用户和keying(在每台主机上建一个用户和key) ceph-authtool --create-keyring /etc/ceph/ceph.client.radosgw.keyring chmod +r /etc/ceph/ceph.client.radosgw.keyring ceph-authtool /etc/ceph/ceph.client.radosgw.keyring -n client.rgw.node1 --gen-key sudo ceph-authtool -n client.rgw.node1 --cap osd 'allow rwx' --cap mon 'allow rwx' /etc/ceph/ceph.client.radosgw.keyring sudo ceph -k /etc/ceph/ceph.client.admin.keyring auth add client.rgw.node1 -i /etc/ceph/ceph.client.radosgw.keyring ////配置ceph.conf,这个配置文件放到三台node中去 [client.rgw.node1] rgw frontends=fastcgi socket_port=9000 socket_host=0.0.0.0 host=ceph-node1 keyring=/etc/ceph/ceph.client.radosgw.keyring log file=/var/log/radosgw/client.radosgw.gateway.log rgw print continue=false rgw content length compat = true

02

扫码

添加站长 进交流群

领取专属 10元无门槛券

手把手带您无忧上云

扫码加入开发者社群

相关资讯

热门标签

活动推荐

    运营活动

    活动名称
    广告关闭
    领券