forked from lizardfs/lizardfs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
31 lines (18 loc) · 806 Bytes
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Installing LizardFS from source.
Current LizardFS source code can be obtained at:
http://lizardfs.com/download/
LizardFS uses cmake as its build system. To compile the sources, follow
the directions outlined below.
1. Create a build directory inside the source directory.
cd lizardfs-source
mkdir build
2. Run 'cmake ..' inside the build directory. Useful options include
'-DCMAKE_INSTALL_PREFIX', '-DCMAKE_BUILD_TYPE' as well as various
LizardFS-specific '-DENABLE_...' options. Options are listed when
cmake is ran and can be changed by re-running cmake.
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt/lizardfs
3. Run make in the build directory.
make
4. Run make install to install files (you may need to be root).
make install