码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2018-03-11 23:57:41      阅读:192      评论:0      收藏:0      [点我收藏+]

标签:git   linux   inux   代理   class   wget   zip   toc   github   

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 版本控制服务端?

标签:git   linux   inux   代理   class   wget   zip   toc   github   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!