<?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>Gentoo Blog &#187; Ubuntu/Debian</title>
	<atom:link href="http://gentoo-blog.de/category/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://gentoo-blog.de</link>
	<description>The ultimate Gentoo Blog</description>
	<lastBuildDate>Sun, 25 Dec 2011 10:48:06 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>OpenDNS Server</title>
		<link>http://gentoo-blog.de/ubuntu/opendns-server/</link>
		<comments>http://gentoo-blog.de/ubuntu/opendns-server/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 13:46:15 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Ubuntu/Debian]]></category>

		<guid isPermaLink="false">http://gentoo-blog.de/?p=6241</guid>
		<description><![CDATA[Google&#8217;s Public DNS Servers in case you need a public uncensored DNS server you can use these:
8.8.8.8
8.8.4.4
Here is my resolv.conf with the open DNS servers:
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 94.75.228.2
nameserver 80.237.196.2

The last two are also open DNS Servers but not from Google.
Share on Facebook
	
	
	
	]]></description>
			<content:encoded><![CDATA[<p>Google&#8217;s Public DNS Servers in case you need a public uncensored DNS server you can use these:</p>
<p>8.8.8.8<br />
8.8.4.4</p>
<p>Here is my resolv.conf with the open DNS servers:</p>
<p><code>nameserver 8.8.8.8<br />
nameserver 8.8.4.4<br />
nameserver 94.75.228.2<br />
nameserver 80.237.196.2<br />
</code></p>
<p>The last two are also open DNS Servers but not from Google.</p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fgentoo-blog.de%2Fubuntu%2Fopendns-server%2F&amp;t=OpenDNS%20Server" id="facebook_share_link_6241">Share on Facebook</a>
	<script type="text/javascript">
	<!--
	var button = document.getElementById('facebook_share_link_6241') || document.getElementById('facebook_share_icon_6241') || document.getElementById('facebook_share_both_6241') || document.getElementById('facebook_share_button_6241');
	if (button) {
		button.onclick = function(e) {
			var url = this.href.replace(/share\.php/, 'sharer.php');
			window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		}
	
		if (button.id === 'facebook_share_button_6241') {
			button.onmouseover = function(){
				this.style.color='#fff';
				this.style.borderColor = '#295582';
				this.style.backgroundColor = '#3b5998';
			}
			button.onmouseout = function(){
				this.style.color = '#3b5998';
				this.style.borderColor = '#d8dfea';
				this.style.backgroundColor = '#fff';
			}
		}
	}
	-->
	</script>
	]]></content:encoded>
			<wfw:commentRss>http://gentoo-blog.de/ubuntu/opendns-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 11.10 Oneiric Ocelot Get your minimize and maximize buttons back</title>
		<link>http://gentoo-blog.de/ubuntu/ubuntu-11-10-oneiric-ocelot-get-your-minimize-and-maximize-buttons-back/</link>
		<comments>http://gentoo-blog.de/ubuntu/ubuntu-11-10-oneiric-ocelot-get-your-minimize-and-maximize-buttons-back/#comments</comments>
		<pubDate>Tue, 15 Nov 2011 09:16:44 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Ubuntu/Debian]]></category>

		<guid isPermaLink="false">http://gentoo-blog.de/?p=6181</guid>
		<description><![CDATA[Get your minimize and maximize buttons back:
Fire up gconf-editor, then edit the following key: 
desktop  > gnome > shell > windows > button_layout 
Then, in the right pane, edit the button_layout value to something like 
:minimize,maximize,close
Thats it your done you should now see the minimize and maximize buttons again.
Share on Facebook
	
	
	
	]]></description>
			<content:encoded><![CDATA[<p>Get your minimize and maximize buttons back:</p>
<p>Fire up gconf-editor, then edit the following key: </p>
<p><code>desktop  > gnome > shell > windows > button_layout</code> </p>
<p>Then, in the right pane, edit the button_layout value to something like </p>
<p><code>:minimize,maximize,close</code></p>
<p>Thats it your done you should now see the minimize and maximize buttons again.</p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fgentoo-blog.de%2Fubuntu%2Fubuntu-11-10-oneiric-ocelot-get-your-minimize-and-maximize-buttons-back%2F&amp;t=Ubuntu%2011.10%20Oneiric%20Ocelot%20Get%20your%20minimize%20and%20maximize%20buttons%20back" id="facebook_share_link_6181">Share on Facebook</a>
	<script type="text/javascript">
	<!--
	var button = document.getElementById('facebook_share_link_6181') || document.getElementById('facebook_share_icon_6181') || document.getElementById('facebook_share_both_6181') || document.getElementById('facebook_share_button_6181');
	if (button) {
		button.onclick = function(e) {
			var url = this.href.replace(/share\.php/, 'sharer.php');
			window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		}
	
		if (button.id === 'facebook_share_button_6181') {
			button.onmouseover = function(){
				this.style.color='#fff';
				this.style.borderColor = '#295582';
				this.style.backgroundColor = '#3b5998';
			}
			button.onmouseout = function(){
				this.style.color = '#3b5998';
				this.style.borderColor = '#d8dfea';
				this.style.backgroundColor = '#fff';
			}
		}
	}
	-->
	</script>
	]]></content:encoded>
			<wfw:commentRss>http://gentoo-blog.de/ubuntu/ubuntu-11-10-oneiric-ocelot-get-your-minimize-and-maximize-buttons-back/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>frequently used SSL commands</title>
		<link>http://gentoo-blog.de/confixx-plesk/frequently-used-ssl-commands/</link>
		<comments>http://gentoo-blog.de/confixx-plesk/frequently-used-ssl-commands/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 14:12:11 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[confixx/Plesk]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Ubuntu/Debian]]></category>

		<guid isPermaLink="false">http://gentoo-blog.de/?p=5951</guid>
		<description><![CDATA[generate a new private key and matching Certificate Signing Request (eg to send to a commercial CA)
openssl req -out MYCSR.csr -pubkey -new -keyout MYKEY.key
-add -nodes to create an unencrypted private key
-add -config if your config file has not been set in the environment
decrypt private key
openssl rsa -in MYKEY.key &#62;&#62; MYKEY-NOCRYPT.key
generate a certificate siging request for [...]]]></description>
			<content:encoded><![CDATA[<p><strong>generate a new private key and matching Certificate Signing Request (eg to send to a commercial CA)<br />
</strong><code>openssl req -out MYCSR.csr -pubkey -new -keyout MYKEY.key</code></p>
<p>-add -nodes to create an unencrypted private key<br />
-add -config if your config file has not been set in the environment</p>
<p><strong>decrypt private key</strong></p>
<p><code>openssl rsa -in MYKEY.key &gt;&gt; MYKEY-NOCRYPT.key</code></p>
<p><strong>generate a certificate siging request for an existing private key</strong></p>
<p><code>openssl req -out MYCSR.csr -key MYKEY.key -new</code></p>
<p><strong>generate a certificate signing request based on an existing x509 certificate</strong></p>
<p><code>openssl x509 -x509toreq -in MYCRT.crt -out MYCSR.csr -signkey MYKEY.key</code></p>
<p><strong>create self-signed certificate (can be used to sign other certificates)</strong></p>
<p><code>openssl req -x509 -new -out MYCERT.crt -keyout MYKEY.key -days 365</code></p>
<p><strong>sign a Certificate Signing Request<br />
</strong><code>openssl x509 -req -in MYCSR.csr -CA MY-CA-CERT.crt -CAkey MY-CA-KEY.key -CAcreateserial -out MYCERT.crt -days 365</code></p>
<p>-days has to be less than the validity of the CA certificate</p>
<p><strong>convert DER (.crt .cer .der) to PEM</strong></p>
<p><code>openssl x509 -inform der -in MYCERT.cer -out MYCERT.pem</code></p>
<p><strong>convert PEM to DER</strong></p>
<p><code>openssl x509 -outform der -in MYCERT.pem -out MYCERT.der</code></p>
<p><strong>convert PKCS#12 (.pfx .p12) to PEM containing both private key and certificates<br />
</strong><br />
<code>openssl pkcs12 -in KEYSTORE.pfx -out KEYSTORE.pem -nodes</code></p>
<p>add -nocerts for private key only; add -nokeys for certificates only</p>
<p><strong>convert (add) a seperate key and certificate to a new keystore of type PKCS#12</strong></p>
<p><code>openssl pkcs12 -export -in MYCERT.crt -inkey MYKEY.key -out KEYSTORE.p12 -name "tomcat"</code><strong><br />
check a private key</strong><br />
<code>openssl rsa -in MYKEY.key -check</code></p>
<p>add -noout to not disclose the key</p>
<p><strong>check a Certificate Signing Request</strong></p>
<p><code>openssl req -text -noout -verify -in MYCSR.csr</code><br />
<strong><br />
check a certificate</strong></p>
<p><code>openssl x509 -in MYCERT.crt -text -noout</code><strong><br />
check a PKCS#12 keystore</strong></p>
<p><code>openssl pkcs12 -info -in KEYSTORE.p12</code></p>
<p><strong>check a trust chain of a certificate</strong>    </p>
<p><code>openssl verify -CAfile MYCHAINFILE.pem -verbose MYCERT.crt</code></p>
<p>-to check for server usage: -purpose sslserver<br />
-to check for client usage: -purpose sslient</p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fgentoo-blog.de%2Fconfixx-plesk%2Ffrequently-used-ssl-commands%2F&amp;t=frequently%20used%20SSL%20commands" id="facebook_share_link_5951">Share on Facebook</a>
	<script type="text/javascript">
	<!--
	var button = document.getElementById('facebook_share_link_5951') || document.getElementById('facebook_share_icon_5951') || document.getElementById('facebook_share_both_5951') || document.getElementById('facebook_share_button_5951');
	if (button) {
		button.onclick = function(e) {
			var url = this.href.replace(/share\.php/, 'sharer.php');
			window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		}
	
		if (button.id === 'facebook_share_button_5951') {
			button.onmouseover = function(){
				this.style.color='#fff';
				this.style.borderColor = '#295582';
				this.style.backgroundColor = '#3b5998';
			}
			button.onmouseout = function(){
				this.style.color = '#3b5998';
				this.style.borderColor = '#d8dfea';
				this.style.backgroundColor = '#fff';
			}
		}
	}
	-->
	</script>
	]]></content:encoded>
			<wfw:commentRss>http://gentoo-blog.de/confixx-plesk/frequently-used-ssl-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mount a Linux NFS Share on Windows 7</title>
		<link>http://gentoo-blog.de/ubuntu/mount-a-linux-nfs-share-on-windows-7/</link>
		<comments>http://gentoo-blog.de/ubuntu/mount-a-linux-nfs-share-on-windows-7/#comments</comments>
		<pubDate>Tue, 02 Aug 2011 15:42:28 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Ubuntu/Debian]]></category>

		<guid isPermaLink="false">http://gentoo-blog.de/?p=5921</guid>
		<description><![CDATA[First you need to install the windows nfs client. Go to
Control Panel\All Control Panel Items\Programs and Features
Then click on Turn Windows features on or off then select NFS Services Client for NFS. After the installation start a dos box or power shell. And enter the following command to mount the share backup on server 192.168.1.1 [...]]]></description>
			<content:encoded><![CDATA[<p>First you need to install the windows nfs client. Go to</p>
<p>Control Panel\All Control Panel Items\Programs and Features</p>
<p>Then click on Turn Windows features on or off then select NFS Services Client for NFS. After the installation start a dos box or power shell. And enter the following command to mount the share backup on server 192.168.1.1 and assign the drive letter k:</p>
<p><code>mount \\192.168.1.1\backup k:</code></p>
<p>Example: <code>mount [options] \\nfs-server-unc-name\share-name [drive letter]</code></p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fgentoo-blog.de%2Fubuntu%2Fmount-a-linux-nfs-share-on-windows-7%2F&amp;t=Mount%20a%20Linux%20NFS%20Share%20on%20Windows%207" id="facebook_share_link_5921">Share on Facebook</a>
	<script type="text/javascript">
	<!--
	var button = document.getElementById('facebook_share_link_5921') || document.getElementById('facebook_share_icon_5921') || document.getElementById('facebook_share_both_5921') || document.getElementById('facebook_share_button_5921');
	if (button) {
		button.onclick = function(e) {
			var url = this.href.replace(/share\.php/, 'sharer.php');
			window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		}
	
		if (button.id === 'facebook_share_button_5921') {
			button.onmouseover = function(){
				this.style.color='#fff';
				this.style.borderColor = '#295582';
				this.style.backgroundColor = '#3b5998';
			}
			button.onmouseout = function(){
				this.style.color = '#3b5998';
				this.style.borderColor = '#d8dfea';
				this.style.backgroundColor = '#fff';
			}
		}
	}
	-->
	</script>
	]]></content:encoded>
			<wfw:commentRss>http://gentoo-blog.de/ubuntu/mount-a-linux-nfs-share-on-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extracting a Database From a mysqldump File</title>
		<link>http://gentoo-blog.de/ubuntu/extracting-a-database-from-a-mysqldump-file/</link>
		<comments>http://gentoo-blog.de/ubuntu/extracting-a-database-from-a-mysqldump-file/#comments</comments>
		<pubDate>Tue, 02 Aug 2011 10:35:47 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[Ubuntu/Debian]]></category>

		<guid isPermaLink="false">http://gentoo-blog.de/?p=5851</guid>
		<description><![CDATA[Restoring a single database from a full dump is pretty easy, using the mysql command line client’s &#8211;one-database option:
mysql -u root -p --one-database db_to_restore < fulldump.sql
But what if you don’t want to restore the database, you just want to extract it out of the dump file? Well, that happens to be easy as well, thanks [...]]]></description>
			<content:encoded><![CDATA[<p>Restoring a single database from a full dump is pretty easy, using the mysql command line client’s &#8211;one-database option:</p>
<p><code>mysql -u root -p --one-database db_to_restore < fulldump.sql</code></p>
<p>But what if you don’t want to restore the database, you just want to extract it out of the dump file? Well, that happens to be easy as well, thanks to the magic of sed:</p>
<p><code>sed -n '/^-- Current Database: `test`/,/^-- Current Database: `/p' fulldump.sql > test.sql</code></p>
<p>You just need to change “test” to be the name of the database you want extracted. Or you can use this shell script:</p>
<p><a href='http://gentoo-blog.de/wp-content/uploads/2011/08/20110802mysqldumpsplittersh_.txt'>Download mysqldumpsplitter</a></p>
<p>Usage:</p>
<p>$>sh MyDumpSplitter.sh<br />
Usage: sh MyDumpSplitter.sh DUMP-FILE-NAME — Extract all tables as a separate file from dump.<br />
sh MyDumpSplitter.sh DUMP-FILE-NAME TABLE-NAME — Extract single table from dump.<br />
sh MyDumpSplitter.sh DUMP-FILE-NAME -S TABLE-NAME-REGEXP  – Extract tables from dump for specified regular expression.</p>
<p>Further instructions for using this script can be found here:</p>
<p><a href='http://kedar.nitty-witty.com/blog/mydumpsplitter-extract-tables-from-mysql-dump-shell-script'>Mysql dump-shell script</a></p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fgentoo-blog.de%2Fubuntu%2Fextracting-a-database-from-a-mysqldump-file%2F&amp;t=Extracting%20a%20Database%20From%20a%20mysqldump%20File" id="facebook_share_link_5851">Share on Facebook</a>
	<script type="text/javascript">
	<!--
	var button = document.getElementById('facebook_share_link_5851') || document.getElementById('facebook_share_icon_5851') || document.getElementById('facebook_share_both_5851') || document.getElementById('facebook_share_button_5851');
	if (button) {
		button.onclick = function(e) {
			var url = this.href.replace(/share\.php/, 'sharer.php');
			window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		}
	
		if (button.id === 'facebook_share_button_5851') {
			button.onmouseover = function(){
				this.style.color='#fff';
				this.style.borderColor = '#295582';
				this.style.backgroundColor = '#3b5998';
			}
			button.onmouseout = function(){
				this.style.color = '#3b5998';
				this.style.borderColor = '#d8dfea';
				this.style.backgroundColor = '#fff';
			}
		}
	}
	-->
	</script>
	]]></content:encoded>
			<wfw:commentRss>http://gentoo-blog.de/ubuntu/extracting-a-database-from-a-mysqldump-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mirror a website with wget</title>
		<link>http://gentoo-blog.de/ubuntu/mirror-a-website-with-wget/</link>
		<comments>http://gentoo-blog.de/ubuntu/mirror-a-website-with-wget/#comments</comments>
		<pubDate>Mon, 11 Jul 2011 14:13:34 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Ubuntu/Debian]]></category>

		<guid isPermaLink="false">http://gentoo-blog.de/?p=5811</guid>
		<description><![CDATA[To copy or mirror a website with wget do the following:
wget -r -l2 -N -k -x mywebsite.com
This will create a complete copy of the website into a folder called mywebsite.com.
Have fun
Share on Facebook
	
	
	
	]]></description>
			<content:encoded><![CDATA[<p>To copy or mirror a website with wget do the following:</p>
<p><code>wget -r -l2 -N -k -x mywebsite.com</code></p>
<p>This will create a complete copy of the website into a folder called mywebsite.com.</p>
<p>Have fun</p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fgentoo-blog.de%2Fubuntu%2Fmirror-a-website-with-wget%2F&amp;t=Mirror%20a%20website%20with%20wget" id="facebook_share_link_5811">Share on Facebook</a>
	<script type="text/javascript">
	<!--
	var button = document.getElementById('facebook_share_link_5811') || document.getElementById('facebook_share_icon_5811') || document.getElementById('facebook_share_both_5811') || document.getElementById('facebook_share_button_5811');
	if (button) {
		button.onclick = function(e) {
			var url = this.href.replace(/share\.php/, 'sharer.php');
			window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		}
	
		if (button.id === 'facebook_share_button_5811') {
			button.onmouseover = function(){
				this.style.color='#fff';
				this.style.borderColor = '#295582';
				this.style.backgroundColor = '#3b5998';
			}
			button.onmouseout = function(){
				this.style.color = '#3b5998';
				this.style.borderColor = '#d8dfea';
				this.style.backgroundColor = '#fff';
			}
		}
	}
	-->
	</script>
	]]></content:encoded>
			<wfw:commentRss>http://gentoo-blog.de/ubuntu/mirror-a-website-with-wget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unity keyboard and mouse shortcuts</title>
		<link>http://gentoo-blog.de/ubuntu/unity-keyboardmouse-shortcuts/</link>
		<comments>http://gentoo-blog.de/ubuntu/unity-keyboardmouse-shortcuts/#comments</comments>
		<pubDate>Sun, 12 Jun 2011 10:20:22 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Ubuntu/Debian]]></category>

		<guid isPermaLink="false">http://gentoo-blog.de/?p=5671</guid>
		<description><![CDATA[
&#160;
&#160;
&#160;
&#160;
&#160;
&#160;
&#160;
&#160;
&#160;
&#160;
&#160;


&#160;
Wallpaper download
Share on Facebook
	
	
	
	]]></description>
			<content:encoded><![CDATA[<p><a href="http://gentoo-blog.de/wp-content/uploads/2011/06/20110612Unity_wallpaper.png" rel="lightbox[5671]"><img class="alignleft size-large wp-image-5681" title="Unity_wallpaper" src="http://gentoo-blog.de/wp-content/uploads/2011/06/20110612Unity_wallpaper-1024x682.png" alt="" width="491" height="328" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<pre>
</pre>
<p>&nbsp;<br />
<a href="http://gentoo-blog.de/wp-content/uploads/2011/06/20110612Unity_wallpaper.png" rel="lightbox[5671]">Wallpaper download</a></p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fgentoo-blog.de%2Fubuntu%2Funity-keyboardmouse-shortcuts%2F&amp;t=Unity%20keyboard%20and%20mouse%20shortcuts" id="facebook_share_link_5671">Share on Facebook</a>
	<script type="text/javascript">
	<!--
	var button = document.getElementById('facebook_share_link_5671') || document.getElementById('facebook_share_icon_5671') || document.getElementById('facebook_share_both_5671') || document.getElementById('facebook_share_button_5671');
	if (button) {
		button.onclick = function(e) {
			var url = this.href.replace(/share\.php/, 'sharer.php');
			window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		}
	
		if (button.id === 'facebook_share_button_5671') {
			button.onmouseover = function(){
				this.style.color='#fff';
				this.style.borderColor = '#295582';
				this.style.backgroundColor = '#3b5998';
			}
			button.onmouseout = function(){
				this.style.color = '#3b5998';
				this.style.borderColor = '#d8dfea';
				this.style.backgroundColor = '#fff';
			}
		}
	}
	-->
	</script>
	]]></content:encoded>
			<wfw:commentRss>http://gentoo-blog.de/ubuntu/unity-keyboardmouse-shortcuts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading Debian Lenny to Squeeze</title>
		<link>http://gentoo-blog.de/ubuntu/upgrading-debian-lenny-to-squeeze/</link>
		<comments>http://gentoo-blog.de/ubuntu/upgrading-debian-lenny-to-squeeze/#comments</comments>
		<pubDate>Thu, 14 Apr 2011 14:18:24 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Ubuntu/Debian]]></category>

		<guid isPermaLink="false">http://gentoo-blog.de/?p=5211</guid>
		<description><![CDATA[Upgrade to Debian Squeeze if you have some Linux experience this upgrade should be fairly straight forward. Please read everything and do not skip steps unless you know what you are doing. You may be left with a system that will not boot. Please also consult the official Debian upgrade guide if you run into [...]]]></description>
			<content:encoded><![CDATA[<p>Upgrade to Debian Squeeze if you have some Linux experience this upgrade should be fairly straight forward. Please read everything and do not skip steps unless you know what you are doing. You may be left with a system that will not boot. Please also consult the official Debian upgrade guide if you run into any problems or conflicts:</p>
<p>
</br></p>
<p><a href="http://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.en.html">Debian upgrade guide</a><br />
<br />
</br></p>
<p>Create a list of installed packages and check the list for deinstalled packages this is an optional step to make sure you have a clean system:</p>
<p><code>uninstall=$(dpkg --get-selections > /root/package.list.lenny ; cat /root/package.list.lenny | grep deinstall |awk {'print $'1}) ; aptitude purge $uninstall</code></p>
<p>Check for half installed packages:</p>
<p><code>dpkg --audit</code></p>
<p>Remove Backuports and APT Pinnings Check for non debian sources and change them to the squeeze repo if available</p>
<p>Replace lenny entries with squeeze replace volitile with squeeze-updates:</p>
<p>Also make sure to add non-free and contrib in case your server needs the firmware-linux-nonfree package. This is a example sources list for squeeze if you live in Germany:</p>
<p>############################################################<br />
deb http://ftp.hosteurope.de/pub/linux/debian/ squeeze main contrib non-free<br />
deb-src http://ftp.hosteurope.de/pub/linux/debian/ squeeze main contrib non-free</p>
<p>deb http://security.debian.org/ squeeze/updates main contrib non-free<br />
deb-src http://security.debian.org/ squeeze/updates main contrib non-free</p>
<p>deb http://ftp.hosteurope.de/pub/linux/debian/ squeeze-updates main contrib non-free<br />
deb-src http://ftp.hosteurope.de/pub/linux/debian/ squeeze-updates main contrib non-free<br />
#############################################################</p>
<p>Update sources:</p>
<p><code>apt-get update</code></p>
<p>Check to see if you have sufficient disk space:</p>
<p><code>apt-get -o APT::Get::Trivial-Only=true dist-upgrade</code></p>
<p>Preform a minimal System Upgrade:</p>
<p><code>apt-get upgrade</code></p>
<p>Install the new kernel important otherwise your system may not boot because of the new udev version choose your kernel:</p>
<p><code>apt-get install linux-image-2.6-amd64</code></p>
<p>This would install the 64bit Debian Kernel</p>
<p>Check the Kernel Install:</p>
<p><code>dpkg -l "linux-image*" | grep ^ii</code></p>
<p>Upgrade udev:</p>
<p><code>apt-get install udev</code></p>
<p>If you see any firmware warnings make sure to install the firmware-linux-nonfree or the firmware-linux package before you reboot:</p>
<p><code>apt-get install firmware-linux-nonfree</code></p>
<p>or</p>
<p><code>apt-get install firmware-linux</code></p>
<p>Preform a system Upgrade or full upgrade:</p>
<p><code>apt-get dist-upgrade</code></p>
<p>Change init scripts to inssrv this is normally done automatically:</p>
<p><code>dpkg-reconfigure sysv-rc</code></p>
<p>Reboot the system</p>
<p>After first reboot Install Grub 2 to MBR:</p>
<p><code>upgrade-from-grub-legacy</code></p>
<p><code>rm -f /boot/grub/menu.lst*</code></p>
<p>Clean up and remove downloaded packages removing the downloaded packages is a optional step:</p>
<p><code>apt-get autoremove</code></p>
<p><code>rm -f /var/cache/apt/archives/*.deb</code></p>
<p>This step is also optional remove obsolete packages with deborphan helps to keep your system clean:</p>
<p>install deborphan:</p>
<p><code>apt-get install deborphan</code></p>
<p>Use deborphan to remove obsolete packages check the list first:</p>
<p><code>deborphan --guess-all</code></p>
<p>Then remove the obsolete packages:</p>
<p><code>deborphan --guess-all | xargs aptitude -y purge</code></p>
<p>Thats it you should have a clean system running Debian Squeeze</p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fgentoo-blog.de%2Fubuntu%2Fupgrading-debian-lenny-to-squeeze%2F&amp;t=Upgrading%20Debian%20Lenny%20to%20Squeeze" id="facebook_share_link_5211">Share on Facebook</a>
	<script type="text/javascript">
	<!--
	var button = document.getElementById('facebook_share_link_5211') || document.getElementById('facebook_share_icon_5211') || document.getElementById('facebook_share_both_5211') || document.getElementById('facebook_share_button_5211');
	if (button) {
		button.onclick = function(e) {
			var url = this.href.replace(/share\.php/, 'sharer.php');
			window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		}
	
		if (button.id === 'facebook_share_button_5211') {
			button.onmouseover = function(){
				this.style.color='#fff';
				this.style.borderColor = '#295582';
				this.style.backgroundColor = '#3b5998';
			}
			button.onmouseout = function(){
				this.style.color = '#3b5998';
				this.style.borderColor = '#d8dfea';
				this.style.backgroundColor = '#fff';
			}
		}
	}
	-->
	</script>
	]]></content:encoded>
			<wfw:commentRss>http://gentoo-blog.de/ubuntu/upgrading-debian-lenny-to-squeeze/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu / Debian Linux Regenerate SSH Host Keys</title>
		<link>http://gentoo-blog.de/ubuntu/ubuntu-debian-linux-regenerate-ssh-host-keys/</link>
		<comments>http://gentoo-blog.de/ubuntu/ubuntu-debian-linux-regenerate-ssh-host-keys/#comments</comments>
		<pubDate>Fri, 25 Mar 2011 15:25:30 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Ubuntu/Debian]]></category>
		<category><![CDATA[SSH Debian Host Keys]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://gentoo-blog.de/?p=4971</guid>
		<description><![CDATA[If you need to  regenerate your SSH Host Keys do the following.
1. delete your old keys
rm /etc/ssh/ssh_host_*
2. reconfigure the ssh server
dpkg-reconfigure openssh-server
That&#8217;s it now you can update you known_hosts file when you connect next time. If you use strict checking which you should you will need to delete the key from you known_hosts file [...]]]></description>
			<content:encoded><![CDATA[<p>If you need to  regenerate your SSH Host Keys do the following.</p>
<p>1. delete your old keys</p>
<p><code>rm /etc/ssh/ssh_host_*</code></p>
<p>2. reconfigure the ssh server</p>
<p><code>dpkg-reconfigure openssh-server</code></p>
<p>That&#8217;s it now you can update you known_hosts file when you connect next time. If you use strict checking which you should you will need to delete the key from you known_hosts file in you home directory. Or you will not be able to connect.</p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fgentoo-blog.de%2Fubuntu%2Fubuntu-debian-linux-regenerate-ssh-host-keys%2F&amp;t=Ubuntu%20%2F%20Debian%20Linux%20Regenerate%20SSH%20Host%20Keys" id="facebook_share_link_4971">Share on Facebook</a>
	<script type="text/javascript">
	<!--
	var button = document.getElementById('facebook_share_link_4971') || document.getElementById('facebook_share_icon_4971') || document.getElementById('facebook_share_both_4971') || document.getElementById('facebook_share_button_4971');
	if (button) {
		button.onclick = function(e) {
			var url = this.href.replace(/share\.php/, 'sharer.php');
			window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		}
	
		if (button.id === 'facebook_share_button_4971') {
			button.onmouseover = function(){
				this.style.color='#fff';
				this.style.borderColor = '#295582';
				this.style.backgroundColor = '#3b5998';
			}
			button.onmouseout = function(){
				this.style.color = '#3b5998';
				this.style.borderColor = '#d8dfea';
				this.style.backgroundColor = '#fff';
			}
		}
	}
	-->
	</script>
	]]></content:encoded>
			<wfw:commentRss>http://gentoo-blog.de/ubuntu/ubuntu-debian-linux-regenerate-ssh-host-keys/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Openssl Create a Private Key and a CSR with 2048bit for an SSL Certificate</title>
		<link>http://gentoo-blog.de/ubuntu/openssl-create-a-private-key-and-a-csr-with-2048bit-for-an-ssl-certificate/</link>
		<comments>http://gentoo-blog.de/ubuntu/openssl-create-a-private-key-and-a-csr-with-2048bit-for-an-ssl-certificate/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 11:57:03 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Ubuntu/Debian]]></category>

		<guid isPermaLink="false">http://gentoo-blog.de/uncategorized/</guid>
		<description><![CDATA[If you need a new SSL certificate for a server you will need a 2048bit private key from 2011 onwards. This command creates both:
 openssl req -new -nodes -newkey rsa:2048 -keyout example.key -out example.csr
Thats it send the CSR to you ISP and you should get you SSL cert back. You can also edit:
 /etc/ssl/openssl.cnf
And change [...]]]></description>
			<content:encoded><![CDATA[<p>If you need a new SSL certificate for a server you will need a 2048bit private key from 2011 onwards. This command creates both:</p>
<p><code> openssl req -new -nodes -newkey rsa:2048 -keyout example.key -out example.csr</code></p>
<p>Thats it send the CSR to you ISP and you should get you SSL cert back. You can also edit:</p>
<p><code> /etc/ssl/openssl.cnf</code></p>
<p>And change the default_bits line to 2048 then all new keys we be created with 2048bits. </p>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fgentoo-blog.de%2Fubuntu%2Fopenssl-create-a-private-key-and-a-csr-with-2048bit-for-an-ssl-certificate%2F&amp;t=Openssl%20Create%20a%20Private%20Key%20and%20a%20CSR%20with%202048bit%20for%20an%20SSL%20Certificate" id="facebook_share_link_4811">Share on Facebook</a>
	<script type="text/javascript">
	<!--
	var button = document.getElementById('facebook_share_link_4811') || document.getElementById('facebook_share_icon_4811') || document.getElementById('facebook_share_both_4811') || document.getElementById('facebook_share_button_4811');
	if (button) {
		button.onclick = function(e) {
			var url = this.href.replace(/share\.php/, 'sharer.php');
			window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
			return false;
		}
	
		if (button.id === 'facebook_share_button_4811') {
			button.onmouseover = function(){
				this.style.color='#fff';
				this.style.borderColor = '#295582';
				this.style.backgroundColor = '#3b5998';
			}
			button.onmouseout = function(){
				this.style.color = '#3b5998';
				this.style.borderColor = '#d8dfea';
				this.style.backgroundColor = '#fff';
			}
		}
	}
	-->
	</script>
	]]></content:encoded>
			<wfw:commentRss>http://gentoo-blog.de/ubuntu/openssl-create-a-private-key-and-a-csr-with-2048bit-for-an-ssl-certificate/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

