Ceph is a distributed object, block, and file storage platform
Go to file
Casey Bodley b2e484d942 cmake: build as c++11
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2015-08-03 11:16:13 -04:00
admin admin/build-doc: fix dependency checks 2015-06-03 10:09:09 +01:00
bin make_dist.sh: rename from bin/make_dist_tarball.sh 2015-05-31 17:58:49 -04:00
ceph-erasure-code-corpus@dc409e0b20 erasure code: shec add ceph-erasure-code-corpus 2015-07-17 13:42:08 +09:00
ceph-object-corpus@7bd9bbe235 ceph-object-corpus: drop coll_t 'foo' and 'bar' 2015-06-18 17:02:48 -07:00
cmake/modules CMake: add FindNSPR.cmake 2015-05-07 13:19:50 +02:00
debian remove rest-bench 2015-07-30 13:21:36 -04:00
doc doc: krbd supports clones since 3.10 2015-07-31 19:50:58 +03:00
etc/sysconfig/SuSEfirewall2.d/services packaging: move SuSEfirewall2 templates out of src 2015-04-30 12:04:14 +10:00
examples Fix typos in librados example code 2015-06-17 23:47:09 +08:00
fusetrace
keys
m4 crc32c: add aarch64 optimized crc32c implementation 2015-03-17 13:56:52 -05:00
man automake: Fix out-of-tree build. 2015-07-16 10:32:34 +02:00
qa remove libs3 submodule 2015-07-30 13:24:00 -04:00
rpm
share
src cmake: build as c++11 2015-08-03 11:16:13 -04:00
systemd logrotate.conf: fixes for systemd 2015-06-26 19:43:44 +02:00
udev
.gitignore .gitignore: systemd/ceph-osd@.service 2015-05-27 10:25:03 +02:00
.gitmodule_mirrors remove libs3 submodule 2015-07-30 13:24:00 -04:00
.gitmodules remove libs3 submodule 2015-07-30 13:24:00 -04:00
.mailmap mailmap: Ismael Serrano affiliation 2015-07-15 22:30:52 +05:30
.organizationmap mailmap: Kernel neophyte affiliation 2015-07-15 22:31:03 +05:30
.peoplemap mailmap: Yuri Weinstein affiliation 2015-06-12 20:19:58 +05:30
AUTHORS
autogen.sh autogen.sh: do not submodule --force if git does not support it 2015-03-07 17:11:58 +01:00
ceph.spec.in remove rest-bench 2015-07-30 13:21:36 -04:00
ChangeLog
CMakeLists.txt cmake: skip man/CMakeLists.txt 2015-05-22 11:09:29 -07:00
CodingStyle
configure.ac remove libs3 submodule 2015-07-30 13:24:00 -04:00
CONTRIBUTING.rst doc: recommendations related to performances / cleanup 2015-05-13 22:39:31 +02:00
COPYING COPYING: note git-archive-all.sh license 2015-05-31 18:25:59 -04:00
COPYING-GPL2 Add GPLv2 text file 2015-02-27 10:43:26 -07:00
COPYING-LGPL2.1
do_autogen.sh do_autogen.sh: unambiguously use nss unless user asks for cryptopp 2015-04-21 17:00:27 -07:00
doc_deps.deb.txt
Doxyfile doc: do not doxygen src/tracing 2015-02-23 16:26:27 +01:00
INSTALL
install-deps.sh install-deps.sh: detect yum-builddep errors 2015-06-06 12:31:56 +02:00
make_dist.sh make_dist.sh: bz2 only 2015-06-01 11:20:03 -07:00
make-debs.sh remove rest-bench 2015-07-30 13:21:36 -04:00
Makefile.am Makefile: install ceph-post-file keys with mode 600 2015-06-01 15:38:07 -07:00
NEWS
PendingReleaseNotes PendingReleaseNotes: add the notes about osdmaptool 2015-07-17 19:15:44 +08:00
pom.xml
README
README.cmake
README.md README: simplify build deps section 2015-06-03 15:25:23 -06:00
README.xio xio: Update README.xio with dependencies 2015-03-17 05:13:57 -07:00
run-make-check.sh tests: display the output of failed make check runs 2015-06-16 16:10:11 +02:00
SubmittingPatches SubmittingPatches: clarify how Reviewed-by lines are added 2015-06-06 15:16:16 +02:00

============================================ Ceph - a scalable distributed storage system

Please see http://ceph.com/ for current info.

Contributing Code

Most of Ceph is licensed under the LGPL version 2.1. Some miscellaneous code is under BSD-style license or is public domain. The documentation is licensed under Creative Commons Attribution-ShareAlike (CC BY-SA). There are a handful of headers included here that are licensed under the GPL. Please see the file COPYING for a full inventory of licenses by file.

Code contributions must include a valid "Signed-off-by" acknowledging the license for the modified or contributed file. Please see the file SubmittingPatches for details on what that means and on how to generate and submit patches.

We do not require assignment of copyright to contribute code; code is contributed under the terms of the applicable license.

Build Prerequisites

The list of Debian or RPM packages dependencies can be installed with:

./install-deps.sh

Note: libsnappy-dev and libleveldb-dev are not available upstream for Debian Squeeze. Backports for Ceph can be found at ceph.com/debian-leveldb.

Building Ceph

Developers, please refer to the Developer Guide for more information, otherwise, you can build the server daemons, and FUSE client, by executing the following:

./autogen.sh
./configure
make

(Note that the FUSE client will only be built if libfuse is present.)

Dependencies

The configure script will complain about any missing dependencies as it goes. You can also refer to debian/control or ceph.spec.in for the package build dependencies on those platforms. In many cases, dependencies can be avoided with --with-foo or --without-bar switches. For example,

./configure --with-nss         # use libnss instead of libcrypto++
./configure --without-radosgw  # do not build radosgw
./configure --without-tcmalloc # avoid google-perftools dependency

Building packages

You can build packages for Debian or Debian-derived (e.g., Ubuntu) systems with

sudo apt-get install dpkg-dev
dpkg-checkbuilddeps        # make sure we have all dependencies
dpkg-buildpackage

For RPM-based systems (Red Hat, SUSE, etc.),

rpmbuild

Building the Documentation

Prerequisites

The list of package dependencies for building the documentation can be found in doc_deps.deb.txt:

sudo apt-get install `cat doc_deps.deb.txt`

Building the Documentation

To build the documentation, ensure that you are in the top-level `/ceph directory, and execute the build script. For example:

admin/build-doc