OpenMediaVault GitLab 安装
/****************************************************************************
* OpenMediaVault GitLab 安装
* 说明:
* 安装过程中遇到各种各样的问题,尤其是在执行dpkg安装包的时候很久没反省,
* 后来直接运行,放那里,吃饭去了,回来就好了。
*
* 2016-8-17 深圳 南山平山村 曾剑锋
***************************************************************************/ 一、参考文档:
. Install a GitLab CE Omnibus package on
https://about.gitlab.com/downloads/#ubuntu1404
. APT/YUM repository for GitLab Community Edition packages
https://packages.gitlab.com/gitlab/gitlab-ce
. change the data directory gitlab to store repos elsewhere
http://stackoverflow.com/questions/19902417/change-the-data-directory-gitlab-to-store-repos-elsewhere
. Could not read from remote repository
https://github.com/gitlabhq/gitlab-public-wiki/wiki/Trouble-Shooting-Guide
. project ssh path is wrong
https://github.com/gitlabhq/gitlabhq/issues/3686
. GitLab搭建以及配置
http://www.jianshu.com/p/a22eaa1fcfe7 二、gitlab 安装:
. sudo apt-get install curl openssh-server ca-certificates postfix
. 按参考文档内网址获取安装包,这里也可以在Windows下载好,再FTP上传上去。
. dpkg -i <包名>
. sudo gitlab-ctl reconfigure 三、修改Web端口号及ip:
. 修改/etc/gitlab/gitlab.rb
......
external_url 'http://192.168.1.4:8888' # 不这样修改,界面上有些内容用起来比较麻烦。
......
. gitlab-ctrl start
. gitlab-ctrl reconfigre # 在这之前一定要先运行gitlab-ctrl start,否则会出错
. gitlab-ctrl top
. gitlab-ctrl start 四、修改仓库目录:
. rm /var/opt/gitlab/git-data/repositories
. ln -s /home/git/repos /var/opt/gitlab/git-data/repositories 五、clone project:
. http:
git clone http://192.168.1.4:8888/<your username>/<your project name>.git
. 如果ssh key,当然你要知道git账户密码:
git clone git@192.168.1.4:git-data/repositories/<your username>/<your project name>.git
. 如果已经在Web主页上添加了ssh key:
git clone git@192.168.1.4:<your username>/<your project name>.git
OpenMediaVault GitLab 安装的更多相关文章
- GitLab安装说明
GitLab,是一个使用 Ruby on Rails 开发的开源应用程序,与Github类似,能够浏览源代码,管理缺陷和注释,非常适合在团队内部使用. gitlab是基于Ruby on Rails的, ...
- Gitlab安装、汉化及使用
环境:centos 关闭防火墙和selinux [root@Gitlab ~]# setenforce [root@Gitlab ~]# service iptables stop && ...
- git\CentOS6.5中gitlab安装教程
一.Git 起源: Git是一个开源的分布式版本控制系统,用于敏捷高效地处理任何或小或大的项目. Git 是 Linus Torvalds 为了帮助管理 Linux 内核开发而开发的一个开放源码的版本 ...
- Ubuntu gitlab安装文档及邮件通知提醒配置
1.安装依赖包,运行命令 sudo apt-get install curl openssh-server ca-certificates postfix 2.由于gitlab官方源可能被“墙”,首先 ...
- gitlab安装随记
gitlab安装 配置yum源 sudo vim /etc/yum.repos.d/gitlab-ce.repo 按照网上别人的例子,修改为清华的源 [gitlab-ce] name=Gitlab C ...
- CentOS 7 环境下GitLab安装及基本配置
新实验室要求重新建设GitLab,对于我来讲,是第一次有机会当元老参与实验室的建设.下面分享我自己的实测经验: 1. 安装依赖软件并设置开机启动 yum install curlpolicycoreu ...
- GitLab安装及使用
GitLab是一个利用 Ruby on Rails 开发的开源应用程序,实现一个自托管的Git项目仓库,可通过Web界面进行访问公开的或者私人项目. GitLab拥有与Github类似的功能,能够浏览 ...
- gitlab之一: gitlab安装配置使用
参考: gitlab 安装和配置 gitlab下载地址: https://mirror.tuna.tsinghua.edu.cn/gitlab-ce/ 官方教程: https://about.gitl ...
- Gitlab安装以及汉化
Gitlab安装以及汉化 系统环境: CentOS 7.5 IP:192.168.1.2 关闭selinux.firewalld gitlab-ce-10.8.4 rpm包:下载地址 一.下载并安装g ...
随机推荐
- db2数据备份与恢复
备份:先关掉所有tomcat运行:db2cmd db2Stop force db2Start DB2 FORCE APPLICATIONS ALL DB2 BACKUP DATABASE histes ...
- 关于Properties 集 添加数据 遍历数据
public static void fun1(){ Properties v = new Properties(); v.setProperty("a","1" ...
- jQuery学习总结(一)——jQuery基础与学习资源
前一段时间录了一套关于jQuery的视频分享给大家,可以在下载区下载到,本来想配合文字一起的,后面发现视频+帮助文档也是非常好的学习方法. 一.jQuery简介与第一个jQuery程序 1.1.jQu ...
- SpringMVC拦截器详解[附带源码分析](转)
本文转自http://www.cnblogs.com/fangjian0423/p/springMVC-interceptor.html 感谢作者 目录 前言 重要接口及类介绍 源码分析 拦截器的配置 ...
- C#使用PrintDocument打印 多页 打印预览
PrintDocument实例所有的订阅事件如下: 创建一个PrintDocument的实例.如下: System.Drawing.Printing.PrintDocument docToPrint ...
- 单点登录CAS-Demo
版权声明:本文为博主原创文章,未经博主允许不得转载. 目录(?)[-] 1安全证书配置 2部署服务端CAS-Server 3部署CAS-Client 4测试SSO 1,安全证书配置 CAS默认 ...
- VisualSVN Server 导入已存在的库
http://blog.csdn.net/lidatgb/article/details/7984220 早些时候建立过一个SVN Server的库,后来觉得库的名字太长了,随意换了一 ...
- BUPT复试专题—众数(2014)
题目描述 有一个长度为N的非降数列,求数列中出现最多的数,若答案不唯一输出最小的数 输入 第一行T表示测试数据的组数(T<100) 对于每组测试数据: 第一行是一个正整数N表示数列长度 第二行有 ...
- 区间重合判断[poj2808 校门外的树]
题目:http://bailian.openjudge.cn/practice/2808/ 参考了文章,重写了代码:http://www.cnblogs.com/youxin/p/3266617.ht ...
- google 集群计算的3大基础设施
1. GFS 分布式文件系统 2. map-reduce 分布式计算框架 3. bigtable 海量key-value的存储 (开源实现:Hypertable)