1,安装下载地址:http://code.google.com/p/gerrit/downloads/list或者用git取最新的code。2、配置如果你是用git或者源码的话,可以参考 源码的 Documentation/install.txt先配置好 数据库,我选的是mysqlCREATE USER "xwang4"@"localhost" IDENTIFIED BY "yoyo";CREATE DATABASE reviewdb;ALTER DATABASE reviewdb charset=latin1;GRANT ALL ON reviewdb.* TO "xwang4"@"localhost";FLUSH PRIVILEGES;然后初始化:# java -jar gerrit-2.2.1.war init -d /home/xwang4/kunlun/gerrit/sites
- xwang4@PEK-xwang4-Ubuntu:~/kunlun/gerrit$ java -jar gerrit-2.2.1.war init -d /home/xwang4/kunlun/gerrit/sites
-
- *** Gerrit Code Review 2.2.1
- ***
-
-
- *** Git Repositories
- ***
-
- Location of Git repositories [/home/xwang4/workspace/gingerbread-kunlun/devel]:
-
- *** SQL Database
- ***
-
- Database server type [MYSQL/?]:
- Server hostname [localhost]:
- Server port [(MYSQL default)]:
- Database name [reviewdb]:
- Database username [xwang4]:
- Change xwang4"s password [y/N]?
-
- *** User Authentication
- ***
-
- Authentication method [DEVELOPMENT_BECOME_ANY_ACCOUNT/?]: ?
- Supported options are:
- openid
- http
- http_ldap
- client_ssl_cert_ldap
- ldap
- ldap_bind
- development_become_any_account
- Authentication method [DEVELOPMENT_BECOME_ANY_ACCOUNT/?]: openid
-
- *** Email Delivery
- ***
-
- SMTP server hostname [hhhhhhhhhhhhhhhhhhhhhhhhhhhh]:
- SMTP server port [25]:
- SMTP encryption [TLS/?]:
- SMTP username [xwang4]:
- Change xwang4"s password [y/N]?
-
- *** Container Process
- ***
-
- Run as [xwang4]:
- Java runtime [/usr/lib/jvm/java-6-sun-1.6.0.26/jre]:
- Upgrade /home/xwang4/kunlun/gerrit/sites/bin/gerrit.war [Y/n]?
- Copying gerrit.war to /home/xwang4/kunlun/gerrit/sites/bin/gerrit.war
-
- *** SSH Daemon
- ***
-
- Listen on address [*]:
- Listen on port [29418]:
-
- *** HTTP Daemon
- ***
-
- Behind reverse proxy [y/N]?
- Use SSL (https://) [y/N]?
- Listen on address [*]:
- Listen on port [8088]:
- Canonical URL [http://PEK-xwang4-ubuntu:8088/]:
然后启动: bin/gerrit.sh restart如果使用openid的话,注册的时候,会提示:Provider is not supported, or was incorrectly entered.sudo ln -sf /etc/java-6-sun/security/cacerts /usr/lib/jvm/java-6-openjdk/jre/lib/security/cacerts VMWare中安装RedHat Linux 9的时候安装第二个盘时提示光盘无法被挂载Ubuntu 11.04 成功安装 Cisco ASDM Launcher相关资讯 Ubuntu 11.04 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)