This guide installs Gerrit on a Linux server using the official distribution package.
Download the latest Gerrit distribution package from the official site.
Run the Gerrit initialization command to create the site directory and configure the database and authentication options.
java -jar gerrit.war init --batch -d /var/lib/gerrit
Start Gerrit using the provided startup script.
/var/lib/gerrit/bin/gerrit.sh start
Open http://YOUR-SERVER:8080 and complete the initial admin setup.
See Gerrit Configuration for configuration guidance.
See Gerrit Security for hardening guidance.
Prefer automation? See Gerrit Ansible Setup for an example playbook.
Prefer containers? See Gerrit Docker Setup.
Need professional assistance with your Gerrit deployment? Our team provides:
Get in touch: office@linux-server-admin.com | Contact Page