Link to the original text of this article: https://blog.csdn.net/xzk9381/article/details/109571109
1. Install Gerrit-2.9.5 version (Ubuntu)
Gerrit version: Gerrit-2.9.5.war
Operating system: Ubuntu 16.04.3
JAVA environment: java version "1.8.0_222"
Gerrit download address: https://gerrit-releases.storage.googleapis.com/gerrit-2.9.5.war (you can modify the corresponding version number to download)
Gerrit plug-in download address: https://gerrit-ci.gerritforge.com
This article explains in detail how to build the old version of Gerrit and how to upgrade from the old version to the new version.
- Gerrit can use a variety of databases to store data. This deployment uses the mysql5.5 database. First, install all the components of the mysql database.
add-apt-repository 'deb http://archive.ubuntu.com/ubuntu trusty main universe'
apt-get update
apt-get install <