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

<channel>
	<title>Fellinghaug Blog &#187; linux</title>
	<atom:link href="http://asbjorn.fellinghaug.com/blog/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://asbjorn.fellinghaug.com/blog</link>
	<description>&#62;&#62;&#62; from fellinghaug import asbjorn; asbjorn.play()</description>
	<lastBuildDate>Thu, 19 Nov 2009 21:22:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SSL and CAcert.org</title>
		<link>http://asbjorn.fellinghaug.com/blog/2008/04/ssl-and-cacertorg/</link>
		<comments>http://asbjorn.fellinghaug.com/blog/2008/04/ssl-and-cacertorg/#comments</comments>
		<pubDate>Sat, 19 Apr 2008 19:55:00 +0000</pubDate>
		<dc:creator>Asbjørn Alexander Fellinghaug</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[cacert]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://asbjorn.fellinghaug.com/wp/?p=11</guid>
		<description><![CDATA[Today I spent some time trying to understand SSL certificates and how I could implement SSL on my web sites. Some googling later gave me some interessting tips regarding using CAcert and Apache2.
So, signing up as a user at CAcert, I was able to get my certificates signed by CAcert by simple web clicks. One [...]]]></description>
			<content:encoded><![CDATA[<p>Today I spent some time trying to understand SSL certificates and how I could implement SSL on my web sites. Some googling later gave me some interessting tips regarding using <a href="http://www.cacert.org/">CAcert</a> and Apache2.</p>
<p>So, signing up as a user at CAcert, I was able to get my certificates signed by CAcert by simple web clicks. One thing to notice about CAcert is that they are <strong>not</strong> shipped as an CA in most web browser. This means that if you implement your CAcert signed certificate in your Apache2 web server, and visits your website with Firefox (via HTTPS) you will receive a notification stating that your certificate is not signed by any know authorities. What you will need is to import CAcert.org root certificate to make the browser able to verifi the certificates.</p>
<p>What does CAcert.org have in constrast to other CA&#8217;s around the world? Well, its a free service, so you don&#8217;t need to pay expensive fees to get your certificates signed. This is the most attractive feature. One downside has already been mentioned here, that the root certificate is not already in most browsers, so one has to import them manually. If you want to provide your webpages through HTTPS, I would absolutely recommend you to have a look at CAcert.org. For tutorials and guides for how to use CAcert.org with Apache, take a look at the <a href="http://wiki.cacert.org/">http://wiki.cacert.org</a> page.</p>
<p>Some links:</p>
<ul>
<li>http://wiki.cacert.org/wiki/SimpleApacheCert</li>
<li>http://wiki.cacert.org/wiki/CSRGenerator</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://asbjorn.fellinghaug.com/blog/2008/04/ssl-and-cacertorg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux and internal OS caching</title>
		<link>http://asbjorn.fellinghaug.com/blog/2008/04/linux-and-internal-os-caching/</link>
		<comments>http://asbjorn.fellinghaug.com/blog/2008/04/linux-and-internal-os-caching/#comments</comments>
		<pubDate>Sat, 19 Apr 2008 19:46:34 +0000</pubDate>
		<dc:creator>Asbjørn Alexander Fellinghaug</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[memory]]></category>

		<guid isPermaLink="false">http://asbjorn.fellinghaug.com/wp/?p=5</guid>
		<description><![CDATA[Caching inside Linux such as pages and inodes can become quite hugh, and thats the point. Linux wants to utilize all the available memory to create a faster working environment&#8230;
Now, lately I&#8217;ve been experimenting on some IR-software (http://lucene.apache.org), and for these experiments I needed to clear the internal page caching of I/O data. Basicly, whenever [...]]]></description>
			<content:encoded><![CDATA[<p>Caching inside Linux such as pages and inodes can become quite hugh, and thats the point. Linux wants to utilize all the available memory to create a faster working environment&#8230;</p>
<p>Now, lately I&#8217;ve been experimenting on some IR-software <a href="http://lucene.apache.org/">(http://lucene.apache.org)</a>, and for these experiments I needed to clear the internal page caching of I/O data. Basicly, whenever I open a file, then Linux caches that particular file, so that if I need it again later on, it will be available in &#8220;no-time&#8221;. For my experiments, I needed a &#8220;clean&#8221; cache for every run, and therefor needed to clear my cache.</p>
<p>After some Googling I stumbled upon this site:  <a href="http://linux-mm.org/Drop_Caches">http://linux-mm.org/Drop_Caches</a>. There was a lot of interessting stuff there, so I would recommend people to read it.</p>
<p>Basically, whenever you need to <em>uncache</em> something in your computer, you can (in Linux that is), write the following in a terminal:</p>
<p>This one below will free pagecache:</p>
<div class="code">
# echo 1 > /proc/sys/vm/drop_caches
</div>
<p>This one below will free dentries and inodes:</p>
<div class="code">
# echo 2 > /proc/sys/vm/drop_caches
</div>
<p>This one below will free both pagecache, dentries and inodes:</p>
<div class="code">
# echo 3 > /proc/sys/vm/drop_caches
</div>
]]></content:encoded>
			<wfw:commentRss>http://asbjorn.fellinghaug.com/blog/2008/04/linux-and-internal-os-caching/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
