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 ...
随机推荐
- Linux上安装使用SSH
參考博客:http://blog.csdn.net/xqhrs232/article/details/50960520 Ubuntu安装使用SSH ubuntu默认并没有安装ssh服务,如果通过ssh ...
- T3054 高精度练习-文件操作 codevs
http://codevs.cn/problem/3054/ 题目描述 Description 输入一组数据,将每个数据加1后输出 输入描述 Input Description 输入数据:两行,第 ...
- linux下查看cpu使用情况
1.在终端输入top 2.ubuntu系统自带有system monitor 3.sudo apt-get install sysstat 然后在终端输入:mpstat
- (type interface {}) to type string
go 语言开发中,经常会在函数中碰到使用 insterface{} 作为接收任意参数,但是我们接收的数据经常是需要做类型转换,由于是初学者,因此,初次转换我是直接就 func New(paramete ...
- ASP.NET Core 如何记录每次响应的Response信息 - sky 胡萝卜星星 - CSDN博客
原文:ASP.NET Core 如何记录每次响应的Response信息 - sky 胡萝卜星星 - CSDN博客 上一篇文章中我们已经成功的记录了Request部分的信息,现在我们来看下如何记录Res ...
- xgboost调参
The overall parameters have been divided into 3 categories by XGBoost authors: General Parameters: G ...
- BUPT复试专题—网络的核(2014)
题目描述 给定一个无向网络G,共有N个节点(1到N),M条边,求网络的核. 网络的核:到网络中其他节点距离之和最小的节点,且对于不连通的两点,他们之间的距离为N,若有多组解,输出编号最小的节点 输入 ...
- 课程的正确步调——Leo鉴书74
<Leo鉴书(第1辑)>已登陆百度阅读.今后还将不断更新,免费下载地址:http://t.cn/RvawZEx 本人第一次站上讲台是1999年,那会儿从中关村回到天津,在一个给成人做计算机 ...
- react map 遍历
1.map方法 注:map 返回的是一个新数组 class App extends Component { // constructor(props) { // super(props); // th ...
- C# Backgroundworker(后台线程)的使用
namespace BackgroundWorkderPauseSample { public partial class MainForm : Form { BackgroundWorker wor ...