<?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>Jörgens liv och leverne &#187; ubuntu</title>
	<atom:link href="http://bertholdsson.eu/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://bertholdsson.eu</link>
	<description>Lite osammanhängade om Jörgen och hans liv...</description>
	<lastBuildDate>Thu, 10 Nov 2011 17:54:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Visa version av din linux</title>
		<link>http://bertholdsson.eu/2011/01/21/visa-version-av-din-linux/</link>
		<comments>http://bertholdsson.eu/2011/01/21/visa-version-av-din-linux/#comments</comments>
		<pubDate>Fri, 21 Jan 2011 20:31:39 +0000</pubDate>
		<dc:creator>jorgen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[linxu]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[version]]></category>
		<category><![CDATA[visa]]></category>

		<guid isPermaLink="false">http://bertholdsson.eu/2011/01/21/visa-version-av-din-linux/</guid>
		<description><![CDATA[Är inte hundra på att det fungerar med andra, men med Ubuntu så visar du vilken version genom att skriva ut lsb-release som ligger under /etc t.ex. root@kara:~# cd /etc root@kara:/etc# cat lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=10.04 DISTRIB_CODENAME=lucid DISTRIB_DESCRIPTION=&#34;Ubuntu 10.04.1 LTS&#34; root@kara:/etc# Bookmark:]]></description>
			<content:encoded><![CDATA[<p>Är inte hundra på att det fungerar med andra, men med Ubuntu så visar du vilken version genom att skriva ut lsb-release som ligger under /etc</p>
<p>t.ex.</p>
<blockquote><p><a href="mailto:root@kara">root@kara</a>:~# cd /etc      <br /><a href="mailto:root@kara:/etc">root@kara:/etc</a># cat lsb-release       <br />DISTRIB_ID=Ubuntu      <br />DISTRIB_RELEASE=10.04      <br />DISTRIB_CODENAME=lucid      <br />DISTRIB_DESCRIPTION=&quot;Ubuntu 10.04.1 LTS&quot;      <br /><a href="mailto:root@kara:/etc">root@kara:/etc</a>#</p>
</blockquote>
<!-- Social Bookmarking Reloaded BEGIN --><div class="social_bookmark"><em>Bookmark:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://bertholdsson.eu/2011/01/21/visa-version-av-din-linux/&amp;title=Visa+version+av+din+linux" title="Lägg till 'Visa version av din linux' till Del.icio.us"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Lägg till 'Visa version av din linux' till Del.icio.us" alt="Lägg till 'Visa version av din linux' till Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://bertholdsson.eu/2011/01/21/visa-version-av-din-linux/&amp;title=Visa+version+av+din+linux" title="Lägg till 'Visa version av din linux' till digg"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Lägg till 'Visa version av din linux' till digg" alt="Lägg till 'Visa version av din linux' till digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://bertholdsson.eu/2011/01/21/visa-version-av-din-linux/&amp;title=Visa+version+av+din+linux" title="Lägg till 'Visa version av din linux' till reddit"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Lägg till 'Visa version av din linux' till reddit" alt="Lägg till 'Visa version av din linux' till reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://bertholdsson.eu/2011/01/21/visa-version-av-din-linux/&amp;t=Visa+version+av+din+linux" title="Lägg till 'Visa version av din linux' till FaceBook"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/facebook.png" title="Lägg till 'Visa version av din linux' till FaceBook" alt="Lägg till 'Visa version av din linux' till FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=Visa+version+av+din+linux&amp;c=http://bertholdsson.eu/2011/01/21/visa-version-av-din-linux/" title="Lägg till 'Visa version av din linux' till MySpace"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/myspace.png" title="Lägg till 'Visa version av din linux' till MySpace" alt="Lägg till 'Visa version av din linux' till MySpace" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://bertholdsson.eu/2011/01/21/visa-version-av-din-linux/" title="Lägg till 'Visa version av din linux' till Twitter"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/twitter.png" title="Lägg till 'Visa version av din linux' till Twitter" alt="Lägg till 'Visa version av din linux' till Twitter" /></a></div>
<!-- Social Bookmarking Reloaded END -->]]></content:encoded>
			<wfw:commentRss>http://bertholdsson.eu/2011/01/21/visa-version-av-din-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Aide</title>
		<link>http://bertholdsson.eu/2009/09/11/aide/</link>
		<comments>http://bertholdsson.eu/2009/09/11/aide/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 06:46:55 +0000</pubDate>
		<dc:creator>jorgen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[aide]]></category>
		<category><![CDATA[övervakning]]></category>
		<category><![CDATA[säkerhet]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://bertholdsson.eu/2009/09/11/aide/</guid>
		<description><![CDATA[Om du har besämt dig för att få mer kontroll på din server så kanske du har försökt få igång Aide, det gjorde jag. Ett envist fel gjorde så att jag inte kunde starta programmet, eller rättare sagt, varje natt så genererade cron-jobbet ett fel. Det såg ut så här: Couldn&#8217;t open file /var/lib/aide/please-dont-call-aide-without-parameters/aide.db for [...]]]></description>
			<content:encoded><![CDATA[<p>Om du har besämt dig för att få mer kontroll på din server så kanske du har försökt få igång Aide, det gjorde jag. Ett envist fel gjorde så att jag inte kunde starta programmet, eller rättare sagt, varje natt så genererade cron-jobbet ett fel.</p>
<p>Det såg ut så här:</p>
<p><em>Couldn&#8217;t open file /var/lib/aide/please-dont-call-aide-without-parameters/aide.db for reading</em></p>
<p>En snabb koll i man filen säger att en databas måste initieras, och det gör man genom att starta Aide med parametern –I eller –initialize.&#160; Men det fungerar inte.</p>
<p>Lösningen är ännu enklare, kör aideinit, det kommandor gör all magi och initierar database. Det tar en rätt lång stund, beroende på hur mycket filer du har och har valt att övervaka. När det är klart så kan du testköra med kommandot aide för att se att felmeddelandet är borta.</p>
<p>Om du inte vet vad aide är så står det så här på programmet sida (<a href="http://aide.sourceforge.net">http://aide.sourceforge.net</a>):</p>
<h2>What is AIDE?</h2>
<p>AIDE (Advanced Intrusion Detection Environment) is a free replacement for Tripwire. It does the same things as the semi-free Tripwire and more.</p>
<p>There are other free replacements available so why build a new one? All the other replacements do not achieve the level of Tripwire. And I wanted a program that would exceed the limitations of Tripwire.</p>
</p>
<h2>What does it do?</h2>
<p>It creates a database from the regular expression rules that it finds from the config file. Once this database is initialized it can be used to verify the integrity of the files. It has several message digest algorithms (md5,sha1,rmd160,tiger,haval,etc.) that are used to check the integrity of the file. More algorithms can be added with relative ease. All of the usual file attributes can also be checked for inconsistencies. It can read databases from older or newer versions. See the manual pages within the distribution for further info.</p>
<p>Finns som vanligt att installera med apt-get <img src='http://bertholdsson.eu/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<!-- Social Bookmarking Reloaded BEGIN --><div class="social_bookmark"><em>Bookmark:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://bertholdsson.eu/2009/09/11/aide/&amp;title=Aide" title="Lägg till 'Aide' till Del.icio.us"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Lägg till 'Aide' till Del.icio.us" alt="Lägg till 'Aide' till Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://bertholdsson.eu/2009/09/11/aide/&amp;title=Aide" title="Lägg till 'Aide' till digg"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Lägg till 'Aide' till digg" alt="Lägg till 'Aide' till digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://bertholdsson.eu/2009/09/11/aide/&amp;title=Aide" title="Lägg till 'Aide' till reddit"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Lägg till 'Aide' till reddit" alt="Lägg till 'Aide' till reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://bertholdsson.eu/2009/09/11/aide/&amp;t=Aide" title="Lägg till 'Aide' till FaceBook"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/facebook.png" title="Lägg till 'Aide' till FaceBook" alt="Lägg till 'Aide' till FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=Aide&amp;c=http://bertholdsson.eu/2009/09/11/aide/" title="Lägg till 'Aide' till MySpace"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/myspace.png" title="Lägg till 'Aide' till MySpace" alt="Lägg till 'Aide' till MySpace" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://bertholdsson.eu/2009/09/11/aide/" title="Lägg till 'Aide' till Twitter"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/twitter.png" title="Lägg till 'Aide' till Twitter" alt="Lägg till 'Aide' till Twitter" /></a></div>
<!-- Social Bookmarking Reloaded END -->]]></content:encoded>
			<wfw:commentRss>http://bertholdsson.eu/2009/09/11/aide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Locales from hell</title>
		<link>http://bertholdsson.eu/2008/12/08/locales-from-hell-2/</link>
		<comments>http://bertholdsson.eu/2008/12/08/locales-from-hell-2/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 06:35:22 +0000</pubDate>
		<dc:creator>jorgen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[consele]]></category>
		<category><![CDATA[hell]]></category>
		<category><![CDATA[locale]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[svenska]]></category>
		<category><![CDATA[tecken]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[utf-8]]></category>

		<guid isPermaLink="false">http://bertholdsson.eu/2008/12/08/locales-from-hell-2/</guid>
		<description><![CDATA[Antingen är det bara jag som har prblem eller så är jag helt usel på att googla… Men jag har alltid haft problem när man kombinerar samba linux putty och windows. Det blir alltid knas med svenska filnamn och jag har fått sitta och editera samba conf:en och locales och en massa små filer för [...]]]></description>
			<content:encoded><![CDATA[<p>Antingen är det bara jag som har prblem eller så är jag helt usel på att googla… Men jag har alltid haft problem när man kombinerar samba linux putty och windows. </p>
<p>Det blir alltid knas med svenska filnamn och jag har fått sitta och editera samba conf:en och locales och en massa små filer för att få det att fungera bra, dvs. dom svenska tecknen i filnamn ska visas som svenska i putty, i alla samba shares och man ska kunna skapa svenska filnamn från windows och terminalen och det ska fortfarande vara svenska tecken oavsett hur man tittar på filnamnen.</p>
<p>ÄNTLIGEN har jag fått fram en lösning!</p>
<p>Steg ett är att editera </p>
<blockquote><p>/etc/default/locale</p>
</blockquote>
<p>det enda som ska stå i den filen är</p>
<blockquote><p>LANG=&quot;sv_SE.UTF-8&quot;     <br />LC_CTYPE=&quot;en_US.UTF-8&quot;      <br />LC_NUMERIC=&quot;sv_SE.UTF-8&quot;      <br />LC_TIME=&quot;sv_SE.UTF-8&quot;      <br />LC_COLLATE=&quot;sv_SE.UTF-8&quot;      <br />LC_MONETARY=&quot;sv_SE.UTF-8&quot;      <br />LC_MESSAGES=&quot;en_US.UTF-8&quot;      <br />LC_PAPER=&quot;sv_SE.UTF-8&quot;      <br />LC_NAME=&quot;en_US.UTF-8&quot;      <br />LC_ADDRESS=&quot;sv_SE.UTF-8&quot;      <br />LC_TELEPHONE=&quot;sv_SE.UTF-8&quot;      <br />LC_MEASUREMENT=&quot;sv_SE.UTF-8&quot;      <br />LC_IDENTIFICATION=&quot;sv_SE.UTF-8&quot;      <br />LC_ALL=</p>
</blockquote>
<p>Sen ska du i putty ändra translation till UTF-8 (I inställningarna för putty ligger det under Windows –&gt; translation)</p>
<p>Nu leker livet och allt är bra, om du nu har filer på din linux disk som är sedan tidigare och visar konstiga tecken i svenska filnamn har du bara lite mer att trixa med sen kommer ditt liv att vara solig och glatt, åtminstonde under överskådlig framtid…</p>
<p>Testa att skriva </p>
<blockquote><p>ls | iconv -f ISO_8859-15 -t UTF-8</p>
</blockquote>
<p>Här kan du undersöka vilket format de gamla svenska tecknen har, byt ut ISO_8859-15 mot andra kodningar så formas tecknen om till UTF-8 när dom listas. När du klurat ut vilken kodning dom har, dvs. när dom visas rätt så kan du konvertera filnamnet med</p>
<blockquote><p>convmv -f ISO_8859-15 -t UTF-8 *</p>
</blockquote>
<p>Samma här, den kodning du fick fram i förra steget använder du i –f parametern (-f från &amp; –t till). Kör du kommandot så här så visar den bara vad som görs, ingen ändring görs. är du är övertygad att det blir bra så lägger du bara till –notest på slutet av raden så görs ändringarna på riktigt.</p>
<p>Och om det skulle skita sig så läser du bara in <strong>säkerhetskopiorna du gjorde innan du började</strong>, då är allt som vanligt igen och du kan försöka en gång till.</p>
<p>Det här fungerade bra med min Ubuntu 8.10 server, men jag ser inga problem med att göra så här på andra distributioner. Så länge som alla binärer finns…</p>
<!-- Social Bookmarking Reloaded BEGIN --><div class="social_bookmark"><em>Bookmark:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://bertholdsson.eu/2008/12/08/locales-from-hell-2/&amp;title=Locales+from+hell" title="Lägg till 'Locales from hell' till Del.icio.us"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Lägg till 'Locales from hell' till Del.icio.us" alt="Lägg till 'Locales from hell' till Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://bertholdsson.eu/2008/12/08/locales-from-hell-2/&amp;title=Locales+from+hell" title="Lägg till 'Locales from hell' till digg"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Lägg till 'Locales from hell' till digg" alt="Lägg till 'Locales from hell' till digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://bertholdsson.eu/2008/12/08/locales-from-hell-2/&amp;title=Locales+from+hell" title="Lägg till 'Locales from hell' till reddit"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Lägg till 'Locales from hell' till reddit" alt="Lägg till 'Locales from hell' till reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://bertholdsson.eu/2008/12/08/locales-from-hell-2/&amp;t=Locales+from+hell" title="Lägg till 'Locales from hell' till FaceBook"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/facebook.png" title="Lägg till 'Locales from hell' till FaceBook" alt="Lägg till 'Locales from hell' till FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=Locales+from+hell&amp;c=http://bertholdsson.eu/2008/12/08/locales-from-hell-2/" title="Lägg till 'Locales from hell' till MySpace"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/myspace.png" title="Lägg till 'Locales from hell' till MySpace" alt="Lägg till 'Locales from hell' till MySpace" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://bertholdsson.eu/2008/12/08/locales-from-hell-2/" title="Lägg till 'Locales from hell' till Twitter"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/twitter.png" title="Lägg till 'Locales from hell' till Twitter" alt="Lägg till 'Locales from hell' till Twitter" /></a></div>
<!-- Social Bookmarking Reloaded END -->]]></content:encoded>
			<wfw:commentRss>http://bertholdsson.eu/2008/12/08/locales-from-hell-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Open source</title>
		<link>http://bertholdsson.eu/2008/11/16/open-source/</link>
		<comments>http://bertholdsson.eu/2008/11/16/open-source/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 18:10:44 +0000</pubDate>
		<dc:creator>jorgen</dc:creator>
				<category><![CDATA[Diverse]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://bertholdsson.eu/2008/11/16/open-source/</guid>
		<description><![CDATA[Go baby go! Bookmark:]]></description>
			<content:encoded><![CDATA[<p><a href="http://jorgen.bertholdsson.com/wp-content/uploads/2008/11/opensource.jpg"><img title="opensource" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="198" alt="opensource" src="http://jorgen.bertholdsson.com/wp-content/uploads/2008/11/opensource-thumb.jpg" width="293" border="0" /></a> </p>
<p>Go baby go!</p>
<!-- Social Bookmarking Reloaded BEGIN --><div class="social_bookmark"><em>Bookmark:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://bertholdsson.eu/2008/11/16/open-source/&amp;title=Open+source" title="Lägg till 'Open source' till Del.icio.us"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Lägg till 'Open source' till Del.icio.us" alt="Lägg till 'Open source' till Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://bertholdsson.eu/2008/11/16/open-source/&amp;title=Open+source" title="Lägg till 'Open source' till digg"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Lägg till 'Open source' till digg" alt="Lägg till 'Open source' till digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://bertholdsson.eu/2008/11/16/open-source/&amp;title=Open+source" title="Lägg till 'Open source' till reddit"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Lägg till 'Open source' till reddit" alt="Lägg till 'Open source' till reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://bertholdsson.eu/2008/11/16/open-source/&amp;t=Open+source" title="Lägg till 'Open source' till FaceBook"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/facebook.png" title="Lägg till 'Open source' till FaceBook" alt="Lägg till 'Open source' till FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=Open+source&amp;c=http://bertholdsson.eu/2008/11/16/open-source/" title="Lägg till 'Open source' till MySpace"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/myspace.png" title="Lägg till 'Open source' till MySpace" alt="Lägg till 'Open source' till MySpace" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://bertholdsson.eu/2008/11/16/open-source/" title="Lägg till 'Open source' till Twitter"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/twitter.png" title="Lägg till 'Open source' till Twitter" alt="Lägg till 'Open source' till Twitter" /></a></div>
<!-- Social Bookmarking Reloaded END -->]]></content:encoded>
			<wfw:commentRss>http://bertholdsson.eu/2008/11/16/open-source/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Snabbare webb?</title>
		<link>http://bertholdsson.eu/2008/11/10/snabbare-webb/</link>
		<comments>http://bertholdsson.eu/2008/11/10/snabbare-webb/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 09:04:22 +0000</pubDate>
		<dc:creator>jorgen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[snabbare]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://bertholdsson.eu/?p=430</guid>
		<description><![CDATA[Om du upplever att allt blivit snabbare så kan det bero på att jag installerat en slags cache-funktion. Jag installerade APC som sägs kunna snabba upp allt rätt mycket i många fall, om man kör apache2/php5 vill säga. Hittade en bra en enkel bruksanvisning här http://www.devolio.com/blog/archives/228-How-to-install-APC-in-Ubuntu-7.10.html Funkade perferkt på min 8.10 Bookmark:]]></description>
			<content:encoded><![CDATA[<p>Om du upplever att allt blivit snabbare så kan det bero på att jag installerat en slags cache-funktion. Jag installerade APC som sägs kunna snabba upp allt rätt mycket i många fall, om man kör apache2/php5 vill säga.</p>
<p>Hittade en bra en enkel bruksanvisning här <a href="http://www.devolio.com/blog/archives/228-How-to-install-APC-in-Ubuntu-7.10.html">http://www.devolio.com/blog/archives/228-How-to-install-APC-in-Ubuntu-7.10.html</a> Funkade perferkt på min 8.10</p>
<!-- Social Bookmarking Reloaded BEGIN --><div class="social_bookmark"><em>Bookmark:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://bertholdsson.eu/2008/11/10/snabbare-webb/&amp;title=Snabbare+webb%3F" title="Lägg till 'Snabbare webb?' till Del.icio.us"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Lägg till 'Snabbare webb?' till Del.icio.us" alt="Lägg till 'Snabbare webb?' till Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://bertholdsson.eu/2008/11/10/snabbare-webb/&amp;title=Snabbare+webb%3F" title="Lägg till 'Snabbare webb?' till digg"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Lägg till 'Snabbare webb?' till digg" alt="Lägg till 'Snabbare webb?' till digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://bertholdsson.eu/2008/11/10/snabbare-webb/&amp;title=Snabbare+webb%3F" title="Lägg till 'Snabbare webb?' till reddit"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Lägg till 'Snabbare webb?' till reddit" alt="Lägg till 'Snabbare webb?' till reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://bertholdsson.eu/2008/11/10/snabbare-webb/&amp;t=Snabbare+webb%3F" title="Lägg till 'Snabbare webb?' till FaceBook"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/facebook.png" title="Lägg till 'Snabbare webb?' till FaceBook" alt="Lägg till 'Snabbare webb?' till FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=Snabbare+webb%3F&amp;c=http://bertholdsson.eu/2008/11/10/snabbare-webb/" title="Lägg till 'Snabbare webb?' till MySpace"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/myspace.png" title="Lägg till 'Snabbare webb?' till MySpace" alt="Lägg till 'Snabbare webb?' till MySpace" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://bertholdsson.eu/2008/11/10/snabbare-webb/" title="Lägg till 'Snabbare webb?' till Twitter"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/twitter.png" title="Lägg till 'Snabbare webb?' till Twitter" alt="Lägg till 'Snabbare webb?' till Twitter" /></a></div>
<!-- Social Bookmarking Reloaded END -->]]></content:encoded>
			<wfw:commentRss>http://bertholdsson.eu/2008/11/10/snabbare-webb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flytta /boot partitionen</title>
		<link>http://bertholdsson.eu/2008/09/02/flytta-boot-partitionen/</link>
		<comments>http://bertholdsson.eu/2008/09/02/flytta-boot-partitionen/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 07:35:52 +0000</pubDate>
		<dc:creator>jorgen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[flytta]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://bertholdsson.eu/?p=309</guid>
		<description><![CDATA[Jag har under min Linuxresa upptäckt att min /boot partition är för liten för att kunna göra en apt-get dist-upgrade. Tydligen så var defaultinställningen när allt installerades och partitionerades lite snålt tilltagen för /boot så när den nya kärnan skulle fixas till så tog det slut på plats och det sket sig. När jag skulle [...]]]></description>
			<content:encoded><![CDATA[<p>Jag har under min Linuxresa upptäckt att min /boot partition är för liten för att kunna göra en apt-get dist-upgrade. Tydligen så var defaultinställningen när allt installerades och partitionerades lite snålt tilltagen för /boot så när den nya kärnan skulle fixas till så tog det slut på plats och det sket sig.</p>
<p>När jag skulle flytta /boot från en egen partition till en vanlig katalog på / stötte jag på diverse problem, t.ex. device busy när jag körde en umount. Här är en steg för steg över vad jag gjorde i mitt system, det borde fungera för dig men ymmv.</p>
<ul>
<li>Kommadot <em>mount</em> visar /dev/hda1 on /boot type ext3 (rw)</li>
<li>Det visar även /dev/hda2 on / type ext3 (rw)</li>
<li>umount /dev/hda1 get &#8221;device busy&#8221;</li>
<li>Lista vilken/vilka provesser som accessar /dev/hda1 genom att skriva <em>sudo fuser -m /dev/hda1</em></li>
<li>Det gav mig ett processnummer, 3693</li>
<li>Kolla vad det är genom att skriva <em>ps -ef | grep 3693</em></li>
<li>För mig var det klogd som körde, stoppa den genom att skriva <em>sudo /etc/init.d/klogd stop </em>Om något annat program håller på /boot så får du stoppa det också&#8230;</li>
</ul>
<p>Nu är det nästan dags att avmontera /boot, men vi måste först sätta / som bootbar (misstänker det iallafall <img src='http://bertholdsson.eu/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<ul>
<li>Det gör du genom att skriva <em>sudo fdisk /dev/hda</em>, sen väljer du <em>a </em>för &#8221;toggle a bootable flag&#8221;. Välj den partition där / är monterad (det ser du i /etc/fstab)</li>
<li>I fdisk väljer du sen <em>p </em>för att se att du fått en * på samma rad som / stämmer det skriver du dina förändringar med <em>w </em>och avslutar med <em>q</em></li>
</ul>
<p>Nu är det nära <img src='http://bertholdsson.eu/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<ul>
<li>Kopiera /boot till /booot (<em>mv /boot booot</em>)</li>
<li>Kör en <em>sudo umount /boot</em></li>
<li>ls / visar att /boot är borta, om /boot inte är borta så kör en mv /boot /boot.old</li>
<li>Byt namn på /booot till /boot och allt är klart! (<em>sudo mv /booot /boot</em>)</li>
</ul>
<p>Om du vågar så starta om din maskin, som vanligt när det gäller sådana här anvisningar så gör du allt på egen risk och du kan inte skylla på mig om det blir knas. Och om det blir knas så läser du som vanligt in den backup du tog på systemet innan du började <img src='http://bertholdsson.eu/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<!-- Social Bookmarking Reloaded BEGIN --><div class="social_bookmark"><em>Bookmark:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://bertholdsson.eu/2008/09/02/flytta-boot-partitionen/&amp;title=Flytta+%2Fboot+partitionen" title="Lägg till 'Flytta /boot partitionen' till Del.icio.us"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Lägg till 'Flytta /boot partitionen' till Del.icio.us" alt="Lägg till 'Flytta /boot partitionen' till Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://bertholdsson.eu/2008/09/02/flytta-boot-partitionen/&amp;title=Flytta+%2Fboot+partitionen" title="Lägg till 'Flytta /boot partitionen' till digg"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Lägg till 'Flytta /boot partitionen' till digg" alt="Lägg till 'Flytta /boot partitionen' till digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://bertholdsson.eu/2008/09/02/flytta-boot-partitionen/&amp;title=Flytta+%2Fboot+partitionen" title="Lägg till 'Flytta /boot partitionen' till reddit"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Lägg till 'Flytta /boot partitionen' till reddit" alt="Lägg till 'Flytta /boot partitionen' till reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://bertholdsson.eu/2008/09/02/flytta-boot-partitionen/&amp;t=Flytta+%2Fboot+partitionen" title="Lägg till 'Flytta /boot partitionen' till FaceBook"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/facebook.png" title="Lägg till 'Flytta /boot partitionen' till FaceBook" alt="Lägg till 'Flytta /boot partitionen' till FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=Flytta+%2Fboot+partitionen&amp;c=http://bertholdsson.eu/2008/09/02/flytta-boot-partitionen/" title="Lägg till 'Flytta /boot partitionen' till MySpace"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/myspace.png" title="Lägg till 'Flytta /boot partitionen' till MySpace" alt="Lägg till 'Flytta /boot partitionen' till MySpace" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://bertholdsson.eu/2008/09/02/flytta-boot-partitionen/" title="Lägg till 'Flytta /boot partitionen' till Twitter"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/twitter.png" title="Lägg till 'Flytta /boot partitionen' till Twitter" alt="Lägg till 'Flytta /boot partitionen' till Twitter" /></a></div>
<!-- Social Bookmarking Reloaded END -->]]></content:encoded>
			<wfw:commentRss>http://bertholdsson.eu/2008/09/02/flytta-boot-partitionen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Locales from hell</title>
		<link>http://bertholdsson.eu/2008/05/02/locales-from-hell/</link>
		<comments>http://bertholdsson.eu/2008/05/02/locales-from-hell/#comments</comments>
		<pubDate>Fri, 02 May 2008 20:10:08 +0000</pubDate>
		<dc:creator>jorgen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[locales]]></category>
		<category><![CDATA[svenska]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://bertholdsson.eu/2008/05/02/locales-from-hell/</guid>
		<description><![CDATA[Jag har haft knas med locales i min Ubuntu Linux&#8230; Systemet envisades med att skicka ut det här felet titt som tätt locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Efter idogt letande så hittade jag lösningen Det var [...]]]></description>
			<content:encoded><![CDATA[<p>Jag har haft knas med locales i min Ubuntu Linux&#8230;</p>
<p>Systemet envisades med att skicka ut det här felet titt som tätt</p>
<blockquote><p>locale: Cannot set LC_MESSAGES to default locale: No such file or directory<br />
locale: Cannot set LC_ALL to default locale: No such file or directory</p></blockquote>
<p>Efter idogt letande så hittade jag lösningen <img src='http://bertholdsson.eu/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Det var så här enkelt</p>
<blockquote><p>apt-get install language-pack-en</p></blockquote>
<p>Så enkelt är det, suck</p>
<!-- Social Bookmarking Reloaded BEGIN --><div class="social_bookmark"><em>Bookmark:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://bertholdsson.eu/2008/05/02/locales-from-hell/&amp;title=Locales+from+hell" title="Lägg till 'Locales from hell' till Del.icio.us"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Lägg till 'Locales from hell' till Del.icio.us" alt="Lägg till 'Locales from hell' till Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://bertholdsson.eu/2008/05/02/locales-from-hell/&amp;title=Locales+from+hell" title="Lägg till 'Locales from hell' till digg"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Lägg till 'Locales from hell' till digg" alt="Lägg till 'Locales from hell' till digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://bertholdsson.eu/2008/05/02/locales-from-hell/&amp;title=Locales+from+hell" title="Lägg till 'Locales from hell' till reddit"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Lägg till 'Locales from hell' till reddit" alt="Lägg till 'Locales from hell' till reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://bertholdsson.eu/2008/05/02/locales-from-hell/&amp;t=Locales+from+hell" title="Lägg till 'Locales from hell' till FaceBook"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/facebook.png" title="Lägg till 'Locales from hell' till FaceBook" alt="Lägg till 'Locales from hell' till FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=Locales+from+hell&amp;c=http://bertholdsson.eu/2008/05/02/locales-from-hell/" title="Lägg till 'Locales from hell' till MySpace"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/myspace.png" title="Lägg till 'Locales from hell' till MySpace" alt="Lägg till 'Locales from hell' till MySpace" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://bertholdsson.eu/2008/05/02/locales-from-hell/" title="Lägg till 'Locales from hell' till Twitter"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/twitter.png" title="Lägg till 'Locales from hell' till Twitter" alt="Lägg till 'Locales from hell' till Twitter" /></a></div>
<!-- Social Bookmarking Reloaded END -->]]></content:encoded>
			<wfw:commentRss>http://bertholdsson.eu/2008/05/02/locales-from-hell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ansluta automagiskt till fj&#228;rrserver</title>
		<link>http://bertholdsson.eu/2008/02/15/ansluta-automagiskt-till-fjrrserver/</link>
		<comments>http://bertholdsson.eu/2008/02/15/ansluta-automagiskt-till-fjrrserver/#comments</comments>
		<pubDate>Fri, 15 Feb 2008 20:23:06 +0000</pubDate>
		<dc:creator>jorgen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[key]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://bertholdsson.eu/2008/02/15/ansluta-automagiskt-till-fjrrserver/</guid>
		<description><![CDATA[Om du har behov av att ansluta medd SSH mellan dina servrarutan att krångla med lösenord så kan du göra så här.Tänk på att det inte är speciellt säkert...  du kommer att märka varför... Vi utgår från att dina servrar heter lanfear och demondred och ditt användarnamn är matt På båda servrarna kör du följande [...]]]></description>
			<content:encoded><![CDATA[<pre>Om du har behov av att ansluta medd SSH mellan dina servrarutan att krångla med lösenord så kan du göra så här.Tänk på att det inte är speciellt säkert...  du kommer att märka varför...</pre>
<p>Vi utgår från att dina servrar heter lanfear och demondred och ditt användarnamn är matt</p>
<p>På <strong>båda</strong> servrarna kör du följande kommando</p>
<blockquote><p>ssh-keygen -t dsa</p></blockquote>
<p>Tryck enter på alla frågor (placering av nycklar och passphrase)</p>
<pre>Kör det här på demondred</pre>
<blockquote>
<pre>ssh-copy-id -i ~/.ssh/id_dsa.pub matt@lanfear.com</pre>
</blockquote>
<pre>Och det här på lanfear</pre>
<blockquote>
<pre>ssh-copy-id -i ~/.ssh/id_dsa.pub matt@demondred.com</pre>
</blockquote>
<pre>Klart!</pre>
<pre>Nu kan du stå i den ena maskinen och köra ssh till den andrautan att besväras av att behöva logga in med lösenord <img src='http://bertholdsson.eu/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </pre>
<pre>Tänk bara på att om filerna som ligger i /home/matt/.sshkommer på avvägar så är det fritt fram för någon annan attgöra samma sak som du... och det är rätt illa.</pre>
<pre>(det fungerar så här lätt om du kör ubuntu)</pre>
<!-- Social Bookmarking Reloaded BEGIN --><div class="social_bookmark"><em>Bookmark:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://bertholdsson.eu/2008/02/15/ansluta-automagiskt-till-fjrrserver/&amp;title=Ansluta+automagiskt+till+fj%26auml%3Brrserver" title="Lägg till 'Ansluta automagiskt till fj&auml;rrserver' till Del.icio.us"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Lägg till 'Ansluta automagiskt till fj&auml;rrserver' till Del.icio.us" alt="Lägg till 'Ansluta automagiskt till fj&auml;rrserver' till Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://bertholdsson.eu/2008/02/15/ansluta-automagiskt-till-fjrrserver/&amp;title=Ansluta+automagiskt+till+fj%26auml%3Brrserver" title="Lägg till 'Ansluta automagiskt till fj&auml;rrserver' till digg"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Lägg till 'Ansluta automagiskt till fj&auml;rrserver' till digg" alt="Lägg till 'Ansluta automagiskt till fj&auml;rrserver' till digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://bertholdsson.eu/2008/02/15/ansluta-automagiskt-till-fjrrserver/&amp;title=Ansluta+automagiskt+till+fj%26auml%3Brrserver" title="Lägg till 'Ansluta automagiskt till fj&auml;rrserver' till reddit"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Lägg till 'Ansluta automagiskt till fj&auml;rrserver' till reddit" alt="Lägg till 'Ansluta automagiskt till fj&auml;rrserver' till reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://bertholdsson.eu/2008/02/15/ansluta-automagiskt-till-fjrrserver/&amp;t=Ansluta+automagiskt+till+fj%26auml%3Brrserver" title="Lägg till 'Ansluta automagiskt till fj&auml;rrserver' till FaceBook"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/facebook.png" title="Lägg till 'Ansluta automagiskt till fj&auml;rrserver' till FaceBook" alt="Lägg till 'Ansluta automagiskt till fj&auml;rrserver' till FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=Ansluta+automagiskt+till+fj%26auml%3Brrserver&amp;c=http://bertholdsson.eu/2008/02/15/ansluta-automagiskt-till-fjrrserver/" title="Lägg till 'Ansluta automagiskt till fj&auml;rrserver' till MySpace"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/myspace.png" title="Lägg till 'Ansluta automagiskt till fj&auml;rrserver' till MySpace" alt="Lägg till 'Ansluta automagiskt till fj&auml;rrserver' till MySpace" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://bertholdsson.eu/2008/02/15/ansluta-automagiskt-till-fjrrserver/" title="Lägg till 'Ansluta automagiskt till fj&auml;rrserver' till Twitter"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/twitter.png" title="Lägg till 'Ansluta automagiskt till fj&auml;rrserver' till Twitter" alt="Lägg till 'Ansluta automagiskt till fj&auml;rrserver' till Twitter" /></a></div>
<!-- Social Bookmarking Reloaded END -->]]></content:encoded>
			<wfw:commentRss>http://bertholdsson.eu/2008/02/15/ansluta-automagiskt-till-fjrrserver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ansluta automagiskt till fjärrserver</title>
		<link>http://bertholdsson.eu/2008/02/15/ansluta-automagiskt-till-fjrrserver-2/</link>
		<comments>http://bertholdsson.eu/2008/02/15/ansluta-automagiskt-till-fjrrserver-2/#comments</comments>
		<pubDate>Fri, 15 Feb 2008 20:23:06 +0000</pubDate>
		<dc:creator>Jörgen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[key]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://bertholdsson.eu/2008/02/15/ansluta-automagiskt-till-fjrrserver/</guid>
		<description><![CDATA[Om du har behov av att ansluta medd SSH mellan dina servrarutan att krångla med lösenord så kan du göra så här.Tänk på att det inte är speciellt säkert...  du kommer att märka varför... Vi utgår från att dina servrar heter lanfear och demondred och ditt användarnamn är matt På båda servrarna kör du följande [...]]]></description>
			<content:encoded><![CDATA[<pre>Om du har behov av att ansluta medd SSH mellan dina servrarutan att krångla med lösenord så kan du göra så här.Tänk på att det inte är speciellt säkert...  du kommer att märka varför...</pre>
<p>Vi utgår från att dina servrar heter lanfear och demondred och ditt användarnamn är matt</p>
<p>På <strong>båda</strong> servrarna kör du följande kommando</p>
<blockquote><p>ssh-keygen -t dsa</p></blockquote>
<p>Tryck enter på alla frågor (placering av nycklar och passphrase)</p>
<pre>Kör det här på demondred</pre>
<blockquote>
<pre>ssh-copy-id -i ~/.ssh/id_dsa.pub matt@lanfear.com</pre>
</blockquote>
<pre>Och det här på lanfear</pre>
<blockquote>
<pre>ssh-copy-id -i ~/.ssh/id_dsa.pub matt@demondred.com</pre>
</blockquote>
<pre>Klart!</pre>
<pre>Nu kan du stå i den ena maskinen och köra ssh till den andrautan att besväras av att behöva logga in med lösenord <img src='http://bertholdsson.eu/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </pre>
<pre>Tänk bara på att om filerna som ligger i /home/matt/.sshkommer på avvägar så är det fritt fram för någon annan attgöra samma sak som du... och det är rätt illa.</pre>
<pre>(det fungerar så här lätt om du kör ubuntu)</pre>
<!-- Social Bookmarking Reloaded BEGIN --><div class="social_bookmark"><em>Bookmark:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://bertholdsson.eu/2008/02/15/ansluta-automagiskt-till-fjrrserver-2/&amp;title=Ansluta+automagiskt+till+fj%C3%A4rrserver" title="Lägg till 'Ansluta automagiskt till fjärrserver' till Del.icio.us"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Lägg till 'Ansluta automagiskt till fjärrserver' till Del.icio.us" alt="Lägg till 'Ansluta automagiskt till fjärrserver' till Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://bertholdsson.eu/2008/02/15/ansluta-automagiskt-till-fjrrserver-2/&amp;title=Ansluta+automagiskt+till+fj%C3%A4rrserver" title="Lägg till 'Ansluta automagiskt till fjärrserver' till digg"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Lägg till 'Ansluta automagiskt till fjärrserver' till digg" alt="Lägg till 'Ansluta automagiskt till fjärrserver' till digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://bertholdsson.eu/2008/02/15/ansluta-automagiskt-till-fjrrserver-2/&amp;title=Ansluta+automagiskt+till+fj%C3%A4rrserver" title="Lägg till 'Ansluta automagiskt till fjärrserver' till reddit"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Lägg till 'Ansluta automagiskt till fjärrserver' till reddit" alt="Lägg till 'Ansluta automagiskt till fjärrserver' till reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://bertholdsson.eu/2008/02/15/ansluta-automagiskt-till-fjrrserver-2/&amp;t=Ansluta+automagiskt+till+fj%C3%A4rrserver" title="Lägg till 'Ansluta automagiskt till fjärrserver' till FaceBook"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/facebook.png" title="Lägg till 'Ansluta automagiskt till fjärrserver' till FaceBook" alt="Lägg till 'Ansluta automagiskt till fjärrserver' till FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=Ansluta+automagiskt+till+fj%C3%A4rrserver&amp;c=http://bertholdsson.eu/2008/02/15/ansluta-automagiskt-till-fjrrserver-2/" title="Lägg till 'Ansluta automagiskt till fjärrserver' till MySpace"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/myspace.png" title="Lägg till 'Ansluta automagiskt till fjärrserver' till MySpace" alt="Lägg till 'Ansluta automagiskt till fjärrserver' till MySpace" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://bertholdsson.eu/2008/02/15/ansluta-automagiskt-till-fjrrserver-2/" title="Lägg till 'Ansluta automagiskt till fjärrserver' till Twitter"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/twitter.png" title="Lägg till 'Ansluta automagiskt till fjärrserver' till Twitter" alt="Lägg till 'Ansluta automagiskt till fjärrserver' till Twitter" /></a></div>
<!-- Social Bookmarking Reloaded END -->]]></content:encoded>
			<wfw:commentRss>http://bertholdsson.eu/2008/02/15/ansluta-automagiskt-till-fjrrserver-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixa spr&#229;k i debian/ubuntu</title>
		<link>http://bertholdsson.eu/2007/10/13/fixa-sprk-i-debianubuntu/</link>
		<comments>http://bertholdsson.eu/2007/10/13/fixa-sprk-i-debianubuntu/#comments</comments>
		<pubDate>Sat, 13 Oct 2007 18:44:27 +0000</pubDate>
		<dc:creator>jorgen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[locales]]></category>
		<category><![CDATA[språk]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://bertholdsson.eu/2007/10/13/fixa-sprk-i-debianubuntu/</guid>
		<description><![CDATA[Det här är en bra onliner, logga ut och in för att det ska slå igenom dpkg-reconfigure locales Bookmark:]]></description>
			<content:encoded><![CDATA[<p>Det här är en bra onliner, logga ut och in för att det ska slå igenom</p>
<p>dpkg-reconfigure locales</p>
<!-- Social Bookmarking Reloaded BEGIN --><div class="social_bookmark"><em>Bookmark:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://bertholdsson.eu/2007/10/13/fixa-sprk-i-debianubuntu/&amp;title=Fixa+spr%26aring%3Bk+i+debian%2Fubuntu" title="Lägg till 'Fixa spr&aring;k i debian/ubuntu' till Del.icio.us"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Lägg till 'Fixa spr&aring;k i debian/ubuntu' till Del.icio.us" alt="Lägg till 'Fixa spr&aring;k i debian/ubuntu' till Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://bertholdsson.eu/2007/10/13/fixa-sprk-i-debianubuntu/&amp;title=Fixa+spr%26aring%3Bk+i+debian%2Fubuntu" title="Lägg till 'Fixa spr&aring;k i debian/ubuntu' till digg"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Lägg till 'Fixa spr&aring;k i debian/ubuntu' till digg" alt="Lägg till 'Fixa spr&aring;k i debian/ubuntu' till digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://bertholdsson.eu/2007/10/13/fixa-sprk-i-debianubuntu/&amp;title=Fixa+spr%26aring%3Bk+i+debian%2Fubuntu" title="Lägg till 'Fixa spr&aring;k i debian/ubuntu' till reddit"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Lägg till 'Fixa spr&aring;k i debian/ubuntu' till reddit" alt="Lägg till 'Fixa spr&aring;k i debian/ubuntu' till reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://bertholdsson.eu/2007/10/13/fixa-sprk-i-debianubuntu/&amp;t=Fixa+spr%26aring%3Bk+i+debian%2Fubuntu" title="Lägg till 'Fixa spr&aring;k i debian/ubuntu' till FaceBook"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/facebook.png" title="Lägg till 'Fixa spr&aring;k i debian/ubuntu' till FaceBook" alt="Lägg till 'Fixa spr&aring;k i debian/ubuntu' till FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=Fixa+spr%26aring%3Bk+i+debian%2Fubuntu&amp;c=http://bertholdsson.eu/2007/10/13/fixa-sprk-i-debianubuntu/" title="Lägg till 'Fixa spr&aring;k i debian/ubuntu' till MySpace"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/myspace.png" title="Lägg till 'Fixa spr&aring;k i debian/ubuntu' till MySpace" alt="Lägg till 'Fixa spr&aring;k i debian/ubuntu' till MySpace" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://bertholdsson.eu/2007/10/13/fixa-sprk-i-debianubuntu/" title="Lägg till 'Fixa spr&aring;k i debian/ubuntu' till Twitter"><img src="http://bertholdsson.eu/wp-content/plugins/social-bookmarking-reloaded/twitter.png" title="Lägg till 'Fixa spr&aring;k i debian/ubuntu' till Twitter" alt="Lägg till 'Fixa spr&aring;k i debian/ubuntu' till Twitter" /></a></div>
<!-- Social Bookmarking Reloaded END -->]]></content:encoded>
			<wfw:commentRss>http://bertholdsson.eu/2007/10/13/fixa-sprk-i-debianubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

