trac配置(stand-alone server)
来源:互联网 发布:mac 改变安装路径 编辑:程序博客网 时间:2024/04/30 00:17
trac配置(stand-alone server)
-Uper
-Uper
1. 进入python的安装目录,如C:/Python25/Scripts
通过命令trac-admin添加一个超级用户用户,例如:
- trac-admin D:/trac/project permission add username TRAC_ADMIN
- trac-admin <安装路径> permission add <用户名> <带权限的组>
在/Scripts文件夹下面增加一个文件trac-digest.py
- from optparse import OptionParser
- import md5
- # build the options
- usage = "usage: %prog [options]"
- parser = OptionParser(usage=usage)
- parser.add_option("-u", "--username",action="store", dest="username", type = "string",
- help="the username for whom to generate a password")
- parser.add_option("-p", "--password",action="store", dest="password", type = "string",
- help="the password to use")
- (options, args) = parser.parse_args()
- # check options
- if (options.username is None) or (options.password is None):
- parser.error("You must supply both the username and password")
- # Generate the string to enter into the htdigest file
- realm = 'developer'
- kd = lambda x: md5.md5(':'.join(x)).hexdigest()
- print ':'.join((options.username, realm, kd([options.username, realm, options.password])))
文件里用的是MD5
goto 文件夹C:/Python25,通过命令python.exe,设置该超级用户的密码
- python scripts/trac-digest.py -u username -p password >>D:/trac-user.txt
- python scripts/trac-digest.py -u username -p password >><output file name>
- username:developer:1ac4a64b8b5d2092826fa4ce7049d1fb
进Scripts文件夹,通过command tracd
- tracd --port 8088 --auth *,D:/trac-user.txt,developer D:/project/qdog
- tracd --port <端口号> --auth *,<用户验证文件路径>,developer <trac项目文件夹>
输入超级用户名和密码, login后,界面上会多一个admin的菜单
http://127.0.0.1:8088/qdog/admin/general/perm
- * General
- o Basic Settings
- o Logging
- o Permissions
- o Plugins
- * Ticket System
- o Components
- o Milestones
- o Priorities
- o Resolutions
- o Severities
- o Ticket Types
- o Versions
通过菜单New Tickets来管理tickets (用于跟踪bug)
- Your email or username 您的邮箱或用户名
- Short summary 概述
- Full description 完整描述
- Properties 属性
- Ticket Properties 议题属性
- Component 组件
- Version 版本
- Severity 严重性
- Keywords 关键词
- Priority 优先级
- Milestone 里程碑
- Assign to 责任人
- Cc 抄送
- Preview 预览
- Submit ticket 提交议题
完毕
- trac配置(stand-alone server)
- 独立展馆 stand-alone pavilion
- Stand-alone Profiler for VS2005
- spark stand alone 集群部署
- Stand alone的Spring示例 (IoC)
- Stand alone的Spring示例 (AOP)
- Stand-alone Workflow VS Embedded Workflow
- Building a stand alone Mplayer for OSX
- Linux-stand alone与super daemon
- Linux-stand alone与super daemon
- Yourkit 监控Jetty(stand-alone)
- ActiveMq1: Run Stand Alone.
- 05 集群安装(stand alone)
- ZooKeeper单机模式(stand-alone)
- Yourkit 监控Jetty(stand-alone)
- Notes: Stand alone daemons and Super daemon
- CKEditor and IntraWeb stand alone mode
- How to use ASMCA in silent mode to configure ASM for a stand-alone server [ID 1068788.1]
- [转] 疯狂代码:大型网站架构系列(未完待续)
- Java常用开源工具概述
- 一个VC读写刷卡器的例子
- 读取 配置文件
- 一个美国老网络工程师,给年轻工程师的忠告
- trac配置(stand-alone server)
- winform中轉Excel檔
- [软件下载]nmap 4.76 windows版本
- 怎么回事?
- 240多个jQuery插件
- 判断EMAIL格式脚本
- jquery常用操作
- JavaScript程序设计——第4章 继承
- [软件下载]gpg for win 1.1.3