Google

Monday, January 12, 2009

Trac WebAdmin Plugin

I was able to enable trac webadmin plugin to the trac system. Here are the simple steps,

first need to install easy_install utility
  • wget http://peak.telecommunity.com/dist/ez_setup.py
  • python ez_setup.py
I got the following error when I try to install it,
unable to open /usr/lib/python2.5/config/Makefile
then I install python-devel using yum
yum install python-devel
then I install webadmin trac plugin,
  • svn co http://svn.edgewall.com/repos/trac/sandbox/webadmin/
  • cd webadmin
  • python setup.py egg_info
  • python setup.py bdist_egg
  • cd dist
  • easy_install *.egg
then edit the trac.ini file which is in ${trac_home}/conf/trac.ini
[components] webadmin.* = enabled
install AccountManager Plugin,
  • svn co http://trac-hacks.org/svn/accountmanagerplugin/0.10 accountmanagerplugin
  • cd accountmanagerplugin
  • python setup.py bdist_egg
  • cd dist
  • easy_install *.egg
add following lines to trac.ini
[components] trac.web.auth.LoginModule = disabled acct_mgr.* = enabled  [account-manager] password_format = htpasswd password_file = /path/to/password.file
Finally restart the web server and made the plugins available from web.
/sbin/service httpd reload

No comments: