2012-05-18 20:54:51 +00:00
|
|
|
===============
|
|
|
|
Building Ceph
|
|
|
|
===============
|
2012-04-11 18:21:43 +00:00
|
|
|
|
2012-05-18 20:54:51 +00:00
|
|
|
Ceph provides ``automake`` and ``configure`` scripts to streamline the build
|
|
|
|
process. To build Ceph, navigate to your cloned Ceph repository and execute the
|
|
|
|
following::
|
2012-04-11 18:21:43 +00:00
|
|
|
|
2012-05-18 20:54:51 +00:00
|
|
|
cd ceph
|
|
|
|
./autogen.sh
|
|
|
|
./configure
|
|
|
|
make
|
2012-04-11 18:21:43 +00:00
|
|
|
|
2013-01-03 21:30:14 +00:00
|
|
|
.. topic:: Hyperthreading
|
|
|
|
|
|
|
|
You can use ``make -j`` to execute multiple jobs depending upon your system. For
|
|
|
|
example, ``make -j4`` for a dual core processor may build faster.
|
2012-04-11 18:21:43 +00:00
|
|
|
|
2012-05-03 17:15:21 +00:00
|
|
|
|
|
|
|
To install Ceph locally, you may also use::
|
2012-04-25 21:50:15 +00:00
|
|
|
|
2012-05-18 20:54:51 +00:00
|
|
|
sudo make install
|
2012-05-01 02:03:53 +00:00
|
|
|
|
2013-01-03 21:30:14 +00:00
|
|
|
If you install Ceph locally, ``make`` will place the executables in
|
|
|
|
``usr/local/bin``. You may add the Ceph configuration file to the
|
|
|
|
``usr/local/bin`` directory to run an evaluation environment of Ceph from a
|
|
|
|
single directory.
|
2012-05-03 17:15:21 +00:00
|
|
|
|
2013-01-03 21:30:14 +00:00
|
|
|
.. _Memory Profiling: ../../rados/operations/memory-profiling
|