GitHub账户注册注册了有一年多了(Joined on 13 Apr 2015),一直以来都是本地命令行上传到内网的Git服务器Gitlab。最近正好在学习新的编程语言,所以当初荒废的GitHub想重拾起来(0 contributions in the last year)。 到GitHub官网找 ...
分类:
其他好文 时间:
2016-05-23 17:05:24
阅读次数:
114
1.找管理员(汤严敏)开通gitlab权限 2.下载并安装git工具 3.下载并安装nodejs 4.安装cnpm 5.安装kulor-cli cnpm install -g kulor-cli cnpm install -g grunt-cli cnpm install 6.安装nginx并运行 ...
分类:
其他好文 时间:
2016-05-23 14:35:12
阅读次数:
178
建立SSL目录,然后拷贝你的证书到SSL目录:#mkdir/etc/gitlab/ssl
#chmod700/etc/gitlab/ssl
#cpluck.crtluck.key/etc/gitlab/ssl/编辑/etc/gitlab/gitlab.rb文件,修改成:external_url"https://www.abc.com"
nginx[‘redirect_http_to_https‘]=true
nginx[‘ssl_certificate‘]="/et..
分类:
Web程序 时间:
2016-05-22 18:38:19
阅读次数:
395
为了更好的管理起来我们关闭开放注册去掉Sign-upenabled的对勾Admin-->settings-->Sign-inRestrictionsSign-upenbaled关闭注册功能Sign-inenbaled关闭注册登录功能再次登录已经关闭了注册功能。用户注册需要管理员来生成用户新建用户-保存登录邮箱设置密码
分类:
其他好文 时间:
2016-05-21 16:09:55
阅读次数:
16401
问题
1.使用默认git-shell的hooks,如果更改post-receive,所有的文件都会更新所有
现在只能这样做了
ln-s/opt/git/gitlab-shell/hooks/pre-receivepre-receive
ln-s/opt/git/gitlab-shell/hooks/updateupdate
catpost-receive
#!/bin/bash
web_dir=/opt/xx/xx/
git--work-t..
分类:
其他好文 时间:
2016-05-20 14:43:53
阅读次数:
1018
An SSH key allows you to establish a secure connection between your computer and GitLab. Before generating an SSH key in your shell, check if your sys ...
分类:
其他好文 时间:
2016-05-20 11:51:04
阅读次数:
740
sameersbn-gitlab is better more than officals sameersbn/redmine https://hub.docker.com/r/sameersbn/redmine/ 整合配置 上述工具安装部署完毕后,需要在宿主机上安装一个Nginx,然后配置域名,将 ...
分类:
其他好文 时间:
2016-05-20 11:24:59
阅读次数:
256
[root@gitlab~]#./bitnami-gitlab-8.7.4-0-linux-x64-installer.runTheinstallerdetectsthatexistsa‘git‘userinthesystem.Thisinstallerwillchangetheconfigurationforthisuser.Doyouwanttocontinuetheinstallation?[y/N]:yTheinstallerdetectsthatexistsa‘gitlab_ci‘userinthe..
分类:
其他好文 时间:
2016-05-19 13:25:06
阅读次数:
574
功能要求:在公网上搭建一个gitlab服务器,所有项目代码的更新、提交都在这个服务器的项目中进行,实现对代码的版本控制。同时,在本地的局域网内再搭建一个gitlab服务器,把项目中每天的代码变化同步到这个服务器的项目中,进行备份。思路:公网上gitlab服务器是项目代码提交..
分类:
其他好文 时间:
2016-05-18 22:21:32
阅读次数:
1420
Git的常见使用方式(GitLab) 因换工作,开始用Git版本控制,故简单学写了Git的简单用法 在此记录 使用准备 需要下载一个Git客户端,百度就有,直接下载安装就好,安装成功之后,在任意位置右键,会有Git Bash Here和Git GUI Here选项,这里只介绍Git Bash Her ...
分类:
其他好文 时间:
2016-05-16 21:50:05
阅读次数:
174