首页
学习
活动
专区
工具
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

分布式搜索elasticsearch 文献检索索引 入门

{“number”:32768,”singer”:”杨坤”,”size”:”5109132″,”song”:”今夜二十岁”,”tag”:”中国好声音”,”timelen”:319} {“number”:32769,”singer”:”汪峰”,”size”:”6001697″,”song”:”我爱你中国”,”tag”:”中国好声音”,”timelen”:375} {“number”:32780,”singer”:”汪峰”,”size”:”4070469″,”song”:”我如此爱你”,”tag”:”中国好声音”,”timelen”:254} {“number”:32796,”singer”:”大小姐”,”size”:”3046005″,”song”:”登大人”,”tag”:”儿歌”,”timelen”:190} {“number”:32896,”singer”:”Bandari”,”size”:”3869593″,”song”:”The Golden Land”,”tag”:”胎教音乐”,”timelen”:241} {“number”:32977,”singer”:”Bandari”,”size”:”3477514″,”song”:”Childhood Memory”,”tag”:”欧美”,”timelen”:217}

02

扫码

添加站长 进交流群

领取专属 10元无门槛券

手把手带您无忧上云

扫码加入开发者社群

相关资讯

热门标签

活动推荐

    运营活动

    活动名称
    广告关闭
    领券