LoginSignup
8
9

More than 5 years have passed since last update.

GitLabのインストール

Posted at

試しにやってみたのでメモ

手順

依存ライブラリのインストール

  1. ライブラリをインストールする

    # yum install -y curl policycoreutils-python openssh-server openssh-clients
    
  2. sshdサービスの自動起動を設定する

    # systemctl enable sshd
    
  3. sshdサービスを起動する

    # systemctl start sshd
    
  4. firewallコマンドを設定し、再読み込みする

    # firewall-cmd --permanent --add-service=http && systemctl reload firewalld
    

Postfix のインストール

  1. postfixパッケージをインストールする

    # yum install postfix
    
  2. postfixサービスの自動起動を設定する

    # systemctl enable postfix
    
  3. postfixサービスを起動する

    # systemctl start postfix
    

GitLab Community Edition のインストール

  1. GitLabリポジトリを登録する

    # curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
    
  2. GitLabをインストールする

    # yum install -y gitlab-ce
    
  3. Reconfigureを実行する

    # gitlab-ctl reconfigure
    

確認

マシンのホストもしくはIPアドレスにアクセスする
GitLabログイン画面.png

参考

8
9
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
8
9