Gitサーバを構築する(Ubuntu18.04)
Docker上のUbuntuにGitサーバを立てて使ってみる。 ここ( GitLab Official Linux Package )に沿ってインストールしていく。 1. Install and configure the necessary dependencies サーバ側にgitをインストール $ sudo apt install git $ git --version git version 2.17.1 $ sudo apt install curl openssh-server ca-certificates $ sudo apt install postfix Satellite system: All mail is sent to another machine, called a 'smarthost', for delivery. Local only: The only delivered mail is the mail for local users. There is no network. 1. No configuration 2. Internet Site 3. Internet with smarthost 4. Satellite system 5. Local only General type of mail configuration: 5 .............. .............. System mail name: test@gitserver.jp 2. Add the GitLab package repository and install the package GitLabのrepositoryを追加しInstall # Repositoryの追加とgitlabのインストール $ curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash $ sudo apt install gitlab-ce # gitlabの設定 $ sudo vim /etc/gitlab/gi...