gitblit 环境搭建,服务器迁移记录

  1. 下载
    Gitblit: http://www.gitblit.com/
    JDK:gitblit网站显示需要jdk1.7,这里用的1.8。
    Git:到官网下载最新版本
  2. 安装
    1). 分别安装JDK,Git,配置环境变量,下载并解压Gitblit
    在这里插入图片描述
    2). 创建代码仓库
    在这里插入图片描述
    仓库位置随意,可以创建在Gitblit解压路径下
    3). 修改配置文件
    data/defaults.properties 复制一份改为 my.properties
    修改gitblit/data/gitblit.properties
include = my.properties

修改my.properties

#端口号:
server.httpPort = 10101
#服务器ip地址
server.httpBindInterface = localhost
server.httpsBindInterface = localhost
#关联代码仓库
git.repositoriesFolder = D:/android.repositories

打开gitblitw.exe时报错,提示服务未安装:
在这里插入图片描述

  1. 安装服务
    在这里插入图片描述
    右键installService.cmd以管理员方式运行&
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值