Config Trac
mkdir /trac
trac-admin /trac/bdp initenv
trac-admin /trac/bdp/ permission add **** TRAC_ADMIN
edit /etc/httpd/conf.d/trac.conf
AuthUserFile /svn/.htpasswd
Install accountmanagerplugin
cd /tmp
svn co http://trac-hacks.org/svn/accountmanagerplugin/0.11/ accountmanagerplugin_0.11
cd accountmanagerplugin_0.11
find . -name .svn -type d -exec rm -fr {} \;
python setup.py bdist_egg
cp dist/TracAccountManager-0.3.2-py2.4.egg /trac/bdp/plugins/
chown apache.apache /trac/bdp -R
edit /trac/bdp/conf/trac.ini
[trac]
authz_file = /svn/svnaccess
authz_module_name = bdp
repository_dir = /svn/bdp
[components]
acct_mgr.admin.accountmanageradminpages = enabled
acct_mgr.db.sessionstore = disabled
acct_mgr.htfile.htdigeststore = disabled
acct_mgr.notification.accountchangelistener = disabled
acct_mgr.notification.accountchangenotificationadminpage = disabled
acct_mgr.pwhash.htdigesthashmethod = disabled
acct_mgr.pwhash.htpasswdhashmethod = disabled
acct_mgr.web_ui.accountmodule = enabled
acct_mgr.web_ui.loginmodule = enabled
acct_mgr.web_ui.registrationmodule = disabled
trac.web.auth.loginmodule = disabled
restart apache
/etc/init.d/httpd restart
goto http://localhost/trac/bdp
|