2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Gitlab環境構築してみる

Posted at

環境

  • Ubuntu16.04 X64
  • Gitlab 10.7.2-ee

構築手順

#ubuntu16.04インストールしたあとから
#dashからbashにする No!
sudo dpkg-reconfigure dash
#とりあえずSSHいれる
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -y curl openssh-server ca-certificates
sudo apt-get install -y postfix
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash
#設定変更
sudo vi /etc/gitlab/gitlab.rb
#external_url 'http://<User_IP adder>'
#構築
sudo gitlab-ctl reconfigure

#Backup

sudo gitlab-rake gitlab:backup:create
#ここにバックアップが生成される
sudo -i
cd /var/opt/gitlab/backups
ls
1534427176_2018_08_16_10.7.2-ee_gitlab_backup.tar

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?