<?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>Michael Kolb Fulda&#187; Linux basics</title>
	<atom:link href="http://www.michael-kolb.co.uk/category/linuxbasics/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.michael-kolb.co.uk</link>
	<description>Web Engineering</description>
	<lastBuildDate>Mon, 01 Mar 2010 05:58:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to enable USB support in VirtualBox on a linux host</title>
		<link>http://www.michael-kolb.co.uk/linuxbasics/how-to-enable-usb-support-in-virtualbox-on-a-linux-host/</link>
		<comments>http://www.michael-kolb.co.uk/linuxbasics/how-to-enable-usb-support-in-virtualbox-on-a-linux-host/#comments</comments>
		<pubDate>Sun, 02 Aug 2009 10:27:46 +0000</pubDate>
		<dc:creator>mk_michael</dc:creator>
				<category><![CDATA[Linux Basics]]></category>
		<category><![CDATA[Linux Daemons]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.michael-kolb.co.uk/?p=1146</guid>
		<description><![CDATA[There is a common problem to get USB support running in VirtualBox on a debian or ubuntu linux host system. If there is a Windows XP (maybe also other system) installed as the guest system, the USB devices will be shown in the VirtualBox menue &#8211; but they are disabled. The devices are recognized but [...]]]></description>
			<content:encoded><![CDATA[<p>There is a common problem to get USB support running in VirtualBox on a debian or ubuntu linux host system. If there is a Windows XP (maybe also other system) installed as the guest system, the USB devices will be shown in the VirtualBox menue &#8211; but they are disabled. The devices are recognized but the reason for the disabled function is the unsufficient permission.</p>
<p>In this post, I will explain how to solve this problem by a few tricks.</p>
<p><span id="more-1146"></span></p>
<p>You need to open the file mountkernfs.sh<br />
<code><br />
# vi /etc/init.d/mountkernfs.sh<br />
</code></p>
<p>Inside this file, look for this line:<br />
<code><br />
domount proc "" /proc proc -onodev,noexec,nosuid<br />
</code></p>
<p>Please insert directly below the line above this following statement. You need to replace xxx with the groupID of the vboxuser. You can find this ID in your /etc/groups file<br />
<code><br />
domount usbfs usbdevfs /proc/bus/usb usbfs -onodev,noexec,nosuid,devgid=xxx,devmode=664<br />
</code></p>
<p>Furthermore, open your fstab file:<br />
<code><br />
# vi /etc/fstab<br />
</code></p>
<p>and add this line as the very first statement. Replace xxx like above.<br />
<code><br />
none /proc/bus/usb usbfs auto,busgid=122,busmode=0775,devgid=xxx,devmode=0664 0 0<br />
</code></p>
<p>That&#8217;s it. Have a lot of fun. Please don&#8217;t hestitate to add any comments to this post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.michael-kolb.co.uk/linuxbasics/how-to-enable-usb-support-in-virtualbox-on-a-linux-host/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Mounting an ISO image with linux</title>
		<link>http://www.michael-kolb.co.uk/linuxbasics/mounting-an-iso-image-with-linux/</link>
		<comments>http://www.michael-kolb.co.uk/linuxbasics/mounting-an-iso-image-with-linux/#comments</comments>
		<pubDate>Sat, 25 Jul 2009 11:53:19 +0000</pubDate>
		<dc:creator>mk_michael</dc:creator>
				<category><![CDATA[Linux Basics]]></category>
		<category><![CDATA[basics]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.michael-kolb.co.uk/?p=1140</guid>
		<description><![CDATA[By using linux, you are able to mount an ISO image by the loop network device, which is quite easy. You can do this only as user root. Follow the steps below:
Change to user root:

# su

Mounting the ISO image to a directory or your choice, for example /mnt

# mount -o loop disk1.iso /mnt


Don&#8217;t forget to [...]]]></description>
			<content:encoded><![CDATA[<p>By using linux, you are able to mount an ISO image by the loop network device, which is quite easy. You can do this only as user root. Follow the steps below:</p>
<p>Change to user root:<br />
<code><br />
# su<br />
</code></p>
<p>Mounting the ISO image to a directory or your choice, for example /mnt<br />
<code><br />
# mount -o loop disk1.iso /mnt<br />
</code></p>
<p><span id="more-1140"></span></p>
<p>Don&#8217;t forget to umount the ISO image after using:<br />
<code><br />
# umount /mnt<br />
</code></p>
<p><strong>More about loop device </strong><br />
A loop device is a virtual network device which makes a file accessible as a block device. Loop devices are typically used for CD ISO images. Mounting a file containing a whole filesystem by a loop mount makes the files within that filesystem accessible. The content of the ISO image appears in the mount point directory using above commands.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.michael-kolb.co.uk/linuxbasics/mounting-an-iso-image-with-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to uninstall VMWare from a Linux System</title>
		<link>http://www.michael-kolb.co.uk/linuxbasics/how-to-uninstall-vmware-from-a-linux-system/</link>
		<comments>http://www.michael-kolb.co.uk/linuxbasics/how-to-uninstall-vmware-from-a-linux-system/#comments</comments>
		<pubDate>Sat, 25 Jul 2009 11:03:10 +0000</pubDate>
		<dc:creator>mk_michael</dc:creator>
				<category><![CDATA[Linux Basics]]></category>
		<category><![CDATA[basics]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.michael-kolb.co.uk/?p=1133</guid>
		<description><![CDATA[To uninstall the VMWare Software from a Linux System is quite easy. VMWware comes with a pearl script for this. Just open a console and change to user root.

localhost:/# su
localhost:/# vmware-uninstall.pl


Or directly by the sudo command:

localhost:/# sudo vmware-uninstall.pl

Don&#8217;t forget to delete your images from disk if you want to. Typically the images will be stored [...]]]></description>
			<content:encoded><![CDATA[<p>To uninstall the VMWare Software from a Linux System is quite easy. VMWware comes with a pearl script for this. Just open a console and change to user root.</p>
<p><code><br />
localhost:/# su<br />
localhost:/# vmware-uninstall.pl<br />
</code></p>
<p><span id="more-1133"></span></p>
<p>Or directly by the sudo command:<br />
<code><br />
localhost:/# sudo vmware-uninstall.pl<br />
</code></p>
<p>Don&#8217;t forget to delete your images from disk if you want to. Typically the images will be stored in /var/lib</p>
]]></content:encoded>
			<wfw:commentRss>http://www.michael-kolb.co.uk/linuxbasics/how-to-uninstall-vmware-from-a-linux-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make your linux prompt more colorful</title>
		<link>http://www.michael-kolb.co.uk/linuxbasics/make-your-linux-prompt-more-colorful/</link>
		<comments>http://www.michael-kolb.co.uk/linuxbasics/make-your-linux-prompt-more-colorful/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 12:18:44 +0000</pubDate>
		<dc:creator>mk_michael</dc:creator>
				<category><![CDATA[Linux Basics]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.michael-kolb.co.uk/?p=886</guid>
		<description><![CDATA[Changing the color of your linux prompt is a quite easy thing. Different prompt colors may be useful to distinguish different machines more easy, or just for fun.

export PS1='\e[0;32m\u\e[0;32m@\h:\e[0;0m\w\e[0;0m$\e[0m '

Just put the lines above in your /etc/profile and in the ~/.bashrc


The color codecs are:

GRAY="\[\033[1;30m\]"
LIGHT_GRAY="\[\033[0;37m\]"
CYAN="\[\033[0;36m\]"
LIGHT_CYAN="\[\033[1;36m\]"
NO_COLOUR="\[\033[0m\]"
BLUE="\[\033[0;34m\]"
LIGHT_BLUE="\[\033[1;34m\]"
RED="\[\033[0;31m\]"
LIGHT_RED="\[\033[1;31m\]"
GREEN="\[\033[0;32m\]"
LIGHT_GREEN="\[\033[1;32m\]"
PURPLE="\[\033[0;35m\]"
LIGHT_PURPLE="\[\033[1;35m\]"
BROWN="\[\033[0;33m\]"
YELLOW="\[\033[1;33m\]"
BLACK="\[\033[0;30m\]"
WHITE="\[\033[1;37m\]"

]]></description>
			<content:encoded><![CDATA[<p>Changing the color of your linux prompt is a quite easy thing. Different prompt colors may be useful to distinguish different machines more easy, or just for fun.</p>
<p><code><br />
export PS1='\e[0;32m\u\e[0;32m@\h:\e[0;0m\w\e[0;0m$\e[0m '<br />
</code></p>
<p>Just put the lines above in your /etc/profile and in the ~/.bashrc<br />
<img src="http://www.michael-kolb.co.uk/wp-content/uploads/2009/03/console.jpg" alt="console" title="console" width="350" height="137" class="alignnone size-full wp-image-1210" /></p>
<p><span id="more-886"></span></p>
<p>The color codecs are:<br />
<code><br />
GRAY="\[\033[1;30m\]"<br />
LIGHT_GRAY="\[\033[0;37m\]"<br />
CYAN="\[\033[0;36m\]"<br />
LIGHT_CYAN="\[\033[1;36m\]"<br />
NO_COLOUR="\[\033[0m\]"<br />
BLUE="\[\033[0;34m\]"<br />
LIGHT_BLUE="\[\033[1;34m\]"<br />
RED="\[\033[0;31m\]"<br />
LIGHT_RED="\[\033[1;31m\]"<br />
GREEN="\[\033[0;32m\]"<br />
LIGHT_GREEN="\[\033[1;32m\]"<br />
PURPLE="\[\033[0;35m\]"<br />
LIGHT_PURPLE="\[\033[1;35m\]"<br />
BROWN="\[\033[0;33m\]"<br />
YELLOW="\[\033[1;33m\]"<br />
BLACK="\[\033[0;30m\]"<br />
WHITE="\[\033[1;37m\]"<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.michael-kolb.co.uk/linuxbasics/make-your-linux-prompt-more-colorful/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Editing &#8220;message of the day&#8221; &#8211; motd</title>
		<link>http://www.michael-kolb.co.uk/linuxbasics/editing-message-of-the-day-motd/</link>
		<comments>http://www.michael-kolb.co.uk/linuxbasics/editing-message-of-the-day-motd/#comments</comments>
		<pubDate>Sun, 30 Nov 2008 12:26:02 +0000</pubDate>
		<dc:creator>mk_michael</dc:creator>
				<category><![CDATA[Linux Basics]]></category>
		<category><![CDATA[basics]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.michael-kolb.co.uk/?p=65</guid>
		<description><![CDATA[The message of the day is a nice thing to show informations to a user, who is connecting via console. You can put funny ascii figures there, or important informations and how-to&#8217;s.
The message will be shown prompltly after authentification:


To get these basic messages, just put it into /etc/motd (and in /etc/motd.tail for Debian and Ubuntu). [...]]]></description>
			<content:encoded><![CDATA[<p>The message of the day is a nice thing to show informations to a user, who is connecting via console. You can put funny ascii figures there, or important informations and how-to&#8217;s.</p>
<p>The message will be shown prompltly after authentification:</p>
<p><img src="http://www.michael-kolb.co.uk/wp-content/uploads/2008/11/motd-499x3081.jpg" alt="motd-499x308" title="motd-499x308" width="400" height="247" class="alignnone size-full wp-image-1217" /></p>
<p><span id="more-65"></span></p>
<p>To get these <a href="http://www.michael-kolb.co.uk/tag/basics">basic</a> messages, just put it into /etc/motd (and in /etc/motd.tail for Debian and Ubuntu). For example the /etc/motd:</p>
<p><code>_______________________________________________________<br />
WELCOME TO LOCALHOST<br />
<br />
[localhost.org] FILE SERVER<br />
To start or stop fileserver:<br />
/etc/init.d/nfsd start/stop<br />
</code></p>
<p>Finding ascii art at:<br />
<a href="http://www.ascii-art.de/ascii/index2.shtml" target="_blank">http://www.ascii-art.de/ascii/index2.shtml</a><br />
<a href="http://www.ascii-art.de/ascii/def/demon.txt" target="_blank">http://www.ascii-art.de/ascii/def/demon.txt</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.michael-kolb.co.uk/linuxbasics/editing-message-of-the-day-motd/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
