このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン | |||
01_linux:01_net:36_git_server [2015/03/18 04:11] – matsui | 01_linux:01_net:36_git_server [2015/06/05 02:23] (現在) – matsui | ||
---|---|---|---|
行 1: | 行 1: | ||
+ | ====== 36 git Server ====== | ||
+ | gitについて、[[http:// | ||
+ | |||
+ | ===== ①インストール ===== | ||
+ | |||
+ | <code console> | ||
+ | # yum install git-daemon | ||
+ | </ | ||
+ | |||
+ | |||
+ | # cp / | ||
+ | |||
+ | |||
+ | <code console> | ||
+ | # vim / | ||
+ | |||
+ | 6 disable | ||
+ | ↓ | ||
+ | 6 disable | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | # cd / | ||
+ | # mkdir public_git | ||
+ | # mkdir public_git/ | ||
+ | # cd public_git/ | ||
+ | # git init --bare --shared=true | ||
+ | Initialized empty shared Git repository in / | ||
+ | コミットできるユーザーを作ります | ||
+ | |||
+ | # groupadd git | ||
+ | # adduser git | ||
+ | # passwd git | ||
+ | # chown -R root:git / | ||
+ | |||
+ | {{tag> |