2
4

More than 5 years have passed since last update.

CentOS7にgitlabインストール

Posted at
公式サイト

gitlab CentOS7について

環境

便宜上ホストの設定を以下の値とする

IP:192.168.120.35
依存パッケージ導入
sudo yum install curl openssh-server
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 https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
sudo yum install gitlab-ce
gitlabイニシャライズ
sudo gitlab-ctl reconfigure

ブラウザからログイン

http://192.168.120.35/users/sign_in
Username: root
Password: 5iveL!fe ※初期パスワード

ログイン後初期パスワードを変更

Setup new password
Current password:
New Password:password

ブラウザからログイン

http://192.168.120.35/users/sign_in
Username: root
Password: password ※変更したパスワード

以降ブラウザ上で操作。設定を行う。

昔インストールは結構大変だった印象だが最近のgitlabは簡単に導入できるみたい。

2
4
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
4