]> pere.pagekite.me Git - homepage.git/blobdiff - blog/index.html
Generated.
[homepage.git] / blog / index.html
index fe3f46cc655d59b693cc06b11eabad7e6487bc57..ae08aae01f4de9083e35986a7d263ec8a051aaba 100644 (file)
@@ -243,6 +243,63 @@ kan.</p>
  </div>
  <div class="padding"></div>
  
+ <div class="entry">
+  <div class="title"><a href="http://people.skolelinux.org/pere/blog/Now_accepting_bitcoins___anonymous_and_distributed_p2p_crypto_money.html">Now accepting bitcoins - anonymous and distributed p2p crypto-money</a></div>
+  <div class="date">2010-12-10 08:20</div>
+  <div class="body">
+<p>With this weeks lawless
+<a href="http://www.salon.com/news/opinion/glenn_greenwald/2010/12/06/wikileaks/index.html">governmental
+attacks</a> on Wikileak and
+<a href="http://www.salon.com/technology/dan_gillmor/2010/12/06/war_on_speech">free
+speech</a>, it has become obvious that PayPal, visa and mastercard can
+not be trusted to handle money transactions.
+A blog post from
+<a href="http://webmink.com/2010/12/06/now-accepting-bitcoin/">Simon
+Phipps on bitcoin</a> reminded me about a project that a friend of
+mine mentioned earlier.  I decided to follow Simon's example, and get
+involved with <a href="http://www.bitcoin.org/">BitCoin</a>.  I got
+some help from my friend to get it all running, and he even handed me
+some bitcoins to get started.  I even donated a few bitcoins to Simon
+for helping me remember BitCoin.</p>
+
+<p>So, what is bitcoins, you probably wonder?  It is a digital
+crypto-currency, decentralised and handled using peer-to-peer
+networks.  It allows anonymous transactions and prohibits central
+control over the transactions, making it impossible for governments
+and companies alike to block donations and other transactions.  The
+source is free software, and while the key dependency wxWidgets 2.9
+for the graphical user interface is missing in Debian, the command
+line client builds just fine.  Hopefully Jonas
+<a href="http://bugs.debian.org/578157">will get the package into
+Debian</a> soon.</p>
+
+<p>Bitcoins can be converted to other currencies, like USD and EUR.
+There are <a href="http://www.bitcoin.org/trade">companies accepting
+bitcoins</a> when selling services and goods, and there are even
+currency "stock" markets where the exchange rate is decided.  There
+are not many users so far, but the concept seems promising.  If you
+want to get started and lack a friend with any bitcoins to spare,
+you can even get
+<a href="https://freebitcoins.appspot.com/">some for free</a> (0.05
+bitcoin at the time of writing).  Use
+<a href="http://www.bitcoinwatch.com/">BitcoinWatch</a> to keep an eye
+on the current exchange rates.</p>
+
+<p>As an experiment, I have decided to set up bitcoind on one of my
+machines.  If you want to support my activity, please send Bitcoin
+donations to the address
+<b>15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</b>.  Thank you!</p>
+</div>
+  <div class="tags">
+   
+
+   
+   Tags: <a href="http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin</a>, <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern</a>, <a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet</a>. 
+  
+  </div>
+ </div>
+ <div class="padding"></div>
  <div class="entry">
   <div class="title"><a href="http://people.skolelinux.org/pere/blog/Martin_Bekkelund__En_stille_b__nn_om_Datalagringsdirektivet.html">Martin Bekkelund: En stille bønn om Datalagringsdirektivet</a></div>
   <div class="date">2010-12-09 21:25</div>
@@ -922,93 +979,6 @@ the upgrade, but hope those that do can have a look.</p>
    
 
    
-   Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>. 
-  
-  </div>
- </div>
- <div class="padding"></div>
- <div class="entry">
-  <div class="title"><a href="http://people.skolelinux.org/pere/blog/Migrating_Xen_virtual_machines_using_LVM_to_KVM_using_disk_images.html">Migrating Xen virtual machines using LVM to KVM using disk images</a></div>
-  <div class="date">2010-11-22 11:20</div>
-  <div class="body">
-<p>Most of the computers in use by the
-<a href="http://www.skolelinux.org/">Debian Edu/Skolelinux project</a>
-are virtual machines.  And they have been Xen machines running on a
-fairly old IBM eserver xseries 345 machine, and we wanted to migrate
-them to KVM on a newer Dell PowerEdge 2950 host machine.  This was a
-bit harder that it could have been, because we set up the Xen virtual
-machines to get the virtual partitions from LVM, which as far as I
-know is not supported by KVM.  So to migrate, we had to convert
-several LVM logical volumes to partitions on a virtual disk file.</p>
-
-<p>I found
-<a href="http://searchnetworking.techtarget.com.au/articles/35011-Six-steps-for-migrating-Xen-virtual-machines-to-KVM">a
-nice recipe</a> to do this, and wrote the following script to do the
-migration.  It uses qemu-img from the qemu package to make the disk
-image, parted to partition it, losetup and kpartx to present the disk
-image partions as devices, and dd to copy the data.  I NFS mounted the
-new servers storage area on the old server to do the migration.</p>
-
-<pre>
-#!/bin/sh
-
-# Based on
-# http://searchnetworking.techtarget.com.au/articles/35011-Six-steps-for-migrating-Xen-virtual-machines-to-KVM
-
-set -e
-set -x
-
-if [ -z "$1" ] ; then
-    echo "Usage: $0 &lt;hostname&gt;"
-    exit 1
-else
-    host="$1"
-fi
-
-if [ ! -e /dev/vg_data/$host-disk ] ; then
-    echo "error: unable to find LVM volume for $host"
-    exit 1
-fi
-
-# Partitions need to be a bit bigger than the LVM LVs.  not sure why.
-disksize=$( lvs --units m | grep $host-disk | awk '{sum = sum + $4} END { print int(sum * 1.05) }')
-swapsize=$( lvs --units m | grep $host-swap | awk '{sum = sum + $4} END { print int(sum * 1.05) }')
-totalsize=$(( ( $disksize + $swapsize ) ))
-
-img=$host.img
-#dd if=/dev/zero of=$img bs=1M count=$(( $disksize + $swapsize ))
-qemu-img create $img ${totalsize}MMaking room on the Debian Edu/Sqeeze DVD
-
-parted $img mklabel msdos
-parted $img mkpart primary linux-swap 0 $disksize
-parted $img mkpart primary ext2 $disksize $totalsize
-parted $img set 1 boot on
-
-modprobe dm-mod
-losetup /dev/loop0 $img
-kpartx -a /dev/loop0
-
-dd if=/dev/vg_data/$host-disk of=/dev/mapper/loop0p1 bs=1M
-fsck.ext3 -f /dev/mapper/loop0p1 || true
-mkswap /dev/mapper/loop0p2
-
-kpartx -d /dev/loop0
-losetup -d /dev/loop0
-</pre>
-
-<p>The script is perhaps so simple that it is not copyrightable, but
-if it is, it is licenced using GPL v2 or later at your discretion.</p>
-
-<p>After doing this, I booted a Debian CD in rescue mode in KVM with
-the new disk image attached, installed grub-pc and linux-image-686 and
-set up grub to boot from the disk image.  After this, the KVM machines
-seem to work just fine.</p>
-</div>
-  <div class="tags">
-   
-
-   
    Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>. 
   
   </div>
@@ -1051,7 +1021,7 @@ seem to work just fine.</p>
 
 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/11/">November (13)</a></li>
 
-<li><a href="http://people.skolelinux.org/pere/blog/archive/2010/12/">December (5)</a></li>
+<li><a href="http://people.skolelinux.org/pere/blog/archive/2010/12/">December (6)</a></li>
 
 </ul></li>
 
@@ -1106,15 +1076,15 @@ seem to work just fine.</p>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/aros">aros (1)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin (1)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin (2)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem (10)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/debian">debian (45)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/debian">debian (46)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu (53)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/english">english (76)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/english">english (77)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (1)</a></li>
 
@@ -1136,7 +1106,7 @@ seem to work just fine.</p>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett (18)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern (29)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern (30)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/reprap">reprap (11)</a></li>
 
@@ -1144,7 +1114,7 @@ seem to work just fine.</p>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/rss">rss (1)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet (21)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet (22)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/sitesummary">sitesummary (3)</a></li>