/rgw

移植ceph的RadosGateway框架

Primary LanguageC++

COMPILE

  1. cd src/json_spirit/ && mkdir -p build && cd build && cmake ../ && make && cp \*.a ../
  2. cd src/third-party/ && tar -zxvf fcgi.tar.gz && patch -p0 < fcgi.patch (make fcgi)
  3. cd src/ && make all

INSTALL

  1. yum install boost fcgi nginx

  2. config /etc/nginx/nginx.conf(eg: src/etc/nginx2.conf)

RUN

  1. service nginx start
  2. ./test_main
  • centos6:
    cp src/third-party/lib/* /lib/
  • centos7:
    yum install boost

FICS

  1. ./cmd_server
  2. ./test_main

TEST

  • config s3cmd config( src/etc/.s3cfg). use s3cmd.

NOTE