Gerrit: различия между версиями

Материал из noname.com.ua
Перейти к навигацииПерейти к поиску
Строка 9: Строка 9:
   
 
* http://deb.gerritforge.com/dists/gerrit/contrib/binary-amd64/gerrit-2.12-1.noarch.deb
 
* http://deb.gerritforge.com/dists/gerrit/contrib/binary-amd64/gerrit-2.12-1.noarch.deb
  +
251 wget http://deb.gerritforge.com/dists/gerrit/contrib/binary-amd64/gerrit-2.11.8-1.noarch.deb
  +
  +
  +
  +
<PRE>
  +
# java -jar /var/gerrit/bin/gerrit.war init -d /var/gerrit
  +
Using secure store: com.google.gerrit.server.securestore.DefaultSecureStore
  +
  +
*** Gerrit Code Review 2.11.8
  +
***
  +
  +
  +
*** Git Repositories
  +
***
  +
  +
Location of Git repositories [git]:
  +
  +
*** SQL Database
  +
***
  +
  +
Database server type [mysql]:
  +
  +
Gerrit Code Review is not shipped with MySQL Connector/J 5.1.21
  +
** This library is required for your configuration. **
  +
Download and install it now [Y/n]? Y
  +
Downloading http://repo2.maven.org/maven2/mysql/mysql-connector-java/5.1.21/mysql-connector-java-5.1.21.jar ... OK
  +
Checksum mysql-connector-java-5.1.21.jar OK
  +
Server hostname [localhost]:
  +
Server port [(mysql default)]:
  +
Database name [gerrit]:
  +
Database username [gerrit]:
  +
Change gerrit's password [y/N]?
  +
  +
*** Index
  +
***
  +
  +
Type [LUCENE/?]:
  +
  +
root@jenkins-demo:/var/gerrit#
  +
The index must be rebuilt before starting Gerrit:
  +
java -jar gerrit.war reindex -d site_path
  +
  +
root@jenkins-demo:/var/gerrit#
  +
*** User Authentication
  +
***
  +
  +
Authentication method [LDAP/?]:
  +
LDAP server [ldap://127.0.0.1]:
  +
LDAP username [cn=admin,dc=demo,dc=com]:
  +
Change cn=admin,dc=demo,dc=com's password [y/N]?
  +
Account BaseDN [ou=gerrit,dc=demo,dc=com]:
  +
Group BaseDN [ou=gerrit,dc=demo,dc=com]:
  +
  +
*** Review Labels
  +
***
  +
  +
Install Verified label [y/N]?
  +
  +
*** Email Delivery
  +
***
  +
  +
SMTP server hostname [localhost]:
  +
SMTP server port [(default)]:
  +
SMTP encryption [NONE/?]:
  +
SMTP username :
  +
  +
*** Container Process
  +
***
  +
  +
Run as [gerrit]:
  +
Java runtime [/usr/lib/jvm/java-7-openjdk-amd64/jre]:
  +
Upgrade /var/gerrit/bin/gerrit.war [Y/n]? n
  +
  +
*** SSH Daemon
  +
***
  +
  +
Listen on address [*]:
  +
Listen on port [29418]:
  +
  +
Gerrit Code Review is not shipped with Bouncy Castle Crypto SSL v151
  +
If available, Gerrit can take advantage of features
  +
in the library, but will also function without it.
  +
Download and install it now [Y/n]? n
  +
Generating SSH host key ... rsa(simple)... done
  +
  +
*** HTTP Daemon
  +
***
  +
  +
Behind reverse proxy [Y/n]?
  +
Proxy uses SSL (https://) [y/N]?
  +
Subdirectory on proxy server [/r/]:
  +
Listen on address [127.0.0.1]:
  +
Listen on port [8081]:
  +
Canonical URL [http://192.168.59.103:8081/r/]:
  +
  +
*** Plugins
  +
***
  +
  +
Installing plugins.
  +
Install plugin singleusergroup version v2.11.8 [y/N]?
  +
Install plugin commit-message-length-validator version v2.11.8 [y/N]?
  +
Install plugin reviewnotes version v2.11.8 [y/N]?
  +
Install plugin replication version v2.11.8 [y/N]?
  +
Install plugin download-commands version v2.11.8 [y/N]? y
  +
Initializing plugins.
  +
No plugins found with init steps.
  +
</PRE>

Версия 14:00, 23 марта 2016

Gerrit

Plugins:


 251  wget  http://deb.gerritforge.com/dists/gerrit/contrib/binary-amd64/gerrit-2.11.8-1.noarch.deb


# java -jar /var/gerrit/bin/gerrit.war  init -d  /var/gerrit
Using secure store: com.google.gerrit.server.securestore.DefaultSecureStore

*** Gerrit Code Review 2.11.8
***


*** Git Repositories
***

Location of Git repositories   [git]:

*** SQL Database
***

Database server type           [mysql]:

Gerrit Code Review is not shipped with MySQL Connector/J 5.1.21
**  This library is required for your configuration. **
Download and install it now [Y/n]? Y
Downloading http://repo2.maven.org/maven2/mysql/mysql-connector-java/5.1.21/mysql-connector-java-5.1.21.jar ... OK
Checksum mysql-connector-java-5.1.21.jar OK
Server hostname                [localhost]:
Server port                    [(mysql default)]:
Database name                  [gerrit]:
Database username              [gerrit]:
Change gerrit's password       [y/N]?

*** Index
***

Type                           [LUCENE/?]:

root@jenkins-demo:/var/gerrit#
The index must be rebuilt before starting Gerrit:
  java -jar gerrit.war reindex -d site_path

root@jenkins-demo:/var/gerrit#
*** User Authentication
***

Authentication method          [LDAP/?]:
LDAP server                    [ldap://127.0.0.1]:
LDAP username                  [cn=admin,dc=demo,dc=com]:
Change cn=admin,dc=demo,dc=com's password [y/N]?
Account BaseDN                 [ou=gerrit,dc=demo,dc=com]:
Group BaseDN                   [ou=gerrit,dc=demo,dc=com]:

*** Review Labels
***

Install Verified label         [y/N]?

*** Email Delivery
***

SMTP server hostname           [localhost]:
SMTP server port               [(default)]:
SMTP encryption                [NONE/?]:
SMTP username                  :

*** Container Process
***

Run as                         [gerrit]:
Java runtime                   [/usr/lib/jvm/java-7-openjdk-amd64/jre]:
Upgrade /var/gerrit/bin/gerrit.war [Y/n]? n

*** SSH Daemon
***

Listen on address              [*]:
Listen on port                 [29418]:

Gerrit Code Review is not shipped with Bouncy Castle Crypto SSL v151
  If available, Gerrit can take advantage of features
  in the library, but will also function without it.
Download and install it now [Y/n]? n
Generating SSH host key ... rsa(simple)... done

*** HTTP Daemon
***

Behind reverse proxy           [Y/n]?
Proxy uses SSL (https://)      [y/N]?
Subdirectory on proxy server   [/r/]:
Listen on address              [127.0.0.1]:
Listen on port                 [8081]:
Canonical URL                  [http://192.168.59.103:8081/r/]:

*** Plugins
***

Installing plugins.
Install plugin singleusergroup version v2.11.8 [y/N]?
Install plugin commit-message-length-validator version v2.11.8 [y/N]?
Install plugin reviewnotes version v2.11.8 [y/N]?
Install plugin replication version v2.11.8 [y/N]?
Install plugin download-commands version v2.11.8 [y/N]? y
Initializing plugins.
No plugins found with init steps.