review_site/etc/gerrit.config
- [gerrit]
- basePath = repositories
- canonicalWebUrl = http://xx.x.xx.xxx/gerrit/
- [database]
- type = MYSQL
- hostname = localhost
- database = reviewdb
- username = gerrit123
- [auth]
- type = HTTP
- logoutUrl = http://www.windriver.com/
- [sendemail]
- smtpsmtpServer = smtp.mail.yahoo.com.cn
- smtpUser = wxbuaa
- smtpServerPort = 465
- smtpEncryption = SSL
- [user]
- name = xxxxx.xx
- email = wxbuaa@yahoo.com.cn
- [container]
- user = gerrit222
- javaHome = /usr/java/jre1.6.0_27/
- [sshd]
- listenAddress = *:29418
- [httpd]
- listenUrl = proxy-http://*:8080/gerrit/
- [cache]
- directory = cache
- ~
apache 的配置文件 /etc/httpd/conf.d/gerrit.conf
- <VirtualHost *:80>
- ServerName xx.x.xx.xxx
-
- ProxyRequests Off
- ProxyVia Off
- ProxyPreserveHost On
-
- <Proxy *>
- Order deny,allow
- Allow from all
- </Proxy>
-
- <Location /gerrit/>
- AuthType Basic
- AuthName "Gerrit Code Review"
- Require valid-user
- AuthUserFile /home/gerrit2/review_site/etc/passwd
- </Location>
-
- ProxyPass /gerrit/ http://127.0.0.1:8080/gerrit/
- </VirtualHost>
Fedora 上的sun jre 配置的命令:
- sudo chmod +x ./jre-6u27-linux-i586-rpm.bin
- sudo ./jre-6u27-linux-i586-rpm.bin
- sudo alternatives --install /usr/bin/java java /usr/java/jre1.6.0_27/bin/java 20000
- sudo alternatives --config java
- java -version
Linux在线安装软件 screen使用方法Ubuntu 下使用SSH 代理相关资讯 Fedora安装 Gerrit
- Gerrit 2.12.0 正式发布下载,代码 (01月04日)
- Gerrit 2.12.0 RC2 发布下载,代码 (12/08/2015 09:02:20)
- Gerrit 2.11.4 发布,代码评审工具 (10/26/2015 17:13:28)
| - Gerrit 2.11.5 发布下载,代码评审 (12/14/2015 13:25:27)
- Gerrit 2.12.0 RC1 发布下载,代码 (11/30/2015 10:13:28)
- Gerrit 2.11.3 发布下载,代码评审 (08/24/2015 19:54:01)
|
本文评论 查看全部评论 (0)