Skip to content

Commit 9b53997

Browse files
mlesswingryjones
authored andcommitted
FAB-7025 Platform specific Centos 7 native builds.
Noted that CouchDB and Kafka packages are not part of the distribution so they need to be build from source. Change-Id: I7ac55185eb4efe441d282cdbbbf91a583bc1d2ca Signed-off-by: Mark Lesswing <mark@lesswing.com> Signed-off-by: Ry Jones <ry@walledcity.org>
1 parent 30806c1 commit 9b53997

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

docs/source/dev-setup/build.rst

+23
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,29 @@ the following commands to build the fabric code:
138138
cd $GOPATH/src/github.com/hyperledger/fabric
139139
make dist-clean all
140140

141+
Building on Centos 7
142+
~~~~~~~~~~~~~~~~~~~~
143+
144+
You will have to build CouchDB from source because there is no package
145+
available from the distribution. If you are planning a multi-orderer
146+
arrangement, you will also need to install Apache Kafka from source.
147+
Apache Kafka includes both Zookeeper and Kafka executables and
148+
supporting artifacts.
149+
150+
::
151+
152+
export GOPATH={directory of your choice}
153+
mkdir -p $GOPATH/src/github.com/hyperledger
154+
FABRIC=$GOPATH/src/github.hyperledger/fabric
155+
git clone https://github.com/hyperledger/fabric $FABRIC
156+
cd $FABRIC
157+
git checkout master # <-- only if you want the master branch
158+
export PATH=$GOPATH/bin:$PATH
159+
make native
160+
161+
If you are not trying to build for docker, you only need the natives.
162+
163+
141164
Configuration
142165
-------------
143166

0 commit comments

Comments
 (0)