安装gitlab

废话不多说,搞起!

环境centos7.2

一下来自官方install 文档

sudo yum install curl policycoreutils openssh-server openssh-clients -y 
sudo systemctl enable sshd 
sudo systemctl start sshd 
sudo yum install postfix 
sudo systemctl enable postfix 
sudo systemctl start postfix 
sudo firewall-cmd --permanent --add-service=http 
sudo systemctl reload firewalld

到这步都没什么问题,下面正式安装gitlab,官方给出的是

curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash 
sudo yum install gitlab-ce -y

但是gitlab最新版9.4.1是340M,下载过程异常缓慢,坑

反正是rpm 包安装

我直接到这个网站下载

https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/

然后安装

rpm -ivh gitlab-ce-9.4.1-ce.0.el7.x86_64.rpm

安装完成之后会有提示让你重新配置gitlab

sudo gitlab-ctl reconfigure

gitlab 开始自己重新配置的,几分钟后,就可以用了

时间: 2024-08-19 00:31:55

安装gitlab的相关文章

CentOS源码安装GitLab汉化版

示例环境: 软件 版本 CentOS 6.5 x86_64 Git 2.6.2 Ruby 2.2.3 Node.js 4.2.1 Redis 3.0.5 MariaDB 10.0.21 GitLab 8.0.5汉化版 GitLab Shell 2.6.6 Nginx 1.8.0 Go 1.5.1 Gitlab-git-http-server 0.2.14 一.修改Yum源为阿里云提高下载速度 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.

yum安装gitlab

1. 安装配置依赖项 如果已经安装了Postfix来发送邮件请在安装期间选择 'Internet Site' . 你也可以用Sendmail或者 使用自定义的SMTP服务器来代替Postfix. 如果希望使用 Exim, 请 把它当做SMTP来配置. 在Centos 6和7上, 下面的命令也会配置系统防火墙,把HTTP和SSH端口开放. sudo yum install curl openssh-server postfix croniesudo service postfix startsud

Centos6.5 yum源安装gitlab

1. 安装配置依赖项 如果已经安装了Postfix来发送邮件请在安装期间选择 'Internet Site' . 你也可以用Sendmail或者 使用自定义的SMTP服务器来代替Postfix. 如果希望使用 Exim, 请 把它当做SMTP来配置. 在Centos 6和7上, 下面的命令也会配置系统防火墙,把HTTP和SSH端口开放. sudo yum install curl openssh-server postfix croniesudo service postfix startsud

CentOS安装GitLab

最近想写一些小程序,但是GitHub没有免费的private,想到写的程序还得需要部署和MySQL数据库,索性就买一个阿里云的云主机,还挺便宜,一年才600多. 下午安装了JDK.Tomcat.MySQL,现在开始安装GitLab: 安装和配置依赖的环境. sudo yum install curl openssh-server postfix cronie sudo service postfix start sudo chkconfig postfix on sudo lokkit -s h

Centos6安装Gitlab

安装参考 https://about.gitlab.com/downloads/ 可以从清华的镜像下载安装包, 注意区分自己用的是哪个发行版 https://mirror.tuna.tsinghua.edu.cn/help/gitlab-ce/ 1. iptables打开80端口 # Firewall configuration written by system-config-firewall # Manual customization of this file is not recomme

centos 7 安装gitlab

#配置安装EPEL及依赖环境 #更新包     yum update      yum -y install wget yum -y --nogpgcheck install http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm#添加epel源      http://www.cnblogs.com/Irving/p/3729074.html    #安装所需依赖包     yum -y

centos 6.5安装GitLab全过程和问题记录

GitLab,是一个使用 Ruby on Rails 开发的开源应用程序,与Github类似,能够浏览源代码,管理缺陷和注释,非常适合在团队内部使用. 官方只提供了Debian/Ubuntu系统下的安装说明文档,如果需要在centos下安装,可以参考这篇:https://github.com/gitlabhq/gitlab-recipes/tree/master/install/centos,笔者依照这篇文章的说明,成功的在centos系统上安装了gitlab,分享一下自己的安装过程和碰到的问题

CentOS7 安装 Gitlab

GitLab,是一个利用 Ruby on Rails 开发的开源应用程序,实现一个自托管的Git项目仓库,可通过Web界面进行访问公开的或者私人项目. 它拥有与Github类似的功能,能够浏览源代码,管理缺陷和注释.可以管理团队对仓库的访问,它非常易于浏览提交过的版本并提供一个文件历史库.团队成员可以利用内置的简单聊天程序(Wall)进行交流.它还提供一个代码片段收集功能可以轻松实现代码复用,便于日后有需要的时候进行查找. 开源项目地址:https://github.com/gitlabhq/g

CentOS6.5安装GitLab全过程

GitLab,是一个使用 Ruby on Rails 开发的开源应用程序,与Github类似,能够浏览源代码,管理缺陷和注释,非常适合在团队内部使用. 官方只提供了Debian/Ubuntu系统下的安装说明文档,如果需要在centos下安装,可以参考这篇:https://github.com/gitlabhq/gitlab-recipes/tree/master/install/centos,笔者依照这篇文章的说明,成功的在centos系统上安装了gitlab,分享一下自己的安装过程和碰到的问题