VisualSVN ServerでSubversion管理サーバを構築する
VisualSVN ServerでSubversion管理サーバを構築します。
VisualSVN Serverのダウンロード
VisualSVN Serverをダウンロードします。
ダウンロードサイト
http://www.visualsvn.com/server/
http://www.visualsvn.com/files/VisualSVN-Server-2.1.9.msi
VisualSVN Serverのインストール
VisualSVN Serverをインストールします。
・ダウンロードした VisualSVN-Server-2.1.9.msi をダブルクリックします。
・End-User License Agreementに承諾します。
・Select Componentsで、VisualSVN ServerとManagement Consoleを選択します。
・Custom Setupで、
モジュールのインストールパスやレポジトリパス(C:\Repositories\)を指定します。
サーバのポート番号(443)を指定します。
アクセス認証の設定を行います。
Use secure connection (https://) にチェックを入れます。
Use Subversion authentication にチェックを入れます。
・Installボタンをクリックしてインストールを開始します。
・インストール途中で、SSLで使う証明書も自動的に作成します。
・Finishボタンをクリックしてインストールを終了します。
VisualSVN Serverの基本操作
・VisualSVN Server Manager を起動します。
・StatusのServer URL欄にアクセスするためのURLが表示されます。
・管理画面から、
ログの設定、
ユーザの設定、
グループの設定、
レポジトリの設定
などが行えます。
ユーザの作成
ユーザを作成します。
・Subversion Authentication の Create new user ... をクリックします。
・Create New User ダイアログで、ユーザ名とパスワードを入力します。
グループの作成
グループを作成します。
・Subversion Authentication の Create new group ... をクリックします。
・Create New Group ダイアログで、グループ名を指定して、Add ... でユーザを追加します。
新規リポジトリに作成
リポジトリを新規に作成します。
・VisualSVN Server Manager を起動します。
・ツリービューから Repositories を選択します。
・Actionメニュー → All Tasks → New → Repository ... をクリックします。
・Create Repositoryダイヤログで Repository Name を入力します。
・create default structure(trunk, branches, tags) にチェックを入れます。
・OK をクリックします。
既存リポジトリのインポート
既存リポジトリをインポートします。
・VisualSVN Server Manager を起動します。
・ツリービューから Repositories を選択します。
・Actionメニュー → All Tasks → Import Existing Repository をクリックします。
・Existing Repository Location に既存リポジトリの格納場所を指定します。
・New Repository Name にインポートした新規リポジトリの名前を入力します。
・OK をクリックします。
Webブラウザからのアクセス
Webブラウザからアクセスします。
https://<Computer Name>/svn/ にアクセスします。
ユーザー認証ダイアログで、ユーザ名とパスワードを入力してログインします。
Collection of Repositories - VisualSVN Server ページが表示されます。
変更 2011.08.28
2011.08.23