gitlab的安装以及汉化

gitlab的安装

首先在网上下载好任意版本gitlab的rpm包

推荐下面的地址:

https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-8.8.5-ce.1.el7.x86_64.rpm

 1 [[email protected] ~]# rz -E
 2
 3 rz waiting to receive.
 4
 5 [[email protected] ~]# ls
 6
 7 anaconda-ks.cfg  gitlab-ce-8.8.5-ce.1.el7.x86_64.rpm
 8
 9 [[email protected] ~]# rpm -ivh gitlab-ce-8.8.5-ce.1.el7.x86_64.rpm #安装
10
11 Preparing...################################# [100%]
12
13 Updating / installing...
14
15    1:gitlab-ce-8.8.5-ce.1.el7         ################################# [100%]
16
17 gitlab: Thank you for installing GitLab!
18
19 gitlab: To configure and start GitLab, RUN THE FOLLOWING COMMAND:
20
21
22
23 sudogitlab-ctl reconfigure  #配置并启动gitlab
24
25
26
27 gitlab: GitLab should be reachable at http://linux-node1  默认的访问地址
28
29 gitlab: Otherwise configure GitLab for your system by editing /etc/gitlab/gitlab.rb file  #gitlab的配置文件,修改之后需要重新gitlab-ctl reconfigure
30
31 gitlab: And running reconfigure again.
32
33 gitlab:
34
35 gitlab: For a comprehensive list of configuration options please see the Omnibus GitLab readme
36
37 gitlab: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md
38
39 gitlab:
40
41 It looks like GitLab has not been configured yet; skipping the upgrade script.
42
43 [[email protected] ~]#

这里我先修改下配置文件

vim /etc/gitlab/gitlab.rb   #修改配置文件

修改结果如下:

[[email protected] ~]# grep -n "^[a-Z]" /etc/gitlab/gitlab.rb

11:external_url ‘http://192.168.56.11‘

[[email protected]-node1 ~]# gitlab-ctl reconfigure  #配置并启动gitlab

打开浏览器输入http://192.168.56.11   #192.168.56.11我的本机ip

第一次登录要求设置root密码

登录成功之后,是这样的

汉化:

[[email protected] ~]# rz

[[email protected]-node1 ~]# ls

anaconda-ks.cfggitlab-ce-8.8.5-ce.1.el7.x86_64.rpmgitlabhq.tar.gz

[[email protected]-node1 ~]# tar xf gitlabhq.tar.gz

[[email protected]-node1 ~]# ls

anaconda-ks.cfggitlab-ce-8.8.5-ce.1.el7.x86_64.rpmgitlabhq  gitlabhq.tar.gz

###关于这个也可以直接git clone   git clone https://github.com/larryli/gitlabhq.git

[[email protected] ~]# cp -r /opt/gitlab/embedded/service/gitlab-rails{,.ori}

[[email protected]-node1 ~]# gitlab-ctl stop

ok: down: gitlab-workhorse: 1s, normally up

ok: down: logrotate: 0s, normally up

ok: down: nginx: 0s, normally up

ok: down: postgresql: 1s, normally up

ok: down: redis: 0s, normally up

ok: down: sidekiq: 0s, normally up

ok: down: unicorn: 0s, normally up

[[email protected]-node1 ~]# \cp -rf /root/gitlabhq/* /opt/gitlab/embedded/service/gitlab-rails/

cp: cannot overwrite non-directory ‘/opt/gitlab/embedded/service/gitlab-rails/log’ with directory ‘/root/gitlabhq/log’

cp: cannot overwrite non-directory ‘/opt/gitlab/embedded/service/gitlab-rails/tmp’ with directory ‘/root/gitlabhq/tmp’

#这里的错误,忽略,因为之前已经设置gitlab的root密码了

[[email protected] ~]# gitlab-ctl start

ok: run: gitlab-workhorse: (pid 25910) 0s

ok: run: logrotate: (pid 25914) 0s

ok: run: nginx: (pid 25920) 1s

ok: run: postgresql: (pid 25925) 0s

ok: run: redis: (pid 25933) 1s

ok: run: sidekiq: (pid 25937) 0s

ok: run: unicorn: (pid 25941) 0s

汉化完成之后的效果

来自为知笔记(Wiz)

时间: 2024-08-26 20:10:09

gitlab的安装以及汉化的相关文章

GitLab10安装-部署-汉化-备份-升级

本文以 GitLab 10.5 的安装与汉化进行例子 1.环境简介: CentOS 7 (and RedHat/Oracle/Scientific Linux 7.4)检查您的服务器是否符合硬件需求.GitLab packages 是专为64位系统编译的. 如需安装到32位操作系统,可考虑其他的安装方法:https://www.gitlab.com.cn/installation/ [[email protected] ~]# cat /etc/redhat-release #系统版本 Cent

eclipse安装、汉化与svn连接

Eclipse安装 eclipse-jee-luna-SR1-win32-x86_64安装成功 汉化--打开Help-AboutEclipse查看版本 http://archive.eclipse.org/technology/babel/index.php汉化包连接 下载与自己版本相同的汉化包,我这里是:Luna service release 拷贝luna连接,http://download.eclipse.org/technology/babel/update-site/R0.12.1/l

MyEclipse的安装和汉化过程

一. 安装和汉化 1.到FTP上下载 MyEclipseForSpring-9.1-offline-installer-windows.exe 2.将下载解压好的MyEclipse for Spring 9.1进行安装,安装时选择32bit的版本!安装完成后把[Launch MyEclipse]的勾取消掉,不要运行. 二. 汉化 一) 注意事项 1.安装目录中不要出现带空格的文件夹. 2.安装之前明确两个文件夹(文中表示为红色,请按照自己的实际情况更改)的安装地址(我的Common文件夹和MyE

Windows+Atlassian-Jira-6.0.4+MySql5.0安装破解汉化

 Windows+Atlassian-Jira-6.0.4+MySql5.0安装破解汉化 一:整理的安装程序 例如以下图: 文件太大.上传不到csdn上.有须要的联系. 新增的百度云盘下载:链接: http://pan.baidu.com/s/1nSbPs password: 388v. 认为实用的.留下个足迹.也是对我的一种鼓舞   :) 二:MySql安装 MySql5.0安装图解 三:Jira安装破解 Jira安装破解汉化 四:补充 自己最后的LICENSE 文件: Descripti

Centos6.5+Jira6.3.6+MySQL5.1+安装+破解+汉化

Centos6.5+Jira6.3.6+MySQL5.1+安装+破解+汉化 一:简介 过程汇总.做个备忘. 下载地址: jira6.3.6:http://pan.baidu.com/s/1eQgTYKE 汉化包:http://download.csdn.net/download/mchdba/7943421 破解包下载地址:http://download.csdn.net/detail/mchdba/7950429         MySQL在线yum安装.驱动自备. 二:所需工具 其中MySQ

mac下安装中文汉化插件和快速打开浏览器插件

首先安装Package Control,如果已经安装过可以跳过此步骤.可以按照官网这里https://packagecontrol.io/installation 复制命令或者直接复制下面:import urllib.request,os,hashlib; h = 'eb2297e1a458f27d836c04bb0cbaf282' + 'd0e7a3098092775ccb37ca9d6b2e4b7d'; pf = 'Package Control.sublime-package'; ipp

Axsure RP7.0安装、汉化和添加元件库

软件开发中首要的任务是了解用户的需求,充分了解用户的需求是软件开发直观重要的阶段,需求了解不彻底, 开发出的软件就不能很好的满足用户的需要.软件不像实物那样可以摸得着,一般开发时间比较长,短时间内不可能 看到成品.那么我们在和用户交流时就得借助一定的工具将要设计的软件展现在用户面前. 原型工具就发挥了这样 的作用. Axure RP是一个专业的快速原型设计工具,这篇博客主要介绍一下A型sure RP7.0的安装.汉化和添加元件库. 一.安装和注册 1.点击链接下载Axsure RP7.0应用程序

亲测有效!CLion2019.2的安装及汉化

CLion的安装.汉化 今天小杨写C语言时,发现这个软件(DEV-C++)太麻烦了,于是就在网上找了一下,发现了两个不错的软件,一个是VC++,另一个是Clion.比较亲于占用内存小的我,选择了后者,毕竟前者的下载就要3.4GB,太费时间了.废话不多说,请看下方!!! 下载 JetBrains CLion v2019.2官方安装包:https://www.jetbrains.com/clion/download/other.html. 备用地址:https://pan.baidu.com/s/1

centos7 gitlab 9.1.0 安装以及汉化

GitLab 1.安装配置依赖项 如想使用Postfix来发送邮件,在安装期间请选择'Internet Site'. 您也可以用sendmai或者 配置SMTP服务 并 使用SMTP发送邮件. 在 Centos 6 和 7 系统上, 下面的命令将在系统防火墙里面开放HTTP和SSH端口,此处在生产环境中适用,此次部署单独一台虚机,selinux,firewall都是关闭的,仅安装依赖项就行.  yuminstall curl policycoreutils openssh-server open