Blogger Information
Blog 5
fans 0
comment 0
visits 6268
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
Gitblit服务器搭建
づ奈何ā
Original
1455 people have browsed it

注:Gitblit是纯java开发的,所以首先先要配置java运行环境

1.下载Gitblit,Gitblit官方网站:http://www.gitblit.com/

2、下载完毕后解压至D:\Java下,改名为gitblit(只是个人习惯,Java开发相关的东西都放在这儿),观察一下gitblit的目录结构,红色箭头标记的是将要修改和操作的部分

3.在data目录中将defaults.properties文件复制一份,改名为my.properties
4、打开gitblit.properties文件,注释掉include = defaults.properties这句,添加include = my.properties这句,说明使用的是my.properties配置文件

5、打开my.properties文件,找到server.httpPort,设定http协议的端口号: server.httpPort = 10101

6、打开my.properties文件,找到server.httpBindInterface,设定服务器的IP地址(本机IP地址):server.httpBindInterface = 192.168.20.7

7、打开my.properties文件,找到server.httpsBindInterface,设定为localhost:server.httpsBindInterface = localhost

9、打开浏览器,在地址栏输入:https://localhost:8443/http://192.168.20.7:10101/,如果出现下图,说明服务器已经搭建完毕。默认账号和密码均为 admin

服务端创建用户
1,点击用户

2,建立使用者

3,创建,密码要大于5位数

4,管理员进行权限分配

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post