Tags:
create new tag
view all tags
-- Main.donal - 2011-11-30
steps to setup trac server on sl5.3 i366

TracSetup

Install rpmforge repository

rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

Install & config Trac

yum install trac

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
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2011-11-30 - Donal
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback