GitLab

Proxmoxにのっける。

CPU: 2 core
メモリ: 6,144MiB

クライアントPCのhosts

C:\Windows\System32\drivers\etc\hosts

(例)

192.168.1.100    gitlab.local

Gitlab

インストール

1.必要な依存関係をインストールして設定する
  Postfixはインストールするがいじらない。

2.GitLabパッケージリポジトリを追加してパッケージをインストール

$ curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash
$ sudo EXTERNAL_URL="http://gitlab.local" apt-get install gitlab-ee

3.ホスト名を参照してログイン
Chromeから、http://gitlab.local

まずは、ユーザ名(root)でログイン。
パスワードは、「/etc/gitlab/initial_root_password」に保存されたものを使う。

$ sudo cat /etc/gitlab/initial_root_password

「Configure GitLab」クリック。
Overview/Usersで、ユーザ登録してアクティブ化する。

タイトルとURLをコピーしました