<?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>x2on.de &#187; Web</title>
	<atom:link href="http://www.x2on.de/category/software/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.x2on.de</link>
	<description>by Felix Schulze - a mobile evangelist. Tutorials for iOS, Android, Mac, Linux, iPhone and more...</description>
	<lastBuildDate>Sun, 29 Jan 2012 18:46:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Tutorial: Redmine with Git and Gitosis on Ubuntu 11.04</title>
		<link>http://www.x2on.de/2011/04/23/tutorial-redmine-with-git-and-gitosis-on-ubuntu-11-04/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tutorial-redmine-with-git-and-gitosis-on-ubuntu-11-04</link>
		<comments>http://www.x2on.de/2011/04/23/tutorial-redmine-with-git-and-gitosis-on-ubuntu-11-04/#comments</comments>
		<pubDate>Sat, 23 Apr 2011 08:03:40 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[11.04]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[Gitosis]]></category>
		<category><![CDATA[Passenger]]></category>
		<category><![CDATA[Redmine]]></category>
		<category><![CDATA[Repository]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[vServer]]></category>

		<guid isPermaLink="false">http://www.x2on.de/?p=776</guid>
		<description><![CDATA[This is a tutorial for installing redmine on Ubuntu 11.04 with Git integration, managed by Gitosis and a redmine gitosis plugin. It&#8217;s based on my last tutorial about installing redmine ob Ubuntu 8.04: http://www.x2on.de/2010/10/30/tutorial-redmine-with-svn-git-and-gitosis-on-ubuntu-8-04/ 1. Install redmine Get recent version from github (currently 1.1.3) apt-get install git-core mkdir /var/www cd /var/www git clone git://github.com/edavis10/redmine.git cd [...]]]></description>
			<content:encoded><![CDATA[<p>This is a tutorial for installing redmine on Ubuntu 11.04 with Git integration, managed by Gitosis and a redmine gitosis plugin.</p>
<p>It&#8217;s based on my last tutorial about installing redmine ob Ubuntu 8.04: <a href="http://www.x2on.de/2010/10/30/tutorial-redmine-with-svn-git-and-gitosis-on-ubuntu-8-04/">http://www.x2on.de/2010/10/30/tutorial-redmine-with-svn-git-and-gitosis-on-ubuntu-8-04/</a></p>
<h2>1. Install redmine</h2>
<p>Get recent version from github (currently 1.1.3)<br />
<span id="more-776"></span></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> git-core
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www
<span style="color: #c20cb9; font-weight: bold;">git</span> clone <span style="color: #c20cb9; font-weight: bold;">git</span>:<span style="color: #000000; font-weight: bold;">//</span>github.com<span style="color: #000000; font-weight: bold;">/</span>edavis10<span style="color: #000000; font-weight: bold;">/</span>redmine.git
<span style="color: #7a0874; font-weight: bold;">cd</span> redmine
<span style="color: #c20cb9; font-weight: bold;">git</span> checkout <span style="color: #660033;">-b</span> 1.1.3 1.1.3</pre></div></div>

<p>Install packages</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> ruby  ruby1.9.1-dev libgemplugin-ruby libgemplugin-ruby1.8  mysql-server apache2-mpm-prefork <span style="color: #c20cb9; font-weight: bold;">wget</span> libruby-extras libruby1.8-extras rake apache2-prefork-dev libapache-dbi-perl libapache2-mod-perl2 libdigest-sha1-perl libmysqlclient15-dev build-essential libcurl4-openssl-dev cron</pre></div></div>

<p>If you like to use Gant-Charts:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> librmagick-ruby1.8</pre></div></div>

<p>Create database</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mysql <span style="color: #660033;">-u</span> root <span style="color: #660033;">-p</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">CREATE</span> <span style="color: #993333; font-weight: bold;">DATABASE</span> redmine <span style="color: #993333; font-weight: bold;">CHARACTER</span> <span style="color: #993333; font-weight: bold;">SET</span> utf8;
<span style="color: #993333; font-weight: bold;">CREATE</span> <span style="color: #993333; font-weight: bold;">USER</span> <span style="color: #ff0000;">'redmine'</span>@<span style="color: #ff0000;">'localhost'</span> <span style="color: #993333; font-weight: bold;">IDENTIFIED</span> <span style="color: #993333; font-weight: bold;">BY</span> <span style="color: #ff0000;">'my_password'</span>;
<span style="color: #993333; font-weight: bold;">GRANT</span> <span style="color: #993333; font-weight: bold;">ALL</span> privileges <span style="color: #993333; font-weight: bold;">ON</span> redmine<span style="color: #66cc66;">.*</span> <span style="color: #993333; font-weight: bold;">TO</span> <span style="color: #ff0000;">'redmine'</span>@<span style="color: #ff0000;">'localhost'</span>;</pre></div></div>

<p>Configure Database Settings</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cp</span> redmine<span style="color: #000000; font-weight: bold;">/</span>config<span style="color: #000000; font-weight: bold;">/</span>database.yml.example redmine<span style="color: #000000; font-weight: bold;">/</span>config<span style="color: #000000; font-weight: bold;">/</span>database.yml</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nano</span> redmine<span style="color: #000000; font-weight: bold;">/</span>config<span style="color: #000000; font-weight: bold;">/</span>database.yml</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">production:
  adapter: mysql
  database: redmine
  host: localhost
  username: redmine
  password: my_password
  encoding: utf8</pre></div></div>

<p>Install Rubygem (Ubuntu 11.04 has an older version)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>production.cf.rubygems.org<span style="color: #000000; font-weight: bold;">/</span>rubygems<span style="color: #000000; font-weight: bold;">/</span>rubygems-1.7.2.tgz
<span style="color: #c20cb9; font-weight: bold;">tar</span> xvfz rubygems-1.7.2.tgz
<span style="color: #7a0874; font-weight: bold;">cd</span> rubygems-1.7.2
<span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>gem <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>gem-ubuntu
ruby setup.rb
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>gem1.8 <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>gem</pre></div></div>

<p>Install Rails + Rack</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">gem <span style="color: #c20cb9; font-weight: bold;">install</span> rails <span style="color: #660033;">-v</span>=2.3.11
gem <span style="color: #c20cb9; font-weight: bold;">install</span> rack <span style="color: #660033;">-v</span>=1.1.0
gem <span style="color: #c20cb9; font-weight: bold;">install</span> mysql
gem <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #660033;">-v</span>=0.4.2 i18n</pre></div></div>

<p>Configure redmine</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>redmine
<span style="color: #c20cb9; font-weight: bold;">chown</span> <span style="color: #660033;">-R</span> www-data:www-data files log tmp public<span style="color: #000000; font-weight: bold;">/</span>plugin_assets
<span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #660033;">-R</span> <span style="color: #000000;">755</span> files log tmp public<span style="color: #000000; font-weight: bold;">/</span>plugin_assets
<span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #660033;">-R</span> <span style="color: #000000;">777</span> public<span style="color: #000000; font-weight: bold;">/</span>plugin_assets
rake generate_session_store
<span style="color: #007800;">RAILS_ENV</span>=production rake db:migrate
<span style="color: #007800;">RAILS_ENV</span>=production rake redmine:load_default_data</pre></div></div>

<p>Test redmine</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ruby script<span style="color: #000000; font-weight: bold;">/</span>server webrick <span style="color: #660033;">-e</span> production</pre></div></div>

<p>Now you can check http://my_domain.com:3000 if everything works</p>
<h2>2. Apache Integration</h2>
<p>Install passenger (Modify version numbers if needed)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">gem <span style="color: #c20cb9; font-weight: bold;">install</span> passenger
passenger-install-apache2-module
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/ext/apache2/mod_passenger.so&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>mods-available<span style="color: #000000; font-weight: bold;">/</span>passenger.load
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>mods-available<span style="color: #000000; font-weight: bold;">/</span>passenger.load <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>mods-enabled<span style="color: #000000; font-weight: bold;">/</span>passenger.load</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>mods-available<span style="color: #000000; font-weight: bold;">/</span>passenger.conf</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">PassengerRoot <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1.8</span><span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>passenger-3.0.7
PassengerRuby <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ruby1.8</pre></div></div>

<p><strong>Alternative:</strong> You can install passenger with ubuntu:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> libapache2-mod-passenger</pre></div></div>

<p>Configure Apache</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>sites-available<span style="color: #000000; font-weight: bold;">/</span>my_domain</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;</span>VirtualHost <span style="color: #000000; font-weight: bold;">*</span>:<span style="color: #000000;">80</span><span style="color: #000000; font-weight: bold;">&gt;</span>
    ServerName my_domain.com
&nbsp;
    DocumentRoot <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>redmine<span style="color: #000000; font-weight: bold;">/</span>public
&nbsp;
    PassengerDefaultUser www-data
    RailsEnv production
    RailsBaseURI <span style="color: #000000; font-weight: bold;">/</span>redmine
    SetEnv X_DEBIAN_SITEID <span style="color: #ff0000;">&quot;default&quot;</span>
    <span style="color: #000000; font-weight: bold;">&lt;</span>Directory <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>redmine<span style="color: #000000; font-weight: bold;">/</span>public<span style="color: #000000; font-weight: bold;">&gt;</span>
        Order allow,deny
        Allow from all
    <span style="color: #000000; font-weight: bold;">&lt;/</span>Directory<span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;/</span>VirtualHost<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>apache2.conf</pre></div></div>

<p>Add this at the end of the file:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Include <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>mods-available<span style="color: #000000; font-weight: bold;">/</span>passenger.conf</pre></div></div>

<p>Activate your site</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>sites-available<span style="color: #000000; font-weight: bold;">/</span>my_domain <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>sites-enabled<span style="color: #000000; font-weight: bold;">/</span>my_domain</pre></div></div>

<p>Remove default entry</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>sites-enabled<span style="color: #000000; font-weight: bold;">/</span>000-default</pre></div></div>

<p>Restart Apache and it should work</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>apache2 restart</pre></div></div>

<h2>3. Git integration</h2>
<p>Install needed packages:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">gem <span style="color: #c20cb9; font-weight: bold;">install</span> inifile
<span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> libnet-ssh-ruby1.8 python-setuptools
gem <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #c20cb9; font-weight: bold;">lockfile</span> net-ssh
<span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> gitosis git-daemon-run acl</pre></div></div>

<p>Activate acl for your partition:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>fstab</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">...
<span style="color: #007800;">UUID</span>=xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx <span style="color: #000000; font-weight: bold;">/</span>               ext4    acl,<span style="color: #007800;">errors</span>=remount-ro <span style="color: #000000;">0</span>       <span style="color: #000000;">1</span>
...</pre></div></div>

<p>Reboot your machine:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">reboot</pre></div></div>

<p>Configure gitosis:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #660033;">-H</span> <span style="color: #660033;">-u</span> gitosis <span style="color: #c20cb9; font-weight: bold;">ssh-keygen</span> <span style="color: #660033;">-t</span> dsa</pre></div></div>

<p>No Password, default file.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #660033;">-u</span> gitosis <span style="color: #c20cb9; font-weight: bold;">cat</span> ~gitosis<span style="color: #000000; font-weight: bold;">/</span>.ssh<span style="color: #000000; font-weight: bold;">/</span>id_dsa.pub <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #660033;">-H</span> <span style="color: #660033;">-u</span> gitosis gitosis-init
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> -i.orig <span style="color: #ff0000;">'s:/var/cache:/srv/gitosis:g'</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>sv<span style="color: #000000; font-weight: bold;">/</span>git-daemon<span style="color: #000000; font-weight: bold;">/</span>run
<span style="color: #c20cb9; font-weight: bold;">sudo</span> sv restart <span style="color: #c20cb9; font-weight: bold;">git-daemon</span></pre></div></div>

<p>Install gitosis plugin for redmine:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">setfacl <span style="color: #660033;">-m</span> user:www-data:r-x,mask:r-x ~gitosis<span style="color: #000000; font-weight: bold;">/</span>.ssh
setfacl <span style="color: #660033;">-m</span> user:www-data:r--,mask:r-- ~gitosis<span style="color: #000000; font-weight: bold;">/</span>.ssh<span style="color: #000000; font-weight: bold;">/</span>id_dsa</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>redmine
script<span style="color: #000000; font-weight: bold;">/</span>plugin <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #c20cb9; font-weight: bold;">git</span>:<span style="color: #000000; font-weight: bold;">//</span>github.com<span style="color: #000000; font-weight: bold;">/</span>xdissent<span style="color: #000000; font-weight: bold;">/</span>redmine_gitosis.git
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #660033;">-u</span> www-data <span style="color: #007800;">X_DEBIAN_SITEID</span>=default <span style="color: #007800;">RAILS_ENV</span>=production rake db:migrate:plugins
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>apache2 restart</pre></div></div>

<p>Open your Browser, got to my_domain and login. Go to Administration &#8211; Plugins &#8211; Configure Redmine Gitosis plugin.<br />
Change localhost to my_domain.<br />
Change xdissent.com to my_domain.</p>
<p><strong>Have fun!</strong></p>
<h3>Source:</h3>
<p><a href="http://brantinteractive.com/2007/02/16/getting-the-mysql-gem-installed-on-ubuntu/ " target="_blank"> http://brantinteractive.com/2007/02/16/getting-the-mysql-gem-installed-on-ubuntu/<br />
</a><a href="http://www.redmine.org/wiki/1/RedmineInstall" target="_blank"> http://www.redmine.org/wiki/1/RedmineInstall</a><br />
<a href="http://wiki.ousli.org/index.php/Redmine_in_Ubuntu_Jaunty_9.04" target="_blank"> http://wiki.ousli.org/index.php/Redmine_in_Ubuntu_Jaunty_9.04</a><br />
<a href="http://www.redmine.org/wiki/1/HowTo_Install_Redmine_in_Ubuntu" target="_blank"> http://www.redmine.org/wiki/1/HowTo_Install_Redmine_in_Ubuntu</a><br />
<a href="http://www.redmine.org/wiki/redmine/Repositories_access_control_with_apache_mod_dav_svn_and_mod_perl " target="_blank"> http://www.redmine.org/wiki/redmine/Repositories_access_control_with_apache_mod_dav_svn_and_mod_perl<br />
</a><a href="http://xdissent.com/2010/05/04/github-clone-with-redmine/ " target="_blank"> http://xdissent.com/2010/05/04/github-clone-with-redmine/<br />
</a><a href="http://dev.remarkablewit.com/redmine/projects/dev-server/wiki" target="">http://dev.remarkablewit.com/redmine/projects/dev-server/wiki</a><a href="http://xdissent.com/2010/05/04/github-clone-with-redmine/ " target="_blank"><br />
</a><a href="https://github.com/xdissent/redmine_gitosis" target="">https://github.com/xdissent/redmine_gitosis</a><a href="http://xdissent.com/2010/05/04/github-clone-with-redmine/ " target="_blank"><br />
</a><a href="http://www.redmine.org/issues/2525" target="">http://www.redmine.org/issues/2525</a><a href="http://xdissent.com/2010/05/04/github-clone-with-redmine/ " target="_blank"><br />
</a><a href="http://wiki.ubuntuusers.de/acl" target="_blank">http://wiki.ubuntuusers.de/acl</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2011/04/23/tutorial-redmine-with-git-and-gitosis-on-ubuntu-11-04/feed/</wfw:commentRss>
		<slash:comments>67</slash:comments>
		</item>
		<item>
		<title>Twitter wordpress integration for marketing</title>
		<link>http://www.x2on.de/2010/10/31/twitter-wordpress-integration-for-marketing/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=twitter-wordpress-integration-for-marketing</link>
		<comments>http://www.x2on.de/2010/10/31/twitter-wordpress-integration-for-marketing/#comments</comments>
		<pubDate>Sun, 31 Oct 2010 10:33:03 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.x2on.de/?p=672</guid>
		<description><![CDATA[There are many wordpress plugins for automatic twitter post and show the last tweets in a widget. I tested a few of these, but only &#8220;Twitter Tools&#8221; worked as expected. You can get it here: http://wordpress.org/extend/plugins/twitter-tools/ Uses anybody an other plugin?]]></description>
			<content:encoded><![CDATA[<p>There are many wordpress plugins for automatic twitter post and show the last tweets in a widget.<br />
I tested a few of these, but only &#8220;Twitter Tools&#8221; worked as expected. </p>
<p>You can get it here: <a href="http://wordpress.org/extend/plugins/twitter-tools/">http://wordpress.org/extend/plugins/twitter-tools/</a></p>
<p>Uses anybody an other plugin?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2010/10/31/twitter-wordpress-integration-for-marketing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Revisionen löschen</title>
		<link>http://www.x2on.de/2009/02/01/wordpress-revisionen-loeschen/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-revisionen-loeschen</link>
		<comments>http://www.x2on.de/2009/02/01/wordpress-revisionen-loeschen/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 19:57:14 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://localhost/dev/?p=140</guid>
		<description><![CDATA[Im Laufe der Zeit füllt sich die Datenbank von WordPress mit zahlreichen Einträgen von alten Revisionen. Um diese zu löschen reicht ein kleiner SQL Befehl (z.B. über phpMyAdmin): SELECT * FROM `wp_posts` WHERE `post_type` = 'revision'; Dann kann man alle Einträge auswählen und löschen. Man sollte aber unbedingt vorher ein Backup seiner Datenbank anlegen.]]></description>
			<content:encoded><![CDATA[<p>Im Laufe der Zeit füllt sich die Datenbank von WordPress mit zahlreichen Einträgen von alten Revisionen. Um diese zu löschen reicht ein kleiner SQL Befehl (z.B. über phpMyAdmin):</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span> <span style="color: #66cc66;">*</span> <span style="color: #993333; font-weight: bold;">FROM</span> <span style="color: #ff0000;">`wp_posts`</span> <span style="color: #993333; font-weight: bold;">WHERE</span> <span style="color: #ff0000;">`post_type`</span> <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'revision'</span>;</pre></div></div>

<p>Dann kann man alle Einträge auswählen und löschen.<br />
Man sollte aber unbedingt vorher ein Backup seiner Datenbank anlegen.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2009/02/01/wordpress-revisionen-loeschen/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Thunderbird OS X Adressbuch Edititon 2.0.0.14 PowerPC</title>
		<link>http://www.x2on.de/2008/05/04/thunderbird-os-x-adressbuch-edititon-20014-powerpc/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=thunderbird-os-x-adressbuch-edititon-20014-powerpc</link>
		<comments>http://www.x2on.de/2008/05/04/thunderbird-os-x-adressbuch-edititon-20014-powerpc/#comments</comments>
		<pubDate>Sun, 04 May 2008 20:52:11 +0000</pubDate>
		<dc:creator>Felix Schulze</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://localhost/dev/?p=156</guid>
		<description><![CDATA[Aufgrund einiger Anfragen gibt es jetztr unter Projekte findet sich nun die Thunderbird 2.0.0.14 OS X Adressbuch Edititon auch für PowerPC&#8217;s als DMG-Image und zum Download]]></description>
			<content:encoded><![CDATA[<p>Aufgrund einiger Anfragen gibt es jetztr unter Projekte findet sich nun die Thunderbird 2.0.0.14 OS X Adressbuch Edititon auch für PowerPC&#8217;s als DMG-Image und zum Download</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x2on.de/2008/05/04/thunderbird-os-x-adressbuch-edititon-20014-powerpc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

