Trac User と Repositoryの追加
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
[[trac on FreeBSD]]
#contents
*repositoryの追加 [#d8871ba2]
新しいrepositoryの追加をする。
142 15:54 svnadmin create /usr/local/var/svn/repos/...
143 15:55 chown -R svn:svn /usr/local/var/svn/repos...
144 15:55 chown -R www:www /usr/local/var/svn/repos...
145 16:01 mkdir -p /usr/local/www/apache22/data/tra...
146 16:02 trac-admin /usr/local/www/apache22/data/t...
147 16:06 chown -R www:www /usr/local/www/apache22/...
/usr/local/etc/apache22/Includes/trac.conf
<Location /trac_TFC>
SSLRequireSSL
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnvParentDir /usr/local/www/apache22/d...
PythonOption TracUriRoot /trac_TFC
AuthType Basic
AuthName "trac"
AuthUserFile /usr/local/www/apache22/data/.htpasswd_TFC
Require valid-user
</Location>
k222# htpasswd -c /usr/local/www/apache22/data/.htpasswd...
New password:
Re-type new password:
Adding password for user trac
k222# apachectl restart
k222# trac-admin /usr/local/www/apache22/data/trac_TFC/T...
Resyncing repository history...
0 revisions cached.
Done.
k222#
書き込み権限ユーザの追加
149 16:13 htpasswd -c /usr/local/www/apache22/data/...
150 16:13 htpasswd -c /usr/local/www/apache22/data/...
151 16:15 apachectl restart
152 16:18 trac-admin /usr/local/www/apache22/data/t...
153 16:22 /usr/local/etc/rc.d/svnserve restart
154 16:29 trac-admin /usr/local/www/apache22/data/t...
155 16:30 rm -r /usr/local/www/apache22/data/trac_T...
156 16:30 trac-admin /usr/local/www/apache22/data/t...
157 16:31 /usr/local/etc/rc.d/svnserve restart
158 16:32 trac-admin /usr/local/www/apache22/data/t...
159 16:33 rm -r /usr/local/www/apache22/data/trac_T...
160 16:33 trac-admin /usr/local/www/apache22/data/t...
161 16:34 apachectl restart
162 16:35 trac-admin /usr/local/www/apache22/data/t...
163 16:36 /usr/local/etc/rc.d/svnserve restart
164 16:41 trac-admin /usr/local/www/apache22/data/t...
165 16:43 apachectl restart
166 16:44 chown -R www:www apachectl restart
167 16:44 chown -R www:www /usr/local/www/apache22/...
168 17:22 htpasswd /usr/local/var/svn/.passwd tokuda
169 17:40 history
187 9:53 htpasswd /usr/local/var/svn/.passwd wada
188 10:11 /usr/local/www/apache22/data/.htpasswd kuji
189 10:12 htpaswd /usr/local/www/apache22/data/.htp...
190 10:12 htpasswd /usr/local/www/apache22/data/.ht...
191 10:13 htpasswd /usr/local/www/apache22/data/.ht...
192 10:13 apachectl restart
193 10:32 /usr/local/etc/rc.d/svnserve restart
終了行:
[[trac on FreeBSD]]
#contents
*repositoryの追加 [#d8871ba2]
新しいrepositoryの追加をする。
142 15:54 svnadmin create /usr/local/var/svn/repos/...
143 15:55 chown -R svn:svn /usr/local/var/svn/repos...
144 15:55 chown -R www:www /usr/local/var/svn/repos...
145 16:01 mkdir -p /usr/local/www/apache22/data/tra...
146 16:02 trac-admin /usr/local/www/apache22/data/t...
147 16:06 chown -R www:www /usr/local/www/apache22/...
/usr/local/etc/apache22/Includes/trac.conf
<Location /trac_TFC>
SSLRequireSSL
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnvParentDir /usr/local/www/apache22/d...
PythonOption TracUriRoot /trac_TFC
AuthType Basic
AuthName "trac"
AuthUserFile /usr/local/www/apache22/data/.htpasswd_TFC
Require valid-user
</Location>
k222# htpasswd -c /usr/local/www/apache22/data/.htpasswd...
New password:
Re-type new password:
Adding password for user trac
k222# apachectl restart
k222# trac-admin /usr/local/www/apache22/data/trac_TFC/T...
Resyncing repository history...
0 revisions cached.
Done.
k222#
書き込み権限ユーザの追加
149 16:13 htpasswd -c /usr/local/www/apache22/data/...
150 16:13 htpasswd -c /usr/local/www/apache22/data/...
151 16:15 apachectl restart
152 16:18 trac-admin /usr/local/www/apache22/data/t...
153 16:22 /usr/local/etc/rc.d/svnserve restart
154 16:29 trac-admin /usr/local/www/apache22/data/t...
155 16:30 rm -r /usr/local/www/apache22/data/trac_T...
156 16:30 trac-admin /usr/local/www/apache22/data/t...
157 16:31 /usr/local/etc/rc.d/svnserve restart
158 16:32 trac-admin /usr/local/www/apache22/data/t...
159 16:33 rm -r /usr/local/www/apache22/data/trac_T...
160 16:33 trac-admin /usr/local/www/apache22/data/t...
161 16:34 apachectl restart
162 16:35 trac-admin /usr/local/www/apache22/data/t...
163 16:36 /usr/local/etc/rc.d/svnserve restart
164 16:41 trac-admin /usr/local/www/apache22/data/t...
165 16:43 apachectl restart
166 16:44 chown -R www:www apachectl restart
167 16:44 chown -R www:www /usr/local/www/apache22/...
168 17:22 htpasswd /usr/local/var/svn/.passwd tokuda
169 17:40 history
187 9:53 htpasswd /usr/local/var/svn/.passwd wada
188 10:11 /usr/local/www/apache22/data/.htpasswd kuji
189 10:12 htpaswd /usr/local/www/apache22/data/.htp...
190 10:12 htpasswd /usr/local/www/apache22/data/.ht...
191 10:13 htpasswd /usr/local/www/apache22/data/.ht...
192 10:13 apachectl restart
193 10:32 /usr/local/etc/rc.d/svnserve restart
ページ名: