zoukankan      html  css  js  c++  java
  • Installing SCM-Manager

      With SCM-Manager, people can share and manage Git, Mercurial and Subversion repositories over http easily.

      1. Installing Java
        1. Download and install Java from https://www.java.com/en/download/index.jsp
          • Note: If you use 64-bit OS, use 64-bit Java
      2. Installing Python with Hg
        1. Download Python 2.7 from http://www.python.org/download/, please note that they call x64 CPUs x86-64
        2. Download Mercurial for Python 2.7 from http://mercurial.selenic.com/downloads/
        3. Install Python 2.7 to D:Python27
        4. Install the Mercurial Python package
      3. Set SCM_HOME environment variable, details about scm home directory, see https://bitbucket.org/sdorra/scm-manager/wiki/faq
      4. Installing the SCM-Manager
        1. Download the standalone package from http://www.scm-manager.org/download/
        2. Extract to D:scm-server
        3. Open cmd as Administrator and navigate to D:scm-serverin, run "scm-server.bat install"
        4. Go to Services, and start the scm-server service
      5. Configuring repository settings for SCM-Manager
        1. Open the browser and navigate to http://localhost:8080/
        2. The default admin username and password are both scmadmin
        3. On the left hand side, find the Config panel, and click Repository Types, the Repository Config tab opens
        4. It's better unify the repository paths to D:SCM-Repositories<Repository Type>
        5. In Mercurial Settings section, put the following configs:
          • HG Binary: D:Python27Scriptshg.bat
          • Python Binary: D:Python27python.exe
          • Python Module Search Path: D:Python27
          • Repository directory: D:SCM-Repositorieshg
          • Encoding: UTF-8
          • Optimize .. (.pyo): true
        6. Click the Save button
      6. Adding users to SCM-Manager
        • Adding local users
          1. On the left hand side, find the Security panel, and click Users, the Users tab opens
          2. Click the Add button, the User Form tab at the bottom shows, put necessary info there and click OK
        • Enabling Active Directory users
          1. On the left hand side, find the Config panel, and click Plugins, the Plugins tab opens
          2. Under the Authentication section, find scm-activedirectory-auth-plugin and click Install
          3. After the installation, restart the scm-server service
          4. Now AD users are able to log in
      7. Adding repositories to SCM-Manager
        1. On the left hand side, find the Main panel, and click Repositories, the Repositories tab opens
        2. Click the Add button, the Settings tab opens at the bottom
        3. Fill the Name field, you can use slash / to create a section, such as IT/Website will create a Website repository under the IT section
        4. The Type field for Hg is Mercurial
        5. The Contact, Description and Public fields are optional
        6. Click OK
      8. Configuring permissions for repositories
        1. On the Repositories tab, select a repository, 3 tabs are available at the bottom
        2. Select the Permissions tab
          • Click the Add button to add a new row for a new user or group
          • Click a cell to modify the existing settings
          • Please note: SCM-Manager has a virtual group called _authenticated which means all authenticated users
          • When done, click OK
    1. 相关阅读:
      观察者模式股票提醒
      中介者模式虚拟聊天室
      模板方法模式数据库的连接
      职责链模式财务审批
      期末总结
      软件需求分析考试
      tomcat启动极其慢的解决方法困扰我一年多的问题终于解决
      状态模式银行账户
      解释器模式
      动态加载JS文件提升访问网站速度
    2. 原文地址:https://www.cnblogs.com/Diryboy/p/Installing_SCM-Manager.html
    Copyright © 2011-2022 走看看