redhat7.4安装gitlab
1.参考官方安装指南
https://about.gitlab.com/install/#centos-7
2.遇到的问题
2.1.启动postfix出错
错误内容
Job for postfix.service failed because the control process exited with error code. See "systemctl status postfix.service" and "journalctl -xe" for details.
查看出错命令
systemctl status postfix.service
错误内容
● postfix.service - Postfix Mail Transport Agent
Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since 五 -- :: CST; 22s ago
Process: ExecStart=/usr/sbin/postfix start (code=exited, status=/FAILURE)
Process: ExecStartPre=/usr/libexec/postfix/chroot-update (code=exited, status=/SUCCESS)
Process: ExecStartPre=/usr/libexec/postfix/aliasesdb (code=exited, status=) 7月 :: 172.16.1.187 aliasesdb[]: /usr/sbin/postconf: warning: valid_hostname: numeric hostname: 172.16.1.187
7月 :: 172.16.1.187 aliasesdb[]: /usr/sbin/postconf: fatal: unable to use my own hostname
7月 :: 172.16.1.187 aliasesdb[]: newaliases: warning: valid_hostname: numeric hostname: 172.16.1.187
7月 :: 172.16.1.187 aliasesdb[]: newaliases: fatal: unable to use my own hostname
7月 :: 172.16.1.187 postfix[]: warning: valid_hostname: numeric hostname: 172.16.1.187
7月 :: 172.16.1.187 postfix[]: fatal: unable to use my own hostname
7月 :: 172.16.1.187 systemd[]: postfix.service: control process exited, code=exited status=
7月 :: 172.16.1.187 systemd[]: Failed to start Postfix Mail Transport Agent.
7月 :: 172.16.1.187 systemd[]: Unit postfix.service entered failed state.
7月 :: 172.16.1.187 systemd[]: postfix.service failed.
执行命令
vim /etc/postfix/main.cf
在main.cf文件里加入
myhostname = mail.mydomain.com

重新执行启动postfix命令
sudo systemctl start postfix
2.2修改ip与port
安装官方安装步骤执行命令后
sudo EXTERNAL_URL="https://gitlab.example.com" yum install -y gitlab-ce
修改配置文件
sudo vim /etc/gitlab/gitlab.rb
修改或者添加
unicorn['port']=
external_url 'http://172.16.1.144:9000'
执行重启命令
gitlab-ctl reconfigure
gitlab-ctl restart
访问地址
3.汉化(待解决)
汉化地址:https://gitlab.com/xhang/
这是一个gitlab仓库地址可以下载gitlab的安装包,和带gitlab中文的安装包。因为我安装的gitlab是12.1.1,上面最新的是12.0.4,没有找到对应版本。
附几个汉化的博客,其处理思路基本为将/opt/gitlab/embedded/service/gitlab-rails/路径下的内容替换为汉化版本的。
https://www.cnblogs.com/cheng95/p/8037865.html
https://www.cnblogs.com/heyonggang/p/7778203.html
https://www.cnblogs.com/eos666/p/8858882.html
redhat7.4安装gitlab的更多相关文章
- CentOS安装gitlab,gerrit,jenkins并配置ci流程
CentOS安装gitlab,gerrit,jenkins并配置ci流程 By Wenbin juandx@163.com 2016/4/9 这是我参考了网上很多的文档,配置了这三个软件在一个机器上, ...
- CentOS安装gitLab服务器
首先利用gitlab-install-el6.sh安装,比较简单: (出处:http://www.linuxidc.com/Linux/2013-06/85754.htm) 1:如果有条件,提供一台全 ...
- Centos6安装Gitlab
安装参考 https://about.gitlab.com/downloads/ 可以从清华的镜像下载安装包, 注意区分自己用的是哪个发行版 https://mirror.tuna.tsinghua. ...
- centos 6.5 6.6 6.7安装gitlab教程(社区版)
简单的说安装gitlab就两种办法主要介绍第一种:官网推荐的方法: 1.新建yum源 新建 /etc/yum.repos.d/gitlab-ce.repo,内容为 [gitlab-ce] name=g ...
- Mac安装GitLab CE记录
0 REF REF1 原始的GitLab Documentation REF2 Installation-guide-for-GitLab-on-OS-X REF3 如何在Mac 终端升级ruby版本 ...
- Docker安装Gitlab
一.Ubuntu16.4上Docker安装Gitlab 1.安装docker 参见:https://docs.docker.com/engine/installation/linux/ubuntuli ...
- centos 6.5安装GitLab全过程和问题记录
GitLab,是一个使用 Ruby on Rails 开发的开源应用程序,与Github类似,能够浏览源代码,管理缺陷和注释,非常适合在团队内部使用. 官方只提供了Debian/Ubuntu系统下的安 ...
- Ubuntu 14.04下安装GitLab指南
摘要 GitLab 是一个用于仓库管理系统的开源项目.使用Git作为代码管理工具,并在此基础上搭建起来的web服务. 在GitLab的官方网站上面对Ubuntu的支持也是很好的,有比较详尽的安装指南. ...
- ubuntu 16.04.2 源码安装gitlab并且利用runner持续集成
参考原档:https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/installation.md#using-https 本章只 ...
随机推荐
- js判断是哪种浏览器和阻止页面加载
<html> <head> <meta http-equiv="Content-Type" content="text/html; char ...
- es和redis cluster高可用扩容等等
https://www.jianshu.com/p/ec465da21b4a https://www.cnblogs.com/hello-shf/p/11543468.html https://www ...
- string+DP leetcode-4.最长回文子串
5. Longest Palindromic Substring 题面 Given a string s, find the longest palindromic substring in s. Y ...
- 【Distributed】分布式锁
一.概述 1.1 分布式解决的核心思路 1.2 分布式锁一般有三种实现方式 二.基于Redis的分布式锁 2.1 使用常用命令 2.2 实现思路 2.3 核心代码 Maven依赖信息 LockRedi ...
- 关于stm32 SDIO初始化TF卡 失败的问题
类似问题:http://www.openedv.com/thread-33232-1-1.html 现象:初始化4bit SDIO模式的TF卡,卡死在初始化过程中. 问题现象代码移植于野火开发板相关例 ...
- KVM虚拟机高级设置——08 管理远程虚拟机
在搭建KVM环境——07 带GUI的Linux上安装KVM图形界面管理工具介绍了KVM图形化管理工具,这款工具除了可以管理本地KVM虚拟外,还可以管理远程KVM虚拟机. 输入113机器密码 输入yes ...
- Linux学习笔记(十五)用户和用户组
一.四个配置文件 解释: (1)当组内仅有一个用户且用户名和组名相同时,[组中用户列表]可省略不写 (2)root用户组的组号为0 (3)组号1-499位系统预留组号,是预留给安装在系统中的软件或服务 ...
- centos下关闭自动锁屏
自己这段时间在学习Linux,选用的系统的为CentOS,在实际操作过程中遇到问题,在无任何操作情况下,系统过一段时间自动锁屏需要重新输入密码.经过多次尝试以后终于成功!解决方法如下: Setting ...
- 一致性Hash算法(转载)
原文地址http://blog.csdn.net/caigen1988/article/details/7708806 consistent hashing 算法早在 1997 年就在论文 Con ...
- linux实操_shell
简单shell编写: 执行方式: (1)推荐 (2)不推荐