mirror of
https://github.com/ceph/ceph
synced 2025-02-21 01:47:25 +00:00
Modified title syntax per Tommi Modified paragraph width to 80-chars per Dan Moved "Build from Source" out of Install Renamed create_cluster to config-cluster Added config-ref with configuration reference tables Added a toc ref for man/1/obsync per Dan Removed redundant sections from Ops Deleted "Why use Ceph" and "Introduction to Storage Clusters" Signed-off-by: John Wilkins <john.wilkins@dreamhost.com>
39 lines
1.3 KiB
ReStructuredText
39 lines
1.3 KiB
ReStructuredText
=============
|
||
Building Ceph
|
||
=============
|
||
|
||
Ceph provides build scripts for source code and for documentation.
|
||
|
||
Building Ceph
|
||
=============
|
||
Ceph provides ``automake`` and ``configure`` scripts to streamline the build process. To build Ceph, navigate to your cloned Ceph repository and execute the following::
|
||
|
||
$ cd ceph
|
||
$ ./autogen.sh
|
||
$ ./configure
|
||
$ make
|
||
|
||
You can use ``make -j`` to execute multiple jobs depending upon your system. For example::
|
||
|
||
$ make -j4
|
||
|
||
To install Ceph locally, you may also use::
|
||
|
||
$ make install
|
||
|
||
If you install Ceph locally, ``make`` will place the executables in ``usr/local/bin``.
|
||
You may add the ``ceph.conf`` file to the ``usr/local/bin`` directory to run an evaluation environment of Ceph from a single directory.
|
||
|
||
Building Ceph Documentation
|
||
===========================
|
||
Ceph utilizes Python’s Sphinx documentation tool. For details on the Sphinx documentation tool, refer to: `Sphinx <http://sphinx.pocoo.org>`_. To build the Ceph documentaiton, navigate to the Ceph repository and execute the build script::
|
||
|
||
$ cd ceph
|
||
$ admin/build-doc
|
||
|
||
Once you build the documentation set, you may navigate to the source directory to view it::
|
||
|
||
$ cd build-doc/output
|
||
|
||
There should be an ``/html`` directory and a ``/man`` directory containing documentation in HTML and manpage formats respectively.
|