centos7 使用 omnibus包安装方式,安装 gitlab7.4

1: gitlab是一个开源的软件,类似于github.com那样的git代码管理仓库;

官网 https://about.gitlab.com/

下载资源 :https://about.gitlab.com/downloads/archives/

安装指南 :https://about.gitlab.com/downloads/

详细说明:https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md

2:安装

#cent7 对应的安装包 rpm
#这里是官方的下载资源,是amazome的云服务器,速度很慢,建议用国外的vps下载下,然后再用迅雷vip离线下载,然后下载到自己服务器上
curl -O https://downloads-packages.s3.amazonaws.com/centos-7.0.1406/gitlab-7.4.3_omnibus.5.1.0.ci-1.el7.x86_64.rpm #安装对应的 openssh服务
yum install openssh-server
#设置开机启动
systemctl enable sshd
#启动sshd服务
systemctl start sshd 安装对应的 postfix服务同样设置开机启动和启动服务
yum install postfix
systemctl enable postfix
systemctl start postfix #使用rpm 源安装,gitlab omnibus安装包
rpm -i gitlab-7.4.3_omnibus.5.1..ci-.el7.x86_64.rpm
#安装完成之后会出现complete,并提示你配置gitlab #安装完成之后,配置gitlab
gitlab-ctl reconfigure #设置服务器的防火墙允许http,和ssh服务
firewall-cmd --permanent --add-service=http #重新启动防火墙
systemctl reload firewalld #给gitlab服务绑定域名
vim /etc/gitlab/gitlab.rb
#填写你指定的绑定域名和端口,默认是80端口
external_url 'http://www.git.com:8078' #重新启动一下服务
gitlab-ctl restart #浏览器,打开绑定的域名及端口,访问
#默认的用户名是 root,密码是 5iveL!fe 登陆成功之后,会修改密码,至少8位

3: 在启动成功之后

#执行gitlab-ctl status 查看状态
[root@cocoaPro ~]# gitlab-ctl status
run: logrotate: (pid ) 2536s; run: log: (pid ) 2959s
run: nginx: (pid ) 2535s; run: log: (pid ) 2961s
run: postgresql: (pid ) 2535s; run: log: (pid ) 2974s
run: redis: (pid ) 2534s; run: log: (pid ) 2981s
run: sidekiq: (pid ) 1795s; run: log: (pid ) 2962s
run: unicorn: (pid ) 1764s; run: log: (pid ) 2963s

可以看出gitlab的框架是 nginx+postgresql+redis+sidekiq+unicorn

所以如果你的服务器有 apache httpd的服务,要避免二者都占用80端口的冲突

还有 gitlab在修改配置绑定域名和端口之后,要执行一下 gitlab-ctl reconfigure 重新配置一下gitlab服务,使之生效

最后分享一下我迅雷离线下载的资源 离线下载

centos7 使用 omnibus包安装方式,安装 gitlab7.4的更多相关文章

  1. 在centos使用rpm包的方式安装mysql,以及更改root密码

    在centos使用rpm包的方式安装mysql,对于centos官方实际推荐使用yum进行安装,下载安装的方式主要用于内网服务器不能连接外网yum源的情况. 下载包 首先根据centos版本在mysq ...

  2. tensorflow的Virtualenv安装方式安装

    本文介绍了如何在ubuntu上以virtualenv方式安装tensorflow. 安装pip和virtualenv: # Ubuntu/Linux 64-bit sudo apt-get insta ...

  3. centos7下源码编译方式安装httpd

    前言 Apache至少需要apr.apr-util.pcre组件的支持. APR(Apache portable Run-time libraries,Apache可移植运行库)的目的如其名称一样,主 ...

  4. centos7 mysql8.0 RPM软件包方式安装

    1下载安装包:https://dev.mysql.com/downloads/mysql/8.0.html 2.解压安装包后可以看下如下文件列表 3.在当前目录打开终端 查看并卸载 mariadbrp ...

  5. CentOS7的mysql5.7-rpm.bundle方式安装

    下载地址 https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.19-1.el6.x86_64.rpm-bundle.tar 查询mariad ...

  6. Linux下源码安装方式安装MySQL

    1.下载安装包:https://downloads.mysql.com/archives/community/  2.安装开发工具和安装包 因为要把源码编译成二进制数据,所以必须要有编译器和解释器 g ...

  7. All-In-One方式-安装openstack

    ALL-IN-ONE安装openstack******************************************************************************* ...

  8. 第2-1-2章 传统方式安装FastDFS-附FastDFS常用命令

    目录 3 安装配置 3.1 安装GCC 3.2 安装libevent 3.3 安装libfastcommon 3.4 安装FastDFS 3.5 安装fastdfs-nginx-module 3.5 ...

  9. 免安装方式的Python之VSCode环境配置

    概述 本文旨在介绍免安装方式,在VSCode中搭建Python(3.73)的配置环境.至于Python是什么.它能做些什么,诸如此类的介绍均不在此文中介绍,相信能看此文的人,多多少少都会有些了解. V ...

随机推荐

  1. Tomcate配置单向双向SSL

    1.单向SSL 一.在Tomcate的service.xml文件中放开SSL配置 <!-- <Connector port="8443" protocol=" ...

  2. 我的android学习经历29

    四大组件之广播接收者BroadcastReceiver 新建广播接收器 需要新建一个类继承类BroadcastReceiver,并且重写其中的方法onReceive(),不要在这个方法中添加过多的逻辑 ...

  3. (1)建立一个名叫Cat的类: 属性:姓名、毛色、年龄 行为:显示姓名、喊叫 (2)编写主类: 创建一个对象猫,姓名为“妮妮”,毛色为“灰色”,年龄为2岁,在屏幕上输 出该对象的毛色和年龄,让该对象调用显示姓名和喊叫两个方法。

    package lianxi; public class Cat { String Name, Color; int Age; void getName() { System.out.println( ...

  4. JAVA 实战练习

    1.判断变量是否为奇数偶数. package com.JAVA; import java.util.Scanner; public class text { public static void ma ...

  5. FZU 2144 Shooting Game

    Shooting Game Time Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64u Submi ...

  6. Linux netmask

    wget http://mirrors.sohu.com/ubuntu/pool/universe/n/netmask/netmask_2.3.12.tar.gz tar xf netmask_2.3 ...

  7. Codeforces Round #288 (Div. 2) C. Anya and Ghosts 模拟

    C. Anya and Ghosts time limit per test 2 seconds memory limit per test 256 megabytes input standard ...

  8. Backbone简介

    backbone-------一个实现了web前端MVC模式的JS库-------官方地址 backbone库要建立在underscore库的基础上---------------官方中文地址----- ...

  9. SQL SERVER分区表

    简介 分区表是在SQL SERVER2005之后的版本引入的特性.这个特性允许把逻辑上的一个表在物理上分为很多部分.而对于SQL SERVER2005之前版本,所谓的分区表仅仅是分布式视图,也就是多个 ...

  10. 解决使用jQuery采用append添加的元素事件无效的方法

    <html> <head> <script type="text/javascript" src="/jquery/jquery.js&qu ...