Ubuntu 建立 Gerrit服务器 配置文件

 uname -a

Linux yangyang 3.8.0-32-generic #47~precise1-Ubuntu SMP Wed Oct 2 16:19:35 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

安装包使用的是:gerrit-2.8-rc3.war

目录安装在:

/home/gerrit2/gerrit_application_directory

增加了了gerrit用户

数据库使用了h2,mysql的不会弄

gerrit.config:

[gerrit]
	basePath = git
	canonicalWebUrl = http://127.0.0.1:8081/
[database]
	type = h2
	hostname = localhost
	database = reviewdb
	username = gerrit2
[auth]
	type = HTTP
[sendemail]
	smtpServer = smtp.163.com
	smtpServerPort = 25
	smtpEncryption = TLS
	smtpUser = xbl1986
[container]
	user = gerrit2
	javaHome = /usr/lib/jvm/java-6-openjdk-amd64/jre
[sshd]
	listenAddress = *:29418
[httpd]
	listenUrl = http://*:8081/
[cache]
	directory = cache

然后apache2的配置:

/etc/apache2/sites-available/defaul

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 4
    评论
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值