<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TutorBoy Articles &#187; Apache</title>
	<atom:link href="http://articles.tutorboy.com/tag/apache/feed" rel="self" type="application/rss+xml" />
	<link>http://articles.tutorboy.com</link>
	<description>Online Complete Reference</description>
	<lastBuildDate>Mon, 06 Sep 2010 07:04:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Trac &amp; SVN Part 2 &#8211; How to Install SVN Trac on Ubuntu.</title>
		<link>http://articles.tutorboy.com/svn/how-to-install-svn-and-trac-on-ubuntu.html</link>
		<comments>http://articles.tutorboy.com/svn/how-to-install-svn-and-trac-on-ubuntu.html#comments</comments>
		<pubDate>Tue, 09 Mar 2010 00:00:48 +0000</pubDate>
		<dc:creator>Midhun Devasia</dc:creator>
				<category><![CDATA[SVN]]></category>
		<category><![CDATA[Trac]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://tutorboy.com/articles/?p=1235</guid>
		<description><![CDATA[For the system we need to install three main applications on Ubuntu. And for the configuration you need to install some lib packages also. 1. Apache 2. Subversion 3. Trac 4. Python Install SVN sudo apt-get install apache2 sudo apt-get &#8230; <a href="http://articles.tutorboy.com/svn/how-to-install-svn-and-trac-on-ubuntu.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>For the system we need to install three main applications on Ubuntu. And for the configuration you need to install some lib packages also.<br />
1. Apache<br />
2. Subversion<br />
3. Trac<br />
4. Python</p>
<h2>Install SVN</h2>
<pre class="brush:shell">sudo apt-get install apache2
sudo apt-get install subversion
sudo apt-get install libapache2-svn</pre>
<p><span id="more-1235"></span></p>
<h2>Check If SVN Installed or not</h2>
<p><em>If everything finished successfully with any warning or error you can check the installation. Type &#8220;svnadmin &#8211;version&#8221; on terminal. If installation was success you will get the output something like shown below.</em></p>
<pre class="brush:shell">mittu@tutorboy:~$ svnadmin --version
svnadmin, version 1.6.5 (r38866)
 compiled Aug 31 2009, 18:42:02

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository back-end (FS) modules are available:

* fs_base : Module for working with a Berkeley DB repository.
* fs_fs : Module for working with a plain file (FSFS) repository.</pre>
<h2>Install Trac</h2>
<pre class="brush:shell">sudo apt-get install libapache2-mod-python
sudo apt-get install python-setuptools
sudo apt-get install python-subversion

sudo easy_install Trac</pre>
<h2>Check If Trac Installed or not</h2>
<p><em>Type the &#8221; trac-admin ?&#8221; on the terminal,If installation was success you will get the output something like shown below.</em></p>
<pre class="brush:shell">mittu@tutorboy:~$ trac-admin ?
Welcome to trac-admin 0.11.7rc1
Interactive Trac administration console.
Copyright (c) 2003-2009 Edgewall Software

Type:  '?' or 'help' for help on commands.

Trac [/home/mittu/?]&gt;</pre>
<h1>Configuration &amp; Example Project creation.</h1>
<p>See <a title="Part 3 - How to Configure SVN Trac on Ubuntu." href="http://articles.tutorboy.com/svn/how-to-configure-svn-trac-on-ubuntu.html">Part 3 &#8211; How to Configure SVN Trac on Ubuntu.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://articles.tutorboy.com/svn/how-to-install-svn-and-trac-on-ubuntu.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Trac &amp; SVN Part 3 &#8211; How to Configure SVN Trac on Ubuntu.</title>
		<link>http://articles.tutorboy.com/svn/how-to-configure-svn-trac-on-ubuntu.html</link>
		<comments>http://articles.tutorboy.com/svn/how-to-configure-svn-trac-on-ubuntu.html#comments</comments>
		<pubDate>Mon, 08 Mar 2010 23:56:59 +0000</pubDate>
		<dc:creator>Midhun Devasia</dc:creator>
				<category><![CDATA[SVN]]></category>
		<category><![CDATA[Trac]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://tutorboy.com/articles/?p=1346</guid>
		<description><![CDATA[Configuration 1. Create Server Folder(s) sudo mkdir /server sudo mkdir /server/svn sudo mkdir /server/trac 2. Some permissions changes and an apache restart are now needed: sudo chown -R www-data /server/svn/ sudo chown -R www-data /server/trac/ sudo /etc/init.d/apache2 restart 3. Open &#8230; <a href="http://articles.tutorboy.com/svn/how-to-configure-svn-trac-on-ubuntu.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h1>Configuration</h1>
<h2><strong>1. Create Server Folder(s)</strong></h2>
<pre class="brush:shell">sudo mkdir /server
sudo mkdir /server/svn
sudo mkdir /server/trac</pre>
<p><span id="more-1346"></span></p>
<h2><strong>2. Some permissions changes and an apache restart are now needed: </strong></h2>
<pre class="brush:shell">sudo chown -R www-data /server/svn/
sudo chown -R www-data /server/trac/
sudo /etc/init.d/apache2 restart</pre>
<h2><strong>3. Open the  dav_svn.conf from </strong>/etc/apache2/mods-available/</h2>
<pre class="brush:shell">sudo gedit /etc/apache2/mods-available/dav_svn.conf</pre>
<p>For SVN edit/uncomment the line as show below from the <em>dav_svn.conf</em> file on the <em>mods-available</em></p>
<pre class="brush:shell">&lt;Location /svn&gt;
    # Uncomment this to enable the repository,
    DAV svn

    # Set this to the path to your repository
    SVNParentPath /server/svn
&lt;/Location&gt;</pre>
<p>For Trac Configuration you need to put the following lines after the svn conf settings on dav_svn.conf file.</p>
<pre class="brush:shell">Alias /trac /server/trac
&lt;Location /trac&gt;
SetHandler mod_python
PythonInterpreter main_interpreter
PythonHandler trac.web.modpython_frontend
PythonOption TracEnvParentDir /server/trac
PythonOption TracUriRoot /trac
&lt;/Location&gt;</pre>
<h2><strong>4. Create a SVN Repository for the test project &#8220;projectOne&#8221;</strong></h2>
<pre class="brush:shell">sudo svnadmin create /server/svn/projectOne</pre>
<h2><strong>5. Create a Trac environment for the project &#8220;projectOne&#8221;</strong></h2>
<pre class="brush:shell">sudo trac-admin /server/trac/projectOne initenv</pre>
<p>The terminal will ask the Project Name. Give a name which is to identify the repository <strong>projectOne</strong></p>
<pre class="brush:shell"> Please enter the name of your project.
 This name will be used in page titles and descriptions.

Project Name [My Project]&gt; ProjectOne</pre>
<p>After that the Terminal will ask for the Database option and Repository type  please press <strong>&#8220;Enter&#8221;</strong> key for each question.</p>
<pre class="brush:shell">Database connection string [sqlite:db/trac.db]&gt;
Repository type [svn]&gt;</pre>
<p>The Last and important question is the svn repository path to the project. Enter the svn path to that project, here in example<strong> /server/svn/projectOne</strong></p>
<pre class="brush:shell">Path to repository [/path/to/repos]&gt; /server/svn/projectOne</pre>
<p>Finally you will get<br />
The latest documentation can also always be found on the project<br />
website:</p>
<p>http://trac.edgewall.org/</p>
<p>Congratulations!</p>
<h2>Check the localhost</h2>
<p>Check the localhost, by open your web browser and type &#8220;localhost&#8221;.</p>
<p style="text-align: center;"><a href="http://articles.tutorboy.com/content/uploads/2010/03/localhost-testing.png"><img class="aligncenter" title="localhost testing" src="http://articles.tutorboy.com/content/uploads/2010/03/localhost-testing.png" alt="" width="664" height="409" /></a></p>
<h2>Check SVN from the URL.</h2>
<p>And you can check the SVN path with your project name, like: http://localhost/svn/projectOne. Showing the current svn revision ie 0.</p>
<p style="text-align: center;"><a href="http://articles.tutorboy.com/content/uploads/2010/03/svn-revision.png"><img class="aligncenter" title="svn revision" src="http://articles.tutorboy.com/content/uploads/2010/03/svn-revision.png" alt="" width="664" height="409" /></a></p>
<h2>Check Trac from the URL.</h2>
<p>The final step is to test the Trac configuration with SVN.</p>
<p><a href="http://articles.tutorboy.com/content/uploads/2010/03/Trac-working.png"><img class="aligncenter size-full wp-image-1376" title="Trac working" src="http://articles.tutorboy.com/content/uploads/2010/03/Trac-working.png" alt="" width="665" height="532" /></a>Finally you made the Trac SVN system for your Project Management purpose. For more details on Trac &amp; SVN please wait a while. <img src='http://articles.tutorboy.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://articles.tutorboy.com/svn/how-to-configure-svn-trac-on-ubuntu.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Trac &amp; SVN Part 1 &#8211; SVN and Trac configuration for manage multiple projects</title>
		<link>http://articles.tutorboy.com/svn/svn-and-trac-configuration-for-manage-multiple-projects.html</link>
		<comments>http://articles.tutorboy.com/svn/svn-and-trac-configuration-for-manage-multiple-projects.html#comments</comments>
		<pubDate>Mon, 08 Mar 2010 23:55:49 +0000</pubDate>
		<dc:creator>Midhun Devasia</dc:creator>
				<category><![CDATA[SVN]]></category>
		<category><![CDATA[Trac]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://tutorboy.com/articles/?p=1119</guid>
		<description><![CDATA[I think you are already well aware of the SVN and Trac System. If no, don&#8217;t worry about the that here I am gonna teach you how to install and configure the SVN and Trac on Ubuntu.(For the coming version &#8230; <a href="http://articles.tutorboy.com/svn/svn-and-trac-configuration-for-manage-multiple-projects.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I think you are already well aware of the SVN and Trac System. If no, don&#8217;t worry about the that here I am gonna teach you how to install and configure the SVN and Trac on Ubuntu.(For the coming version of this articles you can find the installation on windows.) Project Management for software development with SVN Trac combination will give you very good advantage on over all performance of the development. Easy for Documentation, Roadmaps, Error Reporting, Revision control and Releases. Before getting into the installation you just need to know what is SVN, Trac, and the Server URL Structure, Server File System Structure.</p>
<p style="text-align: center;"><a href="http://articles.tutorboy.com/content/uploads/2010/03/apache-trac-svn-system.png"><img class="size-full wp-image-1205 aligncenter" title="apache trac svn system" src="http://articles.tutorboy.com/content/uploads/2010/03/apache-trac-svn-system.png" alt="apache trac svn system" width="497" height="249" /></a></p>
<p style="text-align: center;"><span id="more-1119"></span></p>
<h2><strong>Why SVN?</strong></h2>
<p><em>Subversion is an open source version control system. The project&#8217;s original goal of being &#8220;a compelling replacement for CVS&#8221; (an older version control system with a similar model) was surpassed long ago. Version control, also referred to as revision control, source control, or source code management (SCM), is the management of multiple versions of a single item or collection thereof. Commonly used in documentation, engineering, and software development processes, particularly where a team of people are involved, it enables the tracking and retrieval of changes made to an item.</em></p>
<h2><strong>Why Trac?</strong></h2>
<p><em>The Trac ticket system provides simple but effective issue tracking within our project. Combined with the Roadmap, Tickets provide the core project management elements of Trac, in which tickets are used to track project tasks, feature requests, bug reports, and software support issues. And also the source code from the svn repository can be browse from Trac.<br />
</em></p>
<h2>File System Structure</h2>
<p><a href="http://articles.tutorboy.com/content/uploads/2010/03/server-architecture.png"><img class="aligncenter size-full wp-image-1210" title="server architecture" src="http://articles.tutorboy.com/content/uploads/2010/03/server-architecture.png" alt="" width="576" height="439" /></a></p>
<p>Ok? This is a simple folder structure to manage multiple project in one server machine. In my example, i have a root folder for the server named <em><strong>server</strong></em>. In this folder we are going to store all the <strong>SVN and Trac</strong> files of each projects. Each project have own Trac system connected and the Trac is connected to the SVN Repository path of that project. Please refer the above image for more clarification.</p>
<h2>Example:</h2>
<p>Suppose I have a project called <strong><em>ProjectOne</em></strong>.<br />
<em>SVN path</em>: <strong>http://servername/svn/ProjectOne</strong><br />
<em>Trac path</em>: <strong>http://servername/trac/ProjectOne</strong></p>
<h1>Install SVN &amp; Trac</h1>
<p>See <a title="How to Install SVN Trac on Ubuntu." href="http://articles.tutorboy.com/svn/how-to-install-svn-and-trac-on-ubuntu.html">Part 2 &#8211; How to Install SVN Trac on Ubuntu.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://articles.tutorboy.com/svn/svn-and-trac-configuration-for-manage-multiple-projects.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
