Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Info

Please note that the internal Git repository has been by default enabled in the EC2 setup. This guide provides instructions to do the same in the OpenStack setup.

...

Follow the steps mentioned below to enable the internal Git repository service in OpenStack:

  1. Enable the following setting in the SC/repository/conf/cartridge-config.properties fileproperties file.

    Code Block
    feature.internalrepo.enabled=true
  2. <2> Download Gitblit GO from  http://gitblit.com/.
    Unzip the Gitblit to the /opt/GitBlit folder.

  3. <3>Please Please download internal_repo_service.zip file from the following location <<<URL>> & unzip the file>>> dist.wso2.org/downloads/stratos/2.0.0/ga/.
    Unzip the file and copy the following files to the mentioned locations:

    • Copy wso2carbon.jks into /opt/GitBlit

    location
    • folder.

    >>>
    • Copy s2.gitblit.

    plugin
    • plugin-0.0.1-jar-

    with
    • with-dependencies.jar

    into 
    • into the /opt/GitBlit/ext

    location
    • folder.

  4. <4>Configure Configure the following in Gitblit

     

     >>>In

    :

    •  Set the following in the gitblit.properties file that is found in /opt/GitBlit/data folder

    set the following           realm
    • :

     

    • Code Block
      realm.userService=org.wso2.carbon.s2.gitblit.service.GitAuthService
             
    • 
      web.
    enableRpcManagement
    • enableRpcManagement = true
    <5>
    • 
      server.httpsPort = 8443
      server.httpsBindInterface =
      Info
      By default server.httpsBindInterface=<localhost>. We need to remove the <localhost> value and keep it empty so that the https interface will consider all the interfaces and not only the localhost.
  5. Enable the 8443 port in your security group.

    Info

    It is assumed that GitBlit https is running

    in 8443 so enable that port in your security group.

    on 8443.