Windows IIS 配置Bonobo Git服务器
来源:互联网 发布:设置java编译器的版本 编辑:程序博客网 时间:2024/05/16 08:28
前期准备
要使用Bonobo Git Server,我们的Windows首先需要满足这些条件:
- Internet Information Services 7 and higher
- How to Install IIS 8 on Windows 8
- Installing IIS 8 on Windows Server 2012
- Installing IIS 7 on Windows Server 2008 or Windows Server 2008 R2
- Installing IIS 7 on Windows Vista and Windows 7
- .NET Framework 4.5
- Windows Vista SP2, Windows 7, Windows 8 and higher
- Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2012 and higher
- ASP.NET MVC 4
- You can use the standalone installer even though it says it requires VS 2010 and higher.
- Don’t forget to register MVC framework with your IIS
- Run
%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -ir
with administrator privileges
- Run
针对这些条件,有一点需要注意的是如何配置IIS。
我使用的是windows7旗舰版,默认是不打开IIS的。所以要先配置IIS。
1. 如图在控制面版里找到“打开或关闭Windows功能”。
2. 在windows功能里面按图配置好。
3. 可以看到C盘多了一个inetpub文件目录。
这时,IIS服务器就基本配置好了!
注意:当所有的前提条件都满足之后,需要使用管理员运行cmd.exe
,然后在cmd
下运行%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -ir
来注册.net框架。
安装Bonobo Git服务器
在官网上可以看安装教程。主要步骤如下:
1. 下载Bonobo Git Server, 然后解压到C:\inetpub\wwwroot\Bonobo.Git.Server\
路径下。如下:
2. 给App_Data文件夹添加写
和修改
的权限。
3. 打开Internet 信息服务(IIS)管理器
4. 右击Bonobo.Git.Server
并点击转换为应用程序
5. 把应用程序池设置为ASP.NET v4.0
, 如果没有该选项,那说明你没有安装.NET4.0或者安装后没有注册,你需要运行%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -ir
来注册.NET4.0
6. 前面步骤完成的,我们可以看到Bonobo.Git.Server
的图标变化了,这时,我们只需要运行浏览*:80(http)
(如图所标注的位置)就可以了。
运行的效果:
结束
到这里,我们的配置教程就结束了,如果你还不明白,可以结合官网来看,不过官网也并没有讲得太详细。在windows使用IIS的过程中,可能会出现其它的问题,可以另外Google, 或者Baidu, 这些问题就是windows的范畴了。如果你严格按上面来配的话,应该是没有什么问题的。
其它
平时怎么使用Git
与服务器进行通讯呢?可以参考:
Git客户端与Git服务器通讯的工作流
局域网怎么访问你所配置的Git服务器呢?可以参考:
怎么让局域网访问你的电脑上的网站?
- Windows IIS 配置Bonobo Git服务器
- windows服务器安装Bonobo Git Server
- Bonobo Git Server搭建本地Git服务器(Windows 下)
- Bonobo Git Server搭建本地Git服务器
- Windows 底下安装 git Server: Bonobo Git Server
- git windows服务器配置
- windows git 服务器配置
- windows下配置Git服务器
- 在Win2008 R2下用 Bonobo Git Server 搭建 Git 服务器
- 用开源 ASP.NET MVC 程序 Bonobo Git Server 搭建 Git 服务器
- 用开源 ASP.NET MVC 程序 Bonobo Git Server 搭建 Git 服务器
- Windows XP professional中配置IIS服务器
- Windows下IIS+PHP+MySQL服务器配置
- Windows server 2003 服务器 iis 配置
- 使用iis在windows系统上假设git服务器
- ubuntu服务器 Git server配置 windows客户端
- Windows下配置Git服务器和客户端
- 配置本地git服务器(Windows)
- codeigniter加载自定义libray时,提示找不到对象(Undefined property)的问题
- Intellij Idea环境下Spark源码阅读环境
- eclipse+spket+Extjs4.2.1开发环境搭建
- Linux 下让进程在后台可靠运行的几种方法
- 最优化方法:梯度下降法
- Windows IIS 配置Bonobo Git服务器
- html 素材表(模板、日期控件、对话框样式、 翻页 、框架)
- Android 动画特效 破碎的界面 brokview
- Linux git服务器搭建 配置IDEA git
- android多渠道打包
- 嵌入式linux:阻塞与非阻塞驱动
- FFmpeg源代码简单分析:常见结构体的初始化和销毁(AVFormatContext,AVFrame等)
- java基础知识总结(一)
- [UVa 1225]:Digit Counting