ユーザ用ツール

サイト用ツール


ubuntu-server-14-04:git-server

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
ubuntu-server-14-04:git-server [2015/01/07 22:47] – [モジュールを有効化] adminubuntu-server-14-04:git-server [2015/01/07 22:50] (現在) admin
行 51: 行 51:
 Apache2 のサイトの設定を変更する。[[apache2-ssl|以前作成]]した、SSL を使用するサイトの <VirtualHost> ディレクティブ内に以下を記述する。認証に使用するパスワードは、[[webdav|WebDav をインストール]]した際に作成したものを利用する。  Apache2 のサイトの設定を変更する。[[apache2-ssl|以前作成]]した、SSL を使用するサイトの <VirtualHost> ディレクティブ内に以下を記述する。認証に使用するパスワードは、[[webdav|WebDav をインストール]]した際に作成したものを利用する。 
  
 +  * /var/www/git: Git リポジトリを格納するディレクトリ。複数のリポジトリを格納する予定。
  
 <code> <code>
行 92: 行 93:
 $ cd ./test.git/ $ cd ./test.git/
 $ sudo git init --bare $ sudo git init --bare
-Initialized empty Git repository in /var/www/git/test.git/ 
-$ sudo touch ./git-daemon-export-ok 
-$ sudo cp ./hooks/post-update.sample ./hooks/post-update 
 $ sudo git config http.receivepack true $ sudo git config http.receivepack true
 $ sudo git update-server-info $ sudo git update-server-info
 +$ sudo touch ./git-daemon-export-ok
 +$ sudo cp ./hooks/post-update.sample ./hooks/post-update
 $ sudo chown -R www-data:www-data . $ sudo chown -R www-data:www-data .
 </code> </code>
ubuntu-server-14-04/git-server.1420638440.txt.gz · 最終更新: 2015/01/07 22:47 by admin