首页 > 其他 > 详细

如何搭建一个 Git 版本控制服务端?

时间:2018-03-11 23:40:06      阅读:205      评论:0      收藏:0      [点我收藏+]

Gogs 下载和安装 https://github.com/gogits/gogs

# 下载二进制压缩包 不检查服务器证书
root@cheungxiongwei:~# wget --no-check-certificate  https://github.com/gogits/gogs/releases/download/v0.11.34/linux_amd64.tar.gz

# 下载二进制压缩包 检查服务器证书
root@cheungxiongwei:~# wget --secure-protocol=sslv3  https://github.com/gogits/gogs/releases/download/v0.11.34/linux_amd64.tar.gz

# 解压 gz 压缩包
root@cheungxiongwei:~# gzip -d linux_amd64.tar.gz
root@cheungxiongwei:~# tar -xf linux_amd64.tar

# 运行
root@cheungxiongwei:~/gogs# ./gogs web

# 访问该服务器地址 3000 端口,进行初始化配置即可。

# dos 设置代理
set http_proxy=http://127.0.0.1:1080

如何搭建一个 Git 版本控制服务端?

原文:https://www.cnblogs.com/cheungxiongwei/p/8546945.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!