gitlab mysql 配置_gitlab部署、配置更改、备份及恢复

本文介绍了如何在Ubuntu 14.04和CentOS 6上部署GitLab,包括安装依赖、下载Omnibus包、配置启动以及登录。此外,还详细说明了如何更改GitLab的配置,如修改Nginx端口、SSH端口和URL等。最后,提供了GitLab数据备份与恢复的步骤,包括设置自动备份、修改备份路径和进行恢复操作。
摘要由CSDN通过智能技术生成

1、gitlab部署

官网 gitlab.com

Ubuntu14.04安装

1、Install and configure the necessary dependencies

sudoapt-get install postfix

2. Download the Omnibus package and install everything

wgethttps://downloads-packages.s3.amazonaws.com/ubuntu-14.04/gitlab_7.9.4-omnibus.1-1_amd64.deb

sudodpkg -i gitlab_7.9.4-omnibus.1-1_amd64.deb

3. Configure and start GitLab

sudogitlab-ctl reconfigure

4. Browse to the hostname and login

Username: root

Password: 5iveL!fe

Centos6部署

1.Install and configure the necessary dependencies

sudo yum install postfix

sudo yum install cronie

sudo service postfix start

sudo chkconfig postfix on

sudo lokkit -s http -s ssh

2.Download the Omnibus package and install everything

curl -O https://downloads-packages.s3.amazonaws.com/centos-6.6/gitlab-7.9.4_omnibus.1-1.e

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值