This page covers simple Bonobo Git Server installation. Be sure to check prerequisites page before installation and for other sections visit the documentation page.
此页包括简单的Bonobo Git 服务安装。在安装和查看文档页之前要先查看系统要求页。
The following steps covers an installation with Windows 2008 Server and IIS 7. They are exactly the same for any higher platforms (Windows Server 2012 and IIS 8.0+).
接下来的步骤涵盖在Windows 2008和IIS 7上安装Bonobo Git 服务。在更高的平台上(Windows Server 2012和IIS 8.0及以上)也是一样的。
- Download the latest version of Bonobo Git Server from the front page
从首页上下载最新版本的Bonobo Git 服务
- Extract the files from the installation archive to
C:\inetpub\wwwroot
将压缩包解压到“C:\inetpub\wwwroot”
- Allow IIS User to modify
C:\inetpub\wwwroot\Bonobo.Git.Server\App_Data
folder. To do so(允许IIS用户修改“C:\inetpub\wwwroot\Bonobo.Git.Server\App_Data”文件夹。操作步骤如下:)- select Properties of App_Data folder(右击“App_Data”文件夹,选择“属性”),
- go to Security tab(切换到“安全”选项卡),
- click edit(点击“编辑”按钮),
- select IIS user (in my case IIS_IUSRS) and add Modify and Write permission(选择“IIS_IUSRS”并赋予“修改”和“写入”权限),
- confirm these settings with Apply button(点击“应用”按钮来确认这些设置).
如果没有“”这个用户,请先添加该用户,操作如下:
- Convert Bonobo.Git.Server to Application in IIS(在IIS中将Bonobo.Git.Server转换为应用程序)
- Run IIS Manager and navigate to Sites -> Default Web Site. You should see Bonobo.Git.Server(打开IIS并导航到默认网站。你将看到“Bnobo.Git.Server”).
- Right click on Bonobo Git Server and convert to application(在“Bnobo.Git.Server”右击,并选择“转换为应用程序”).
- Check if the selected application pool runs on .NET 4.0 and convert the site(检查选中的应用池是否运行在.NET 4.0上,如果不是,则切换到.NET 4.0).
- Configure Authentication(配置身份验证)
Enable Anonymous Authentication in IIS and disable the others. To do so, select the application, click on the authentication icon and set the value to of Anonymous Authentication to Enabled. The configuration should look like the following screenshot.
在IIS中启用匿名身份验证并禁用其他身价验证。要这么做,选择“Bonobo.Git.Server”应用,点击“身份验证”图标并设置“匿名身份验证”为启用。最终配置应同下面的快照一样:
- Launch your browser and go to http://localhost/Bonobo.Git.Server. Now you can see the initial page of Bonobo Git Server and everything is working(打开浏览器并浏览“http://localhost/Bonobo.Git.Server”。现在你能看到Bonobo Git服务的起始页和正在运行的所有工作).
- Default credentials are username: admin password: admin(默认证书是用户名:admin,密码:admin)
The authentication and membership service functions have been split up into separate configurable modules in the latest version of Bonobo Git Server. By default, it is configured to use Cookie Authentication and the Internal Membership Service. Please follow up on how to use the different methods using the following sites.
在最新版本的Bonobo Git服务中,身份验证和成员资格服务功能被分离到单独的配置模块。默认情况下,它们分别用“Cookie身份验证”和“集成成员资格服务”来配置。关于“怎样使用不同的方式”,请继续看下面的网站。
Authentication Providers(身份验证提供程序)
- Cookie Authentication(Cookie身份验证)
- Windows Authentication(Windows身份验证)
- Federation Authentication(联合验证)
Membership Services(成员资格服务)
- Internal Membership Service(集成成员资格服务)
- Active Directory Membership Service(活动目录成员资格服务)
If you are have a previous version installed, you should review these migration notes.
如果你安装过以前的版本,你应该查看这些迁移注意事项。
If you have any issues with the installation try to search FAQ and forum.