zoukankan      html  css  js  c++  java
  • gerrit调试

    java -jar gerrit-2.8.war init -d /etc/gerrit/

    *** Gerrit Code Review 2.8
    ***

    Create '/etc/gerrit'           [Y/n]? y

    *** Git Repositories
    ***

    Location of Git repositories   [git]:

    *** SQL Database
    ***

    Database server type           [h2]: 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/mysq                                                                             l-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                  [reviewdb]: gerritdb
    Database username              [root]: gerrituser
    gerrituser's password          :
                  confirm password :

    *** User Authentication
    ***

    Authentication method          [OPENID/?]: http
    Get username from custom HTTP header [y/N]? n
    SSO logout URL                 :

    *** Email Delivery
    ***

    SMTP server hostname           [localhost]: smtp.gmail.com
    SMTP server port               [(default)]: 587
    SMTP encryption                [NONE/?]: tls
    SMTP username                  [root]: gerritcicd@gmail.com
    gerritcicd@gmail.com's password :
                  confirm password :

    *** Container Process
    ***

    Run as                         [root]:
    Java runtime                   [/usr/lib/jvm/java-7-openjdk-amd64/jre]:
    Copy gerrit-2.8.war to /etc/gerrit/bin/gerrit.war [Y/n]? y
    Copying gerrit-2.8.war to /etc/gerrit/bin/gerrit.war

    *** SSH Daemon
    ***

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

    Gerrit Code Review is not shipped with Bouncy Castle Crypto v144
      If available, Gerrit can take advantage of features
      in the library, but will also function without it.
    Download and install it now [Y/n]? y
    Downloading http://www.bouncycastle.org/download/bcprov-jdk16-144.jar ... !! FAI                                                                             L !!


    error: http://www.bouncycastle.org/download/bcprov-jdk16-144.jar: 302 Found
    Please download:

      http://www.bouncycastle.org/download/bcprov-jdk16-144.jar

    and save as:

      /etc/gerrit/lib/bcprov-jdk16-144.jar

    Press enter to continue
    Continue without this library  [Y/n]? n
    fatal: aborted by user
    root@www:/# java -jar gerrit-2.8.war init -d /etc/gerrit/

    *** Gerrit Code Review 2.8
    ***

    Create '/etc/gerrit'           [Y/n]? y

    *** Git Repositories
    ***

    Location of Git repositories   [git]:

    *** SQL Database
    ***

    Database server type           [h2]: 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/mysq                                                                             l-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                  [reviewdb]: gerritdb
    Database username              [root]: gerrituser
    gerrituser's password          :
                  confirm password :

    *** User Authentication
    ***

    Authentication method          [OPENID/?]: http
    Get username from custom HTTP header [y/N]? n
    SSO logout URL                 :

    *** Email Delivery
    ***

    SMTP server hostname           [localhost]: smtp.gmail.com
    SMTP server port               [(default)]: 587
    SMTP encryption                [NONE/?]: tls
    SMTP username                  [root]: gerritcicd@gmail.com
    gerritcicd@gmail.com's password :
                  confirm password :

    *** Container Process
    ***

    Run as                         [root]:
    Java runtime                   [/usr/lib/jvm/java-7-openjdk-amd64/jre]:
    Copy gerrit-2.8.war to /etc/gerrit/bin/gerrit.war [Y/n]? y
    Copying gerrit-2.8.war to /etc/gerrit/bin/gerrit.war

    *** SSH Daemon
    ***

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

    Gerrit Code Review is not shipped with Bouncy Castle Crypto v144
      If available, Gerrit can take advantage of features
      in the library, but will also function without it.
    Download and install it now [Y/n]? y
    Renaming bcprov-jdk16-1.44.jar to .bcprov-jdk16-1.44.jar.backupDownloading http:                                                                             //www.bouncycastle.org/download/bcprov-jdk16-144.jar ... !! FAIL !!


    error: http://www.bouncycastle.org/download/bcprov-jdk16-144.jar: 302 Found
    Please download:

      http://www.bouncycastle.org/download/bcprov-jdk16-144.jar

    and save as:

      /etc/gerrit/lib/bcprov-jdk16-144.jar

    Press enter to continue
    Continue without this library  [Y/n]? y
    Generating SSH host key ... rsa(simple)... done

    *** HTTP Daemon
    ***

    Behind reverse proxy           [y/N]? y
    Proxy uses SSL (https://)      [y/N]? n
    Subdirectory on proxy server   [/]:
    Listen on address              [*]:
    Listen on port                 [8081]: 8082
    Canonical URL                  [http://www.ruiy-ci-cd.com/]: http://gerrit.ruiy-                                                                             ci-cd.com/

    *** Plugins
    ***

    Install plugin reviewnotes version v2.8 [y/N]? y
    Install plugin download-commands version v2.8 [y/N]? y
    Install plugin replication version v2.8 [y/N]? y
    Install plugin commit-message-length-validator version v2.8 [y/N]? y

    Initialized /etc/gerrit
    Executing /etc/gerrit/bin/gerrit.sh start
    Starting Gerrit Code Review: OK
    Waiting for server on gerrit.ruiy-ci-cd.com:80 ... OK
    Opening http://gerrit.ruiy-ci-cd.com/#/admin/projects/ ...FAILED
    Open Gerrit with a JavaScript capable browser:
      http://gerrit.ruiy-ci-cd.com/#/admin/projects/

  • 相关阅读:
    2014-写给明年现在的自己
    DDD 领域驱动设计-Value Object(值对象)如何使用 EF 进行正确映射
    DDD 领域驱动设计-在动手之前,先把你的脑袋清理干净
    醍醐灌顶:领域驱动设计实现之路
    拨乱反正:DDD 回归具体的业务场景,Domain Model 再再重新设计
    设计窘境:来自 Repository 的一丝线索,Domain Model 再重新设计
    No zuo no die:DDD 应对具体业务场景,Domain Model 重新设计
    拨开迷雾,找回自我:DDD 应对具体业务场景,Domain Model 到底如何设计?
    【记录】GitHub/TortoiseGit 修改邮箱/提交者
    死去活来,而不变质:Domain Model(领域模型) 和 EntityFramework 如何正确进行对象关系映射?
  • 原文地址:https://www.cnblogs.com/ruiy/p/5617170.html
Copyright © 2011-2022 走看看