gerrit installation on centos 7 code example
Example 1: ubuntu install gerrit
wget https://gerrit-releases.storage.googleapis.com/gerrit-3.1.3.war
Example 2: ubuntu install gerrit
export GERRIT_SITE=~/gerrit_testsite
java -jar gerrit*.war init --batch --dev -d $GERRIT_SITE