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 本章只 ...
随机推荐
- SQL Server系统函数:日期函数
原文:SQL Server系统函数:日期函数 1.返回当前日期和时间 select GETDATE() '当前日期-精确到33毫秒' select GETUTCDATE() 'UTC日期和时间-精确到 ...
- CLSID 为 {00024500-0000-0000-C000-000000000046} 的组件失败
今天在使用 C# 操作 Excel 时,一直在报错误: 检索 COM 类工厂中 CLSID 为 {00024500-0000-0000-C000-000000000046} 的组件失败,原因是出现以下 ...
- epoll、mysql概念及简单操作
epoll 程序阻塞的过程 假设我们目前运行了三个进程A B C ,如果他们都在处于运行态,那就会被加到一个运行队列中 进程A正在运行socket程序 在linux中有句话,万物皆文件,socket对 ...
- AlterDialog对话框的使用
第一步先写出layout文件 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xml ...
- Const *ptr ptr
1. const int *ptr = NULL; <=> int const *ptr = NULL; 1) 表示指向符号常量的指针变量,指针变量本身并非const所以可以指向其他变量. ...
- Linux中找回误删除的文件
Linux中找回误删除的文件 作为一个多用户.多任务的Linux操作系统,会出现在没有备份的情况下将一些用户文件误删的情况,Linux下的文件一旦被删除,是难以恢复的.尽管删除命令只是在文件节点中作删 ...
- 远程连接服务器数据库报错:Host ‘XXXXXX’ is blocked because of many connection errors
原文:https://blog.csdn.net/li_li_lin/article/details/72764683 一.我遇到的问题描述 使用Navicat for mysql连接公司的服务器数据 ...
- CentOs Linux 对于Django uwsgi + Nginx 的安装与部署
Django Nginx+uWSGI 安装配置 链接:
- WPF绑定属性
1.创建model类 model类要继承接口INotifyPropertyChanged,用于通知客户端属性值已更改 public class StudentModel : INotifyProper ...
- onbeforeunload、onpagehide、onunload、onload、onpageshow的正确执行顺序
一.Chrome支持onbeforeunload.onpagehide.onunload,只是在这些方法执行的时候alert,console这些方法已经被注销了. 二.浏览器跳转.关闭.刷新时都按a, ...