<?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>IT snippets from phd-land</title>
	<atom:link href="http://olezfdtd.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://olezfdtd.wordpress.com</link>
	<description>Another blog with nerdy solutions to nerdy problems</description>
	<lastBuildDate>Wed, 23 Jun 2010 15:55:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='olezfdtd.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>IT snippets from phd-land</title>
		<link>http://olezfdtd.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://olezfdtd.wordpress.com/osd.xml" title="IT snippets from phd-land" />
	<atom:link rel='hub' href='http://olezfdtd.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Useful Linux Scripts</title>
		<link>http://olezfdtd.wordpress.com/2010/06/23/useful-linux-scripts/</link>
		<comments>http://olezfdtd.wordpress.com/2010/06/23/useful-linux-scripts/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 15:55:57 +0000</pubDate>
		<dc:creator>olezfdtd</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://olezfdtd.wordpress.com/?p=92</guid>
		<description><![CDATA[We didn&#8217;t come up with this one, but it&#8217;s a very handy reference guide. In good medieval monastery style, we&#8217;re copying it here in order to safeguard this information for future generations. PS command: The PS command is useful to check for performance problems: 1) Displaying top CPU-consuming processes: ps aux &#124; head -1; ps <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olezfdtd.wordpress.com&amp;blog=12242625&amp;post=92&amp;subd=olezfdtd&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We didn&#8217;t come up with this one, but it&#8217;s a very handy reference guide. In good medieval monastery style, we&#8217;re copying it here in order to safeguard this information for future generations.</p>
<p><strong>PS command</strong>:</p>
<p>The PS command is useful to check for performance problems:</p>
<p>1) Displaying top CPU-consuming processes:</p>
<pre>
ps aux | head -1; ps aux | sort -rn +2 | head -10
</pre>
<p>2) Displaying top 10 memory-consuming processes:</p>
<pre>
ps aux | head -1; ps aux | sort -rn +3 | head
</pre>
<p>3) Displaying process in order of being penalized:</p>
<pre>
ps -eakl | head -1; ps -eakl | sort -rn +5
</pre>
<p>4) Displaying process in order of priority:</p>
<pre>
ps -eakl | sort -n +6 | head
</pre>
<p>5) Displaying process in order of nice value</p>
<pre>
ps -eakl | sort -n +7
</pre>
<p>6) Displaying the process in order of time</p>
<pre>
ps vx | head -1;ps vx | grep -v PID | sort -rn +3 | head -10
</pre>
<p>7) Displaying the process in order of real memory use</p>
<pre>
ps vx | head -1; ps vx | grep -v PID | sort -rn +6 | head -10
</pre>
<p>8) Displaying the process in order of I/O</p>
<pre>
ps vx | head -1; ps vx | grep -v PID | sort -rn +4 | head -10
</pre>
<p>9) Displaying WLM classes</p>
<pre>
ps -a -o pid, user, class, pcpu, pmem, args
</pre>
<p>10) Determinimg process ID of wait processes:</p>
<pre>
ps vg | head -1; ps vg | grep -w wait
</pre>
<p>11) Wait process bound to CPU (replace PID with the actual process number)</p>
<pre>
ps -mo THREAD -p PID
</pre>
<p><strong>lsof Command</strong>:</p>
<p>1) List all open files:</p>
<pre>
lsof
</pre>
<p>2) List all open Internet, x.25 (HP-UX), and UNIX domain files:</p>
<pre>
lsof -i -U
</pre>
<p>3) List all open IPv4 network files in use by the process whose PID is 1234:</p>
<pre>
lsof -i 4 -a -p 1234
</pre>
<p>4) List all files using any protocol on ports 513, 514, or 515 of host wonderland.cc.purdue.edu:</p>
<pre>
lsof -i @wonderland.cc.purdue.edu:513-515
</pre>
<p>5) List all files using any protocol on any port of mace.cc.purdue.edu (cc.purdue.edu is the default domain)::</p>
<pre>
lsof -i @mace
</pre>
<p>6) List all open files for login name &#8220;abe&#8221;, or user ID 1234, or process 456, or process 123, or process 789:</p>
<pre>
lsof -p 456,123,789 -u 1234,abe
</pre>
<p>7) List all open files on device /dev/hd4:</p>
<pre>
lsof /dev/hd4
</pre>
<p>8) Find the process that has /u/abe/foo open:</p>
<pre>
lsof /u/abe/foo
</pre>
<p>9) Send a SIGHUP to the processes that have /u/abe/bar open:</p>
<pre>
kill -HUP `lsof -t /u/abe/bar`
</pre>
<p>10) Find any open file, including an open UNIX domain socket file, with the name /dev/log:</p>
<pre>
lsof /dev/log
</pre>
<p>11) Find processes with open files on the NFS file system named /nfs/mount/point whose server is  inaccessible, and presuming your mount table supplies the device number for /nfs/mount/point:</p>
<pre>
lsof -b /nfs/mount/point
</pre>
<p>12) Do the preceding search with warning messages suppressed:</p>
<pre>
lsof -bw /nfs/mount/point
</pre>
<p>13) Ignore the device cache file:</p>
<pre>
lsof -Di
</pre>
<p>14) Obtain PID and command name field output for each process, file descriptor, file device number, and file inode number for each file of each process:</p>
<pre>
lsof -FpcfDi
</pre>
<p>15) List the files at descriptors 1 and 3 of every process running the lsof command for login ID &#8220;abe&#8221; every 10 seconds:</p>
<pre>
lsof -c lsof -a -d 1 -d 3 -u abe -r10
</pre>
<p>16) List the current working directory of processes running a command that is exactly four characters long and has an  `o` or `O` in character three with this regular expression form of the -c c option:</p>
<pre>
lsof -c /^..o.$/i -a -d cwd
</pre>
<p>17) Find an IP version 4 socket file by its associated numeric dot-form address:</p>
<pre>
lsof -i@128.210.15.17
</pre>
<p>18) Display list of open ports:</p>
<pre>
lsof -i
</pre>
<p>19) List information about TCP sessions on your server (specifically SSH in this example):</p>
<pre>
lsof -i tcp@`hostname`:22
</pre>
<p>20) List information about all TCP session:</p>
<pre>
lsof -i tcp@`hostname`
</pre>
<p>21) List information about all sockets using port 53 (will display named information on UDP/TCP)</p>
<pre>
lsof -i @`hostname`:53
</pre>
<p>22) List information about all UDP sessions</p>
<pre>
lsof -i udp@`hostname`
</pre>
<p>23) List all open files with &#8220;ssh&#8221; in them:</p>
<pre>
lsof -c ssh
</pre>
<p>24) List everything but with UIDs insted of the UID name from /etc/passwd:</p>
<pre>
lsof -l
</pre>
<p>25) List all open files with &#8220;ssh&#8221; and only the UIDs:</p>
<pre>
lsof -l -c ssh
</pre>
<p>26) List all open files for the /tmp dir. Very slow, but good for finding that nasty process that&#8217;s holding a file open (although:  fuser -m /tmp, will do the same thing):</p>
<pre>
lsof +D /tmp
</pre>
<p><strong>fuser and netstat Commands</strong>:</p>
<p>1) Kill all processes accessing the file system /home in any way:</p>
<pre>
fuser -km /home
</pre>
<p>2) Invoke something if no other process is using /dev/ttyS1:</p>
<pre>
if fuser -s /dev/ttyS1; then :; else something; fi
</pre>
<p>3) Some Important Command to find DDOS Attack:</p>
<pre>
fuser telnet/tcp shows all processes at the (local) TELNET port.
</pre>
<pre>
netstat -anp |grep 'tcp\|udp' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
</pre>
<pre>
netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -nr
</pre>
<pre>
netstat -ntu | grep -v TIME_WAIT | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -nr
</pre>
<pre>
netstat -an | grep :80 | awk '{print $5}' | cut -f1 -d":" | sort | uniq -c | sort -n
</pre>
<p>4) netstat command example:</p>
<pre>
netstat –listen
</pre>
<p>5) Display open ports and established TCP connections:</p>
<pre>
netstat -vatn
</pre>
<p>6) For UDP port try following command:</p>
<pre>
netstat -vaun
</pre>
<p>7) If you want to see FQDN then remove -n flag:</p>
<pre>
# netstat -vat
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/olezfdtd.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/olezfdtd.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/olezfdtd.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/olezfdtd.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/olezfdtd.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/olezfdtd.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/olezfdtd.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/olezfdtd.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/olezfdtd.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/olezfdtd.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/olezfdtd.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/olezfdtd.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/olezfdtd.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/olezfdtd.wordpress.com/92/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olezfdtd.wordpress.com&amp;blog=12242625&amp;post=92&amp;subd=olezfdtd&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://olezfdtd.wordpress.com/2010/06/23/useful-linux-scripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/65f34df37124d3b0c1e789e1968042d2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">olezfdtd</media:title>
		</media:content>
	</item>
		<item>
		<title>Fix matlab and latex file associations on KDE</title>
		<link>http://olezfdtd.wordpress.com/2010/05/11/fix-matlab-and-latex-file-associations-on-kde/</link>
		<comments>http://olezfdtd.wordpress.com/2010/05/11/fix-matlab-and-latex-file-associations-on-kde/#comments</comments>
		<pubDate>Tue, 11 May 2010 12:17:32 +0000</pubDate>
		<dc:creator>olezfdtd</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[comment]]></category>
		<category><![CDATA[file association]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[latex]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[matlab]]></category>
		<category><![CDATA[mime]]></category>

		<guid isPermaLink="false">http://olezfdtd.wordpress.com/?p=87</guid>
		<description><![CDATA[KDE (and linux) in general has a very elaborate system of guessing the file type of your file, that depends on both the file extension and the file contents. In 99% of the cases these rules work, unfortunately the other 1% has been annoying me for quite some time. If you create a matlab m-file <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olezfdtd.wordpress.com&amp;blog=12242625&amp;post=87&amp;subd=olezfdtd&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>KDE (and linux) in general has a very elaborate system of guessing the file type of your file, that depends on both the file extension and the file contents. In 99% of the cases these rules work, unfortunately the other 1% has been annoying me for quite some time.<br />
If you create a matlab m-file that starts with comments (% some comment), KDE will think the file is a latex file and insist on opening it with a dedicated latex editor.<br />
This behaviour can be changed by modifying the mime type definitions.<br />
Open <code>/usr/share/mime/packages/freedesktop.org.xml</code> in your favourite text editor as root.<br />
Find the node <code>&lt;mime-type type="text/x-tex"&gt;</code>. This will have a subnode that looks like:</p>
<pre>
&lt;magic priority="10"&gt;
   &lt;match value="%" type="string" offset="0"/&gt;
&lt;/magic&gt;
</pre>
<p>Change the priority to something smaller than 10, so it has a lower priority than the matlab magic rule.<br />
Now run</p>
<pre>
sudo update-mime-database /usr/share/mime
</pre>
<p>And that&#8217;s it. KDE will now see all your m-files as matlab scripts even if they start with a comment.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/olezfdtd.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/olezfdtd.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/olezfdtd.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/olezfdtd.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/olezfdtd.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/olezfdtd.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/olezfdtd.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/olezfdtd.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/olezfdtd.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/olezfdtd.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/olezfdtd.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/olezfdtd.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/olezfdtd.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/olezfdtd.wordpress.com/87/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olezfdtd.wordpress.com&amp;blog=12242625&amp;post=87&amp;subd=olezfdtd&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://olezfdtd.wordpress.com/2010/05/11/fix-matlab-and-latex-file-associations-on-kde/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/65f34df37124d3b0c1e789e1968042d2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">olezfdtd</media:title>
		</media:content>
	</item>
		<item>
		<title>Import latex formulas into inkscape</title>
		<link>http://olezfdtd.wordpress.com/2010/05/07/import-latex-formulas-into-inkscape/</link>
		<comments>http://olezfdtd.wordpress.com/2010/05/07/import-latex-formulas-into-inkscape/#comments</comments>
		<pubDate>Fri, 07 May 2010 16:42:01 +0000</pubDate>
		<dc:creator>olezfdtd</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[acrobat professional]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[inkscape]]></category>
		<category><![CDATA[latex]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[text to path]]></category>
		<category><![CDATA[vector image]]></category>

		<guid isPermaLink="false">http://olezfdtd.wordpress.com/2010/05/07/import-latex-formulas-into-inkscape/</guid>
		<description><![CDATA[Getting nice looking formulas in your presentations / posters is always a problem. Latex is great at producing nice looking formulas and text, but for presentations and posters it&#8217;s not really equipped. You could however write your formulas in a latex document, then import the pdf into inkscape and cut out the formulas. Unfortunately, inkscape <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olezfdtd.wordpress.com&amp;blog=12242625&amp;post=85&amp;subd=olezfdtd&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Getting nice looking formulas in your presentations / posters is always a problem. Latex is great at producing nice looking formulas and text, but for presentations and posters it&#8217;s not really equipped.</p>
<p>You could however write your formulas in a latex document, then import the pdf into inkscape and cut out the formulas. Unfortunately, inkscape will insist on treating your formulas as text, and mess them up in the process.<br />
With a minor sidestep to acrobat professional we can get around this in five easy steps:</p>
<p>1. Open the pdf in acrobat professional.<br />
2. Add a watermark using Document -&gt; Watermark -&gt; add. Set its opacity to 0%<br />
3. Open advanced -&gt; Printing Production -&gt; Flattener Preview<br />
4. Check &#8220;convert text to paths&#8221; and hit apply<br />
5. Save your pdf</p>
<p>The text has now been converted to a vector drawing, and can now be imported into inkscape without problems.<br />
If you don&#8217;t add the watermark in acrobat professional, it&#8217;ll just ignore the &#8220;convert text to paths&#8221; option (don&#8217;t ask why). This trick can be used to import any fancy formatted text without running into font problems. (You do lose the ability to edit the actual text though)</p>
<p>Enjoy your nicely formatted formulas in your presentations / posters</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/olezfdtd.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/olezfdtd.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/olezfdtd.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/olezfdtd.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/olezfdtd.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/olezfdtd.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/olezfdtd.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/olezfdtd.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/olezfdtd.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/olezfdtd.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/olezfdtd.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/olezfdtd.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/olezfdtd.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/olezfdtd.wordpress.com/85/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olezfdtd.wordpress.com&amp;blog=12242625&amp;post=85&amp;subd=olezfdtd&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://olezfdtd.wordpress.com/2010/05/07/import-latex-formulas-into-inkscape/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/65f34df37124d3b0c1e789e1968042d2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">olezfdtd</media:title>
		</media:content>
	</item>
		<item>
		<title>Mendeley and KDE</title>
		<link>http://olezfdtd.wordpress.com/2010/04/30/mendeley-and-kde/</link>
		<comments>http://olezfdtd.wordpress.com/2010/04/30/mendeley-and-kde/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 15:54:23 +0000</pubDate>
		<dc:creator>olezfdtd</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[external]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Mendeley]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[reference software]]></category>

		<guid isPermaLink="false">http://olezfdtd.wordpress.com/2010/04/30/mendeley-and-kde/</guid>
		<description><![CDATA[Mendeley is a very convenient bibliography tool. It keeps track of all your references, you can easily import from tons of sites and it backs up your collection on their servers. It also works on all major operating systems thanks to the Qt library. Their latest builds had a bug on KDE systems though: you <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olezfdtd.wordpress.com&amp;blog=12242625&amp;post=82&amp;subd=olezfdtd&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mendeley.com">Mendeley</a> is a very convenient bibliography tool. It keeps track of all your references, you can easily import from tons of sites and it backs up your collection on their servers. It also works on all major operating systems thanks to the Qt library.</p>
<p>Their latest builds had a bug on KDE systems though: you can&#8217;t open a pdf in an external viewer, which is rather annoying because the internal one is rather limited.</p>
<p>Now it appears that you can solve this bug by remove the Qt library files that come with the mendeley installation. Just add .bak to all files that have &#8220;Qt&#8221; in their name in the mendeley install folder.<br />
Mendeley will now use your systems Qt libraries and &#8220;open in external viewer&#8221; will work. As an added benefit Mendeley will now also better integrate in your desktop visualy.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/olezfdtd.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/olezfdtd.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/olezfdtd.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/olezfdtd.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/olezfdtd.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/olezfdtd.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/olezfdtd.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/olezfdtd.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/olezfdtd.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/olezfdtd.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/olezfdtd.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/olezfdtd.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/olezfdtd.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/olezfdtd.wordpress.com/82/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olezfdtd.wordpress.com&amp;blog=12242625&amp;post=82&amp;subd=olezfdtd&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://olezfdtd.wordpress.com/2010/04/30/mendeley-and-kde/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/65f34df37124d3b0c1e789e1968042d2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">olezfdtd</media:title>
		</media:content>
	</item>
		<item>
		<title>Install gitorious on your own Fedora 11 server</title>
		<link>http://olezfdtd.wordpress.com/2010/04/22/install-gitorious-on-your-own-fedora-11-server/</link>
		<comments>http://olezfdtd.wordpress.com/2010/04/22/install-gitorious-on-your-own-fedora-11-server/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 13:51:38 +0000</pubDate>
		<dc:creator>olezfdtd</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[11]]></category>
		<category><![CDATA[activemq]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[gitorious]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[local]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[private]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[subfolder]]></category>
		<category><![CDATA[suburi]]></category>

		<guid isPermaLink="false">http://olezfdtd.wordpress.com/?p=51</guid>
		<description><![CDATA[We wanted to have a code repository that can be browsed from the web. We have chosen to install open source gitorious: http://www.gitorious.org. Unfortunately there are no ready made packages, nor is there an extensive amount of documentation on how to get it running. This guide is heavily based on the excellent tutorial by cjohansen <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olezfdtd.wordpress.com&amp;blog=12242625&amp;post=51&amp;subd=olezfdtd&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We wanted to have a code repository that can be browsed from the web. We have chosen to install open source gitorious: <a href="http://www.gitorious.org">http://www.gitorious.org</a>. Unfortunately there are no ready made packages, nor is there an extensive amount of documentation on how to get it running.</p>
<p>This guide is heavily based on the excellent <a href="http://cjohansen.no/en/ruby/setting_up_gitorious_on_your_own_server">tutorial by cjohansen for ubuntu/debian</a>.<br />
We have just modified it to work with the fedora package manager and the fedora way of configuring/running services.</p>
<p>This is by no means a definitive guide: we didn&#8217;t start from a blank server and we didn&#8217;t double check everything, so we&#8217;re not responsible if your server blows up. These are just the steps we took to get it running on our fedora 11 machine. We already had a working apache and mysql server, so we&#8217;re not covering those steps. There are plenty of tutorials available online. When in doubt check the cjohansen tutorial or perform some extra googling.</p>
<p>First a small overview of the bits and pieces that you need to get working:</p>
<ol>
<li>A rails application gitorious that serves the website</li>
<li>A git daemon that allows people to pull (but not push) code from the repos using the git port</li>
<li>A messaging system that performs tasks that would take too long if they were handled by the webserver</li>
<li>A poller daemon that actually performs the tasks the messaging system serves</li>
<li>A search daemon</li>
</ol>
<p>It&#8217;s a very long guide, so here is the table of contents, listing all the steps:</p>
<ol>
<li><a href="#section1">Installing required packages</a></li>
<li><a href="#section2">ActiveMQ Messaging Server</a></li>
<li><a href="#section3">Memcache</a></li>
<li><a href="#section4">Installing The Gitorious Code</a></li>
<li><a href="#section5">Configure the git-daemon and git-ultrasphinx services</a></li>
<li><a href="#section6">Installing Gems And Working Folders</a></li>
<li><a href="#section7">Configuring The Gitorious Script</a></li>
<li><a href="#section8">Configuring The MySQL Database</a></li>
<li><a href="#section9">Start All The Services</a></li>
<li><a href="#section10">Test The Gitorious Server</a></li>
<li><a href="#section11">Migrate The Gitorious Server To Apache</a></li>
<li><a href="#section12">Extra: Running Gitorious In A Sub Folder</a></li>
<li><a href="#section13">Hints</a></li>
</ol>
<p>Enough chatter, on to the real stuff. All commands are run as root, unless otherwise mentioned.</p>
<p id="section1"><b>Installing required packages</b></p>
<p>Begin with installing some required packages<br />
Gitorious is a web based hosting service for git based projects, so obviously, we need git</p>
<pre>
yum install git git-svn
</pre>
<p>Some other useful packages. Gitorious reminds you of special events by mail, so you will need sendmail.</p>
<pre>
yum install apg pcre pcre-devel sendmail zlib zlib-devel
</pre>
<p>Fedora configures the sendmail service, but doesn&#8217;t start it automatically, so let&#8217;s do that now:</p>
<pre>
service sendmail start
</pre>
<p>Gitorious is written in ruby.</p>
<pre>
yum install ruby ruby-devel ruby-ri ruby-rdoc ruby-irb
</pre>
<p>Some extra dependencies:</p>
<pre>
yum install oniguruma-devel libyaml-devel GeoIP-devel
</pre>
<pre>
yum install ImageMagick-devel ruby-RMagick
</pre>
<p>Allows gitorious to access a mysql database:</p>
<pre>
yum install mysql-devel ruby-mysql
</pre>
<p>Sphinx is the search daemon gitorious uses. Gems is a way to install ruby &#8220;packages&#8221;. It&#8217;s also the reason why gitorious is so difficult to package for fedora or debian.</p>
<pre>
yum install rubygems sphinx
gem install ultrasphinx --no-ri --no-rdoc
</pre>
<p id="section2"><b>ActiveMQ Messaging Server</b></p>
<p>We need this to run the ActiveMQ messaging server</p>
<pre>
yum install java-1.6.0-openjdk
</pre>
<p>Download the ActiveMQ source from the apache website (you can get a newer version if you like by modifying the url). Then extract it into /usr/local/ to install it.</p>
<pre>
cd /tmp
wget http://www.powertech.no/apache/dist/activemq/apache-activemq/5.2.0/apache-activemq-5.2.0-bin.tar.gz
tar xzvf apache-activemq-5.2.0-bin.tar.gz  -C /usr/local/
</pre>
<p>Make the user that will run the ActiveMQ messaging server. Give it ownership over the ActiveMQ data folder, so it can modify the required files.</p>
<pre>
adduser --system --no-create-home activemq
chown -R activemq /usr/local/apache-activemq-5.2.0/data
</pre>
<p>Now let us configure the ActiveMQ daemon.</p>
<pre>
nano -w /usr/local/apache-activemq-5.2.0/conf/activemq.xml
</pre>
<p>Find the the networkconnectors tag and change it into:</p>
<pre>
 &lt;!-- The store and forward broker networks ActiveMQ will listen to --&gt;
 &lt;networkConnectors&gt;
   &lt;!-- by default just auto discover the other brokers --&gt;
   &lt;!--  --&gt;
   &lt;!-- Example of a static configuration: --&gt;
   &lt;networkConnector name="localhost" uri="static://tcp://127.0.0.1:61616"/&gt;
&lt;/networkConnectors&gt;
</pre>
<p>Then, change the management context tag to:</p>
<pre>
&lt;!-- Use the following to configure how ActiveMQ is exposed in JMX --&gt;
&lt;managementContext&gt;
    &lt;managementContext createConnector="true"/&gt;
&lt;/managementContext&gt;
</pre>
<p>By default ActiveMQ tries to use SSL. This didn&#8217;t work for us. Edit the bin/activemq macro to disable it:</p>
<pre>
if [ -z "$SUNJMX" ] ; then
  SUNJMX="-Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"
  #SUNJMX="-Dcom.sun.management.jmxremote"
fi
</pre>
<p>Now that ActiveMQ is configured, we need to make it a service that runs in the background and starts up at boot.</p>
<p>Create the scripts that start and stop ActiveMQ:</p>
<pre>
cd /usr/local/apache-activemq-5.2.0
touch activemqstart.sh
touch activemqstop.sh
</pre>
<p>Add following to activemqstart.sh</p>
<pre>
#!/bin/bash
export JAVA_HOME=/usr/lib/jvm/jre-1.6.0-openjdk.x86_64
/usr/local/apache-activemq-5.2.0/bin/activemq-admin start &amp;
</pre>
<p>Add following to activemqstop.sh</p>
<pre>
#!/bin/bash
export JAVA_HOME=/usr/lib/jvm/jre-1.6.0-openjdk.x86_64
/usr/local/apache-activemq-5.2.0/bin/activemq-admin stop
</pre>
<p>Make these files executable</p>
<pre>
chmod +x activemqstart.sh
chmod +x activemqstop.sh
</pre>
<p>Now create the ActiveMQ service file:</p>
<pre>
cd /etc/init.d
touch activemq
</pre>
<p>Add this to activemq:</p>
<pre>
#!/bin/bash
#
# activemq       Starts ActiveMQ.
#
#
# chkconfig: 345 88 12
# description: ActiveMQ is a JMS Messaging Queue Server.
### BEGIN INIT INFO
# Provides: $activemq
### END INIT INFO

# Source function library.
. /etc/init.d/functions

[ -f /usr/local/apache-activemq-5.2.0/activemqstart.sh ] || exit 0
[ -f /usr/local/apache-activemq-5.2.0/activemqstop.sh ] || exit 0

RETVAL=0

umask 077

start() {
       echo -n $"Starting ActiveMQ: "
       daemon /usr/local/apache-activemq-5.2.0/activemqstart.sh
       echo
       return $RETVAL
}
stop() {
       echo -n $"Shutting down ActiveMQ: "
       daemon su -c /usr/local/apache-activemq-5.2.0/activemqstop.sh activemq
       echo
       return $RETVAL
}
restart() {
       stop
       start
}
case "$1" in
 start)
       start
       ;;
 stop)
       stop
       ;;
 restart|reload)
       restart
       ;;
 *)
       echo $"Usage: $0 {start|stop|restart}"
       exit 1
esac

exit $?
</pre>
<p>Make this file executable. Add it to the system as a service and then configure it so it starts up at boot:</p>
<pre>
chmod +x activemq
chkconfig --add activemq
chkconfig --levels 2345 activemq on
</pre>
<p>ActiveMQ can now be started using:</p>
<pre>
service activemq start
</pre>
<p id="section3"><b>Memcache</b></p>
<p>Install, configure and start the memcache service for better performance:</p>
<pre>
yum install memcached
chkconfig --levels 2345 memcached on
service memcached start
</pre>
<p id="section4"><b>Installing The Gitorious Code</b></p>
<p>Now that the required services are installed and running we can get on with installing the actual gitorious code.<br />
Make a user git and group gitorious. Add the user git to the group gitorious.</p>
<pre>
adduser git --disabled-password
groupadd gitorious
usermod -a -G gitorious git
</pre>
<p>Make the folders that will hold the gitorious installation:</p>
<pre>
mkdir /var/www/git.myserver.com
chown git:gitorious /var/www/git.myserver.com
chmod -R g+sw /var/www/git.myserver.com
</pre>
<p>Get the latest and greatest gitorious code as the git user:</p>
<pre>
su - git
cd /var/www/git.myserver.com
mkdir log
mkdir conf
git clone git://gitorious.org/gitorious/mainline.git gitorious
</pre>
<p>Still as the git user, remove the .htaccess file (we&#8217;ll configure this later ourselves) and make some extra directories:</p>
<pre>
cd gitorious/
rm public/.htaccess
mkdir -p tmp/pids
</pre>
<p>Back as root, make sure the gitorious script (which allows users to push code into gitorious) is available as a system command, by symbolic linking it to /usr/local/bin<br />
Then make all gitorious scripts executable and configure some extra permissions:</p>
<pre>
su root
ln -s /var/www/git.myserver.com/gitorious/script/gitorious /usr/local/bin/gitorious
chmod ug+x script/*
chmod -R g+w config/ log/ public/ tmp/
</pre>
<p id="section5"><b>Configure the git-daemon and git-ultrasphinx services</b></p>
<p>The next few steps need to be performed as the git user again.<br />
Edit the git-daemon service in /var/www/git.myserver.com/gitorious/doc/templates/ubuntu/git-daemon:</p>
<pre>
GIT_DAEMON="/usr/bin/ruby /var/www/git.myserver.com/gitorious/script/git-daemon -d"
PID_FILE=/var/www/git.myserver.com/gitorious/log/git-daemon.pid
</pre>
<p>Then edit the git-daemon script /var/www/git.myserver.com/gitorious/script/git-daemon<br />
Find the line that says host = 0.0.0.0 and replace it with git.myserver.com (line 265 in our case). Do not use localhost or the daemon won&#8217;t listen to external calls.</p>
<p>Now link the git-daemon service and the sphinx service to init.d (as root)</p>
<pre>
ln -s \
  /var/www/git.myserver.com/gitorious/doc/templates/ubuntu/git-ultrasphinx \
  /etc/init.d/git-ultrasphinx
ln -s \
  /var/www/git.myserver.com/gitorious/doc/templates/ubuntu/git-daemon \
  /etc/init.d/git-daemon
</pre>
<p>Make both files executable and configure them to start up on boot:</p>
<pre>
chmod +x /etc/init.d/git-ultrasphinx
chmod +x /etc/init.d/git-daemon
chkconfig --levels 2345 git-daemon on
chkconfig --levels 2345 git-ultrasphinx on
</pre>
<p id="section6"><b>Installing Gems And Working Folders</b></p>
<p>Gitorious uses a ton of gems, so lets install some more of them</p>
<pre>
gem install --no-ri --no-rdoc rails mongrel mime-types textpow chronic ruby-hmac daemons mime-types oniguruma BlueCloth ruby-yadis ruby-openid geoip rspec rspec-rails RedCloth echoe
</pre>
<p>Make some working directories the directory that will hold the git repositories hosted in gitorious. These need to be owned by the git user:</p>
<pre>
su git
mkdir /var/git
mkdir /var/git/repositories
mkdir /var/git/tarballs
mkdir /var/git/tarball-work
chown -R git:git /var/git
</pre>
<p>Gitorious uses the authorized_keys file from the git user to identify users trying to push code. We need to make sure this file exists and has the right permissions</p>
<pre>
su git
mkdir ~/.ssh
chmod 700 ~/.ssh
touch ~/.ssh/authorized_keys
</pre>
<p id="section7"><b>Configuring The Gitorious Script</b></p>
<p>Still as the git user: create the configuration files from the supplied templates:</p>
<pre>
cd /var/www/git.myserver.com/gitorious
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>Before we continue a small word about ruby/rails. This language works with the concept of environments. Basically this means that you can use different configurations for different purposes. Gitorious uses 3 configurations: development, testing and production. You can specify different settings for each of these environments. A different database for each environment will make sure you don&#8217;t mess up your live production database when testing new code. Unfortunately not all gitorious scripts default to running in the same environment, some will run in development others in production, which will result in incomplete or conflicting settings and tons of error messages. It&#8217;s not unlike user permission madness. We are not interesting in hacking on gitorious, just running the system so we will be working on the production environment. To avoid problems always explicitly specify the production environment for each ruby command you run.</p>
<p>Now that the disclaimer is out of the way, we can start editing the config files.<br />
In the gitorious.yml we need to store a secret, so lets create one first. Copy it, make sure it&#8217;s all on one line and keep it somewhere ready to paste:</p>
<pre>
apg -m 64
</pre>
<p>Below we&#8217;ll print an example gitorious.yml file. The original gitorious.sample.yml contains explanations about all the various entries. An important line to notice is the gitorious_client_host line. We&#8217;re running this from apache so it says port 80. Later in the tutorial we&#8217;ll run the production environment from mongrel for testing. This one always runs on port 3000. So this line needs to be 3000 then. Later on when you migrate to apache change it back to 80.</p>
<pre>
production:
  cookie_secret: paste_the_cookie_secret_you_made_here
  repository_base_path: "/var/git/repositories"
  extra_html_head_data:
  system_message:
  gitorious_client_port: 80
  gitorious_client_host: git.myserver.com
  gitorious_host: git.myserver.com
  gitorious_user: git
  exception_notification_emails: youradmin AT yourserver
  mangle_email_addresses: true
  public_mode: false
  locale: en
  archive_cache_dir: "/var/git/tarballs"
  archive_work_dir: "/var/git/tarball-work"
  only_site_admins_can_create_projects: false
  hide_http_clone_urls: false
  is_gitorious_dot_org: false
</pre>
<p id="section8"><b>Configuring The MySQL Database</b></p>
<p>Edit config/database.yml by setting your favourite user names, passwords and database names. Afterwards create mysql stuff you just entered into config/database.yml:</p>
<pre>
mysql -uroot -p
&gt; create database gitorious;
&gt; create database gitorious_test;
&gt; create database gitorious_dev;
&gt; grant all privileges on gitorious.* to YOURUSER@localhost \
    identified by 'YOURPASSWORD';
&gt; grant all privileges on gitorious_test.* to YOURUSER@localhost;
&gt; grant all privileges on gitorious_dev.* to YOURUSER@localhost;
</pre>
<p>Once this is done, we can install some remaining gems (which I think autoconfigure themselves using some of the settings we&#8217;ve already made). You need to run this as root from the right folder to work!</p>
<pre>
su root
cd /var/www/git.myserver.com
rake gems:install
</pre>
<p>Configure the ruby scripts to work with your mysql configuration (mind your environment settings!):</p>
<pre>
su git
cd /var/www/git.myserver.com/gitorious
rake db:migrate RAILS_ENV=production
</pre>
<p>Create the admin user of the gitorious installation on the gitorious console (which is just a front for the mysqel console)</p>
<pre>
RAILS_ENV=production script/console
&gt; user = User.first
&gt; user.login = "git" # Change to your desired username
&gt; user.activate
&gt; user.accept_terms
&gt; user.save
</pre>
<p>Other fun commands for the console you might want to use later on are user = User.find_by_login &#8220;user_login&#8221; and user.destroy to remove users from the database.</p>
<p>The database is now more or less set up. It&#8217;s time to configure the sphinx search daemon.<br />
Edit /var/www/git.myserver.com/gitorious/config/ultrasphinx/default.base and replace 0.0.0.0 with localhost.</p>
<p>Next load these configurations into the ruby files</p>
<pre>
cd /var/www/git.myserver.com/gitorious
rake ultrasphinx:bootstrap RAILS_ENV=production
</pre>
<p>Set the permissions again, just to make sure:</p>
<pre>
su root
cd /var/www/git.myserver.com/gitorious
chown -R git:gitorious config/environment.rb script/poller log tmp
chmod -R g+w config/environment.rb script/poller log tmp
chmod ug+x script/poller
</pre>
<p id="section9"><b>Start All The Services</b></p>
<p>Time to start the activemq server:</p>
<pre>
service activemq start
</pre>
<p>Start the git-daemon:</p>
<pre>
env RAILS_ENV=production /etc/init.d/git-daemon start
</pre>
<p>Test the poller daemon:</p>
<pre>
su git -c "cd /var/www/git.myserver.com/gitorious &amp;&amp; env RAILS_ENV=production script/poller run"
</pre>
<p>Let it run for a few minutes. If you see no errors, ctrl+c the command and daemonize the process by running:</p>
<pre>
env RAILS_ENV=production script/poller start
</pre>
<p>Gitorious has a habbit of running as much as possible over ssl. This gives us problems with the login, so we&#8217;re going to disable this on our local install by adding the following to config/environments/production.rb (you might want to get this running on larger deployments)</p>
<pre>
SslRequirement.disable_ssl_check = true
</pre>
<p id="section10"><b>Test The Gitorious Server</b></p>
<p>Everything is now configured. We&#8217;re going to test our gitorious install by running it in mongrel, a ruby webserver before migrating it to apache. This command always seems to run gitorious on port 3000 no matter what you have specified elsewhere. Like we mentioned before, this means that you have to specify gitorious_client_port 3000 in config/gitorious.yml for now.</p>
<pre>
su git -c "cd /var/www/git.myserver.com/gitorious &amp;&amp; script/server -e production"
</pre>
<p>Open up a browser and surf to http://git.myserver.com:3000 and login using the gitorious admin account we created earlier in the gitorious console.</p>
<p>Gitorious uses your public ssh key to link your push request to a gitorious account. Go to the computer that you&#8217;ll be using to push code to gitorious. If you don&#8217;t already have a public ssh key run:</p>
<pre>
ssh-keygen
</pre>
<p>to generate one. Now do</p>
<pre>
cat .ssh/id_rsa.pub
</pre>
<p>and copy the output. Go to git.myserver.com:3000/~adminusernamehere/keys/new (where you substitute adminusernamehere for the admin user you logged in as). Paste the public key into the box and hit ok. Wait a minute or two and then refresh. The key should say &#8220;ready&#8221;. If it doesn&#8217;t after 2 minutes, delete the current one and try again; for some reason this doesn&#8217;t always work the first time.</p>
<p>The permissions on .ssh folder of the user uploading to gitorious are extremely important:</p>
<pre>
chmod 700 ~/.ssh
chmod 600 ~/.ssh/*
</pre>
<p>Now try to pull a dumy repository to your workmachine and push some content to gitorious.</p>
<p id="section11"><b>Migrate The Gitorious Server To Apache</b></p>
<p>If all the the previous things work, we can migrate our gitorious install from mongrel to apache.<br />
We need the passenger apache modules to run ruby/rails on apache</p>
<pre>
su root
gem install passenger
passenger-install-apache2-module
</pre>
<p>Follow the installers instructions. If some bits and pieces are missing it will tell you. In our case we needed to install httpd-devel first</p>
<pre>
yum install httpd-devel
</pre>
<p>The last part is to set up a virtual host in apache to show the gitorious server.</p>
<pre>
cd /etc/httpd/conf.d
nano -w gitorious.conf
</pre>
<p>gitorious.conf:</p>
<pre>
NameVirtualHost git.myserver.com

&lt;VirtualHost git.myserver.com&gt;
        ServerName git.myserver.com
        DocumentRoot /var/www/git.myserver.com/gitorious/public
        ErrorLog /var/www/git.myserver.com/log/error.log
        CustomLog /var/www/git.myserver.com/log/access.log combined
&lt;/VirtualHost&gt;
</pre>
<p>Restart apache and you&#8217;re done!</p>
<pre>
service httpd restart
</pre>
<p id="section12"><b>Extra: Running Gitorious In A Sub Folder</b></p>
<p>The tutorial assumes that you will run gitorious on it&#8217;s own domain: git.myserver.com<br />
In some cases you might want to run it in a subfolder, because you have other services running: myserver.com/git<br />
This isn&#8217;t officially supported, but with some minor hacks you can easily get it done.</p>
<p>First make a /etc/httpd/conf.d/gitorious.conf with just the following content:</p>
<pre>
RailsBaseURI /git
</pre>
<p>This tells passenger that the subfolder git contains a rails app. Otherwise you just get a directory listing.</p>
<p>Next put a symbolic link of the public folder of gitorious into the html folder:</p>
<pre>
ln -s /var/www/git.myserver.com/gitorious/public /var/www/html/git
</pre>
<p>Now restart apache</p>
<pre>
service httpd restart
</pre>
<p>Normally this should be enough, but since the gitorious supposes you run at the domain root, you need to manually change a few lines.<br />
Open /var/www/git.myserver.com/gitorious/public/stylesheets/base.css and replace all url(/images/whatever.jpg) with url(&#8220;../images/whatever.jpg&#8221;) (there are not too many).<br />
Next open /var/www/git.myserver.com/gitorious/app/helpers/application_helper.rb<br />
and on line 173 put git/ before images/default.gif (where git is the subdomain you&#8217;re running gitorious in)</p>
<p>And finally a very very ugly hack: in gitorious/lib/gitorious/ssh/client.rb change line 91 to:</p>
<pre>
query_url = "git/#{@project_name}/#{@repository_name}/config"
</pre>
<p>That should make gitorious play nice in a subfolder. These hacks are not very pretty and your install will probably break on an upgrade, so make sure you have a backup ready.</p>
<p id="section13"><b>Hints</b></p>
<ul>
<li>You can restart the gitorious app by doing (so you don&#8217;t need to restart the entire apache server)
<pre>
touch /var/www/git.myserver.com/gitorious/tmp/restart.txt
</pre>
</li>
<li>To get the times right in your install, set the timezone in config/environment.rb by changing the line
<pre>
config.time_zone = 'UTC'
</pre>
<p>to</p>
<pre>
config.time_zone = 'Your_City_Here'
</pre>
<p>find out the usable values by running</p>
<pre>
rake time:zones:local
</pre>
<p> in /var/www/git.myserver.com/gitorious
</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/olezfdtd.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/olezfdtd.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/olezfdtd.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/olezfdtd.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/olezfdtd.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/olezfdtd.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/olezfdtd.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/olezfdtd.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/olezfdtd.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/olezfdtd.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/olezfdtd.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/olezfdtd.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/olezfdtd.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/olezfdtd.wordpress.com/51/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olezfdtd.wordpress.com&amp;blog=12242625&amp;post=51&amp;subd=olezfdtd&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://olezfdtd.wordpress.com/2010/04/22/install-gitorious-on-your-own-fedora-11-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/65f34df37124d3b0c1e789e1968042d2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">olezfdtd</media:title>
		</media:content>
	</item>
		<item>
		<title>Extending latex memory</title>
		<link>http://olezfdtd.wordpress.com/2010/03/16/extending-latex-memory/</link>
		<comments>http://olezfdtd.wordpress.com/2010/03/16/extending-latex-memory/#comments</comments>
		<pubDate>Tue, 16 Mar 2010 14:29:05 +0000</pubDate>
		<dc:creator>olezfdtd</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[latex]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[livetex]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[miktex]]></category>
		<category><![CDATA[pgfplots]]></category>
		<category><![CDATA[texmf.cnf]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://olezfdtd.wordpress.com/?p=33</guid>
		<description><![CDATA[Latex is a very powerful typesetting application. A powerful package to be used with this is pgfplots, which allows you to render your plots using the latex engine. Unfortunately the default latex settings assume you&#8217;re running latex on an ancient 20 MHz 486 with less ram than your average mobile phone. This is ok if <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olezfdtd.wordpress.com&amp;blog=12242625&amp;post=33&amp;subd=olezfdtd&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Latex is a very powerful typesetting application. A powerful package to be used with this is pgfplots, which allows you to render your plots using the latex engine. Unfortunately the default latex settings assume you&#8217;re running latex on an ancient 20 MHz 486 with less ram than your average mobile phone. This is ok if you&#8217;re just asking it to process text, but if you&#8217;re using pgfplots it will run out of memory trying to draw your images.</p>
<p>The solution is to increase the amount of memory latex uses.</p>
<p><b>Windows &#8211; Miktex</b><br />
We&#8217;re doing this in the windows command line. You can get to this by opening the start menu and do <code>run ...</code>. Type <code>cmd</code> to start the terminal. On vista and up, you can just type <code>cmd</code> in the search field.</p>
<ol>
<li>Go the folder where Miktex is installed. Most likely this is <code>C:\Program Files\Miktex 2.7\</code></li>
<li>Go to the subfolder <code>Miktex</code></li>
<li>Go to the subfolder <code>bin</code></li>
<li>run
<pre>
initexmf --edit-config-file=pdflatex
</pre>
<p>Replace <code>pdflatex</code> with <code>latex</code> or <code>xetex</code> if you&#8217;re using that.</li>
<li>You&#8217;ll get a notepad screen with a file called <code>pdflatex.ini</code>. Add the line
<pre>
main_memory=2000000
</pre>
<p>Don&#8217;t worry about the exact number, just make it big.</li>
<li>Save the file</li>
<li>run
<pre>
initexmf --dump=pdflatex
</pre>
</li>
<li>That&#8217;s it. Enjoy your nice pgfplots figures</li>
</ol>
<p><b>Linux &#8211; Texlive</b><br />
Do the following things in a terminal as root.</p>
<ol>
<li>Find out where your <code>texmf.cnf</code> is located
<pre>
kpsewhich texmf.cnf
</pre>
<p>This will most likely be <code>/usr/share/texmf/web2c/texmf.cnf</code>
</li>
<li>Open it and search for main_memory line and modify it to
<pre>
main_memory=2000000
</pre>
</li>
<li>Save the file</li>
<li>run
<pre>
fmtutil-sys --all
</pre>
<p>to load the new settings
</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/olezfdtd.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/olezfdtd.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/olezfdtd.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/olezfdtd.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/olezfdtd.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/olezfdtd.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/olezfdtd.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/olezfdtd.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/olezfdtd.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/olezfdtd.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/olezfdtd.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/olezfdtd.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/olezfdtd.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/olezfdtd.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olezfdtd.wordpress.com&amp;blog=12242625&amp;post=33&amp;subd=olezfdtd&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://olezfdtd.wordpress.com/2010/03/16/extending-latex-memory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/65f34df37124d3b0c1e789e1968042d2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">olezfdtd</media:title>
		</media:content>
	</item>
		<item>
		<title>Latex formula as a native powerpoint object</title>
		<link>http://olezfdtd.wordpress.com/2010/03/12/latex-formula-as-a-native-powerpoint-object/</link>
		<comments>http://olezfdtd.wordpress.com/2010/03/12/latex-formula-as-a-native-powerpoint-object/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 16:58:09 +0000</pubDate>
		<dc:creator>olezfdtd</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[latex]]></category>
		<category><![CDATA[miktex]]></category>
		<category><![CDATA[poster]]></category>
		<category><![CDATA[powerpoint]]></category>
		<category><![CDATA[ppt]]></category>
		<category><![CDATA[slideshow]]></category>
		<category><![CDATA[tex]]></category>
		<category><![CDATA[tex4ppt]]></category>

		<guid isPermaLink="false">http://olezfdtd.wordpress.com/?p=31</guid>
		<description><![CDATA[It&#8217;s always a dilemma: latex is great for formulas but well, not so much at making slideshows or posters. Powerpoint on the other hand is great at the latter, but sucks balls at the first. No matter which tool you use to create your powerpoint, a lot of frustration, broken coffee mugs and hairloss ensues. <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olezfdtd.wordpress.com&amp;blog=12242625&amp;post=31&amp;subd=olezfdtd&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s always a dilemma: latex is great for formulas but well, not so much at making slideshows or posters. Powerpoint on the other hand is great at the latter, but sucks balls at the first. No matter which tool you use to create your powerpoint, a lot of frustration, broken coffee mugs and hairloss ensues. Wouldn&#8217;t it be great if you could just typeset formulas in powerpoint using latex?</p>
<p>Enter: <a href="http://sites.google.com/site/tex4ppt/">Tex 4 PPT</a><br />
It renders your latex formula in the native ppt vector format. This means that it&#8217;ll look good at any resolution. </p>
<p>It requires a working Miktex install and microsoft&#8217;s .net framework.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/olezfdtd.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/olezfdtd.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/olezfdtd.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/olezfdtd.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/olezfdtd.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/olezfdtd.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/olezfdtd.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/olezfdtd.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/olezfdtd.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/olezfdtd.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/olezfdtd.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/olezfdtd.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/olezfdtd.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/olezfdtd.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olezfdtd.wordpress.com&amp;blog=12242625&amp;post=31&amp;subd=olezfdtd&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://olezfdtd.wordpress.com/2010/03/12/latex-formula-as-a-native-powerpoint-object/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/65f34df37124d3b0c1e789e1968042d2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">olezfdtd</media:title>
		</media:content>
	</item>
		<item>
		<title>Boot ISO files from USB with grub4dos</title>
		<link>http://olezfdtd.wordpress.com/2010/02/26/boot-iso-files-from-usb-with-grub4dos/</link>
		<comments>http://olezfdtd.wordpress.com/2010/02/26/boot-iso-files-from-usb-with-grub4dos/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 15:19:10 +0000</pubDate>
		<dc:creator>olezfdtd</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[bootable]]></category>
		<category><![CDATA[grub4dos]]></category>
		<category><![CDATA[iso]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[triple mbr]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://olezfdtd.wordpress.com/?p=6</guid>
		<description><![CDATA[The goal is to make a universal bootable usb device with a small boot partition and a data partition on which we&#8217;ll store the iso files. This means you can just download almost any bootable iso and boot it without having to burn a cd or unpack the iso. We&#8217;ll install grub4dos as boot loader, <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olezfdtd.wordpress.com&amp;blog=12242625&amp;post=6&amp;subd=olezfdtd&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The goal is to make a universal bootable usb device with a small boot partition and a data partition on which we&#8217;ll store the iso files. This means you can just download almost any bootable iso and boot it without having to burn a cd or unpack the iso. We&#8217;ll install <a href="https://gna.org/projects/grub4dos/">grub4dos</a> as boot loader, using the &#8216;triple mbr&#8217; feature to increase the compatibility with different mainboard and BIOS configurations. We&#8217;ll be using command line linux applications to reach our goal, any distro will do.</p>
<p>1) Find the path to your usb device, here we&#8217;ll use <code>/dev/sdb</code><br />
2) Optionally, to erase the usb device, issue the following commands as root:</p>
<pre style='background:#F0F0F0;border:solid 1px #DADADA;padding:11px;'>
shred -v -n0 -z /dev/sdb
</pre>
<p>3) Note down the size of the device in bytes:</p>
<pre style='background:#F0F0F0;border:solid 1px #DADADA;padding:11px;'>
fdisk -lu /dev/sdb

Disk /dev/sdb: 1031 MB, 1031798272 bytes
</pre>
<p>4) To make <code>fdisk</code> happy, partitions must end on cylinder boundaries. Here we&#8217;ll use the standard 63 sectors/track and 255 heads, so to calculate the number of cylinders and the last sector of the last cylinder, do the following:<br />
<code><br />
num_cyl = floor( 1031798272 / 512 / 63 / 255 ) = 125<br />
last_sector = num_cyl*255*63 - 1 = 2008124<br />
</code><br />
5) We&#8217;ll make two partitions: a small boot partition with a ext2 filesystem and a second fat32 (or ntfs) partition to hold the iso files. Choosing ext2 as the boot filesystem hides it from windows systems, and makes the second fat32 partition visible. The boot partition only has to hold the &#8216;grldr&#8217; and the &#8216;menu.lst&#8217; file, so we set its size to 1 cylinder (or a little less if we take the first 95 boot sectors into account). The last sector of the first partition is 1*255*63-1 = 16064.</p>
<p>We use <code>fdisk</code> to set up the geometry of the device and make the first partition. Replace $num_cyl and $last_sector with the appropriate values.</p>
<pre style='background:#F0F0F0;border:solid 1px #DADADA;padding:11px;'>
fdisk /dev/sdb &lt;&lt; EOF
x
s
63
h
255
c
$num_cyl
r
u
n
p
1
95
16064
n
p
2
16065
$last_sector
t
2
c
a
1
w
EOF
</pre>
<p>6) At this point, remove the usb device and plug it back in. The final layout should look like this:</p>
<pre style='background:#F0F0F0;border:solid 1px #DADADA;padding:11px;'>
fdisk -lu /dev/sdb

Disk /dev/sdb: 1031 MB, 1031798272 bytes
255 heads, 63 sectors/track, 125 cylinders, total 2015231 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x8d7751c5

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          95       16064        7985  83  Linux
/dev/sdb2           16065     2008124      996030    c  W95 FAT32 (LBA)
</pre>
<p>7) Create the filesystems:</p>
<pre style='background:#F0F0F0;border:solid 1px #DADADA;padding:11px;'>
mke2fs -L boot /dev/sdb1
mkdosfs -F 32 -n data /dev/sdb2
</pre>
<p>8) As root, make a temporary working folder. Download the latest grub4dos and install boot code on the first partition:</p>
<pre style='background:#F0F0F0;border:solid 1px #DADADA;padding:11px;'>
cd
mkdir usbtemp
cd usbtemp
wget http://download.gna.org/grub4dos/grub4dos-0.4.4-2009-06-20.zip
unzip grub4dos-0.4.4-2009-06-20.zip
cd grub4dos-0.4.4
./bootlace.com --floppy=0 /dev/sdb1
</pre>
<p>9) Extract the first 96 sectors and create the triple MBR:</p>
<pre style='background:#F0F0F0;border:solid 1px #DADADA;padding:11px;'>
dd if=/dev/sdb of=boot.img bs=512 count=96
./bootlace.com boot.img
dd of=/dev/sdb if=boot.img bs=512 count=96
</pre>
<p>10) Mount the boot partition and copy the necessary grub4dos files:</p>
<pre style='background:#F0F0F0;border:solid 1px #DADADA;padding:11px;'>
mkdir /mnt/usbboot
mount /dev/sdb1 /mnt/usbboot/
cp grldr /mnt/usbboot/
</pre>
<p>11) As a test, we&#8217;ll boot the <a href="http://www.slitaz.org/">SliTaz LiveCD</a> from the usb device. The iso will be saved to the second partition, and an entry in the &#8216;menu.lst&#8217; file on the boot partition will make the iso available for booting.</p>
<pre>
mkdir /mnt/usbdata
mount /dev/sdb2 /mnt/usbdata
mkdir /mnt/usbdata/images
cd /mnt/usbdata/images
wget http://mirror.switch.ch/ftp/mirror/slitaz/iso/2.0/slitaz-2.0.iso
cd /mnt/usbboot/
umount /dev/sdb2
cat &gt; menu.lst &lt;&lt; EOF
title Boot SliTaz 2.0 LiveCD
find --set-root /images/slitaz-2.0.iso
map --mem /images/slitaz-2.0.iso (0xff)
map --hook
chainloader (0xff)
EOF
cd
umount /dev/sdb1
</pre>
<p>12) This should do it&#8230; To clean up just remove the &#8216;usbtemp&#8217; folder.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/olezfdtd.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/olezfdtd.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/olezfdtd.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/olezfdtd.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/olezfdtd.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/olezfdtd.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/olezfdtd.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/olezfdtd.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/olezfdtd.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/olezfdtd.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/olezfdtd.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/olezfdtd.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/olezfdtd.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/olezfdtd.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olezfdtd.wordpress.com&amp;blog=12242625&amp;post=6&amp;subd=olezfdtd&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://olezfdtd.wordpress.com/2010/02/26/boot-iso-files-from-usb-with-grub4dos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/65f34df37124d3b0c1e789e1968042d2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">olezfdtd</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello world!</title>
		<link>http://olezfdtd.wordpress.com/2010/02/25/hello-world/</link>
		<comments>http://olezfdtd.wordpress.com/2010/02/25/hello-world/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 15:06:01 +0000</pubDate>
		<dc:creator>olezfdtd</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Welcome to this blog. We&#8217;re two phd students maintaining a bunch of computers in the lab. This blog just serves as our notebook. Instead of wondering &#8220;how the hell did we solve this last time&#8221; each time something goes wrong, we&#8217;ll just post it here. If you find these posts useful, let us know in <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olezfdtd.wordpress.com&amp;blog=12242625&amp;post=1&amp;subd=olezfdtd&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Welcome to this blog. We&#8217;re two phd students maintaining a bunch of computers in the lab. This blog just serves as our notebook. Instead of wondering &#8220;how the hell did we solve this last time&#8221; each time something goes wrong, we&#8217;ll just post it here. If you find these posts useful, let us know in the comments.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/olezfdtd.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/olezfdtd.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/olezfdtd.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/olezfdtd.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/olezfdtd.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/olezfdtd.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/olezfdtd.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/olezfdtd.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/olezfdtd.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/olezfdtd.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/olezfdtd.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/olezfdtd.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/olezfdtd.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/olezfdtd.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=olezfdtd.wordpress.com&amp;blog=12242625&amp;post=1&amp;subd=olezfdtd&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://olezfdtd.wordpress.com/2010/02/25/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/65f34df37124d3b0c1e789e1968042d2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">olezfdtd</media:title>
		</media:content>
	</item>
	</channel>
</rss>
