<?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>Jonathan Arbib &#187; Tutorials</title>
	<atom:link href="http://arbib.it/category/tech-junk/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://arbib.it</link>
	<description>Mzee mulimu; A bit of my work, life, and experiences.</description>
	<lastBuildDate>Wed, 09 May 2012 11:51:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>How to Generate a INVISIBLE window to boost pages</title>
		<link>http://arbib.it/2010/07/27/how-to-generate-a-invisible-window-to-boost-pages/</link>
		<comments>http://arbib.it/2010/07/27/how-to-generate-a-invisible-window-to-boost-pages/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 15:16:43 +0000</pubDate>
		<dc:creator>ac3bf1</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Tech Junk]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[stupid hacks]]></category>

		<guid isPermaLink="false">http://arbib.it/?p=715</guid>
		<description><![CDATA[Interesting article here: http://www.thedomz.com/2010/05/generate-invisible-window-boost-pages/]]></description>
			<content:encoded><![CDATA[<p>Interesting article here:</p>
<p><a href="http://www.thedomz.com/2010/05/generate-invisible-window-boost-pages/" target="_blank">http://www.thedomz.com/2010/05/generate-invisible-window-boost-pages/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://arbib.it/2010/07/27/how-to-generate-a-invisible-window-to-boost-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Alix 3d3 scripts</title>
		<link>http://arbib.it/2010/05/18/alix-3d3-scripts/</link>
		<comments>http://arbib.it/2010/05/18/alix-3d3-scripts/#comments</comments>
		<pubDate>Tue, 18 May 2010 19:26:31 +0000</pubDate>
		<dc:creator>ac3bf1</dc:creator>
				<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[alic 3d3]]></category>
		<category><![CDATA[alix]]></category>
		<category><![CDATA[alix temperature]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://arbib.it/?p=653</guid>
		<description><![CDATA[Simple stats script: #!/bin/bash clear while [ 1 ] do uptime df -h &#124; grep Filesystem df -h &#124; grep rootfs df -h &#124; grep usb echo "" Temp1=$(cat /sys/bus/i2c/drivers/lm90/0-004c/temp1_input) Temp2=$(cat /sys/bus/i2c/drivers/lm90/0-004c/temp2_input) echo "MB T  = "$Temp1 echo "CPU T = "$Temp2 sleep 1 clear done Insert it in a file. I called it stats.sh [...]]]></description>
			<content:encoded><![CDATA[<p>Simple stats script:</p>
<pre>#!/bin/bash
clear
while [ 1 ]
do
 uptime
 df -h | grep Filesystem
 df -h | grep rootfs
 df -h | grep usb
 echo ""
 Temp1=$(cat /sys/bus/i2c/drivers/lm90/0-004c/temp1_input)
 Temp2=$(cat /sys/bus/i2c/drivers/lm90/0-004c/temp2_input)
 echo "MB T  = "$Temp1
 echo "CPU T = "$Temp2
 sleep 1
 clear
done</pre>
<p>Insert it in a file. I called it stats.sh</p>
<p>chmod a+x stats.sh</p>
<p>and run with ./stats.sh</p>
<p>It updates every second and returns:</p>
<ul>
<li>uptime with load</li>
<li>Disk space and usb disk space</li>
<li>MB temp</li>
<li>CPU temp</li>
</ul>
<p>You can add all you want in there or remove what you don&#8217;t need :-)</p>
]]></content:encoded>
			<wfw:commentRss>http://arbib.it/2010/05/18/alix-3d3-scripts/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PC Engines &#8211; Alix 3d3</title>
		<link>http://arbib.it/2010/05/18/pc-engines-alix-3d3/</link>
		<comments>http://arbib.it/2010/05/18/pc-engines-alix-3d3/#comments</comments>
		<pubDate>Tue, 18 May 2010 19:08:49 +0000</pubDate>
		<dc:creator>ac3bf1</dc:creator>
				<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[alix]]></category>
		<category><![CDATA[alix 3d3]]></category>
		<category><![CDATA[gps gsm tracker]]></category>
		<category><![CDATA[gps tracker]]></category>
		<category><![CDATA[open source gps tracker]]></category>
		<category><![CDATA[pc engines]]></category>
		<category><![CDATA[pc engines alix]]></category>
		<category><![CDATA[pc engines alix 3d3]]></category>
		<category><![CDATA[pcengines]]></category>

		<guid isPermaLink="false">http://arbib.it/?p=635</guid>
		<description><![CDATA[Just purchased a PC Engines Alix 3d3. online from MS Distribution (UK) for ~£110.00. I have a plan for it&#8230; read on&#8230; Specs follow: CPU 500 MHz AMD Geode LX800 DRAM 256MB DDR DRAM Storage CompactFlash socket Power DC jack or passive POE, min. 7V to max. 20V Expansion 2 miniPCI slots, LPC bus Monitoring [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://arbib.it/wp-content/uploads/2010/05/alix3d3.jpg"><img class="size-medium wp-image-636 alignleft" title="alix3d3" src="http://arbib.it/wp-content/uploads/2010/05/alix3d3-300x178.jpg" alt="" width="180" height="107" /></a>Just purchased a <a href="http://www.pcengines.ch/alix3d3.htm" target="_blank">PC Engines Alix 3d3</a>. online from <a href="http://www.msdist.co.uk/" target="_blank">MS Distribution (UK)</a> for ~£110.00. I have a plan for it&#8230; read on&#8230;</p>
<p>Specs follow:</p>
<table border="0" cellspacing="0" cellpadding="5" width="96%" align="center">
<tbody>
<tr bgcolor="#f2f4f9">
<td width="46%" height="20" valign="top"><span style="color: #000000;">CPU</span></td>
<td width="54%" valign="top"><span style="color: #000000;">500 MHz AMD  Geode LX800</span></td>
</tr>
<tr bgcolor="#e0e4f1">
<td width="46%" height="20" valign="top"><span style="color: #000000;">DRAM</span></td>
<td width="54%" valign="top"><span style="color: #000000;">256MB DDR DRAM</span></td>
</tr>
<tr bgcolor="#f2f4f9">
<td width="46%" height="20" valign="top"><span style="color: #000000;">Storage</span></td>
<td width="54%" valign="top"><span style="color: #000000;">CompactFlash  socket</span></td>
</tr>
<tr bgcolor="#e0e4f1">
<td width="46%" height="20" valign="top"><span style="color: #000000;">Power</span></td>
<td width="54%" valign="top"><span style="color: #000000;">DC jack or  passive POE, min. 7V to max. 20V</span></td>
</tr>
<tr bgcolor="#f2f4f9">
<td width="46%" height="20" valign="top"><span style="color: #000000;">Expansion</span></td>
<td width="54%" valign="top"><span style="color: #000000;">2 miniPCI  slots, LPC bus</span></td>
</tr>
<tr bgcolor="#e0e4f1">
<td width="46%" height="20" valign="top"><span style="color: #000000;">Monitoring</span></td>
<td width="54%" valign="top"><span style="color: #000000;">3  LEDs</span></td>
</tr>
<tr bgcolor="#f2f4f9">
<td width="46%" height="20" valign="top"><span style="color: #000000;">Connectivity</span></td>
<td width="54%" valign="top"><span style="color: #000000;">1 Ethernet , 1  dual USB</span></td>
</tr>
<tr bgcolor="#e0e4f1">
<td width="46%" height="20" valign="top"><span style="color: #000000;"></span></td>
<td width="54%" valign="top"><span style="color: #000000;">1 VGA, 2audio</span></td>
</tr>
<tr bgcolor="#f2f4f9">
<td width="46%" height="20" valign="top"><span style="color: #000000;">Size</span></td>
<td width="54%" valign="top"><span style="color: #000000;">100 x 160 mm</span></td>
</tr>
</tbody>
</table>
<h2>First Mod: Heatsink with fan!</h2>
<p><a href="http://arbib.it/wp-content/uploads/2010/05/photo-2.jpg"><img class="alignnone size-medium wp-image-640" title="photo 2" src="http://arbib.it/wp-content/uploads/2010/05/photo-2-225x300.jpg" alt="" width="225" height="300" /></a><a href="http://arbib.it/wp-content/uploads/2010/05/photo-3.jpg"><img class="alignnone size-medium wp-image-641" title="photo 3" src="http://arbib.it/wp-content/uploads/2010/05/photo-3-225x300.jpg" alt="" width="225" height="300" /></a></p>
<p>I noticed that my processor was going up to the 50&#8242;s plus degrees when working, so I decided to keep it cool by adding a Heatsing with a FAN. I found one on <a href="http://www.amazon.co.uk/StarTech-com-Chipset-Video-Round-Heatsink/dp/B00006B8EE/ref=sr_1_1?ie=UTF8&amp;s=electronics&amp;qid=1274208790&amp;sr=8-1" target="_blank">Amazon.co.uk</a>, specifically designed for Graphics chips, so I thought it would be ok for my Alix. It came with a self-adhesive strip on the bottom which made installation simple. Then after seeing that an 18V supply for the Alix was too high, and hmm&#8230; I ran out of adequate resistors to step down the voltage&#8230; I hooked on the 5V supply right behind the Serial port! And that ensures i get minimal fan spin, and hence virtually no noise from the fan. The airflow is enough to cool down the heatsink, as there is a noticeable difference when the fan is operational and not.</p>
<p>Update: While compiling the kernel the cpu temperature stays below 42 degrees (Celsius)</p>
<h2>Application:</h2>
<p>I am now trying to develop a home-made GPS tracker with a GPRS modem to &#8220;report back&#8221; the location&#8230; More on this coming soon!</p>
]]></content:encoded>
			<wfw:commentRss>http://arbib.it/2010/05/18/pc-engines-alix-3d3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix GNU screen backspace</title>
		<link>http://arbib.it/2010/05/14/fix-gnu-screen-backspace/</link>
		<comments>http://arbib.it/2010/05/14/fix-gnu-screen-backspace/#comments</comments>
		<pubDate>Fri, 14 May 2010 17:03:14 +0000</pubDate>
		<dc:creator>ac3bf1</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[gnu]]></category>
		<category><![CDATA[gnu screen]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[screen backspace]]></category>
		<category><![CDATA[screen backspace linux]]></category>
		<category><![CDATA[screen woof woof]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[woof woof]]></category>

		<guid isPermaLink="false">http://arbib.it/2010/05/14/fix-gnu-screen-backspace/</guid>
		<description><![CDATA[create a new .screenrc in your home directory and put these lines inside: bindkey -d ^? stuff ^H bindkey -d ^@ stuff ^H]]></description>
			<content:encoded><![CDATA[<p>create a new .screenrc in your home directory and put these lines  inside:</p>
<pre>bindkey -d ^? stuff ^H
bindkey -d ^@ stuff ^H</pre>
]]></content:encoded>
			<wfw:commentRss>http://arbib.it/2010/05/14/fix-gnu-screen-backspace/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Evermore GM-R700 Linux drivers</title>
		<link>http://arbib.it/2010/05/14/evermore-gm-r700-linux-drivers/</link>
		<comments>http://arbib.it/2010/05/14/evermore-gm-r700-linux-drivers/#comments</comments>
		<pubDate>Fri, 14 May 2010 11:52:52 +0000</pubDate>
		<dc:creator>ac3bf1</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[evermore gm-700]]></category>
		<category><![CDATA[evermore gps]]></category>
		<category><![CDATA[linux gps]]></category>
		<category><![CDATA[linux gps drivers]]></category>

		<guid isPermaLink="false">http://arbib.it/?p=610</guid>
		<description><![CDATA[These have no YET been tested, but should work on linux for the GM-R700 USB GPS receiver evermore-gps-gmr700.tar.gz]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-614 alignleft" title="evermore-gm-r700" src="http://arbib.it/wp-content/uploads/2010/05/evermore-gm-r700.jpg" alt="" width="194" height="160" />These have no YET been tested, but should work on linux for the GM-R700 USB GPS receiver</p>
<p><a href="http://arbib.it/wp-content/uploads/2010/05/evermore-gps-gmr700.tar.gz">evermore-gps-gmr700.tar.gz</a></p>
]]></content:encoded>
			<wfw:commentRss>http://arbib.it/2010/05/14/evermore-gm-r700-linux-drivers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Volume by UUID and adding the disk to a xen Virtual Machine</title>
		<link>http://arbib.it/2010/05/08/volume-by-uuid-and-adding-the-disk-to-a-xen-virtual-machine/</link>
		<comments>http://arbib.it/2010/05/08/volume-by-uuid-and-adding-the-disk-to-a-xen-virtual-machine/#comments</comments>
		<pubDate>Sat, 08 May 2010 20:36:44 +0000</pubDate>
		<dc:creator>ac3bf1</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[add disk to xen by uuid]]></category>
		<category><![CDATA[usb disk by uuid xen]]></category>
		<category><![CDATA[uuid]]></category>
		<category><![CDATA[volume uuid]]></category>
		<category><![CDATA[volume uuid xen]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://arbib.it/?p=592</guid>
		<description><![CDATA[Get the drive UUID by using the command vold_id vol_id /dev/sda1 The string after &#8220;ID_FS_UUID=&#8221; is the UUID of the drive. Now open your /etc/fstab file and add the following line to the end. Replace the UUID string with your string, your mount point, and customize the other parameters if needed. UUID=THE-UUID-HERE /mnt/USBDrive ext3 user,auto,rw [...]]]></description>
			<content:encoded><![CDATA[<p>Get the drive UUID by using the command vold_id</p>
<pre>vol_id /dev/sda1</pre>
<p>The string after &#8220;ID_FS_UUID=&#8221; is the UUID of the drive. Now open your /etc/fstab file and add the following line to the end. Replace the UUID string with your string, your mount point, and customize the other parameters if needed.</p>
<pre>UUID=THE-UUID-HERE   /mnt/USBDrive   ext3   user,auto,rw   0   0</pre>
<p>To then pass a disk to a xen virtual machine, look at the following lines of the domain config file:</p>
<pre>disk        = [
#...root partition and other partitions here...
'phy:/dev/disk/by-uuid/89b976bc-2f66-4b93-abfb-358d6227f8be,sda,w',
'phy:/dev/disk/by-uuid/1871b9a1-8055-4392-8a94-f5407ff37483,sdb,w',
]</pre>
<p>basically instead of passing the disk as a /dev/sda1 device, pass it by UUID using the path:</p>
<pre>/dev/disk/by-uuid/&lt;the uuid&gt;</pre>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://arbib.it/2010/05/08/volume-by-uuid-and-adding-the-disk-to-a-xen-virtual-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backups? Sharing? Collaborating? More Backups?</title>
		<link>http://arbib.it/2010/04/30/backups-sharing-collaborating-more-backups/</link>
		<comments>http://arbib.it/2010/04/30/backups-sharing-collaborating-more-backups/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 18:50:45 +0000</pubDate>
		<dc:creator>ac3bf1</dc:creator>
				<category><![CDATA[Tech Junk]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[ifolder]]></category>
		<category><![CDATA[rsync]]></category>

		<guid isPermaLink="false">http://arbib.it/?p=567</guid>
		<description><![CDATA[I needed a solution to easily share my documents from my home computer, to my laptop, and also have them available on the web&#8230; Manually syncronizing was not an option, and other solutions such as rsync were not user-friendly for a day-to-day use&#8230; Finally I found two solutions able to give me what I needed: [...]]]></description>
			<content:encoded><![CDATA[<p>I needed a solution to easily share my documents from my home computer, to my laptop, and also have them available on the web&#8230; Manually syncronizing was not an option, and other solutions such as rsync were not user-friendly for a day-to-day use&#8230;<br />
Finally I found two solutions able to give me what I needed:<br />
<a href="https://www.dropbox.com/referrals/NTQ0NDU5NTE5" target="_blank">Dropbox</a> and <a href="http://ifolder.com/ifolder" target="_blank">iFolder</a>!</p>
<p><a href="https://www.dropbox.com/referrals/NTQ0NDU5NTE5" target="_blank"><img class="alignleft size-full wp-image-569" title="dropbox" src="http://arbib.it/wp-content/uploads/2010/04/dropbox.png" alt="" width="231" height="60" />Dropbox</a> stores your files on their server (or in the cloud&#8230; depending how you look at it!) and gives you a client which synchronizes a folder on your local computer with the server and any other computer linked to that account. Dropbox also allows sync&#8217;ing over LAN, which greatly improves performance for large files if two computers are on the same network! There is a size limit of 2GB for free accounts. Dropbox clients are available for Windows, OSX and even Linux!</p>
<p><a href="http://ifolder.com/ifolder" target="_blank"><img class="alignleft size-full wp-image-570" title="ifolder" src="http://arbib.it/wp-content/uploads/2010/04/ifolder.png" alt="" width="149" height="118" />iFolder</a> on the other hand allows you to &#8220;own&#8221; your files and host them on your own private machine. This removes also any space constraints that Dropbox gives you, as the limit is your drive, but adds the problem of being limited by your server&#8217;s connection speed, as you are limitied to the badwidth available where your server is. Hosting or colocating will help you overcome that barrier!</p>
<p>Personally I currently use dropbox as I have not (yet) installed a working xen virtual machine with iFolder to deploy on my server. When that happends I might move to iFolder.</p>
]]></content:encoded>
			<wfw:commentRss>http://arbib.it/2010/04/30/backups-sharing-collaborating-more-backups/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Microsoft TrueType Fonts on Linux (debian example)</title>
		<link>http://arbib.it/2010/03/17/installing-microsoft-truetype-fonts-on-linux-debian-example/</link>
		<comments>http://arbib.it/2010/03/17/installing-microsoft-truetype-fonts-on-linux-debian-example/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 11:14:54 +0000</pubDate>
		<dc:creator>ac3bf1</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[microsoft fonts on linux]]></category>
		<category><![CDATA[microsoft truetype fonts on linux]]></category>
		<category><![CDATA[truetype fonts]]></category>
		<category><![CDATA[truetype fonts on linux]]></category>
		<category><![CDATA[ttf]]></category>
		<category><![CDATA[ttf on linux]]></category>

		<guid isPermaLink="false">http://arbib.it/?p=475</guid>
		<description><![CDATA[Ensure your sources.list looks something like this: deb http://ftp.uk.debian.org/debian/ lenny main non-free contrib deb-src http://ftp.uk.debian.org/debian/ lenny main non-free contrib Run the following commands: apt-get update apt-get install ttf-mscorefonts-installer All done!]]></description>
			<content:encoded><![CDATA[<p>Ensure your sources.list looks something like this:</p>
<pre>deb http://ftp.uk.debian.org/debian/ lenny main non-free contrib
deb-src http://ftp.uk.debian.org/debian/ lenny main non-free contrib</pre>
<p>Run the following commands:</p>
<pre>apt-get update
apt-get install ttf-mscorefonts-installer</pre>
<p>All done!</p>
]]></content:encoded>
			<wfw:commentRss>http://arbib.it/2010/03/17/installing-microsoft-truetype-fonts-on-linux-debian-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lenny domU on xen with debootstrap</title>
		<link>http://arbib.it/2010/03/12/lenny-domu-on-xen-with-debootstrap/</link>
		<comments>http://arbib.it/2010/03/12/lenny-domu-on-xen-with-debootstrap/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 12:35:47 +0000</pubDate>
		<dc:creator>ac3bf1</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[lenny debootstrap]]></category>
		<category><![CDATA[lenny domU]]></category>
		<category><![CDATA[xen]]></category>
		<category><![CDATA[xen debootstrap]]></category>
		<category><![CDATA[xen domU]]></category>

		<guid isPermaLink="false">http://ac3bf1.org/?p=434</guid>
		<description><![CDATA[This is a HowTo on installing Lenny on a xen system using the debootstrap method 3000 -> Disk image size (sparse volume) disk.img -> image filename dd if=/dev/zero of=disk.img count=0 bs=1024k seek=3000 mke2fs -j disk.img Make a 1 Gbyte swap image file dd if=/dev/zero of=swap.img bs=1024k seek=1024 count=0 Make a temporary directory to mount the [...]]]></description>
			<content:encoded><![CDATA[<p>This is a HowTo on installing Lenny on a xen system using the debootstrap method</p>
<p><span id="more-434"></span></p>
<p>3000 -> Disk image size (sparse volume)<br />
disk.img -> image filename</p>
<p><code>dd if=/dev/zero of=disk.img count=0 bs=1024k seek=3000<br />
mke2fs -j disk.img</code></p>
<p>Make a 1 Gbyte swap image file<br />
<code>dd if=/dev/zero of=swap.img bs=1024k seek=1024 count=0</code></p>
<p>Make a temporary directory to mount the image<br />
<code>mkdir mymount</code></p>
<p>Mount the image<br />
<code>mount -o loop disk.img mymount</code></p>
<p>Install a system<br />
ARCH = [i386 | amd64]<br />
DISTRIB = [etch | lenny] (or other debian flavours&#8230;)<br />
<code>debootstrap --arch <strong>ARCH DISTRIB</strong> mymount http://ftp.de.debian.org/debian/</code></p>
<p>Example (64-bit with Lenny)<br />
<code>debootstrap --arch <strong>amd64 lenny</strong> mymount http://ftp.de.debian.org/debian/</code></p>
<p>chroot in the environment<br />
<code>chroot mountpoint/</code></p>
<p>Configure your network through /etc/network/interfaces</p>
<p><code># Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or<br />
# /usr/share/doc/ifupdown/examples for more information.</p>
<p>auto lo<br />
iface lo inet loopback</p>
<p># The first network card - this entry was created during the Debian<br />
# installation (network, broadcast and gateway are optional)<br />
auto eth0<br />
iface eth0 inet static<br />
        address ip<br />
        netmask mask<br />
        gateway gateway<br />
        dns-nameservers server1 server2</code></p>
<p>Change Hostname</p>
<p><code>echo NewHostName > /etc/hostname</code></p>
<p>Edit sources.list <strong>(make sure you replace etch with YOUR distribution)</strong></p>
<p><code>###### Debian Main Repos<br />
deb http://ftp.de.debian.org/debian/ lenny main contrib non-free<br />
deb-src http://ftp.de.debian.org/debian/ lenny main contrib non-free</p>
<p>###### Debian Update Repos<br />
deb http://security.debian.org/ lenny/updates main contrib non-free<br />
deb http://ftp.de.debian.org/debian/ lenny-proposed-updates main contrib non-free<br />
deb-src http://security.debian.org/ lenny/updates main contrib non-free<br />
deb-src http://ftp.de.debian.org/debian/ lenny-proposed-updates main contrib non-free</code></p>
<p>Install OpenSSH Server</p>
<p><code>apt-get install openssh-server</code></p>
<p><strong>MAKE SURE YOU EXIT THE CHROOT ENVIRONMENT</strong><br />
<code>exit</code></p>
<p>Unmount the directory<br />
<code>umount mymount</code></p>
<p>Make a config file. Use this as an example, modifying network and disk paths accordingly to YOUR setup<br />
<code>kernel = "/boot/vmlinuz-2.6.16-xenU"<br />
memory = 256<br />
name = "NewHostname"<br />
vif = ['mac=YOUR_MAC,ip=YOUR_IP']<br />
disk = [ 'file:/xen/MyHostname/disk.img,sda1,w','file:/xen/MyHostname/swap.img,sda2,w' ]<br />
root = "/dev/sda1 ro"</code></p>
<p>Now start the virtual machine with<br />
<code>xm create CONFIGFILE -c</code><br />
where CONFIGFILE is your config file duh ;-)</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://arbib.it/2010/03/12/lenny-domu-on-xen-with-debootstrap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recover MySQL password</title>
		<link>http://arbib.it/2010/03/05/recover-mysql-password/</link>
		<comments>http://arbib.it/2010/03/05/recover-mysql-password/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 12:52:04 +0000</pubDate>
		<dc:creator>ac3bf1</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[change mysql root password]]></category>
		<category><![CDATA[lost mysql password]]></category>
		<category><![CDATA[lost mysql root password]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysql password]]></category>
		<category><![CDATA[mysql root password]]></category>
		<category><![CDATA[reset mysql root password]]></category>

		<guid isPermaLink="false">http://ac3bf1.org/?p=429</guid>
		<description><![CDATA[Lost your MySQL root password? No worries! :-) Stop MySQL server # /etc/init.d/mysql stop Start MySQL server without password # mysqld_safe --skip-grant-tables &#38; Login # mysql -u root Change password (replace XXX with your new root password) mysql&#62; use mysql; mysql&#62; update user set password=PASSWORD("XXX") where User='root'; mysql&#62; flush privileges; mysql&#62; quit Stop and Start [...]]]></description>
			<content:encoded><![CDATA[<p>Lost your MySQL root password? No worries! :-)</p>
<p>Stop MySQL server</p>
<pre># /etc/init.d/mysql stop</pre>
<p>Start MySQL server without password</p>
<pre># mysqld_safe --skip-grant-tables &amp;</pre>
<p>Login</p>
<pre># mysql -u root</pre>
<p>Change password (replace XXX with your new root password)</p>
<pre>mysql&gt; use mysql;
mysql&gt; update user set password=PASSWORD("XXX") where User='root';
mysql&gt; flush privileges;
mysql&gt; quit</pre>
<p>Stop and Start MySQL server</p>
<pre># /etc/init.d/mysql stop
# /etc/init.d/mysql start</pre>
<p>Test to see if it works! (Should ask you for your new password)</p>
<pre># mysql -u root -p</pre>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://arbib.it/2010/03/05/recover-mysql-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

