Skip to content

Gerrit 配置

yangyp8110 edited this page Jan 17, 2018 · 1 revision

gerrit 默认配置

默认安装的gerrit配置

[gerrit001@localhost gerrit_site]$ cat etc/gerrit.config 
[gerrit]
	basePath = git
	canonicalWebUrl = http://localhost:8080/
[database]
	type = h2
	database = db/ReviewDB
[index]
	type = LUCENE
[auth]
	type = HTTP
[sendemail]
	smtpServer = localhost
[container]
	user = gerrit001
	javaHome = /usr/local/install/jdk1.8.0_111/jre
[sshd]
	listenAddress = *:29418
[httpd]
	listenUrl = http://*:8080/
[cache]
	directory = cache

MySQL配置

参考:gerrit配置MySQL

Clone this wiki locally