cd src/json_spirit/ && mkdir -p build && cd build && cmake ../ && make && cp \*.a ../
cd src/third-party/ && tar -zxvf fcgi.tar.gz && patch -p0 < fcgi.patch
(make fcgi)cd src/ && make all
-
yum install boost fcgi nginx
- install nginx
- centos6:
rpm -ivh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm
yum install nginx - centos7:
yum install nginx
- centos6:
- install nginx
-
config /etc/nginx/nginx.conf(eg: src/etc/nginx2.conf)
- service nginx start
- ./test_main
- centos6:
cp src/third-party/lib/* /lib/
- centos7:
yum install boost
./cmd_server
./test_main
- config s3cmd config( src/etc/.s3cfg). use s3cmd.