Do you need a PHP programmer?
Use my services as a freelance PHP programmer by hiring me to do PHP programming on your website project.

I have built many custom PHP applications like project managers, classified ad websites and content management systems. I also work with open source applications such as WordPress, online shopping cart websites like Magento and develop content management systems like Joomla.

Friday, September 7, 2012

Easy Install Trac with VisualSvn Server on Windows 7

Hi Haloo, ,
On this post we will talk about "Trac Installation",
Trac is an enhanced wiki and issue tracking system for software development projects. Trac uses a minimalistic approach to web-based software project management. Read more about Trac here.

Ok, now I will explain step by step of Trac installation.
1. Install VisualSVN Server 2.1 using default settings, or download software here.
2. Make sure your machine already installed Tortoise SVN, download software here .
3. Download Trac for VisualSVN Server here VisualSVN-Server-Trac-2.1.1.21699.zip.
    Unzip it to C:\Program Files\VisualSVN Server directory.
    Then reboot system.
4. Create folder C:\Trac and allow "Full control" access.
5. Open VisualSVN Server Software, create new user
    username : bayu
    password : bayu

6. Create new Repository. Right click on Repositories folder -> Create New Repository
    (remember to give checked on create default structure)


7. Take look on Your Repositories of your VisualSVN Server.


 8. Then follow some steps below.
     -  Right click on your project repository -> Properties -> Add -> Add your user -> Ok

     
 - Copy trunk url of your repository


- Checkout your repository trunk by tortoise svn (Please take look on image below)



9. Then try to look on your repository root, D:\Repositories\projecttest (trunk folder will checked green).
10. Make new folder inside trunk folder, D:\Repositories\projecttest\trunk\project. and add the folder by tortoise svn.


11. Add system variable for your system
      Control Panel -> system and security ->system -> advanced system settings -> Environment variable -> New




 
     PythonHome = C:\Program Files\VisualSVN Server\Trac\python

12.  Open command prompt and goto C:\Program Files\VisualSVN Server\trac directory


13. Input you project details     
  1. Project Name set to projecttest
  2. Database connection string, hit Enter for default
  3. Repository type, hit Enter for default of svn
  4. Path to respository, D:/Repositories/projecttest

For the success result will give you "Congratulations!" text.



 14. Add the following text to file C:\Program Files\VisualSVN Server\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 "D:/Repositories/htpasswd"

  Require valid-user
</Location>
 


15. Open your lovely browser and try to access http://localhost/trac or https://localhost/trac (if you are using secure connection) in a browser, enter username and password.

16. If you still have problem or can not access http://localhost/trac, change the port of visualSVN server.
      Open your visualSVN server -> open the properties dialog box for the current selection -> network tab -> change the port to 8000.


- Restart your VisualSVN Server (menu bar "Action" -> Restart), then look for your server url and port



on mine is https://admin-PC:8000/svn/  but try to open this page https://admin-PC:8000/trac/projecttest





Ok, finished all. Now you can manage your project management.
Hope it helpful for all, but if you still have questions just write your comment below

Best regard from Bali,
Bayu Prawira



5 comments:

  1. Are you using 64bit? I can't seem to get this to work! I tried windows server 2008 r2 (x64) and windows 7 (x64).

    I keep getting the following errors:
    make_obcallback: could not import mod_python.apache.

    ImportError: No module named mod_python.apache

    Any ideas?

    Thank you!

    ReplyDelete
    Replies
    1. Hi, ,
      hmm I haven't try it on win64bit, just tried it on win 32bit, and it work as well.
      so maybe it can help you http://groups.google.com/group/visualsvn/tree/browse_frm/month/2009-03/4c20cc7b22c172e8?rnum=181&_done=/group/visualsvn/browse_frm/month/2009-03?&pli=1

      Good luck!!

      Delete
    2. Easy Install Trac With Visualsvn Server On Windows 7 >>>>> Download Now

      >>>>> Download Full

      Easy Install Trac With Visualsvn Server On Windows 7 >>>>> Download LINK

      >>>>> Download Now

      Easy Install Trac With Visualsvn Server On Windows 7 >>>>> Download Full

      >>>>> Download LINK 2n

      Delete
  2. Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    ReplyDelete
  3. Easy Install Trac With Visualsvn Server On Windows 7 >>>>> Download Now

    >>>>> Download Full

    Easy Install Trac With Visualsvn Server On Windows 7 >>>>> Download LINK

    >>>>> Download Now

    Easy Install Trac With Visualsvn Server On Windows 7 >>>>> Download Full

    >>>>> Download LINK

    ReplyDelete