Strict Standards: Declaration of action_plugin_blog::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/lib/plugins/blog/action.php on line 13

Strict Standards: Declaration of action_plugin_indexmenu::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/lib/plugins/indexmenu/action.php on line 13

Strict Standards: Declaration of action_plugin_importoldchangelog::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/lib/plugins/importoldchangelog/action.php on line 8

Strict Standards: Declaration of action_plugin_importoldindex::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/lib/plugins/importoldindex/action.php on line 8

Strict Standards: Declaration of action_plugin_include::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/lib/plugins/include/action.php on line 19

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/inc/parserutils.php on line 208

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/inc/parserutils.php on line 211

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/inc/parserutils.php on line 421

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/inc/parserutils.php on line 594

Strict Standards: Declaration of cache_instructions::retrieveCache() should be compatible with cache::retrieveCache($clean = true) in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/inc/cache.php on line 291

Deprecated: Function split() is deprecated in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/inc/auth.php on line 154

Strict Standards: Only variables should be passed by reference in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/doku.php on line 73
subversion設定 [開発チーム]

Deprecated: Function split() is deprecated in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/inc/parser/lexer.php on line 517

Deprecated: Function split() is deprecated in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/inc/parser/lexer.php on line 517

Deprecated: Function split() is deprecated in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/inc/parser/lexer.php on line 517

Deprecated: Function split() is deprecated in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/inc/parser/lexer.php on line 517

Deprecated: Function split() is deprecated in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/inc/parser/lexer.php on line 517

▼はじめに

旧Wikiに記載されている設定とは異なります。
今回はApacheインストールされていないサーバーでの設定を前提にしています。

poundサーバーなどでの設定です
※Apacheサーバーの場合は、旧wiki参照

▼インストール

必要なものを一式インストールします

# apt-get install subversion libapache2-svn libapache2-mod-encoding

ユーザー「svn」やグループ「svn」を作成します

# addgroup svn
# useradd -g svn svn

個人ユーザーも作成し、パスワードも設定します

# useradd  -g svn kuma
# passwd kuma
Enter new UNIX password:*** 
Retype new UNIX password:***

「www-data」をグループ「svn」に所属させます

# usermod -G svn www-data

subversionで使用するフォルダを作る

# mkdir -p /var/svn/kuma
# chown svn:svn /var/svn/kuma

リポジトリの作成

# svnadmin create --fs-type fsfs /var/svn/kuma
# svn mkdir file:///var/svn/kuma/trunk file:///var/svn/kuma/tags file:///var/svn/kuma/branches -m "Initial"
# svn mkdir file:///var/svn/kuma/trunk/classes -m "Initial classes"
# svn mkdir file:///var/svn/kuma/trunk/html -m "Initial html"

設定ファイルの編集

# vi /var/svn/kuma/conf/svnserve.conf

#下記の3行を追加(コメントアウトになっているのを編集してもOK)
[general]
・
・
anon-access = none
auth-access = write
password-db = passwd

上記ファイルで指定した「passwd」ファイルの編集
svn用のユーザーを指定し、パスワードを「password」の部分に記載します

# vi /var/svn/kuma/conf/passwd

[users]
# harry = harryssecret
# sally = sallyssecret
svn = password
kuma = password

編集が終了したら再起動を行います

# /etc/init.d/openbsd-inetd restart

ドキュメントルートや任意の場所でチェックアウトを行います

# svn co file:///var/svn/prende/trunk ./

更新する際は、

# svn up
subversion設定.txt · 最終更新: 2010/07/27 15:47 (外部編集)
www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0

Strict Standards: Only variables should be passed by reference in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/doku.php on line 81