Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ceph is a distributed object, block, and file storage platform
C++ Perl6 C Shell Python Assembly Other
Branch: master

Merge pull request #5791 from SUSE/wip-drop-lsb-release

ceph.spec.in: drop lsb-release dependency from ceph-common

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
latest commit 74fc195abe
@ktdreyer ktdreyer authored
Failed to load latest commit information.
admin admin/build-doc: fix dependency checks
bin make_dist.sh: rename from bin/make_dist_tarball.sh
ceph-erasure-code-corpus @ dc409e0 erasure code: shec add ceph-erasure-code-corpus
ceph-object-corpus @ 67383cc ceph-object-corpus: remove hammer foo and bar coll_t's
cmake/modules Merge pull request #5744 from ceph/wip-12909
debian debian: package radosgw-object-expirer in radosgw deb
doc Merge pull request #5712 from yuyuyu101/wip-12801
etc set nofile ulimit in /etc/security/limits.d/ceph only
examples Fix typos in librados example code
fusetrace remove superfluous second semicolons at end of lines
keys keys: renew autobuild.asc key
m4 crc32c: add aarch64 optimized crc32c implementation
man Add initial SELinux support
qa tests: ceph-disk: dmcrypt simplification
rpm Move fedora patch file (used by ceph.spec.in) to rpm/ subdir
selinux selinux: Add .gitignore file
share ceph-post-file: single command to upload a file to cephdrop
src Merge pull request #5808 from ceph/wip-simplify-logrotate
systemd systemd: consolidate into a single ceph-disk@.service
udev udev: use ceph-disk trigger ... with single set of udev rules
.gitignore .gitignore: ignore build (usually used by cmake)
.gitmodule_mirrors remove libs3 submodule
.gitmodules remove libs3 submodule
.mailmap mailmap: Zhi Zhang affiliation
.organizationmap mailmap: Jevon Qiao affiliation
.peoplemap mailmap: Zhi Zhang affiliation
AUTHORS AUTHORS
CMakeLists.txt cmake: check_TESTPROGRAMS tests running
CONTRIBUTING.rst doc: recommendations related to performances / cleanup
COPYING added boost timegm impl for cross platform support
COPYING-GPL2 Add GPLv2 text file
COPYING-LGPL2.1 COPYING: note licenses for all files, not just the default
ChangeLog first pass at autoconf and automake
CodingStyle Clarify CodingStyle with respect to tab compression of space runs
Doxyfile doc: do not doxygen src/tracing
INSTALL Update INSTALL to mention the submodules/recursive
Makefile.am udev: use ceph-disk trigger ... with single set of udev rules
NEWS first pass at autoconf and automake
PendingReleaseNotes PendingReleaseNotes: more notes about the 'ceph' user
README README: symlink from README.md
README.cmake Combined CMake Build for Hammer
README.md README.md: Add basic CMake instructions
README.xio xio: Update README.xio with dependencies
SubmittingPatches SubmittingPatches: clarify how Reviewed-by lines are added
autogen.sh autogen.sh: do not submodule --force if git does not support it
ceph.spec.in Merge pull request #5791 from SUSE/wip-drop-lsb-release
configure.ac Merge remote-tracking branch 'gh/infernalis'
do_autogen.sh tools: fix do_autogen.sh -R
doc_deps.deb.txt doc: The dot package is included in graphviz package
install-deps.sh install-deps.sh: detect yum-builddep errors
make-debs.sh remove rest-bench
make_dist.sh make_dist.sh: bz2 only
pom.xml update license for libcephfs
run-make-check.sh make-check: support MAKEOPTS overrides.

README.md

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

Autotools

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.)

CMake

Prerequisite: CMake 2.8.11

Build instructions:

mkdir build
cd build
cmake [options] /path/to/ceph/src/dir
make

(Note that /path/to/ceph/src/dir can be in the tree and out of the tree)

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
Something went wrong with that request. Please try again.