INSTALL INSTRUCTION

1. download plug ins

2. plugin compile to egg file

3. edit /trac/project/conf/trac.ini

4. grant XML RPC your group or user

5. eclipse update for trac

 

 

 

1. download plug ins

xml rpc : http://trac-hacks.org/wiki/XmlRpcPlugin 

and update elipse trac plugins : http://trac-hacks.org/svn/eclipsetracplugin/eclipse/update

 

2. plugin compile to egg file

extract downloaded xmlrpcplugin into your favorite directory. then, copy to /trac/python/ from /trunk/* files.

execute command. see the below.

if you execute it. when you'll see some compiled directory and files. if you don't know, see this picture.

well then, looking for dist directory. there are one file in dist directory.

TracXMLRPC-1.0.6-py2.5.egg

if you have administrator permission, it's very simple. maybe,,,

there is two way,

first, that's egg file copy to /trac/plugin/ directory.  or, first you'll login your project. but, you have administrator permission. and then, ADMIN->PLUGINS from main menu.

 

3. edit /trac/project/conf/trac.ini

 

[components] 
tracrpc.* = enabled
[header_logo]
alt =
height = -1
link = http://<url>/trac/<projectname>
src = common/trac_banner.png
width = -1

 

4. grant XML RPC your group or user

 

5. eclipse update for trac

eclipse update : http://download.eclipse.org/tools/mylyn/update/extras/

well then,  choose the trac! and install it.

 

저작자 표시 비영리 변경 금지
신고

'Basic Initialize' 카테고리의 다른 글

Install Eclipse + Visual SVN + TRAC Part 2  (1) 2009.09.25
Install Eclipse + Visual SVN + TRAC Part 1  (0) 2009.09.25
Eclipse + Tomcat Configuration  (2) 2009.04.19
Posted by raphyr Trackback 0 : Comment 1

 

 

 

this tutorial is base on,

Trac v0.11rc2

VisualSVN Server v2.0.7

python v2.5.2

 

 

install instruction

1. download list
2. install visual svn server on your pc
3. install plug-in on visual svn server and authentification trac directory
4. add system variable on your pc
5. add python module in httpd-custom.conf
6. restart visual svn server
7. create sample project
8. adding administrator permission to user
9. test trac

 

1. download list
visual svn server : http://www.visualsvn.com/server/download/
trac for visual svn server : http://www.visualsvn.com/files/VisualSVN-Server-Trac-2.0.0.20384.zip

2. install visual svn server on your pc
install it using default settings.

3. install plug-in on visual svn server and authentification trac directory

well then, create default repository. It's name was "test" in svn server manager.
and, create user account if you using subversion authentification.

if you doing that, check your svn server!

 

 

extract trac plug-in under [Visual SVN Server Installed Direcotory]/

 

if you extract it, you should create trac management directory. create your favorite directory. this tutorial was created by "c:\trac".

and, allow "Full control" access to "c:\trac" directory for built-in [Network Service] account.

4. add system variable.
Name : PYTHONHOME
Path : %ProgramFiles%\VisualSVN Server\Trac\python

5. add python module in httpd-custom.conf
if you use subversion authentification. add following text to file [visual svn server installed directory]/conf/httpd-custom.conf

LoadModule python_module "trac/python/mod_python_so.pyd"
LoadModule authz_user_module bin/mod_authz_user.so
<Location /trac>
  SetHandler mod_python
  PythonInterpreter main_interpreter
  PythonHandler trac.web.modpython_frontend
  PythonOption TracEnvParentDir C:\Trac
  PythonOption TracUriRoot /trac
  AuthName "Trac"
  AuthType Basic
  AuthBasicProvider file
  AuthUserFile "C:/Repositories/htpasswd"
  Require valid-user
</Location>

or if you use windows authentification,

LoadModule python_module "trac/python/mod_python_so.pyd"
LoadModule authz_user_module bin/mod_authz_user.so
<Location /trac>
 SetHandler mod_python
 PythonInterpreter main_interpreter
 PythonHandler trac.web.modpython_frontend
 PythonOption TracEnvParentDir C:\Trac
 PythonOption TracUriRoot /trac
 AuthName "Trac"
 AuthType Basic
 AuthBasicProvider visualsvn
 Require valid-user
</Location>

6. restart visual svn server.

7. create sample project

 

8. adding administrator permission to user
[visual svn server installed directory]/trac/trac-admin.bat" <path/projectname> permission add <user> TRAC_ADMIN

9. test trac
access to http://localhost:[port]/trac/

저작자 표시 비영리 변경 금지
신고

'Basic Initialize' 카테고리의 다른 글

Install Eclipse + Visual SVN + TRAC Part 2  (1) 2009.09.25
Install Eclipse + Visual SVN + TRAC Part 1  (0) 2009.09.25
Eclipse + Tomcat Configuration  (2) 2009.04.19
Posted by raphyr Trackback 0 : Comment 0

Preparation for use in Eclipse and Tomcat

 

A list of required elements

 

Download all the elements are on the list. And, to install Eclipse and Tomcat.

Eclipse plug-in download directory [eclipse]/plugins/ directory will be copied to. If it's over, now run Eclipse.

 

Will see the following.

 

Windows -> Preferences -> Tomcat

  1. Choose Tomcat Version
  2. Browsing to installed Tomcat directory. and then click Apply button.
  3. JVM Configure -> Add JVM Parameter "-server -Xms512m -Xmx512m"

 

 

Some workstation or server will not come with server JVM after you install JDK on it. When you run server JVM by 'java -server MyApp', you will get the error such as:

 

Error: no `server' JVM at `C:\Program Files\Java\jre1.6.0\bin\server\jvm.dll'.
There is a little trick to get the server JVM up and running:

 

Copy 'server' folder from the JDK's JRE's bin folder (example: C:\Program Files\Java\jdk1.6.0\jre\bin\server)
Paste the 'server' folder to JRE's bin folder(example: C:\Program Files\Java\jre1.6.0\bin)

저작자 표시 비영리 변경 금지
신고

'Basic Initialize' 카테고리의 다른 글

Install Eclipse + Visual SVN + TRAC Part 2  (1) 2009.09.25
Install Eclipse + Visual SVN + TRAC Part 1  (0) 2009.09.25
Eclipse + Tomcat Configuration  (2) 2009.04.19
Posted by raphyr Trackback 0 : Comment 2


티스토리 툴바