<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Random Thoughts</title>
	<atom:link href="http://randomthoughtsgr.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://randomthoughtsgr.wordpress.com</link>
	<description>on programming, linux, games and stuff</description>
	<lastBuildDate>Sun, 22 Jan 2012 22:03:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='randomthoughtsgr.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Random Thoughts</title>
		<link>http://randomthoughtsgr.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://randomthoughtsgr.wordpress.com/osd.xml" title="Random Thoughts" />
	<atom:link rel='hub' href='http://randomthoughtsgr.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Ubuntu 10.10 Server with Gitorious and Redmine</title>
		<link>http://randomthoughtsgr.wordpress.com/2011/12/11/ubuntu-10-10-server-with-gitorious-and-redmine/</link>
		<comments>http://randomthoughtsgr.wordpress.com/2011/12/11/ubuntu-10-10-server-with-gitorious-and-redmine/#comments</comments>
		<pubDate>Sun, 11 Dec 2011 00:22:03 +0000</pubDate>
		<dc:creator>Kelsos</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ddns]]></category>
		<category><![CDATA[dynamic ip]]></category>
		<category><![CDATA[gitorious]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[redmine]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://randomthoughtsgr.wordpress.com/?p=505</guid>
		<description><![CDATA[The server Installation To start go to http://www.ubuntu.com/download/server/download and get the ISO image of ubuntu server 11.10 (64bit or 32bit depending on the architecture of your machine) then either burn the ISO on an empty disk or create a bootable USB Flash drive, using either Linux Live USB creator or any other piece of software [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randomthoughtsgr.wordpress.com&amp;blog=2484538&amp;post=505&amp;subd=randomthoughtsgr&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h1 style="text-align:justify;"><a href="http://www.ubuntu.com/"><img class="alignleft" title="Powered by Ubuntu" src="https://wiki.ubuntu.com/PoweredBy?action=AttachFile&amp;do=get&amp;target=poweredbyubuntu.svg" alt="" width="110" height="165" /></a>The server Installation</h1>
<p style="text-align:justify;">To start go to <a title="Ubuntu Server Download" href="http://www.ubuntu.com/download/server/download">http://www.ubuntu.com/download/server/download</a> and get the ISO image of ubuntu server 11.10 (64bit or 32bit depending on the architecture of your machine) then either burn the ISO on an empty disk or create a bootable USB Flash drive, using either <a title="Linux Live USB Creator" href="http://www.linuxliveusb.com/">Linux Live USB creator</a> or any other piece of software of your choice, if your system supports booting from a flash drive.</p>
<p style="text-align:justify;">As soon as you boot from the media you will come across the language selection screen, select English and continue.</p>
<p style="text-align:justify;"><a href="http://randomthoughtsgr.files.wordpress.com/2011/10/ubuntu-server-2011-10-27-15-11-56.png"><img class="size-medium wp-image-458 aligncenter" title="Ubuntu Server Install: 1. Select language" src="http://randomthoughtsgr.files.wordpress.com/2011/10/ubuntu-server-2011-10-27-15-11-56.png?w=300&#038;h=225" alt="" width="300" height="225" /></a>On the next screen select <strong>Install Ubuntu Server</strong>,</p>
<p style="text-align:justify;"><a href="http://randomthoughtsgr.files.wordpress.com/2011/10/ubuntu-server-2011-10-27-15-14-26.png"><img class="size-medium wp-image-459 aligncenter" title="Ubuntu Server Install: 2. Ubuntu Installation" src="http://randomthoughtsgr.files.wordpress.com/2011/10/ubuntu-server-2011-10-27-15-14-26.png?w=300&#038;h=225" alt="" width="300" height="225" /></a>At the next screens you will once again get asked to select a language, choose English. In the <strong>Select your Location</strong> screen you select the location of your server, this has to do with the time zone.</p>
<p style="text-align:justify;">If you get asked to <strong>Configure Locales</strong> choose <strong>United States &#8211; en_US.UTF8</strong> and continue. At the <strong>Configure the Keyboard</strong> screen select <strong>NO</strong> and in the <strong>Country origin of the Keyboard</strong> list go and select <strong>English (US)</strong>. Next in the <strong>Keyboard Layout</strong> select once again <strong>English(US)</strong>.</p>
<p style="text-align:justify;">Next in our installation is the network configuration. You will be asked to enter a hostname for the system, you can add a name for the system depending on your network.</p>
<p style="text-align:justify;"><a href="http://randomthoughtsgr.files.wordpress.com/2011/10/ubuntu-server-2011-10-27-15-18-40.png"><img class="size-medium wp-image-466 aligncenter" title="Ubuntu Server Install: 3. Network" src="http://randomthoughtsgr.files.wordpress.com/2011/10/ubuntu-server-2011-10-27-15-18-40.png?w=300&#038;h=225" alt="" width="300" height="225" /></a></p>
<p style="text-align:justify;">Next there will be the <strong>Configure the clock</strong> screen. You just have to confirm your timezone (It should be the correct since you choose the country previously).</p>
<p style="text-align:justify;">Now we have to partition our disk(s). We will select the manual partitioning.</p>
<p><a href="http://randomthoughtsgr.files.wordpress.com/2011/10/ubuntu-server-2011-10-27-15-19-08.png"><img class="size-medium wp-image-468 aligncenter" title="Ubuntu Server Install: 4. Partitioning" src="http://randomthoughtsgr.files.wordpress.com/2011/10/ubuntu-server-2011-10-27-15-19-08.png?w=300&#038;h=225" alt="" width="300" height="225" /></a></p>
<p style="text-align:justify;"> In our example we have 3 physical drives available. We will configure them using the Logical Volume Manager. Select the physical drive. In ca</p>
<p><a href="http://randomthoughtsgr.files.wordpress.com/2011/10/ubuntu-server-2011-10-27-15-19-47.png"><img class="size-medium wp-image-469 aligncenter" title="Ubuntu Server Install: 5. Partitioning" src="http://randomthoughtsgr.files.wordpress.com/2011/10/ubuntu-server-2011-10-27-15-19-47.png?w=300&#038;h=225" alt="" width="300" height="225" /></a></p>
<p style="text-align:justify;">If  you get a message saying <strong>You have selected an entire device to partition</strong><em>&#8230;.</em> select <strong>Yes</strong>. This will be probably be the same  for every drive. If the drive already has partitions you will have to remove them before proceeding. At some point you should see under the first drive some text saying <strong>pri/log DrivesSpace GB FREE SPACE</strong> go there and press Enter. On the <strong>Partition disks</strong> screen select <strong>Create a new partition</strong> and press enter.</p>
<p style="text-align:justify;">When asked for the <strong>New partition size</strong> write something around 0.6GB, this will be reserved for the <strong>/boot</strong> partition, and press continue. The Type for the new partition should be <strong>Primary</strong></p>
<p style="text-align:justify;">Then you should get across the following: Select the <strong>Use as</strong>: line, press enter and Select on the menu the <strong>Ext4 journaling filesystem</strong>, on the <strong>Mount Point</strong> select <strong>/boot</strong> and set the bootable flag to on. Then go to <strong>Done Setting up the partition</strong> to finish with the boot partition.</p>
<p><a href="http://randomthoughtsgr.files.wordpress.com/2011/10/ubuntu-server-2011-10-27-15-22-18.png"><img class="size-medium wp-image-475 aligncenter" title="Ubuntu Server Installation: 6 Partitioning" src="http://randomthoughtsgr.files.wordpress.com/2011/10/ubuntu-server-2011-10-27-15-22-18.png?w=300&#038;h=225" alt="" width="300" height="225" /></a></p>
<p style="text-align:justify;">After finishing with the /boot partition there should be a line under the first drive looking like this <strong><em>#1 primary 600.0 MB f  ext4 /boot</em></strong> and the line containing the word <strong>FREE SPACE</strong> should be right under this. You also have to create Empty Partitions for every single drive you want to use for the Volume Group.</p>
<p>At this point you should go to the option saying <strong>Configure the Logical Volume Manager</strong>. In the screen with the <strong>Summary of current LVM configuration </strong>all the values should be zero. On the <strong>LVM configuration action:</strong> you should create the <strong>Create volume group</strong>. Give a name to the volume group, something like server_vg.</p>
<p style="text-align:justify;">When you get asked to select the devices for the new volume group. Select the other drives along with the empty space in the first drive.</p>
<p><a href="http://randomthoughtsgr.files.wordpress.com/2011/10/ubuntu-server-2011-10-27-15-24-53.png"><img class="size-medium wp-image-481 aligncenter" title="Ubuntu Server Installation: 7 Partitioning" src="http://randomthoughtsgr.files.wordpress.com/2011/10/ubuntu-server-2011-10-27-15-24-53.png?w=300&#038;h=225" alt="" width="300" height="225" /></a></p>
<p style="text-align:justify;">After selecting the drives you can continue. the new volume group should contain all your drives. Write the changes and continue.</p>
<p><a href="http://randomthoughtsgr.files.wordpress.com/2011/10/ubuntu-server-2011-10-27-15-25-03.png"><img class="size-medium wp-image-482 aligncenter" title="Ubuntu Server Installation: 8 Partitioning" src="http://randomthoughtsgr.files.wordpress.com/2011/10/ubuntu-server-2011-10-27-15-25-03.png?w=300&#038;h=225" alt="" width="300" height="225" /></a></p>
<p style="text-align:justify;">At this point the summary of the LVM configuration should have 3 Used physical volumes and one Volume Group. The next step is to create logical volumes inside the server_vg or whatever is the name you choose. Select Create logical volume, then select the volume group.</p>
<p style="text-align:justify;">At this point you will get asked for the name of the Logical volume, generally I use as a name for each volume the name of the Mount point that will used for the volume.</p>
<p style="text-align:justify;">The first logical volume will be used for the swap partition. So I will name it swap. When asked for the Logical Volume size use 1.5 times the amount of the server&#8217;s RAM.</p>
<p style="text-align:justify;">Then you have to create Logical volumes for at least root(/) and (/home),  I used about 10GB for the root logical volume of my server and the rest for /home.</p>
<p style="text-align:justify;">I also used a separate logical volume for /var, to keep it separate from the root partition, because there resides the web root folder, along with my git repositories etc. For the /var partition I used 20GB.</p>
<p style="text-align:justify;">So we have the following: swap &#8211; 1.5*RAM, root &#8211; 10GB, var &#8211; 20GB and home &#8211; the rest of the available space.</p>
<p style="text-align:justify;">At the end of the creation of the logical volumes if you choose <strong>Display configuration details</strong> as an <strong>LVM configuration action</strong> you should get a screen that looks like the following.</p>
<p><a href="http://randomthoughtsgr.files.wordpress.com/2011/11/ubuntu-64-bit-2011-11-28-01-28-08.png"><img class="size-medium wp-image-577 aligncenter" title="Ubuntu Server Installation: LVM" src="http://randomthoughtsgr.files.wordpress.com/2011/11/ubuntu-64-bit-2011-11-28-01-28-08.png?w=300&#038;h=225" alt="" width="300" height="225" /> </a></p>
<p style="text-align:justify;">At this point select Finish, that should take you back to the overview of partitions and mount points. There you should now see the Logical Volumes above the physical ones. At this point we have to format the partitions &#8211; logical volumes and assign mount points like we did with the boot partition. To do so go to the numbered entry underneath each volume and press enter. At the <strong>Use as:</strong> you have to select E<strong>xt4 Journaling</strong> file system for every single partition except the Swap (for swap it should be swap area). Remember we have named each logical volume after the mount point it is going to host. So it will be easy to select mount points for each volume. /home is for the home volume, / is for the root one, /var for the var. After finishing with the setting for each partition you should select <strong>Done setting up the partition</strong> to return to the overview.</p>
<p style="text-align:justify;">When you are done with every single partition select <strong>Finish partitioning and write changes to disk</strong>, to continue. You will then be asked to write the changes to disk, select Yes and continue.</p>
<p style="text-align:justify;">At this point the installation of the base system will start. When that finishes you will asked to create a new user. First you will be asked for the Fullname, then the username, then the password (twice). You will also be asked if you want to encrypt you home directory, that&#8217;s up to you, I usually leave it unencrypted. Then it is the proxy configuration, probably you will have to leave it blank and continue.</p>
<p style="text-align:justify;">After a while you will get asked how you want to manage upgrades on the system. I usually prefer to do the updates on my own, so I prefer <strong>No automatic updates</strong>. Then will be prompted to select software to be installed, installed, ignore every single option and continue we will install everything needed on our own.</p>
<p><a href="http://randomthoughtsgr.files.wordpress.com/2011/11/ubuntu-64-bit-2011-11-28-01-56-24.png"><img class="size-medium wp-image-579 aligncenter" title="Ubuntu Server Installtion: Software Selection" src="http://randomthoughtsgr.files.wordpress.com/2011/11/ubuntu-64-bit-2011-11-28-01-56-24.png?w=300&#038;h=225" alt="" width="300" height="225" /></a></p>
<p style="text-align:justify;">When you get prompted for the GRUB installation select Yes, to install the boot loader to the Master Boot Record. At this point you should get an <strong>Installation complete</strong> message. Remove the installation media and press Continue. The system should reboot at this point.</p>
<p style="text-align:justify;">After the boot process is finished you will be presented with the login prompt, use your username and password to login.</p>
<p style="text-align:justify;">At this point you should first do the following to update the installation to the latest packages.</p>
<p><pre class="brush: plain;">sudo apt-get update
sudo apt-get upgrade</pre></p>
<p style="text-align:justify;">At this point we are going to install the OpenSSH Server in order to have shell access to our server.</p>
<p><pre class="brush: plain;">sudo apt-get install ssh</pre></p>
<p style="text-align:justify;">After the installation of the OpenSSH server we have to edit the ssh daemon&#8217;s configuration file and change the <strong>Port</strong> from 22 (the default ssh port) to some other port of our selection. This is done for security reasons. This way you will avoid lot&#8217;s of automated brute force attacks that target the default ssh port.</p>
<p><pre class="brush: plain;">sudo nano /etc/ssh/sshd_config</pre></p>
<p style="text-align:justify;">Now it&#8217;s time to restart the sshd to do so.</p>
<p><pre class="brush: plain;">sudo /etc/init.d/ssh restart</pre></p>
<p style="text-align:justify;">At this point you should be able to connect to the server from another machine using an ssh client (on windows I prefer using <a title="Putty" href="http://www.chiark.greenend.org.uk/~sgtatham/putty/">Putty</a>).</p>
<h1>Installing Apache, MySQL and phpMyAdmin</h1>
<p style="text-align:justify;">To install the apache webserver we have to run the following:</p>
<p><pre class="brush: plain;">sudo apt-get install apache2</pre></p>
<p style="text-align:justify;">After this we have to install php5:</p>
<p><pre class="brush: plain;">sudo apt-get install php5 libapache2-mod-php5</pre></p>
<p style="text-align:justify;">and then we install the mysql server:</p>
<p><pre class="brush: plain;">sudo apt-get install mysql-server</pre></p>
<p style="text-align:justify;"><em>During the installation you will be asked to provide the password for the root user of the database. This password is the administrative password for the MySQL database. You will need it for the administration of the MySQL installation, like creating new users/tables editing privileges etc.</em></p>
<p style="text-align:justify;">After this we are gonna install phpMyAdmin for the easy management of the database.</p>
<p><pre class="brush: plain;">sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin</pre></p>
<p style="text-align:justify;">At some point during the installation you will get asked for the automatic configuration of phpMyAdmin. During this you will have to use the MySQL root (administrative user) password to allow the installer to configure automatically phpMyAdmin. After this you will also get asked for a password for the phpMyAdmin administrative user.</p>
<h1 style="text-align:justify;">Dynamic IP and Dynamic-DNS</h1>
<p style="text-align:justify;">If you use a dynamic dns service like DynDNS or no-ip, with the free service you can get up to two different hostnames per account. Since gitorious needs its own hostname you can use own for gitorious and the second one for a normal site that will also host redmine as a sub-uri  and phpmyadmin etc. If you use a router with DD-WRT or running INADYN on the server it self you can configure it to update the two hostnames to your connection&#8217;s IP.</p>
<p style="text-align:justify;">To do so in DD-WRT you have to go to <strong>Setup</strong> then <strong>DDNS</strong> there add you username &#8211; password and in the <strong>Host Name</strong> field add the following &#8220;<strong>hostname1 &#8211; a hostname2</strong>&#8220;, now DD-WRT should update both the hostnames with your IP every time it changes. With the usage of the virtual hosts in apache you you can now use the hostname1 for redmine, phpmyadmin, and the website and hostname2 for gitorious.</p>
<h1 style="text-align:justify;">Preparing for Gitorious &#8211; Installing Git System and Various Essentials</h1>
<p style="text-align:justify;">First we have to install the git related packages, to do so we have to run the following command:</p>
<p><pre class="brush: plain;">sudo apt-get install git-core git-svn</pre></p>
<p style="text-align:justify;">After this we are gonna install the MySQL client along with the development libraries. We are gonna need these for the Gitorious installation later.</p>
<p><pre class="brush: plain;">sudo apt-get install mysql-client libmysqlclient-dev</pre></p>
<p style="text-align:justify;">All the following packages are gonna be needed at some point during the Gitorious installations so we are gonna install them all before starting the installation.</p>
<p><pre class="brush: plain;">sudo apt-get install apg build-essential libpcre3 libpcre3-dev postfix make zlib1g zlib1g-dev
sudo apt-get install libonig-dev libyaml-dev geoip-bin libgeoip-dev libgeoip1
sudo apt-get install imagemagick libmagickwand-dev libmagick++-dev zip unzip
sudo apt-get install libxslt-dev libxml2-dev
sudo apt-get install libssl0.9.8
sudo apt-get install libcurl4-openssl-dev libssl-dev apache2-prefork-dev libapr1-dev libaprutil1-dev
sudo apt-get install uuid uuid-dev openjdk-6-jre
</pre></p>
<p style="text-align:justify;">Afterwards we will install memcached and add it to the default running services of our server.</p>
<p><pre class="brush: plain;">sudo apt-get install memcached
sudo update-rc.d memcached defaults</pre></p>
<h1>Gitorious setup and configuration.</h1>
<h2>Ruby Enterprise Edition</h2>
<p style="text-align:justify;">At this point we have to get and install the Ruby Enterprise Edition (REE).</p>
<p style="text-align:justify;">Before we start with the installation we are going to create a folder inside our home folder. There we are going to download and unzip all the resources need in this guide.</p>
<p><pre class="brush: plain;">cd ~/
mkdir tmp
cd tmp</pre></p>
<p style="text-align:justify;">Since we are already inside the temporary directory now we can go to the website of REE and get the latest version. At the point of this installation the latest edition was v1.8.7-2011.03.</p>
<p style="text-align:justify;">To download REE we have to go to the terminal, and download the latest version (get the URL from the download site) using wget.</p>
<p><pre class="brush: plain;">wget http://rubyenterpriseedition.googlecode.com/files/ruby-enterprise_1.8.7-2011.03_amd64_ubuntu10.04.deb</pre></p>
<p style="text-align:justify;">In order to install REE we have to use dpkg,</p>
<p><pre class="brush: plain;">sudo dpkg -i ruby-enterprise_1.8.7-2011.03_amd64_ubuntu10.04.deb</pre></p>
<p style="text-align:justify;"><em>In case you downloaded a different, newer version just replace the filename with that of the one you downloaded.</em></p>
<p style="text-align:justify;">After installing REE you have to append a few lines at the bottom of the <strong>/etc/profile</strong> file. In order to do so you have to open /etc/profile with an editor (I am gonna use nano) having administrative privilegdes,</p>
<p><pre class="brush: plain;">sudo nano /etc/profile</pre></p>
<p>and append the following,</p>
<p><pre class="brush: plain;">
export PATH=/usr/local/bin:$PATH
export LD_LIBRARY_PATH=&quot;/usr/local/lib&quot;
export LDFLAGS=&quot;-L/usr/local/lib -Wl,-rpath,/usr/local/lib&quot;
</pre></p>
<p style="text-align:justify;">Afterwards we have also to prepend the following to the <strong>/etc/ld/so.conf</strong> file.</p>
<p><pre class="brush: plain;">sudo nano /etc/ld.so.conf</pre></p>
<p style="text-align:justify;">to open the file and then add to the top of the file the following:</p>
<p><pre class="brush: plain;">/usr/local/lib
include ld.so.conf.d/*.conf
</pre></p>
<p style="text-align:justify;">The next step after this is to run the following:</p>
<p><pre class="brush: plain;">sudo su
source /etc/profile
sudo ldconfig
</pre></p>
<h2>Ruby Gems Installation</h2>
<p style="text-align:justify;">At this point we are going to get and install Ruby gems. For this we will use again the temporary directory we created before.</p>
<p><pre class="brush: plain;">cd ~/tmp
wget http://rubyforge.org/frs/download.php/73882/rubygems-1.4.2.tgz
tar xvzf rubygems-1.4.2.tgz
cd rubygems-1.4.2
sudo ruby setup.rb</pre></p>
<p>The following gems will be needed for Gitorious so we are gonna install them,</p>
<p><pre class="brush: plain;">sudo gem install --no-ri --no-rdoc -v 0.8.7 rake
sudo gem install --no-ri --no-rdoc -v 1.1.0 daemons
sudo gem install -b --no-ri --no-rdoc rmagick passenger bundler</pre></p>
<h2>Sphinx Search Server Installation</h2>
<p style="text-align:justify;">After this we are gonna install the sphinx search server. If you check the website, the recommended version is the Beta of v2.0 or generally some newer version, but we are gonna use version 0.9.9 because that&#8217;s the one used in every guide, and it seems to be working fine. (<em>To be honest I didn&#8217;t test the system using a newer version so I have no idea if it is working or not</em>). (<em>before downloading the file change in the tmp folder cd ~/tmp</em>).</p>
<p><pre class="brush: plain;">wget http://sphinxsearch.com/files/sphinx-0.9.9.tar.gz
tar xvfz sphinx-0.9.9.tar.gz
cd sphinx-0.9.9/
./configure --prefix=/usr
make
sudo make install
</pre></p>
<h2>Install Apache ActiveMQ</h2>
<p style="text-align:justify;">If you check the various guides on the net you will find out that many use as an alternative the stompserver. In our case we will use the Apache ActiveMQ as the messaging system.</p>
<p style="text-align:justify;">Visit the ActiveMQ download page and search for the latest version. Go in the tmp folder we created (<em>cd ~/tmp</em>), copy the url and go to the terminal. There you have to:</p>
<p><pre class="brush: plain;">wget ftp://ftp.cc.uoc.gr/mirrors/apache//activemq/apache-activemq/5.5.1/apache-activemq-5.5.1-bin.tar.gz
sudo tar xzvf apache-activemq-5.5.1-bin.tar.gz -C /usr/local/
sudo sh -c 'echo &quot;export ACTIVEMQ_HOME=/usr/local/apache-activemq-5.5.1&quot;  &gt;&gt; /etc/activemq.conf'
sudo sh -c 'echo &quot;export JAVA_HOME=/usr/&quot; &gt;&gt; /etc/activemq.conf'
sudo chown -R activemq /usr/local/apache-activemq-5.5.1/data
</pre></p>
<p style="text-align:justify;">After this you will have to edit the ActiveMQ configuration xml to prepare it for our Gitorious Installation. To do so:</p>
<p><pre class="brush: plain;">sudo nano /usr/local/apache-activemq-5.5.1/conf/activemq.xml</pre></p>
<p style="text-align:justify;">Inside the xml file find the <strong>&lt;transportConnectors&gt;</strong> tags and add the following line inside:</p>
<p><pre class="brush: plain;">&lt;transportConnector name=&quot;stomp&quot; uri=&quot;stomp://0.0.0.0:61613&quot;/&gt;</pre></p>
<p>Then we have to create a symbolic link of the ActiveMQ init script inside the <strong>/etc/init.d</strong>:</p>
<p><pre class="brush: plain;">sudo ln -sf /usr/local/apache-activemq-5.5.1/bin/activemq /etc/init.d/</pre></p>
<p style="text-align:justify;">Make it executable:</p>
<p><pre class="brush: plain;">sudo chmod +x /etc/init.d/activemq</pre></p>
<p style="text-align:justify;">And finally add it to to the services with default priority so it starts when the machine starts.</p>
<p><pre class="brush: plain;">sudo update-rc.d activemq defaults</pre></p>
<h2>Getting and configuring Gitorious</h2>
<p style="text-align:justify;">First we have to create the folder that will host the Gitorious installation inside the <strong>/var/www</strong></p>
<p><pre class="brush: plain;">sudo mkdir -p /var/www/gitorious</pre></p>
<p style="text-align:justify;">After this we have to create a new user for git. To do so:</p>
<p><pre class="brush: plain;">sudo adduser --system --home /var/www/gitorious/ --no-create-home --group --shell /bin/bash git</pre></p>
<p style="text-align:justify;">At this point we will clone the gitorious repository to the folder we previously created.</p>
<p><pre class="brush: plain;">sudo git clone git://gitorious.org/gitorious/mainline.git /var/www/gitorious</pre></p>
<p style="text-align:justify;">Then we have to give the ownership of the gitorious folder to the git user and then change the rights to the directory.</p>
<p><pre class="brush: plain;">sudo chown git:git /var/www/gitorious/

sudo chmod -R g+sw /var/www/gitorious/</pre></p>
<p style="text-align:justify;">Afterwards we have to go to the gitorious directory:</p>
<p><pre class="brush: plain;">cd /var/www/gitorious/</pre></p>
<p style="text-align:justify;">And then run the following:</p>
<p><pre class="brush: plain;">sudo git submodule init
sudo git submodule update</pre></p>
<p>Then we have to create a symbolic link of the gitorious in the binary path:</p>
<p><pre class="brush: plain;">sudo ln -s /var/www/gitorious/script/gitorious /usr/bin</pre></p>
<p>Then we have to create some folders inside the gitorious folder, and change the rights:</p>
<p><pre class="brush: plain;">
sudo mkdir -p tmp/pids
sudo chmod ug+x script/*
sudo chmod -R g+w config/ log/ public/ tmp/
</pre></p>
<h3>Configuring the rest of the services</h3>
<p>First we have to edit the git-daemon init script:</p>
<p><pre class="brush: plain;">sudo nano /var/www/gitorious/doc/templates/ubuntu/git-daemon</pre></p>
<p style="text-align:justify;">In the file search for the line that starts with <strong>RUBY_HOME=</strong> and change it&#8217;s existing value, if it has one with the your ruby installation path. If you installed ruby enterprise edition as suggested, from the .deb package then it is probably in <strong>/usr/local</strong>.</p>
<p><pre class="brush: plain;">RUBY_HOME=&quot;/usr/local&quot;</pre></p>
<p style="text-align:justify;">You have to do the same for the <strong>git-poller</strong> script, it is in the same directory as the git-daemon.</p>
<p style="text-align:justify;">Then we have to create the symbolic links of the following scripts in the <strong>/etc/init.d/</strong></p>
<p><pre class="brush: plain;">sudo ln -s /var/www/gitorious/doc/templates/ubuntu/git-ultrasphinx /etc/init.d/git-ultrasphinx
sudo ln -s /var/www/gitorious/doc/templates/ubuntu/git-daemon /etc/init.d/git-daemon
sudo ln -s /var/www/gitorious/doc/templates/ubuntu/git-poller /etc/init.d/git-poller</pre></p>
<p>Next we have to make the scripts executable.</p>
<p><pre class="brush: plain;">sudo chmod +x /etc/init.d/git-ultrasphinx
sudo chmod +x /etc/init.d/git-daemon
sudo chmod +x /etc/init.d/git-poller</pre></p>
<p>And then we have to add them to the services with default priority.</p>
<p><pre class="brush: plain;">sudo update-rc.d git-ultrasphinx defaults
sudo update-rc.d git-daemon defaults
sudo update-rc.d git-poller defaults
</pre></p>
<p>Next we have to get in the gitorious folder and  install the bundle:</p>
<p><pre class="brush: plain;">cd /var/www/gitorious/
sudo bundle install</pre></p>
<p style="text-align:justify;">Afterwards we have to create the directories that will host the git repositories along with the tarballs for gitorious and give the ownership to git (user/group).</p>
<p><pre class="brush: plain;">sudo mkdir /var/git
cd /var/git
sudo mkdir repositories
sudo mkdir tarballs
sudo mkdir tarballs-work&lt;/pre&gt;
sudo chown -R git:git /var/git/</pre></p>
<p style="text-align:justify;">Check the ownership of the gitorious folder, if the owner is not the git and the git group then</p>
<p><pre class="brush: plain;">sudo chown -R git:git /var/www/gitorious/</pre></p>
<h3 style="text-align:justify;">Preparing for the SSH authentication</h3>
<p style="text-align:justify;">Then we have to prepare the server for the SSH authentication. To do so we have to get logged in as the git user.</p>
<p><pre class="brush: plain;">sudo su git
mkdir ~/.ssh
chmod 700 ~/.ssh
touch ~/.ssh/authorized_keys
chmod 600 .ssh/authorized_keys</pre></p>
<h3>Configuring Gitorious</h3>
<p style="text-align:justify;">Next we have to configure Gitorious itself. I supposed you are still logged as the <strong>git</strong> user, if not do so (<em>sudo su git</em>).</p>
<p style="text-align:justify;">Go in the Gitorious home directory (<em>cd ~/</em>) and copy the sample configuration files to create the new configurations files.</p>
<p><pre class="brush: plain;">cp config/database.sample.yml config/database.yml
cp config/gitorious.sample.yml config/gitorious.yml
cp config/broker.yml.example config/broker.yml</pre></p>
<p style="text-align:justify;">The next step will be to edit the <strong>config/gitorious.yml</strong> file, but before doing so we have to use <strong>apg -m 64</strong> on the terminal in order to create the cookie secret code. Copy the generated code to some text editor and remove the newlines, so it will be a single line string.</p>
<p style="text-align:justify;">Now we can proceed with the file editing. To so use <strong>nano config/gitorious.yml</strong> <em>(Remember you should be logged as git and in the user&#8217;s home directory)</em>.</p>
<p style="text-align:justify;">Once inside the gitorioys.yml configuration file, you have to search for the line that starts with the <strong>production:</strong> string. This is the section of the configuration file that interests us.</p>
<p style="text-align:justify;">In <strong>gitorious_host:</strong> you should put the host name used for your gitorious instance eg. gitorious.example.com</p>
<p style="text-align:justify;"><em>Note: The repository paths should be in <strong>/var/git </strong>we created previously so there will be no need to edit it in the configuration file, unless you decided to change the path.</em></p>
<p style="text-align:justify;">In <strong>cookie_secret:</strong> you will have to paste the output of the <strong><strong>apg -m 64</strong> </strong> command you kept in the text editor previously.</p>
<p style="text-align:justify;">Next you have to go to the <strong>is_gitorious_dot_org:</strong> false line. Uncomment it and make sure it is false. Also if you don&#8217;t want your repositories to be available to public you have to uncomment the <strong>public_mode:</strong> false, if it is not false you will have to make it. You can also search through the configuration file and find if you want to change any other options, they are pretty much well commented so you will have no trouble figuring out what each one does. You can also remove or comment the whole test: section.</p>
<p style="text-align:justify;">The next step will be the to create and migrate the database. Before we do anything at all we have to create the gitorious user and the related table in our database. <em>Most people prefer to do so through the terminal in their guides, if you want to do so you can follow one of the links in the end to find how to do so, if you don&#8217;t already know</em>. My own approach will be using phpMyAdmin.</p>
<p style="text-align:justify;">Go to the phpMyAdmin page (<em>it should be something like hostname/phpmyadmin or serverip/phpmyadmin</em>). Log in and then go to the tab <strong>Priviledges</strong>. Once in there click on the <strong>Add new User</strong> option.</p>
<p style="text-align:justify;">In the field <strong>User Name:</strong> you should put <strong>gitorious</strong>, in the <strong>Host:</strong> field you have to select <strong>localhost</strong> and generate a random password. Keep the generated password noted somewhere because we are going to need it in the <strong>database.yml</strong> configuration file. Then find the <strong>Database for user</strong> section and select <strong>Create database with same name and grant all privileges</strong>. Finally click on the <strong>create user</strong> button to create our new database user.</p>
<p style="text-align:justify;">Now we have to return to the terminal and open the database.yml configuration file for editing (<em>nano config/database.yml</em>). Once open search for the <strong>production:</strong> section and edit it so it looks like this:</p>
<p><pre class="brush: plain;">production:
  adapter: mysql
  database: gitorious
  username: gitorious
  password: the password we kept previously
  host: localhost
  encoding: utf8
</pre></p>
<p style="text-align:justify;">Now we can finally exit from the git user (<em>just type exit and you should be back to your normal user</em>). Then change to the gitorious folder (<em>cd /var/www/gitorious</em>) once there run the following:</p>
<p><pre class="brush: plain;">sudo rake db:setup RAILS_ENV=production</pre></p>
<p style="text-align:justify;">Then we have to create the administrative user for gitorious.</p>
<p><pre class="brush: plain;">sudo env RAILS_ENV=production ruby script/create_admin</pre></p>
<p style="text-align:justify;">As soon as we create the administrative user we have to get the ultrasphinx running. To do so we have to run the following (<em>we should be in the /var/www/gitorious</em>):</p>
<p><pre class="brush: plain;">rake ultrasphinx:bootstrap RAILS_ENV=production</pre></p>
<p style="text-align:justify;">If you by any case get the following error:</p>
<p><pre class="brush: plain;">ERROR: index 'main': sql_range_query: Unknown column 'base_tags.name' in 'field list'</pre></p>
<p style="text-align:justify;">You have to got to <strong>app/models/project.rb</strong> and replace the following,</p>
<p><pre class="brush: plain;">s.collect(:name, :from =&gt; “ActsAsTaggableOn::Tag”, :as =&gt; “category”</pre></p>
<p style="text-align:justify;">with this,</p>
<p><pre class="brush: plain;">s.collect(‘tags.name’, :as =&gt; “category”</pre></p>
<p style="text-align:justify;">Also there is a chance that you will also get a message about the &#8220;address&#8221; being deprecated. In that case you will have to do the following,</p>
<p><pre class="brush: plain;">sudo nano config/ultrasphinx/default.base</pre></p>
<p style="text-align:justify;">In the default.base search for the <strong>searchhd</strong> text and replace the word <strong>address</strong> with <strong>listen</strong>. After this the bootstrap command should run without issues.</p>
<p style="text-align:justify;">Then we have to change the rights for a few folders and files (<em>some of the folders there should already have the proper rights</em>).</p>
<p><pre class="brush: plain;">sudo chmod -R g+w config/environment.rb script/poller log tmp
sudo chmod ug+x script/poller</pre></p>
<p style="text-align:justify;">Then we have to add a cron job for ultrasphinx. To do so we have to type <strong>sudo crontab -e</strong> and add inside the following,</p>
<p><pre class="brush: plain;">* * * * * cd /var/www/gitorious &amp;&amp;/usr/local/bin/rake ultrasphinx:index RAILS_ENV=production</pre></p>
<h3 style="text-align:justify;">Configuring Logrotate</h3>
<p style="text-align:justify;">Go inside the gitorious directory (<em>cd /var/www/gitorious</em>) and copy the logrotate template and make it executable,</p>
<p><pre class="brush: plain;">sudo cp doc/templates/ubuntu/gitorious-logrotate /etc/logrotate.d/gitorious
sudo chmod +x /etc/logrotate.d/gitorious</pre></p>
<p><strong>Install the Passenger module</strong></p>
<p style="text-align:justify;">Now we have to install the apache passenger module to do so:</p>
<p><pre class="brush: plain;">sudo passenger-install-apache2-module</pre></p>
<p>At some point the passenger installation will generate something like the following,</p>
<p><pre class="brush: plain;">Please edit your Apache configuration file, and add these lines:
   LoadModule passenger_module /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.9/ext/apache2/mod_passenger.so
   PassengerRoot /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.9
   PassengerRuby /usr/local/bin/ruby</pre></p>
<p style="text-align:justify;">Keep it noted for a moment because we will need it for the passenger module configuration files.</p>
<p style="text-align:justify;">First we are going to create the .conf file, to do so type <em>sudo nano /etc/apache2/mods-available/passenger.conf</em>. Inside the empty file add the <strong>PassengerRoot</strong> and <strong>PassengerRuby</strong> lines and save the file. It should look something like the following,</p>
<p><pre class="brush: plain;">PassengerRoot /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.9
 PassengerRuby /usr/local/bin/ruby</pre></p>
<p style="text-align:justify;">Then we are going to create the .load file, to do so type<em> sudo nano /etc/apache2/mods-available/passenger.load. </em>Inside the empty file we should add the <strong>LoadModule</strong> line. It should look something like the following,</p>
<p><pre class="brush: plain;">LoadModule passenger_module /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.9/ext/apache2/mod_passenger.so</pre></p>
<p style="text-align:justify;"><em>Note: the paths or the versions may differ so adjust accordingly.</em></p>
<p style="text-align:justify;">Then we have to create some apache modules:</p>
<p><pre class="brush: plain;">sudo a2enmod rewrite
sudo a2enmod deflate
sudo a2enmod passenger
sudo a2enmod expires
sudo a2enmod ssl</pre></p>
<p style="text-align:justify;">At this points we have to disable the default apache site if it is enabled,</p>
<p><pre class="brush: plain;">a2dissite default</pre></p>
<p style="text-align:justify;">and then restart apache <strong>sudo /etc/init.d/apache restart.</strong></p>
<p>Then we have to append the following to <strong>~/.bashrc</strong> as the git user (<strong>sudo su git</strong>).</p>
<p><pre class="brush: plain;">#User specific aliases and functions
export RUBY_HOME=/usr/local
export GEM_HOME=$RUBY_HOME/lib/ruby/gems/1.8/gems</pre></p>
<p style="text-align:justify;">Finally we have the apache configuration for gitorious. We will start with the configuration for the port 80. Type in the terminal <strong>sudo nano /etc/apache2/sites-available/gitorious</strong>. In the empty file created add something that looks like the following,</p>
<p><pre class="brush: plain;">&lt;VirtualHost *:80&gt;
   ServerName gitorious.example.org
   DocumentRoot /var/www/gitorious/public
   ErrorLog /var/www/gitorious/log/gitorious-error.log
   CustomLog /var/www/gitorious/log/gitorious-access.log combined
   &lt;IfModule mod_xsendfile.c&gt;
      XSendFile on
      XSendFileAllowAbove on
   &lt;/IfModule&gt;
&lt;/VirtualHost&gt;</pre></p>
<p style="text-align:justify;">Now we can activate the the gitorious site with the command <strong>a2ensite gitorious</strong>.</p>
<p style="text-align:justify;">Then we have to create the apache configuration for the port 443 (the SSL connection) to do so go type <strong>sudo nano /etc/apache2/sites-available/gitorious-ssl</strong>. In the empty file created you have to add something that looks like the following</p>
<p><pre class="brush: plain;">&lt;IfModule mod_ssl.c&gt;
&lt;VirtualHost *:443&gt;
        ServerName gitorious.example.org
        DocumentRoot /var/www/gitorious/public
        ErrorLog /var/www/gitorious/log/gitorious-ssl-error.log
        CustomLog /var/www/gitorious/log/gitorious-ssl-access.log combined

   	&lt;IfModule mod_xsendfile.c&gt;
                XSendFile on
                XSendFileAllowAbove on
        &lt;/IfModule&gt;

	#   SSL Engine Switch:
        #   Enable/Disable SSL for this virtual host.
        SSLEngine on

        #   A self-signed (snakeoil) certificate can be created by installing
        #   the ssl-cert package. See
        #   /usr/share/doc/apache2.2-common/README.Debian.gz for more info.
        #   If both key and certificate are stored in the same file, only the
        #   SSLCertificateFile directive is needed.
        SSLCertificateFile    /etc/ssl/certs/ssl-cert-snakeoil.pem
        SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key

        #   SSL Protocol Adjustments:
        #   The safe and default but still SSL/TLS standard compliant shutdown
        #   approach is that mod_ssl sends the close notify alert but doesn't wait for
        #   the close notify alert from client. When you need a different shutdown
        #   approach you can use one of the following variables:
        #   o ssl-unclean-shutdown:
        #     This forces an unclean shutdown when the connection is closed, i.e. no
        #     SSL close notify alert is send or allowed to received.  This violates
        #     the SSL/TLS standard but is needed for some brain-dead browsers. Use
        #     this when you receive I/O errors because of the standard approach where
        #     mod_ssl sends the close notify alert.
        #   o ssl-accurate-shutdown:
        #     This forces an accurate shutdown when the connection is closed, i.e. a
        #     SSL close notify alert is send and mod_ssl waits for the close notify
        #     alert of the client. This is 100% SSL/TLS standard compliant, but in
        #     practice often causes hanging connections with brain-dead browsers. Use
        #     this only for browsers where you know that their SSL implementation
        #     works correctly.
        #   Notice: Most problems of broken clients are also related to the HTTP
        #   keep-alive facility, so you usually additionally want to disable
        #   keep-alive for those clients, too. Use variable &quot;nokeepalive&quot; for this.
        #   Similarly, one has to force some clients to use HTTP/1.0 to workaround
        #   their broken HTTP/1.1 implementation. Use variables &quot;downgrade-1.0&quot; and
        #   &quot;force-response-1.0&quot; for this.
        BrowserMatch &quot;MSIE [2-6]&quot; \
                nokeepalive ssl-unclean-shutdown \
                downgrade-1.0 force-response-1.0
        # MSIE 7 and newer should be able to use keepalive
        BrowserMatch &quot;MSIE [17-9]&quot; ssl-unclean-shutdown

&lt;/VirtualHost&gt;
&lt;/IfModule&gt;
</pre></p>
<p style="text-align:justify;">After saving the file you can activate the gitorious ssl site by typing <strong>a2ensite gitorious-ssl</strong> then you have to restart apache in order to load the new configuration with <strong>/etc/init.d/apache2 restart</strong>.</p>
<p style="text-align:justify;">At this point you may also want to disable the password access for the git user, to do so type <strong>sudo nano /etc/ssh/sshd_config</strong> and add the following line at the end of the file:</p>
<p><pre class="brush: plain;">Match User git
 PasswordAuthentication no</pre></p>
<p style="text-align:justify;">Then  you can reload the SSH configuration with <strong>sudo /etc/init.d/ssh reload</strong>. Now the git user should be accessible only by using public-private key combinations.</p>
<h1 style="text-align:justify;">Installing Redmine</h1>
<p style="text-align:justify;">Previously in the guide we created a <strong>tmp</strong> folder in the home folder, if you kept the directory change in it <strong>cd ~/tmp </strong>(<em>if you deleted or just started the guide from this point you can create it before changing in it by mkdir ~/tmp</em>). After changing in the tmp folder you can open your browser and go to <a href="http://rubyforge.org/frs/?group_id=1850">RubyForge</a> to find the link to the latest version of redmine. In my case the latest version was the 1.2.1. Copy the link location and then go to the terminal type the wget command and paste it after the command. After downloading the file un-tar it and go in the redmine folder.</p>
<p><pre class="brush: plain;">wget http://rubyforge.org/frs/download.php/75097/redmine-1.2.1.tar.gz
tar -xvzf redmine-1.2.1.tar.gz
cd redmine-1.2.1/
</pre></p>
<p style="text-align:justify;">At this point we have to create the redmine user in the database.</p>
<p style="text-align:justify;">Go to the phpMyAdmin page (<em>it should be something like hostname/phpmyadmin or serverip/phpmyadmin</em>). Log in and then go to the tab <strong>Priviledges</strong>. Once in there click on the <strong>Add new User</strong> option.</p>
<p style="text-align:justify;">In the field <strong>User Name:</strong> you should put <strong>redmine</strong>, in the <strong>Host:</strong> field you have to select <strong>localhost</strong> and generate a random password. Keep the generated password noted somewhere because we are going to need it. Then find the <strong>Database for user</strong> section and select <strong>Create database with same name and grant all privileges</strong>. Finally click on the <strong>create user</strong> button to create our new database user.</p>
<p style="text-align:justify;">Then we have to copy the example configuration file in order to create the database.yml file.</p>
<p><pre class="brush: plain;">cp config/database.yml.example config/database.yml</pre></p>
<p style="text-align:justify;">And then we have to edit the new database configuration file so it looks like this,</p>
<p><pre class="brush: plain;">production:
  adapter: mysql
  database: redmine
  host: localhost
  username: redmine
  password: The randomly generated password for the redmine user
  encoding: utf8
</pre></p>
<p style="text-align:justify;">At this point we are gonna install the needed gems for redmine to run properly, so you have to install,</p>
<p><pre class="brush: plain;">sudo gem install --no-ri --no-rdoc -v=0.4.2 i18n
sudo gem install --no-ri --no-rdoc -v=1.1.0 rack
</pre></p>
<p style="text-align:justify;">Next we have to move the redmine folder inside /opt, to do so:</p>
<p><pre class="brush: plain;">sudo mkdir /opt/redmine
cd /opt/redmine
sudo cp -r ~/tmp/redmine-1.2.1 .
</pre></p>
<p style="text-align:justify;">Then get inside the new redmine directory it should be /opt/redmine/redmine-1.2.1 and run the following to generate the session store, migrate the database and load the default data.</p>
<p><pre class="brush: plain;">rake generate_session_store
sudo RAILS_ENV=production rake db:migrate
sudo RAILS_ENV=production rake redmine:load_default_data
</pre></p>
<p style="text-align:justify;">During the default data loading if you get asked for a language, accept the default language (English). Then we have to change ownership on a few folders in the redmine folder, and change the rights on a few more.</p>
<p><pre class="brush: plain;">sudo chown -R www-data:www-data files log tmp public/plugin_assets
sudo chmod -R 755 files log tmp public/plugin_assets
</pre></p>
<p style="text-align:justify;">The passenger module should already be loaded since we installed Gitorious previously.</p>
<p style="text-align:justify;">Now we have to configure the virtual host for redmine. I have to note at this point that Redmine will be configured in the hostname with the phpmyadmin etc.</p>
<p style="text-align:justify;">In the virtual host configuration you have to add the following lines:</p>
<p><pre class="brush: plain;">PassengerAppRoot /opt/redmine/redmine-1.2/
RailsBaseURI /redmine
RailsEnv production
</pre></p>
<p style="text-align:justify;">Then we have to create a symbolic link for redmine public directory in the webroot of the hostname that hosts everything other than gitorious, supposing that the webroot /var/www/ then you have to:</p>
<p><pre class="brush: plain;">sudo ln -s /opt/redmine/redmine-1.2.1/public /var/www/redmine</pre></p>
<p style="text-align:justify;">We also have to edit the <strong>passenger.conf</strong> file and add the following line:</p>
<p><pre class="brush: plain;">PassengerDefaultUser www-data</pre></p>
<p style="text-align:justify;">If you use Eclipse as an IDE for development you may also want to install in the redmine installation the plugin for the Eclipse MyLyn integration. To do so you have to get in the redmine directory and execute the following:</p>
<p><pre class="brush: plain;">sudo ruby script/plugin install git://redmin-mylyncon.git.sourceforge.net/gitroot/redmin-mylyncon/redmine-mylyn-connector</pre></p>
<p style="text-align:justify;">In case you get at some point the the following warning due to having two virtual hosts for port 443 on the same server,</p>
<p><pre class="brush: plain;">[warn] _default_ VirtualHost overlap on port 443, the first has precedence</pre></p>
<p>you have to edit the <strong>ports.conf</strong> file, <strong>sudo nano /etc/apache2/ports.conf</strong>, go inside the <strong>&lt;IfModule mod_ssl.c&gt;</strong>tags and add NameVirtualHost *:443 above the Listen 443 line, then save the file.</p>
<h2>Resources Used</h2>
<p><a href="http://www.howtoforge.com/ubuntu_lamp_for_newbies">http://www.howtoforge.com/ubuntu_lamp_for_newbies</a><br />
<a href="http://cjohansen.no/en/ruby/setting_up_gitorious_on_your_own_server">http://cjohansen.no/en/ruby/setting_up_gitorious_on_your_own_server</a><br />
<a href="http://coding-journal.com/installing-gitorious-on-ubuntu-11-04/">http://coding-journal.com/installing-gitorious-on-ubuntu-11-04/</a><br />
<a href="http://www.gitorious.org/gitorious/pages/UbuntuInstallation">http://www.gitorious.org/gitorious/pages/UbuntuInstallation</a><br />
<a href="http://www.silly-science.co.uk/2010/12/12/installing-gitorious-on-ubuntu-10-04-howto/">http://www.silly-science.co.uk/2010/12/12/installing-gitorious-on-ubuntu-10-04-howto/</a><br />
<a title="http://www.samontab.com/web/2011/04/how-to-install-redmine-1-1-2-on-ubuntu-server-10-04/" href="http://www.samontab.com/web/2011/04/how-to-install-redmine-1-1-2-on-ubuntu-server-10-04/">http://www.samontab.com/web/2011/04/how-to-install-redmine-1-1-2-on-ubuntu-server-10-04/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/randomthoughtsgr.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/randomthoughtsgr.wordpress.com/505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/randomthoughtsgr.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/randomthoughtsgr.wordpress.com/505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/randomthoughtsgr.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/randomthoughtsgr.wordpress.com/505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/randomthoughtsgr.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/randomthoughtsgr.wordpress.com/505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/randomthoughtsgr.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/randomthoughtsgr.wordpress.com/505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/randomthoughtsgr.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/randomthoughtsgr.wordpress.com/505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/randomthoughtsgr.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/randomthoughtsgr.wordpress.com/505/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randomthoughtsgr.wordpress.com&amp;blog=2484538&amp;post=505&amp;subd=randomthoughtsgr&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://randomthoughtsgr.wordpress.com/2011/12/11/ubuntu-10-10-server-with-gitorious-and-redmine/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/81cf01a2e33f4bfbddb37f43818841e0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Kelsos</media:title>
		</media:content>

		<media:content url="https://wiki.ubuntu.com/PoweredBy?action=AttachFile&#38;do=get&#38;target=poweredbyubuntu.svg" medium="image">
			<media:title type="html">Powered by Ubuntu</media:title>
		</media:content>

		<media:content url="http://randomthoughtsgr.files.wordpress.com/2011/10/ubuntu-server-2011-10-27-15-11-56.png?w=300" medium="image">
			<media:title type="html">Ubuntu Server Install: 1. Select language</media:title>
		</media:content>

		<media:content url="http://randomthoughtsgr.files.wordpress.com/2011/10/ubuntu-server-2011-10-27-15-14-26.png?w=300" medium="image">
			<media:title type="html">Ubuntu Server Install: 2. Ubuntu Installation</media:title>
		</media:content>

		<media:content url="http://randomthoughtsgr.files.wordpress.com/2011/10/ubuntu-server-2011-10-27-15-18-40.png?w=300" medium="image">
			<media:title type="html">Ubuntu Server Install: 3. Network</media:title>
		</media:content>

		<media:content url="http://randomthoughtsgr.files.wordpress.com/2011/10/ubuntu-server-2011-10-27-15-19-08.png?w=300" medium="image">
			<media:title type="html">Ubuntu Server Install: 4. Partitioning</media:title>
		</media:content>

		<media:content url="http://randomthoughtsgr.files.wordpress.com/2011/10/ubuntu-server-2011-10-27-15-19-47.png?w=300" medium="image">
			<media:title type="html">Ubuntu Server Install: 5. Partitioning</media:title>
		</media:content>

		<media:content url="http://randomthoughtsgr.files.wordpress.com/2011/10/ubuntu-server-2011-10-27-15-22-18.png?w=300" medium="image">
			<media:title type="html">Ubuntu Server Installation: 6 Partitioning</media:title>
		</media:content>

		<media:content url="http://randomthoughtsgr.files.wordpress.com/2011/10/ubuntu-server-2011-10-27-15-24-53.png?w=300" medium="image">
			<media:title type="html">Ubuntu Server Installation: 7 Partitioning</media:title>
		</media:content>

		<media:content url="http://randomthoughtsgr.files.wordpress.com/2011/10/ubuntu-server-2011-10-27-15-25-03.png?w=300" medium="image">
			<media:title type="html">Ubuntu Server Installation: 8 Partitioning</media:title>
		</media:content>

		<media:content url="http://randomthoughtsgr.files.wordpress.com/2011/11/ubuntu-64-bit-2011-11-28-01-28-08.png?w=300" medium="image">
			<media:title type="html">Ubuntu Server Installation: LVM</media:title>
		</media:content>

		<media:content url="http://randomthoughtsgr.files.wordpress.com/2011/11/ubuntu-64-bit-2011-11-28-01-56-24.png?w=300" medium="image">
			<media:title type="html">Ubuntu Server Installtion: Software Selection</media:title>
		</media:content>
	</item>
		<item>
		<title>Redmine SUB-URI and Apache configuration</title>
		<link>http://randomthoughtsgr.wordpress.com/2011/10/17/redmine-sub-uri-and-apache-configuration/</link>
		<comments>http://randomthoughtsgr.wordpress.com/2011/10/17/redmine-sub-uri-and-apache-configuration/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 16:58:38 +0000</pubDate>
		<dc:creator>Kelsos</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[redmine]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://randomthoughtsgr.wordpress.com/?p=431</guid>
		<description><![CDATA[While trying to setup Redmine in a sub-uri I run across an issue will trying to setup apache. Passenger would display the following error: No such file or directory &#8211; config/environment.rb while trying to access the Redmine webpage. After trying a few suggestions on the issue I managed to get Redmine to work with the following [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randomthoughtsgr.wordpress.com&amp;blog=2484538&amp;post=431&amp;subd=randomthoughtsgr&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">While trying to setup Redmine in a sub-uri I run across an issue will trying to setup apache. Passenger would display the following error: <strong>No such file or directory &#8211; config/environment.rb</strong> while trying to access the Redmine webpage.</p>
<p style="text-align:justify;">After trying a few suggestions on the issue I managed to get Redmine to work with the following configuration:</p>
<p style="text-align:justify;">The passenger.load configuration file was the following (the paths will probably vary depending on the installation):</p>
<p><pre class="brush: plain;">
LoadModule passenger_module /opt/ruby-enterprise-1.8.7-2011.03/lib/ruby/gems/1.8/gems/passenger-3.0.9/ext/apache2/mod_passenger.so
PassengerRoot /opt/ruby-enterprise-1.8.7-2011.03/lib/ruby/gems/1.8/gems/passenger-3.0.9
PassengerRuby /opt/ruby-enterprise-1.8.7-2011.03/bin/ruby
PassengerDefaultUser www-data
</pre></p>
<p>In the Virtual Host configuration I added the following:</p>
<p><pre class="brush: plain;">
        PassengerAppRoot /usr/local/lib/redmine-1.2/
        RailsBaseURI /redmine
        RailsEnv production
</pre></p>
<p style="text-align:justify;"><strong>PassengerAppRoot</strong> represents the path that redmine is installed.<br />
<strong>RailsBasedURI</strong> represents the sub directory in the URL that represents Redmine eg. <em>www.example.org/redmine</em></p>
<p style="text-align:justify;">(for this to work is also essential to have a symbolic link of the<em> redmine-*.*/public</em> inside the web root folder).</p>
<p></p>
<p style="text-align:justify;">Also I changed ownership of the <em>redmine-1.2</em> folder and the symlink redmine folder to the apache user/group (I am under the impression that it was necessary).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/randomthoughtsgr.wordpress.com/431/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/randomthoughtsgr.wordpress.com/431/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/randomthoughtsgr.wordpress.com/431/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/randomthoughtsgr.wordpress.com/431/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/randomthoughtsgr.wordpress.com/431/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/randomthoughtsgr.wordpress.com/431/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/randomthoughtsgr.wordpress.com/431/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/randomthoughtsgr.wordpress.com/431/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/randomthoughtsgr.wordpress.com/431/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/randomthoughtsgr.wordpress.com/431/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/randomthoughtsgr.wordpress.com/431/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/randomthoughtsgr.wordpress.com/431/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/randomthoughtsgr.wordpress.com/431/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/randomthoughtsgr.wordpress.com/431/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randomthoughtsgr.wordpress.com&amp;blog=2484538&amp;post=431&amp;subd=randomthoughtsgr&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://randomthoughtsgr.wordpress.com/2011/10/17/redmine-sub-uri-and-apache-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/81cf01a2e33f4bfbddb37f43818841e0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Kelsos</media:title>
		</media:content>
	</item>
		<item>
		<title>Use Resource files with Eclipse and wxWidgets</title>
		<link>http://randomthoughtsgr.wordpress.com/2011/10/15/use-resource-files-with-eclipse-and-wxwidgets/</link>
		<comments>http://randomthoughtsgr.wordpress.com/2011/10/15/use-resource-files-with-eclipse-and-wxwidgets/#comments</comments>
		<pubDate>Sat, 15 Oct 2011 21:47:53 +0000</pubDate>
		<dc:creator>Kelsos</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Cpp]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[mingw]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[wxwidgets]]></category>

		<guid isPermaLink="false">http://randomthoughtsgr.wordpress.com/?p=420</guid>
		<description><![CDATA[While developing with Eclipse  C++ CDT and wxWidgets &#38; MinGW I run along an issue. In Windows wxWidgets requires an MS resource (.rc) file to be compiled along with the project. The file contains the location to the application icon along with an include to the wx resource file. One issue I came across when [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randomthoughtsgr.wordpress.com&amp;blog=2484538&amp;post=420&amp;subd=randomthoughtsgr&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">While developing with Eclipse  C++ CDT and wxWidgets &amp; MinGW I run along an issue. In Windows wxWidgets requires an MS resource (.rc) file to be compiled along with the project. The file contains the location to the application icon along with an include to the wx resource file. One issue I came across when compiling without including the Resource file to the binary was the rendering of the toolbar. The application would render the toolbar in Windows 95 style.</p>
<p style="text-align:justify;">The resource file content looks like the following:</p>
<p><pre class="brush: cpp;">
aaaa ICON &quot;wx/msw/std.ico&quot;

#include &quot;wx/msw/wx.rc&quot;
</pre></p>
<p style="text-align:justify;">In order to include the resource file in the binary you first have to use Windres (Windres should be in the PATH system variable as a part of the MinGW suite) through the command prompt:</p>
<p><pre class="brush: plain;">
windres --use-temp-file -isample.rc -osample_rc.o -Iincludepath
</pre></p>
<p style="text-align:justify;">You have to replace <strong>includepath</strong> with the path to the wxWidgets header folder (parent of the wx folder which contains the msw folder).</p>
<p style="text-align:justify;">After you successfully compile the resource file you have to go to Eclipse, right click on the project and open<strong> Properties.</strong> Once there go to<strong> C/C++ Build</strong>, and then choose<strong> Settings</strong>, then go to <strong>MinGW C++ linker, </strong>and select <strong>Miscellaneous</strong>. Then go to <strong>Other Objects</strong> and add the<em> sample_rc.o</em> file. After this you are done and the sample_rc.o should be part of the binary. If you kept the default wxWidgets Resource file, like above you should see the application icon being the default wxWidgets Icon. Also the toolbar should have the proper style, and not the Windows 95 one.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/randomthoughtsgr.wordpress.com/420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/randomthoughtsgr.wordpress.com/420/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/randomthoughtsgr.wordpress.com/420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/randomthoughtsgr.wordpress.com/420/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/randomthoughtsgr.wordpress.com/420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/randomthoughtsgr.wordpress.com/420/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/randomthoughtsgr.wordpress.com/420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/randomthoughtsgr.wordpress.com/420/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/randomthoughtsgr.wordpress.com/420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/randomthoughtsgr.wordpress.com/420/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/randomthoughtsgr.wordpress.com/420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/randomthoughtsgr.wordpress.com/420/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/randomthoughtsgr.wordpress.com/420/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/randomthoughtsgr.wordpress.com/420/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randomthoughtsgr.wordpress.com&amp;blog=2484538&amp;post=420&amp;subd=randomthoughtsgr&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://randomthoughtsgr.wordpress.com/2011/10/15/use-resource-files-with-eclipse-and-wxwidgets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/81cf01a2e33f4bfbddb37f43818841e0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Kelsos</media:title>
		</media:content>
	</item>
		<item>
		<title>Changing author in git</title>
		<link>http://randomthoughtsgr.wordpress.com/2011/09/27/changing-author-in-git/</link>
		<comments>http://randomthoughtsgr.wordpress.com/2011/09/27/changing-author-in-git/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 16:27:51 +0000</pubDate>
		<dc:creator>Kelsos</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://randomthoughtsgr.wordpress.com/?p=406</guid>
		<description><![CDATA[While transferring my code repositories from SVN to git, I completely forgot to change the author name in the commits, so the wrong user appeared. I could possibly just reconvert the svn repository to git to fix the issue but since I have been trying to merge the the SVN generated git with a new [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randomthoughtsgr.wordpress.com&amp;blog=2484538&amp;post=406&amp;subd=randomthoughtsgr&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">While transferring my code repositories from SVN to git, I completely forgot to change the author name in the commits, so the wrong user appeared. I could possibly just reconvert the svn repository to git to fix the issue but since I have been trying to merge the the SVN generated git with a new git that was the continuation of the last SVN checkout, when I succeeded I didn&#8217;t want to go through all that process again. Luckily I found the following post &#8220;<a title="How to change the author in git" href="http://coffee.geek.nz/node/22723" target="_blank">How to change the author in git</a>&#8220;.</p>
<p>The following code is taken from the source specified above:</p>
<pre>git filter-branch --commit-filter '
        if [ "$GIT_COMMITTER_NAME" = "Wrong Commiter Name" ];
        then
                GIT_COMMITTER_NAME="Right Commiter Name";
                GIT_AUTHOR_NAME="Right Commiter Name";
                GIT_COMMITTER_EMAIL="right@email.com";
                GIT_AUTHOR_EMAIL="right@email.com";
                git commit-tree "$@";
        else
                git commit-tree "$@";
        fi' HEAD</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/randomthoughtsgr.wordpress.com/406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/randomthoughtsgr.wordpress.com/406/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/randomthoughtsgr.wordpress.com/406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/randomthoughtsgr.wordpress.com/406/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/randomthoughtsgr.wordpress.com/406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/randomthoughtsgr.wordpress.com/406/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/randomthoughtsgr.wordpress.com/406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/randomthoughtsgr.wordpress.com/406/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/randomthoughtsgr.wordpress.com/406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/randomthoughtsgr.wordpress.com/406/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/randomthoughtsgr.wordpress.com/406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/randomthoughtsgr.wordpress.com/406/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/randomthoughtsgr.wordpress.com/406/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/randomthoughtsgr.wordpress.com/406/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randomthoughtsgr.wordpress.com&amp;blog=2484538&amp;post=406&amp;subd=randomthoughtsgr&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://randomthoughtsgr.wordpress.com/2011/09/27/changing-author-in-git/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/81cf01a2e33f4bfbddb37f43818841e0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Kelsos</media:title>
		</media:content>
	</item>
		<item>
		<title>Skype Now Playing Plugin for MusicBee</title>
		<link>http://randomthoughtsgr.wordpress.com/2011/04/30/skype-now-playing-plugin-for-musicbee/</link>
		<comments>http://randomthoughtsgr.wordpress.com/2011/04/30/skype-now-playing-plugin-for-musicbee/#comments</comments>
		<pubDate>Sat, 30 Apr 2011 20:58:19 +0000</pubDate>
		<dc:creator>Kelsos</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://randomthoughtsgr.wordpress.com/?p=369</guid>
		<description><![CDATA[Here is a simple now Skype Now playing plugin I created for MusicBee using C#. The settings panel of the plugin looks like the following screenshot. The tags supported at the moment are &#60;Artist&#62;, &#60;AlbumArtist&#62;, &#60;Title&#62;, &#60;Year&#62; and &#60;Album&#62; and they have to be like above in the textbox in order for the tag to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randomthoughtsgr.wordpress.com&amp;blog=2484538&amp;post=369&amp;subd=randomthoughtsgr&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Here is a simple now Skype Now playing plugin I created for MusicBee using C#.</p>
<p style="text-align:justify;">The settings panel of the plugin looks like the following screenshot.</p>
<p><a href="http://randomthoughtsgr.files.wordpress.com/2011/04/nowplayingplugin.png"><img class="size-full wp-image-370 aligncenter" title="Plugin Settings Panel" src="http://randomthoughtsgr.files.wordpress.com/2011/04/nowplayingplugin.png?w=604" alt=""   /></a></p>
<p style="text-align:justify;">The tags supported at the moment are &lt;Artist&gt;, &lt;AlbumArtist&gt;, &lt;Title&gt;, &lt;Year&gt; and &lt;Album&gt; and they have to be like above in the textbox in order for the tag to get displayed. Also there is the option (activated by default) for a &#8220;Now Playing&#8221; string and a Unicode note char to appear in front of the selected pattern. (Depending on the computer the note may appear as a square).</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a href="http://randomthoughtsgr.files.wordpress.com/2011/04/nowplayingskype.png"><img class="size-full wp-image-371    " title="How it appears in Skype." src="http://randomthoughtsgr.files.wordpress.com/2011/04/nowplayingskype.png?w=604" alt=""   /></a></dt>
<dd class="wp-caption-dd">&lt;Artist&gt; &#8211; &lt;Title&gt; [&lt;Album&gt; (&lt;Year&gt;)]</dd>
</dl>
</div>
<p style="text-align:justify;">The plugin uses the Skype4Com Library in order to communicate with Skype. It is has been tested to work with Skype v5.3.0.111.</p>
<p style="text-align:justify;">The plugin consists of two dll files,  <strong>mb_skypenp.dll</strong> and<strong> Interop.SKYPE4COMLib.dll,</strong> the installation process is pretty simple, you simply must extract the two files in the Plugins folder inside the MusicBee Installation directory (There is a possibility that there will be no Plugins folder, in that case you will have to create it).</p>
<p style="text-align:justify;">If you installed it at the default folder it is:<br />
&#8220;C:\Program Files\MusicBee\Plugins&#8221; if you are running 32 bit Windows, or<br />
&#8220;C:\Program Files(x86)\MusicBee\Plugins&#8221; if you are running 64 bit Windows.</p>
<p style="text-align:justify;">After this you have to start MusicBee, and go to Edit-&gt;Preferences. Then in the Preferences window you have to click on &#8220;Plugins&#8221; and then you have to click the &#8220;Enable&#8221; button under the &#8220;skype: now playing&#8221;, to enable the plugin.</p>
<p><a href="http://randomthoughtsgr.files.wordpress.com/2011/04/nowplayingstart.png"><img class="size-full wp-image-378 aligncenter" title="During the first run you have to allow MusicBee to Access Skype." src="http://randomthoughtsgr.files.wordpress.com/2011/04/nowplayingstart.png?w=604" alt=""   /></a></p>
<p style="text-align:justify;">After that, if Skype is running you will have to Allow MusicBee to access Skype, in order to change the mood to the currently playing track.</p>
<p style="text-align:justify;">You can report any issues or suggest some changes, either here or in the related topic in <a title="MusicBee Forum" href="http://getmusicbee.com/forum/index.php?topic=3316.0">MusicBee Forum</a></p>
<h2 style="text-align:justify;"><strong>For download links and information check the dedicated <a title="Now Playing:Skype for MusicBee Page" href="http://randomthoughtsgr.wordpress.com/now-playingskype-plugin-for-musicbee/">Plugin Page</a></strong></h2>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/randomthoughtsgr.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/randomthoughtsgr.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/randomthoughtsgr.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/randomthoughtsgr.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/randomthoughtsgr.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/randomthoughtsgr.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/randomthoughtsgr.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/randomthoughtsgr.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/randomthoughtsgr.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/randomthoughtsgr.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/randomthoughtsgr.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/randomthoughtsgr.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/randomthoughtsgr.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/randomthoughtsgr.wordpress.com/369/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randomthoughtsgr.wordpress.com&amp;blog=2484538&amp;post=369&amp;subd=randomthoughtsgr&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://randomthoughtsgr.wordpress.com/2011/04/30/skype-now-playing-plugin-for-musicbee/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/81cf01a2e33f4bfbddb37f43818841e0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Kelsos</media:title>
		</media:content>

		<media:content url="http://randomthoughtsgr.files.wordpress.com/2011/04/nowplayingplugin.png" medium="image">
			<media:title type="html">Plugin Settings Panel</media:title>
		</media:content>

		<media:content url="http://randomthoughtsgr.files.wordpress.com/2011/04/nowplayingskype.png" medium="image">
			<media:title type="html">How it appears in Skype.</media:title>
		</media:content>

		<media:content url="http://randomthoughtsgr.files.wordpress.com/2011/04/nowplayingstart.png" medium="image">
			<media:title type="html">During the first run you have to allow MusicBee to Access Skype.</media:title>
		</media:content>
	</item>
		<item>
		<title>Xbutton navigation, in integrated browser with c#</title>
		<link>http://randomthoughtsgr.wordpress.com/2011/03/10/xbutton-navigation-in-integrated-browser-with-c/</link>
		<comments>http://randomthoughtsgr.wordpress.com/2011/03/10/xbutton-navigation-in-integrated-browser-with-c/#comments</comments>
		<pubDate>Thu, 10 Mar 2011 10:43:05 +0000</pubDate>
		<dc:creator>Kelsos</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[web browser]]></category>
		<category><![CDATA[xbutton]]></category>

		<guid isPermaLink="false">http://randomthoughtsgr.wordpress.com/?p=354</guid>
		<description><![CDATA[I have been trying for a while to find a way with the application I am developing to navigate Forward or Back using only the xbuttons (4th and 5th button of a 5 button mouse) with the integrated browser. After spending some time trying various things I found a solution posted in one of the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randomthoughtsgr.wordpress.com&amp;blog=2484538&amp;post=354&amp;subd=randomthoughtsgr&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">I have been trying for a while to find a way with the application I am developing to navigate Forward or Back using only the xbuttons (4th and 5th button of a 5 button mouse) with the integrated browser. After spending some time trying various things I found a solution posted in one of the msdn sites&#8230; unfortunately I don&#8217;t remember the URL to link to the site. The original code was in Visual Basic.</p>
<p style="text-align:justify;">Here is the MessageFilter class responsible for the MessageFilter instance that handles the WM_XBUTTONDOWN message.</p>
<p><pre class="brush: csharp;">
using System;
using System.Windows.Forms;

public class MessageFilter : IMessageFilter
{
 const int WM_XBUTTONDOWN = 0x020B;
 const int MK_XBUTTON1 = 65568;
 const int MK_XBUTTON2 = 131136;

 private Form _form;
 private EventHandler _backevent;
 private EventHandler _forwardevent;

 /// &lt;summary&gt;
 /// Initializes a new instance of the &lt;see cref=&quot;MessageFilter&quot;/&gt; class.
 /// &lt;/summary&gt;
 /// &lt;param name=&quot;f&quot;&gt;The form.&lt;/param&gt;
 /// &lt;param name=&quot;backevent&quot;&gt;The backevent.&lt;/param&gt;
 /// &lt;param name=&quot;forwardevent&quot;&gt;The forwardevent.&lt;/param&gt;
 public MessageFilter(WebForm f, ref EventHandler backevent, ref EventHandler forwardevent)
 {
  _form = f;
  _backevent = backevent;
  _forwardevent = forwardevent;
 }

 /// &lt;summary&gt;
 /// Filters out a message before it is dispatched.
 /// &lt;/summary&gt;
 /// &lt;param name=&quot;m&quot;&gt;The message to be dispatched. You cannot modify this message.&lt;/param&gt;
 /// &lt;returns&gt;
 /// true to filter the message and stop it from being dispatched; false to allow the message to continue to the next filter or control.
 /// &lt;/returns&gt;
 public bool PreFilterMessage(ref Message m)
 {
  bool bHandled = false;

  if (m.Msg == WM_XBUTTONDOWN)
  {
   int w = m.WParam.ToInt32();
   if (w == MK_XBUTTON1)
   {
    _backevent.Invoke(_form, EventArgs.Empty);
    bHandled = true;
   }
   else if (w == MK_XBUTTON2)
   {
    _forwardevent.Invoke(_form, EventArgs.Empty);
    bHandled = true;
   }
  }
 return bHandled;
 }
}
</pre></p>
<p style="text-align:justify;">Furthermore you also have to add the following to the code of the form of the browser element:</p>
<p style="text-align:justify;">In the constructor of the form after the call of the <strong>InitializeComponent();</strong> method you have to create some Event Handlers for the following events:</p>
<p><pre class="brush: csharp;">
this.HandleCreated += new EventHandler(webForm_HandleCreated);
this.HandleDestroyed += new EventHandler(webForm_HandleDestroyed);
this.Activated += new EventHandler(webForm_Activated);
this.Deactivate += new EventHandler(webForm_Deactivate);
</pre></p>
<p>And here are the Event Handle methods:</p>
<p><pre class="brush: csharp;">
private void webForm_HandleCreated(object sender, EventArgs e)
 {
  EventHandler backevent = new EventHandler(backToolStripButton_Click);
  EventHandler forwardevent = new EventHandler(forwardToolStripButton_Click);
  _mbfilter = new MessageFilter(this, ref backevent, ref forwardevent);
 }
 private void webForm_HandleDestroyed(object sender, EventArgs e)
 {
  _mbfilter = null;
 }
 private void webForm_Activated(object sender, EventArgs e)
 {
  Application.AddMessageFilter(_mbfilter);
 }

 private void webForm_Deactivate(object sender, EventArgs e)
 {
  Application.RemoveMessageFilter(_mbfilter);
 }
</pre></p>
<p style="text-align:justify;">For the backward and forward EventHandlers, the EventHandlers of the forward and backward buttons are used.</p>
<p><pre class="brush: csharp;">
private void backToolStripButton_Click(object sender, EventArgs e)
 {
  if (geckoReader.CanGoBack)
   geckoReader.GoBack();
 }

private void forwardToolStripButton_Click(object sender, EventArgs e)
{
 if (geckoReader.CanGoForward)
  geckoReader.GoForward();
}
</pre></p>
<p>geckoReader is an instance of the GeckoFX gecko c# wrapper.</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/randomthoughtsgr.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/randomthoughtsgr.wordpress.com/354/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/randomthoughtsgr.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/randomthoughtsgr.wordpress.com/354/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/randomthoughtsgr.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/randomthoughtsgr.wordpress.com/354/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/randomthoughtsgr.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/randomthoughtsgr.wordpress.com/354/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/randomthoughtsgr.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/randomthoughtsgr.wordpress.com/354/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/randomthoughtsgr.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/randomthoughtsgr.wordpress.com/354/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/randomthoughtsgr.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/randomthoughtsgr.wordpress.com/354/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randomthoughtsgr.wordpress.com&amp;blog=2484538&amp;post=354&amp;subd=randomthoughtsgr&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://randomthoughtsgr.wordpress.com/2011/03/10/xbutton-navigation-in-integrated-browser-with-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/81cf01a2e33f4bfbddb37f43818841e0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Kelsos</media:title>
		</media:content>
	</item>
		<item>
		<title>iPod scrobbling and missing scrobbles</title>
		<link>http://randomthoughtsgr.wordpress.com/2011/02/16/ipod-scrobbling-and-missing-scrobbles/</link>
		<comments>http://randomthoughtsgr.wordpress.com/2011/02/16/ipod-scrobbling-and-missing-scrobbles/#comments</comments>
		<pubDate>Wed, 16 Feb 2011 19:49:27 +0000</pubDate>
		<dc:creator>Kelsos</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[iPod]]></category>
		<category><![CDATA[MusicBee]]></category>
		<category><![CDATA[scrobbling]]></category>

		<guid isPermaLink="false">http://randomthoughtsgr.wordpress.com/?p=343</guid>
		<description><![CDATA[Since the time I got my 160GB iPod classic I started scrobbling, sending all the songs played while on move to my last.fm profile. However since the beginning I had an issue once in while, or many times in the row, when I was syncing iPod with iTunes all my plays where missing. I tried [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randomthoughtsgr.wordpress.com&amp;blog=2484538&amp;post=343&amp;subd=randomthoughtsgr&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Since the time I got my 160GB iPod classic I started scrobbling, sending all the songs played while on move to my last.fm profile. However since the beginning I had an issue once in while, or many times in the row, when I was syncing iPod with iTunes all my plays where missing. I tried various solutions, one part was avoiding iTunes and windows all over and scrobbling with a linux virtual machine, through the linux version of the last.fm player. Still it seems that the problem persisted.</p>
<p style="text-align:justify;">After a while I discovered that the iPod actually kept play counts and last played dates, but some how iTunes or the last.fm player actually failed to recognize them and they where deleted during the sync process. The solution was accidentally found through the usage of MusicBee. Since the play counts are stored in the iPod there must be probably some inconsistency in the iPod DB that causes the issue. So a workaround is to play a track from the iPod music library with MusicBee, this seems to fix the issue, because afterwards the linux last.fm player gets every single played track in the list with the tracks to be scrobbled.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/randomthoughtsgr.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/randomthoughtsgr.wordpress.com/343/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/randomthoughtsgr.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/randomthoughtsgr.wordpress.com/343/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/randomthoughtsgr.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/randomthoughtsgr.wordpress.com/343/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/randomthoughtsgr.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/randomthoughtsgr.wordpress.com/343/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/randomthoughtsgr.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/randomthoughtsgr.wordpress.com/343/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/randomthoughtsgr.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/randomthoughtsgr.wordpress.com/343/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/randomthoughtsgr.wordpress.com/343/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/randomthoughtsgr.wordpress.com/343/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randomthoughtsgr.wordpress.com&amp;blog=2484538&amp;post=343&amp;subd=randomthoughtsgr&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://randomthoughtsgr.wordpress.com/2011/02/16/ipod-scrobbling-and-missing-scrobbles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/81cf01a2e33f4bfbddb37f43818841e0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Kelsos</media:title>
		</media:content>
	</item>
		<item>
		<title>Server Maintenance</title>
		<link>http://randomthoughtsgr.wordpress.com/2011/02/08/server-maintenance/</link>
		<comments>http://randomthoughtsgr.wordpress.com/2011/02/08/server-maintenance/#comments</comments>
		<pubDate>Tue, 08 Feb 2011 13:26:49 +0000</pubDate>
		<dc:creator>Kelsos</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[personal]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://randomthoughtsgr.wordpress.com/?p=340</guid>
		<description><![CDATA[On the 31st of January was a maintenance day for my server. It started as a check to make sure that the non restarting after a sudden one second power lose issue was due to faulty PSU&#8230; I just confirmed my suspicions. With the test PSU the issue was gone and the computer was powering [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randomthoughtsgr.wordpress.com&amp;blog=2484538&amp;post=340&amp;subd=randomthoughtsgr&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">On the 31st of January was a maintenance day for my server. It started as a check to make sure that the non restarting after a sudden one second power lose issue was due to faulty PSU&#8230; I just confirmed my suspicions. With the test PSU the issue was gone and the computer was powering up properly afterwards. The 435Watt PSU installed on the server was on it since 2004, the year the system was build. Yesterday I got a replacement psu. An 80+ certified CoolerMaster GX Series 550Watt PSU, and I am gonna replace it as soon as I get back.</p>
<p style="text-align:justify;">I also cleaned lot&#8217;s of dust and replaced the thermal paste on the CPU for the first time since I built it. I also found out that finally the fan used for cooling the northbridge was dead. Now I have to search for a round 40mm replacement cooler, though I find it hard to find a replacement here in Greece. Also at some point I will have to also replace the computer chassis with a newer one with better airflow since the system is up 24/7.</p>
<p style="text-align:justify;">So after the cleanup and the reassembling I connect the computer to power and ethernet and I wait for it to boot and to access it via SSH, but nothing happens so I actually plug a monitor and a keyboard and I reboot the system, only yo find out that it is stuck at the GRUB loader waiting for keyboard input for reason unknown. It was the first time I had this issue.</p>
<p style="text-align:justify;">While checking the bootloader I also found out that I had some GB of space allocated to a Windows XP installation that was not needed anymore actually since the machine works as a ubuntu based server. So while deleting the NTFS windows partition I also accidentally destroyed the ext2 formatted /boot partition need to boot my LVM setup.</p>
<p style="text-align:justify;">So after searching for a while for ways to rebuild my setup by creating manually the /boot I found nothing helpful (well maybe I didn&#8217;t search enough). However while panicking somehow I decided to re-install Ubuntu 10.10 Server on the same BTRFS formatted LVM volumes without actually formatting the partitions, in order to keep my data intact.</p>
<p style="text-align:justify;">However everything installed in system paths was replaced, so I actually lost all my configuration files, along with the web root, including everything stored in my Database (MySQL). The only things saved where those saved under the /home path. Hopefully my Subversion repositories where stored there, so I was actually able to keep them intact.</p>
<p style="text-align:justify;">On thing I have to admit is that it was actually really easier to setup everything from scratch since I already knew where to search for the features I wanted to implement.</p>
<p style="text-align:justify;">Now I am planning to make a tutorial at some point showing the steps to setup everything, but this has to wait till after my exam period is over.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/randomthoughtsgr.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/randomthoughtsgr.wordpress.com/340/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/randomthoughtsgr.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/randomthoughtsgr.wordpress.com/340/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/randomthoughtsgr.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/randomthoughtsgr.wordpress.com/340/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/randomthoughtsgr.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/randomthoughtsgr.wordpress.com/340/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/randomthoughtsgr.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/randomthoughtsgr.wordpress.com/340/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/randomthoughtsgr.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/randomthoughtsgr.wordpress.com/340/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/randomthoughtsgr.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/randomthoughtsgr.wordpress.com/340/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randomthoughtsgr.wordpress.com&amp;blog=2484538&amp;post=340&amp;subd=randomthoughtsgr&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://randomthoughtsgr.wordpress.com/2011/02/08/server-maintenance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/81cf01a2e33f4bfbddb37f43818841e0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Kelsos</media:title>
		</media:content>
	</item>
		<item>
		<title>Studio Ghibli &amp; Level-5: Ni no Kuni</title>
		<link>http://randomthoughtsgr.wordpress.com/2010/06/28/studio-ghibli-level-5-ni-no-kuni/</link>
		<comments>http://randomthoughtsgr.wordpress.com/2010/06/28/studio-ghibli-level-5-ni-no-kuni/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 06:57:10 +0000</pubDate>
		<dc:creator>Kelsos</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[PS3]]></category>
		<category><![CDATA[Playstation3]]></category>
		<category><![CDATA[Studio Ghibli]]></category>

		<guid isPermaLink="false">http://randomthoughtsgr.wordpress.com/?p=325</guid>
		<description><![CDATA[I just checked on Kotaku about a game, collaboration between Studio Ghibli (I am a great fan of their movies) with a Fukoka-based game developer named Level-5. The game is titled Ni no Kuni and it will be released on the PS3. I have to admit that I really like that kind of graphics and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randomthoughtsgr.wordpress.com&amp;blog=2484538&amp;post=325&amp;subd=randomthoughtsgr&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">I just checked on Kotaku about a game, collaboration between Studio Ghibli (I am a great fan of their movies) with a Fukoka-based game developer named Level-5. The game is titled Ni no Kuni and it will be released on the PS3. I have to admit that I really like that kind of graphics and the animation on the video seems pretty smooth and nice. You can check the video <a href="http://kotaku.com/5571557/see-the-trailer-for-ghiblis-ps3-game">here</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/randomthoughtsgr.wordpress.com/325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/randomthoughtsgr.wordpress.com/325/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/randomthoughtsgr.wordpress.com/325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/randomthoughtsgr.wordpress.com/325/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/randomthoughtsgr.wordpress.com/325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/randomthoughtsgr.wordpress.com/325/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/randomthoughtsgr.wordpress.com/325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/randomthoughtsgr.wordpress.com/325/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/randomthoughtsgr.wordpress.com/325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/randomthoughtsgr.wordpress.com/325/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/randomthoughtsgr.wordpress.com/325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/randomthoughtsgr.wordpress.com/325/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/randomthoughtsgr.wordpress.com/325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/randomthoughtsgr.wordpress.com/325/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randomthoughtsgr.wordpress.com&amp;blog=2484538&amp;post=325&amp;subd=randomthoughtsgr&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://randomthoughtsgr.wordpress.com/2010/06/28/studio-ghibli-level-5-ni-no-kuni/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/81cf01a2e33f4bfbddb37f43818841e0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Kelsos</media:title>
		</media:content>
	</item>
		<item>
		<title>WoW: Cataclysm preview special on the MMO Report</title>
		<link>http://randomthoughtsgr.wordpress.com/2010/06/22/wow-cataclysm-preview-special-on-the-mmo-report/</link>
		<comments>http://randomthoughtsgr.wordpress.com/2010/06/22/wow-cataclysm-preview-special-on-the-mmo-report/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 23:51:09 +0000</pubDate>
		<dc:creator>Kelsos</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[World Of Warcraft]]></category>
		<category><![CDATA[Cataclysm]]></category>

		<guid isPermaLink="false">http://randomthoughtsgr.wordpress.com/?p=321</guid>
		<description><![CDATA[There is World of Warcraft: Cataclysm  preview special on the MMO Report. You can find it here. I have to admit that Cataclysm seems a rather interesting expansion up to this point, and I hope it will be interesting on its release.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randomthoughtsgr.wordpress.com&amp;blog=2484538&amp;post=321&amp;subd=randomthoughtsgr&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">There is World of Warcraft: Cataclysm  preview special on the MMO Report. You can find it <a href="http://g4tv.com/videos/46399/The-MMO-Report-Cataclysm-Preview-Special/">here</a>. I have to admit that Cataclysm seems a rather interesting expansion up to this point, and I hope it will be interesting on its release.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/randomthoughtsgr.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/randomthoughtsgr.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/randomthoughtsgr.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/randomthoughtsgr.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/randomthoughtsgr.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/randomthoughtsgr.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/randomthoughtsgr.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/randomthoughtsgr.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/randomthoughtsgr.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/randomthoughtsgr.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/randomthoughtsgr.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/randomthoughtsgr.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/randomthoughtsgr.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/randomthoughtsgr.wordpress.com/321/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randomthoughtsgr.wordpress.com&amp;blog=2484538&amp;post=321&amp;subd=randomthoughtsgr&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://randomthoughtsgr.wordpress.com/2010/06/22/wow-cataclysm-preview-special-on-the-mmo-report/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/81cf01a2e33f4bfbddb37f43818841e0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Kelsos</media:title>
		</media:content>
	</item>
	</channel>
</rss>
