[[trac on FreeBSD]] #contents *repositoryの追加 [#d8871ba2] 新しいrepositoryの追加をする。 142 15:54 svnadmin create /usr/local/var/svn/repos/TFC 143 15:55 chown -R svn:svn /usr/local/var/svn/repos/TFC 144 15:55 chown -R www:www /usr/local/var/svn/repos/TFC 145 16:01 mkdir -p /usr/local/www/apache22/data/trac_TFC/TFC 146 16:02 trac-admin /usr/local/www/apache22/data/trac_TFC/TFC initenv 147 16:06 chown -R www:www /usr/local/www/apache22/data/trac_TFC/ /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/data/trac_TFC 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_TFC trac New password: Re-type new password: Adding password for user trac k222# apachectl restart k222# trac-admin /usr/local/www/apache22/data/trac_TFC/TFC resync Resyncing repository history... 0 revisions cached. Done. k222# 書き込み権限ユーザの追加 149 16:13 htpasswd -c /usr/local/www/apache22/data/.htpasswd_TFC 150 16:13 htpasswd -c /usr/local/www/apache22/data/.htpasswd_TFC trac 151 16:15 apachectl restart 152 16:18 trac-admin /usr/local/www/apache22/data/trac_TFC/TFC resync 153 16:22 /usr/local/etc/rc.d/svnserve restart 154 16:29 trac-admin /usr/local/www/apache22/data/trac_TFC/TFC initenv 155 16:30 rm -r /usr/local/www/apache22/data/trac_TFC/TFC/ 156 16:30 trac-admin /usr/local/www/apache22/data/trac_TFC/TFC initenv 157 16:31 /usr/local/etc/rc.d/svnserve restart 158 16:32 trac-admin /usr/local/www/apache22/data/trac_TFC/TFC resync 159 16:33 rm -r /usr/local/www/apache22/data/trac_TFC/TFC/ 160 16:33 trac-admin /usr/local/www/apache22/data/trac_TFC/TFC initenv 161 16:34 apachectl restart 162 16:35 trac-admin /usr/local/www/apache22/data/trac_TFC/TFC resync 163 16:36 /usr/local/etc/rc.d/svnserve restart 164 16:41 trac-admin /usr/local/www/apache22/data/trac_TFC/TFC resync 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/data/trac_TFC/ 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/.htpasswd kuji 190 10:12 htpasswd /usr/local/www/apache22/data/.htpasswd kuji 191 10:13 htpasswd /usr/local/www/apache22/data/.htpasswd wada 192 10:13 apachectl restart 193 10:32 /usr/local/etc/rc.d/svnserve restart