<?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>itsMine &#187; open source</title>
	<atom:link href="http://blog.itsmine.co.uk/tag/open-source/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.itsmine.co.uk</link>
	<description></description>
	<lastBuildDate>Sun, 18 Apr 2010 02:28:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<atom:link rel="next" href="http://blog.itsmine.co.uk/tag/open-source/feed/?page=2" />

		<item>
		<title>HOWTO: Install Subversion, Ruby on Rails and Redmine on CentOS5 (&amp; RHEL5)</title>
		<link>http://blog.itsmine.co.uk/2009/01/22/howto-install-subversion-and-redmine-on-centos5-rhel5/</link>
		<comments>http://blog.itsmine.co.uk/2009/01/22/howto-install-subversion-and-redmine-on-centos5-rhel5/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 10:26:05 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[redmine]]></category>
		<category><![CDATA[subversion]]></category>

		<guid isPermaLink="false">http://blog.itsmine.co.uk/?p=400</guid>
		<description><![CDATA[[Update 17th Sept 2009] I&#8217;ve just noticed that Redmine version 0.8.5 was released last week, while this HOWTO should still be valid, I have not yet tested it so please report any issues you experience with new installs in the comments and I&#8217;ll look into them and amend the HOWTO where necessary [Updated 3rd June [...]]]></description>
			<content:encoded><![CDATA[<p>[Update 17th Sept 2009]</p>
<p>I&#8217;ve just noticed that Redmine version 0.8.5 was released last week, while this HOWTO should still be valid, I have not yet tested it so please report any issues you experience with new installs in the comments and I&#8217;ll look into them and amend the HOWTO where necessary <img src='http://blog.itsmine.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span style="color: #800080;">[Updated 3rd June 2009]</span></p>
<p>So since <a href="http://www.assembla.com" target="_blank">Assembla</a> changed it&#8217;s strategy and forced  a monetised service or your once private projects were to become public after some date in February I decided to set up my own subversion repos / web management interface.</p>
<p>I never really used the Assembla service to its full potential however and all I really needed was a basic SVN setup with a webinterface to show the diffs in an eye-friendly format. The only two real choices were <a href="http://www.google.co.uk/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Ftrac.edgewall.org%2F&amp;ei=c0d4SaDRK4mt-gbM_YHYDw&amp;usg=AFQjCNFj9e7EQBej7FOQLMErR3QOrAtShQ&amp;sig2=Qz479KBdRN6dyreAtLtvXg" target="_blank">Trac</a> and <a href="http://www.google.co.uk/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Fwww.redmine.org%2F&amp;ei=jkd4ScX5IJKj-gbhy5nbDw&amp;usg=AFQjCNFdhje3wlQXAFvw07HLWK7lIeOIoA&amp;sig2=9hb9qskm7LLklrNLQPoMpw" target="_blank">Redmine</a>. I&#8217;d already used Trac on Assembla and countless other project sites so I was more drawn to Redmine due to it&#8217;s good interface design (imo, the Trac interface looks like it&#8217;s stuck together with Lego pieces), its features are more integrated and well, I fancied a change. The only problem was that Redmine runs on <a href="http://rubyonrails.org/" target="_blank">Ruby on Rails</a> which I&#8217;ve heard very bad things about. So I decided to take a plunge and find out wtf the hassle was all about. It turns out there weren&#8217;t any up-to-date, well written and well maintained HOWTO&#8217;s out there detailing how to get a functional RoR environment configured on CentOS / RHEL. So I wrote my own (after hitting several brick walls)&#8230;</p>
<h3>HOWTO: Install Subversion, Ruby on Rails and Redmine on CentOS5 (&amp; RHEL5)</h3>
<p>NOTES</p>
<ul>
<li>This HOWTO is written for CentOS 5.2 [updates for 5.3 in <span style="color: #800080;">purple text</span>]</li>
<li>Replace [FQDN] with either your IP address or the hostname (or FQDN) which you’ll be using to access the interface.</li>
<li>Replace [user] with the username under whom&#8217;s home directory the Subversion repository database will be located. e.g. /home/[user]/svn-repos</li>
</ul>
<ul>
<li>This HOWTO will be using the following variables:</li>
</ul>
<blockquote>
<ul>
<li>You already have the &#8220;httpd&#8221; (apache) package installed</li>
<li>You will be running apache as the user ‘apache’</li>
<li>The subversion repository root folder will be under /home/[user]/subversion/</li>
<li>The vhost&#8217;s folder locationg will be /var/www/svn</li>
<li>The subversion repository to be created will be called ‘example-repo’</li>
</ul>
</blockquote>
<p>Install and set up Subversion</p>
<pre class="brush: bash; title: ;">yum install mod_dav_svn subversion</pre>
<p>Add the group [user] to the user apache and make the subversion base URL readable and writable&#8230;</p>
<pre class="brush: bash; title: ;">usermod -aG [user] apache
chmod g+x /home/[user]
mkdir /home/[user]/subversion
chmod g+rwx /home/[user]/subversion
chown -R [user]:[user] /home/[user]/subversion</pre>
<p>Make the web directory:</p>
<pre class="brush: bash; title: ;">mkdir /var/www/svn
chown apache.apache /var/www/svn</pre>
<p>Put the following into /etc/httpd/conf.d/svn.conf (this is for a sub-repo called &#8216;example-repo&#8217;)</p>
<pre class="brush: plain; title: ;">NameVirtualHost *:80
&lt;VirtualHost *:80&gt;
        DocumentRoot &quot;/var/www/svn&quot;
        ServerName [FQDN]
        &lt;Location /example-repo&gt;
                DAV svn
                SVNPath /home/[user]/subversion/example-repo
                AuthType Basic
                AuthName &quot;Subversion repo&quot;
                AuthUserFile /var/www/passwd
                Require valid-user
        &lt;/Location&gt;

        &lt;Directory &quot;/var/www/svn&quot;&gt;
        allow from all
        Options +Indexes
        &lt;/Directory&gt;
&lt;/VirtualHost&gt;</pre>
<p>Add an HTTP auth user&#8230;</p>
<pre class="brush: bash; title: ;">htpasswd -cm /var/www/passwd [user]</pre>
<p>Create a proper SVN repository</p>
<pre class="brush: bash; title: ;">cd /home/[user]/subversion
su [user] -c &quot;svnadmin create example-repo&quot;</pre>
<p>Import any SVN repos by doing:</p>
<pre class="brush: bash; title: ;">su [user] -c &quot;svnadmin load example-repo &lt; /path/to/repo/dump/file&quot;</pre>
<p>Make sure the permissions are correct</p>
<pre class="brush: bash; title: ;">chmod g+rwx /home/[user]/subversion
chown -R [user].[user] /home/[user]</pre>
<p><strong><ins>Install Ruby on Rails</ins></strong></p>
<p>*NOTE: Ruby on Rails installation requires the EPEL yum repository (at time of writing).</p>
<pre class="brush: bash; title: ;">su -c 'rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm'</pre>
<p>Let&#8217;s get Ruby up and running first&#8230; [NOTE: not on an SElinux environment cba with that]</p>
<pre class="brush: bash; title: ;">yum install httpd httpd-devel apr make gcc-c++ mysql-server mysql ruby ruby-devel ruby-docs ruby-ri \
ruby-libs ruby-mode ruby-tcltk ruby-irb ruby-rdoc fcgi fcgi-devel mod_fcgid rubygems subversion-ruby</pre>
<p>Now we&#8217;ll install passenger (aka mod_rails)</p>
<pre class="brush: bash; title: ;">gem install passenger
passenger-install-apache2-module</pre>
<p>Create and insert this text into /etc/httpd/conf.d/rails.conf (or alternatively edit the existing svn.conf created when we set up subversion)<br />
NOTE:</p>
<ul>
<li>The below configuration is specific to the installation of redmine (hence the DocumentRoot)</li>
</ul>
<pre class="brush: plain; title: ;">LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-2.0.6/ext/apache2/mod_passenger.so
   PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.0.6
   PassengerRuby /usr/bin/ruby

NameVirtualHost *:80

   &lt;VirtualHost *:80&gt;
     ServerName 192.168.10.17
     DocumentRoot /var/www/rails/redmine/public
   &lt;/VirtualHost&gt;</pre>
<p><strong><ins>Now on to Redmine itself</ins></strong></p>
<p>Get Redmine 0.8 from <a class="external" href="http://www.redmine.org/wiki/redmine/Download">http://www.redmine.org/wiki/redmine/Download</a></p>
<pre class="brush: bash; title: ;">cd /usr/src
svn co http://redmine.rubyforge.org/svn/branches/0.8-stable redmine-0.8
mkdir /var/www/rails/
cd /var/www/rails/
cp -r /usr/src/redmine-0.8/ redmine/
chown -R apache.apache redmine
cd redmine</pre>
<p>Create a clean backup of source files</p>
<pre class="brush: bash; title: ;">tar czf Redmine0.8-clean.tar.gz .</pre>
<p>Initialise mySQL:</p>
<pre class="brush: bash; title: ;">service mysqld start</pre>
<p>To secure mysql:</p>
<pre class="brush: bash; title: ;">mysql_secure_installation</pre>
<p>Create a mysql database for redmine&#8230;</p>
<pre class="brush: bash; title: ;">mysql -u[username] -p</pre>
<p>At the prompt enter:</p>
<pre class="brush: bash; title: ;">create database redmine character set utf8;</pre>
<p>Quit with:</p>
<pre class="brush: bash; title: ;">quit</pre>
<p>Copy the example database file to the &#8220;live&#8221; location</p>
<pre class="brush: bash; title: ;">cd /var/www/rails/redmine
cp config/database.yml.example config/database.yml</pre>
<p>Enter the appropriate settings for the [production] section ensuring that host is set to 127.0.0.1</p>
<pre class="brush: bash; title: ;">vim /var/www/rails/redmine/config/database.yml</pre>
<p>Set up email</p>
<pre class="brush: bash; title: ;">cd /var/www/rails/redmine
cp config/email.yml.example config/email.yml</pre>
<p>Enter the appropriate settings for the [production] section ensuring that &#8220;address&#8221; is set to the <strong>IP address</strong> of the SMTP host</p>
<pre class="brush: bash; title: ;">vim /var/www/rails/redmine/config/email.yml</pre>
<p>Install rails for redmine using gem&#8230;</p>
<pre class="brush: bash; title: ;">cd /var/www/rails/redmine/app/
gem install -v=2.1.2 rails</pre>
<p>Import the redmine database into the live database specified in the above config file</p>
<pre class="brush: bash; title: ;">cd /var/www/rails/redmine/app/
rake db:migrate RAILS_ENV=&quot;production&quot;</pre>
<p>Install default configuration data in database (this is entirely optional, but recommended).</p>
<pre class="brush: bash; title: ;">cd /var/www/rails/redmine/app/
rake redmine:load_default_data RAILS_ENV=&quot;production&quot;</pre>
<p>Bring up the testing webserver, once loaded check your config by browsing to <a class="external" href="http://%5bfqdn%5d:3000/">http://[FQDN]:3000</a></p>
<pre class="brush: bash; title: ;">cd /var/www/rails/redmine/
ruby script/server -e production</pre>
<p>Make sure your apache config file edits are ok and that the services will start at boot by doing:</p>
<pre class="brush: bash; title: ;">service httpd configtest
service httpd restart
chkconfig httpd on
chkconfig mysqld on</pre>
<p>[Optional:] Add the following to your crontab which will create a database backup in the /home/[user] directory</p>
<pre class="brush: bash; title: ;">/usr/bin/mysqldump -u &lt;user&gt; -p &lt;password&gt; &lt;database&gt; | gzip &gt; /home/[user]/redmine_`date +%y_%m_%d`.gz</pre>
<p><span style="color: #800080;">Make your subversion server configuration accessible to redmine by doing the following:</span></p>
<pre class="brush: bash; title: ;">mkdir /etc/subversion
cp -r /root/.subversion/* /etc/subversion/
vim /var/www/rails/redmine/lib/redmine/scm/adapters/subversion_adapter.rb</pre>
<p><span style="color: #800080;">Change the line:</span></p>
<pre class="brush: bash; title: ;">SVN_BIN = &quot;svn&quot;</pre>
<p><span style="color: #800080;">to:</span></p>
<pre class="brush: bash; title: ;">SVN_BIN = &quot;svn --config-dir /etc/subversion&quot;</pre>
<p><span style="color: #800080;">Then restart apache:</span></p>
<pre class="brush: bash; title: ;">service httpd restart</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.itsmine.co.uk/2009/01/22/howto-install-subversion-and-redmine-on-centos5-rhel5/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>e107forge Officially opens!</title>
		<link>http://blog.itsmine.co.uk/2008/02/26/e107forge-officially-opens/</link>
		<comments>http://blog.itsmine.co.uk/2008/02/26/e107forge-officially-opens/#comments</comments>
		<pubDate>Tue, 26 Feb 2008 17:37:28 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[Project]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[e107]]></category>
		<category><![CDATA[e107forge]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://blog.itsmine.co.uk/?p=17</guid>
		<description><![CDATA[So, I launched a personal project of mine yesterday which I&#8217;ve been working on-and-off for the last three or so years&#8230; e107forge.org has been put in place to provide a single, easy-to-access location for e107 developers, plugin writers and theme coders to store and keep track of their projects, code and releases while working in [...]]]></description>
			<content:encoded><![CDATA[<p>So, I launched a personal project of mine yesterday which I&#8217;ve been working on-and-off for the last three or so years&#8230;</p>
<p><a class="bbcode" rel="external" href="http://e107forge.org/" target="_blank">e107forge.org</a> has been put in place to provide a single, easy-to-access location for e107 developers, plugin writers and theme coders to store and keep track of their projects, code and releases while working in conjunction with <a class="bbcode" rel="external" href="http://plugins.e107.org/" target="_blank">plugins.e107.org</a>.</p>
<p><strong class="bbcode bold">So what&#8217;s the difference between <a class="bbcode" rel="external" href="http://plugins.e107.org/" target="_blank">plugins.e107.org</a> and <a class="bbcode" rel="external" href="http://e107forge.org/" target="_blank">e107forge.org</a>?</strong><br />
The difference is the audience, while <a class="bbcode" rel="external" href="http://plugins.e107.org/" target="_blank">plugins.e107.org</a> is aimed entirely at the end user who wants to be able to find a plugin easily and isn&#8217;t necessarily interested in the code behind the plugin. On the flipside, <a class="bbcode" rel="external" href="http://e107forge.org/" target="_blank">e107forge.org</a> is all about the code and the developers, SVN and CVS access is available while providing a fully featured, easy-to-manage project page and allowing coders to collaborate together to work on a plugin. Rather than one developer writing a plugin and then another user making code changes and re-submitting the plugin, we can have collaborative developers drawn together by a particular plugin.</p>
<p>If you&#8217;re a developer wanting to get your code or project online but need some help along the way <a class="bbcode" rel="external" href="http://e107forge.org/" target="_blank">e107forge.org</a> is here to help. If you&#8217;re a theme developer who&#8217;s keen to have a versioning system take care of the headaches of making minute changes here and there, <a class="bbcode" rel="external" href="http://e107forge.org/" target="_blank">e107forge.org</a> is for you. We can provide SVN and CVS versioning control as well as bug trackers / issues / feature requests etc. It really is up to you when it comes to which features you want to use.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.itsmine.co.uk/2008/02/26/e107forge-officially-opens/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some cool OSS and other apps (part 1)</title>
		<link>http://blog.itsmine.co.uk/2007/08/12/some-cool-oss-and-other-apps-part-1/</link>
		<comments>http://blog.itsmine.co.uk/2007/08/12/some-cool-oss-and-other-apps-part-1/#comments</comments>
		<pubDate>Sun, 12 Aug 2007 17:48:34 +0000</pubDate>
		<dc:creator>rob</dc:creator>
				<category><![CDATA[Project]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://blog.itsmine.co.uk/?p=190</guid>
		<description><![CDATA[Recently I&#8217;ve been swimming in an ocean of OSS (Open Source Software) searching for the perfect app(s) to solve a few problems and the results of those I felt I had to note down here. The first is a work-related system and kicks some serious ass when I realised it&#8217;s full potential. Since I started [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I&#8217;ve been swimming in an ocean of OSS (Open Source Software) searching for the perfect app(s) to solve a few problems and the results of those I felt I had to note down here.<br />
The first is a work-related system and kicks some <em>serious</em> ass when I realised it&#8217;s full potential. Since I started my career with my current employer I&#8217;ve been in the midst of a supply-chain system that&#8217;s been, well, chaotic at best. As Systems Co-ordinator for this company i&#8217;d been looking for a long time for some sort of OSS system that I could implement that would increase the efficiency and transparency of the supply chain and (hopefully) make everyone&#8217;s working life a little bit easier. Idealy I was looking for a php / mySQL implementation of a work-flow management app. I couldn&#8217;t find anything for approx 6 months.</p>
<p><a href="http://blog.itsmine.co.uk/wp-content/uploads/2008/06/crmctt_s.jpg" rel="shadowbox[post-190];player=img;"><img class="alignleft size-full wp-image-191" title="crmctt_s" src="http://blog.itsmine.co.uk/wp-content/uploads/2008/06/crmctt_s.jpg" alt="" width="100" height="86" /></a>Then one day I was just having a general mooch on sourceforge and noticed a project called CRM-CTT in the recent news block on the front page. Now, the CRM (Customer Relationship Management) part of the title threw me a bit, but I was intrigued and went further. Turned out they (actually, it seems like a one-man dev project, the main guy is a guy called Hidde Fennema) had just released a mile-stone version release and they had a VMware (&lt;3 btw) Virtual Appliance for download. Since I already have VMware installed on just about every server we have I pulled the image down to our backup server and started it up. Despite being based on slackware (bare-bones distro by nature) it seemed pretty solid, and usable. Then I got really stuck in and realised to my sheer GLEE that it was EXACTLY what we needed.</p>
<p>Within an afternoon I had drafted a work-flow for our supply chain &#8211; with trigger-based automation and status / assignee ability and custom form design. It was heavenly. So, if you&#8217;re looking for a work-flow app that truely has not only the end-user in mind, but also real-world implementation ability and more importantly, <em>flexibility</em> then I strongly suggest trying it out. For an example of it&#8217;s flexibility, this last week I&#8217;ve just been asked to roll out an implementation of the same system but this time to control and regulate the business non-stock purchase ordering. So, from managing a supply chain (from order placing, through data entry to processing by goods-in) to managing purchase orders and the admin attached (from quote gathering to invoicing) it quite literally blew my mind.</p>
<p>Next I&#8217;ll try to cover the hunt for the best priced economical web-hosting control panel (upon which this server runs).</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Now playing: <a href="http://www.foxytunes.com/artist/groove+armada/track/get+down">Groove Armada &#8211; Get Down</a> on  Amarok</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.itsmine.co.uk/2007/08/12/some-cool-oss-and-other-apps-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
