<?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>hocuspokus &#187; linux</title>
	<atom:link href="http://hocuspokus.net/tag/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://hocuspokus.net</link>
	<description>the life and times of a code monkey</description>
	<lastBuildDate>Fri, 12 Mar 2010 15:57:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Creating Users on a Linux&#160;System</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2010%2F01%2Fcreating-users-on-a-linux-system&amp;seed_title=Creating+Users+on+a+Linux%26%23160%3BSystem</link>
		<comments>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2010%2F01%2Fcreating-users-on-a-linux-system&amp;seed_title=Creating+Users+on+a+Linux%26%23160%3BSystem#comments</comments>
		<pubDate>Sat, 09 Jan 2010 11:13:42 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[sudo]]></category>
		<category><![CDATA[user-management]]></category>

		<guid isPermaLink="false">http://hocuspokus.net/?p=399</guid>
		<description><![CDATA[It&#8217;s been a while since I&#8217;ve had to do any basic sysadmin stuff on a Linux box&#8230; seeing as I had to google the answers to this I thought I&#8217;d better write them down!

useradd syntax


useradd &#91;options&#93; &#123;username&#125;


Useful options are:


    -d
    declare the users home directory
    -m
 [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since I&#8217;ve had to do any basic sysadmin stuff on a Linux box&#8230; seeing as I had to google the answers to this I thought I&#8217;d better write them down!</p>

<p><strong>useradd syntax</strong></p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">useradd <span style="color: #7a0874; font-weight: bold;">&#91;</span>options<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>username<span style="color: #7a0874; font-weight: bold;">&#125;</span></pre></div></div>


<p>Useful options are:</p>

<dl>
    <dt>-d</dt>
    <dd>declare the users home directory</dd>
    <dt>-m</dt>
    <dd>force &#8216;useradd&#8217; to create the home directory</dd>
    <dt>-D</dt>
    <dd>accept the system defaults for account settings</dd>
</dl>

<p>An alternative for &#8216;useradd&#8217; though is &#8216;adduser&#8217;:</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">adduser <span style="color: #7a0874; font-weight: bold;">&#123;</span>username<span style="color: #7a0874; font-weight: bold;">&#125;</span></pre></div></div>


<p>This will then prompt you for all the information needed to set up the account.</p>

<p><strong>making the user an administrator (with sudo)</strong></p>

<p>As the root user&#8230;</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">visudo</pre></div></div>


<p>Then underneath the entry for &#8216;root&#8217; just add in an entry with the desired user name:</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#123;</span>username<span style="color: #7a0874; font-weight: bold;">&#125;</span> <span style="color: #007800;">ALL</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span>ALL<span style="color: #7a0874; font-weight: bold;">&#41;</span> ALL</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2010%2F01%2Fcreating-users-on-a-linux-system&amp;seed_title=Creating+Users+on+a+Linux%26%23160%3BSystem/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add Git and SVN Branch to Bash&#160;Prompt</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2009%2F07%2Fadd-git-and-svn-branch-to-bash-prompt&amp;seed_title=Add+Git+and+SVN+Branch+to+Bash%26%23160%3BPrompt</link>
		<comments>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2009%2F07%2Fadd-git-and-svn-branch-to-bash-prompt&amp;seed_title=Add+Git+and+SVN+Branch+to+Bash%26%23160%3BPrompt#comments</comments>
		<pubDate>Thu, 09 Jul 2009 19:58:06 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[noteworthy]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[command-line]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://hocuspokus.net/?p=352</guid>
		<description><![CDATA[EDIT: (12-Mar-2010) slight update to the svn prompt code to give a better / more useful output&#8230;

I&#8217;ve seen things like this posted on the net before but never really had a chance to play with the idea.  But as I&#8217;m now using git and svn a lot more these days (fingers crossed i&#8217;ll be [...]]]></description>
			<content:encoded><![CDATA[<p><strong>EDIT:</strong> (12-Mar-2010) slight update to the svn prompt code to give a better / more useful output&#8230;</p>

<p>I&#8217;ve seen things like this posted on the net before but never really had a chance to play with the idea.  But as I&#8217;m now using git and svn a lot more these days (fingers crossed i&#8217;ll be totally free of cvs soon!) I thought it was about time I pulled my finger out.</p>

<p>So here&#8217;s the end goal, in a normal directory, we just get a normal bash promt, but in a directory controlled by git or svn, we also get an addition telling us the source control tool in use and the current branch:</p>

<p><img src="http://hocuspokus.net/wp-content/uploads/2009/07/git_svn_bash_terminal.png" alt="git_svn_bash_terminal" title="git_svn_bash_terminal" width="500" height="305" class="aligncenter size-full wp-image-358" /></p>

<p>So, fire up yer terminal and add the following to your <code>.profile</code>, <code>.bash_profile</code> or <code>.bashrc</code> (whichever one you use):</p>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">parse_git_branch <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>
	git name-rev HEAD <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">'s#HEAD\ \(.*\)# (git::\1)#'</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
parse_svn_branch<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>
	parse_svn_url <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'s#^'</span><span style="color: #ff0000;">&quot;<span style="color: #007800;">$(parse_svn_repository_root)</span>&quot;</span><span style="color: #ff0000;">'##g'</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{print &quot; (svn::&quot;$1&quot;)&quot; }'</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
parse_svn_url<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #c20cb9; font-weight: bold;">svn</span> info <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #660033;">-ne</span> <span style="color: #ff0000;">'s#^URL: ##p'</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
parse_svn_repository_root<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>
	<span style="color: #c20cb9; font-weight: bold;">svn</span> info <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #660033;">-ne</span> <span style="color: #ff0000;">'s#^Repository Root: ##p'</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #007800;">BLACK</span>=<span style="color: #ff0000;">&quot;\[\033[0;38m\]&quot;</span>
<span style="color: #007800;">RED</span>=<span style="color: #ff0000;">&quot;\[\033[0;31m\]&quot;</span>
<span style="color: #007800;">RED_BOLD</span>=<span style="color: #ff0000;">&quot;\[\033[01;31m\]&quot;</span>
<span style="color: #007800;">BLUE</span>=<span style="color: #ff0000;">&quot;\[\033[01;34m\]&quot;</span>
<span style="color: #007800;">GREEN</span>=<span style="color: #ff0000;">&quot;\[\033[0;32m\]&quot;</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$BLACK</span>[ \u@<span style="color: #007800;">$RED</span>\h <span style="color: #007800;">$GREEN</span>\w<span style="color: #007800;">$RED_BOLD</span><span style="color: #000099; font-weight: bold;">\$</span>(parse_git_branch)<span style="color: #000099; font-weight: bold;">\$</span>(parse_svn_branch)<span style="color: #007800;">$BLACK</span> ] &quot;</span></pre></div></div>


<p>Simples.  Now just open up a new terminal and move into a project directory using svn or git. <img src='http://hocuspokus.net/wp-content/plugins/smilies-themer/tango/face-smile.png' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2009%2F07%2Fadd-git-and-svn-branch-to-bash-prompt&amp;seed_title=Add+Git+and+SVN+Branch+to+Bash%26%23160%3BPrompt/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>iPlayer Downloader Now on Mac and&#160;Linux</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F12%2Fiplayer-downloader-now-on-mac-and-linux&amp;seed_title=iPlayer+Downloader+Now+on+Mac+and%26%23160%3BLinux</link>
		<comments>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F12%2Fiplayer-downloader-now-on-mac-and-linux&amp;seed_title=iPlayer+Downloader+Now+on+Mac+and%26%23160%3BLinux#comments</comments>
		<pubDate>Thu, 18 Dec 2008 22:48:05 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[snippets]]></category>
		<category><![CDATA[air]]></category>
		<category><![CDATA[bbc]]></category>
		<category><![CDATA[iplayer]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://hocuspokus.net/?p=292</guid>
		<description><![CDATA[This is good news!  


  The BBC has created a version of the iPlayer that works with both Mac and Linux computers.
  
  The two systems, which have been able to stream BBC programmes via the iPlayer for a year, will now be able to handle downloads.
  
  The [...]]]></description>
			<content:encoded><![CDATA[<p>This is good news! <img src='http://hocuspokus.net/wp-content/plugins/smilies-themer/tango/face-smile.png' alt=':)' class='wp-smiley' /> </p>

<blockquote>
  <p>The BBC has created a version of the iPlayer that works with both Mac and Linux computers.</p>
  
  <p>The two systems, which have been able to stream BBC programmes via the iPlayer for a year, will now be able to handle downloads.</p>
  
  <p>The BBC, working with Adobe, has developed the new version, known as BBC iPlayer Desktop.</p>
</blockquote>

<p>Head on over to the <a href="http://www.bbc.co.uk/iplayer/labs">labs</a> to check it out.</p>

<p>via <a href="http://news.bbc.co.uk/1/hi/technology/7787335.stm" class="via">BBC News</a></p>
<a href="http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F12%2Fiplayer-downloader-now-on-mac-and-linux&amp;seed_title=iPlayer+Downloader+Now+on+Mac+and%26%23160%3BLinux" rel="bookmark" class="asides-permalink" title="Permanent Link to iPlayer Downloader Now on Mac and&nbsp;Linux">(1)</a>]]></content:encoded>
			<wfw:commentRss>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F12%2Fiplayer-downloader-now-on-mac-and-linux&amp;seed_title=iPlayer+Downloader+Now+on+Mac+and%26%23160%3BLinux/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Linux Now an Equal Flash&#160;Player</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F10%2Flinux-now-an-equal-flash-player&amp;seed_title=Linux+Now+an+Equal+Flash%26%23160%3BPlayer</link>
		<comments>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F10%2Flinux-now-an-equal-flash-player&amp;seed_title=Linux+Now+an+Equal+Flash%26%23160%3BPlayer#comments</comments>
		<pubDate>Thu, 16 Oct 2008 12:58:16 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[snippets]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://hocuspokus.net/?p=223</guid>
		<description><![CDATA[Finally&#8230;


  &#8220;As recently as 2007, Linux users waited six months for Flash 9 to arrive. Now, with Microsoft pushing its Silverlight alternative, Adobe is touting the universality of its Flash format, which has penetrated &#8216;98 percent of Internet-enabled desktops,&#8217; it claims. And, it today released Flash 10 for Linux concurrently with other platforms. Welcome [...]]]></description>
			<content:encoded><![CDATA[<p>Finally&#8230;</p>

<blockquote>
  <p>&#8220;As recently as 2007, Linux users waited six months for Flash 9 to arrive. Now, with Microsoft pushing its Silverlight alternative, Adobe is touting the universality of its Flash format, which has penetrated &#8216;98 percent of Internet-enabled desktops,&#8217; it claims. And, it today released Flash 10 for Linux concurrently with other platforms. Welcome to the future.&#8221;</p>
</blockquote>

<p><a href="http://linux.slashdot.org/article.pl?sid=08/10/15/200226" class="via">via</a></p>
<a href="http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F10%2Flinux-now-an-equal-flash-player&amp;seed_title=Linux+Now+an+Equal+Flash%26%23160%3BPlayer" rel="bookmark" class="asides-permalink" title="Permanent Link to Linux Now an Equal Flash&nbsp;Player">(0)</a>]]></content:encoded>
			<wfw:commentRss>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F10%2Flinux-now-an-equal-flash-player&amp;seed_title=Linux+Now+an+Equal+Flash%26%23160%3BPlayer/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>QGtkStyle Now Part of&#160;Qt</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F09%2Fqgtkstyle-now-part-of-qt&amp;seed_title=QGtkStyle+Now+Part+of%26%23160%3BQt</link>
		<comments>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F09%2Fqgtkstyle-now-part-of-qt&amp;seed_title=QGtkStyle+Now+Part+of%26%23160%3BQt#comments</comments>
		<pubDate>Wed, 10 Sep 2008 08:26:10 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[snippets]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[qt]]></category>

		<guid isPermaLink="false">http://hocuspokus.net/?p=164</guid>
		<description><![CDATA[Looks like KDE apps just got a whole lot more appealing to Gnome users.  I like a lot of KDE apps (Kate being a particularly cool editor when I&#8217;m on the Linux box), but I just never used to use them much as they looked too out of place with the rest of my [...]]]></description>
			<content:encoded><![CDATA[<p>Looks like KDE apps just got a whole lot more appealing to Gnome users.  I like a lot of KDE apps (Kate being a particularly cool editor when I&#8217;m on the Linux box), but I just never used to use them much as they looked too out of place with the rest of my Gnome desktop (yeah, I guess I&#8217;m a GUI snob&#8230;) - this will most likely change that!</p>

<blockquote>
  <p>QGtkStyle made itâ€™s way into the Qt snapshots this week, meaning it will become part of the Qt 4.5 release. Technical users can already compile and use it on their own desktop, but once Qt 4.5 is out it will simply replace Cleanlooks as the default application style Qt uses on GNOME desktops.</p>
</blockquote>

<p><a href="http://labs.trolltech.com/blogs/2008/09/05/qgtkstyle-now-part-of-qt/" class="via">via</a></p>
<a href="http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F09%2Fqgtkstyle-now-part-of-qt&amp;seed_title=QGtkStyle+Now+Part+of%26%23160%3BQt" rel="bookmark" class="asides-permalink" title="Permanent Link to QGtkStyle Now Part of&nbsp;Qt">(0)</a>]]></content:encoded>
			<wfw:commentRss>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F09%2Fqgtkstyle-now-part-of-qt&amp;seed_title=QGtkStyle+Now+Part+of%26%23160%3BQt/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMWare Fusion 2 Beta&#160;2</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F07%2Fvmware-fusion-2-beta-2&amp;seed_title=VMWare+Fusion+2+Beta%26%23160%3B2</link>
		<comments>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F07%2Fvmware-fusion-2-beta-2&amp;seed_title=VMWare+Fusion+2+Beta%26%23160%3B2#comments</comments>
		<pubDate>Thu, 31 Jul 2008 10:35:11 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[snippets]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://hocuspokus.net/?p=156</guid>
		<description><![CDATA[It&#8217;s got friggin&#8217; Unity for Linux!!!  This looks good&#8230;


  The VMWare team has just released the second beta for VMWare Fusion 2.0, the company&#8217;s popular virtualization program for the Mac.
  
  The new beta adds a TON of new features, as the video above demonstrates. I got a chance to talk [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s got friggin&#8217; Unity for Linux!!!  This looks good&#8230;</p>

<blockquote>
  <p>The VMWare team has <a href="http://blogs.vmware.com/teamfusion/2008/07/safer-stronger.html">just released</a> <a href="http://www.vmware.com/communities/content/beta/fusion/fusion2_beta2.html">the second beta for VMWare Fusion 2.0</a>, the company&#8217;s popular virtualization program for the Mac.</p>
  
  <p>The new beta adds a TON of new features, as the video above demonstrates. I got a chance to talk to VMWare today about the new beta and it is HOT. I&#8217;ll be posting a more in-depth overview tomorrow, but until then, here are some of the highlights:</p>
  
  <ul>
  <li><strong>Unity 2.0</strong> - The newest version of Fusion is really focused on better Windows-Mac integration. You can now launch Windows programs from the dock or access Mac programs from within your virtual machine. You can also link folders like Documents, Pictures and Music on your virtual machine with those folders on your Mac.</li>
  <li><strong>Multiple Snapshots</strong> VMWare has worked really hard to bring a Time Machine-like ease to backing up and protecting your virtual machine. You can now designate how often you want to take full system snapshots of your VM, whether once an hour, once a day or once a week, and how many copies you want to keep.</li>
  <li><strong>Better Video and Graphics Graphics</strong> and shading support has been improved for Macs that have higher-end graphics cards, and even integrated Macs can now play 1080p HD video in virtual machines with considerably less CPU overhead.</li>
  <li><strong>Support for more client OSs</strong>, including Leopard Server You can now run Leopard Server as a VM in OS X 10.4 and 10.5, even on client machines (virtualizing Mac OS X client is blocked by Apple&#8217;s license terms). Support for the latest version of <a href="http://www.ubuntu.com">Ubuntu</a> (Hardy Heron) is also available right out of the box with Unity integration. Power users can now designate up to four virtual CPUs per virtual machine, which is great for anyone wanting to take an XServe or Mac Pro to the next level.</li>
  </ul>
  
  <p><a href="http://communities.vmware.com/community/beta/fusion">VMWare Fusion 2.0 beta 2</a> is available for Intel Macs running OS X 10.4 or OS X 10.5. New users can try the beta for free and the upgrade path (including future betas and the full version of Fusion 2.0) is free for all existing Fusion 1.0 customers.</p>
</blockquote>

<p>via <a href="http://www.tuaw.com/2008/07/30/vmware-fusion-2-beta-2-available-now/" class="via">TUAW</a></p>
<a href="http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F07%2Fvmware-fusion-2-beta-2&amp;seed_title=VMWare+Fusion+2+Beta%26%23160%3B2" rel="bookmark" class="asides-permalink" title="Permanent Link to VMWare Fusion 2 Beta&nbsp;2">(0)</a>]]></content:encoded>
			<wfw:commentRss>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F07%2Fvmware-fusion-2-beta-2&amp;seed_title=VMWare+Fusion+2+Beta%26%23160%3B2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install PostgreSQL on Ubuntu&#160;8.04</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2Finstall-postgresql-on-ubuntu-804&amp;seed_title=Install+PostgreSQL+on+Ubuntu%26%23160%3B8.04</link>
		<comments>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2Finstall-postgresql-on-ubuntu-804&amp;seed_title=Install+PostgreSQL+on+Ubuntu%26%23160%3B8.04#comments</comments>
		<pubDate>Tue, 13 May 2008 16:19:41 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[noteworthy]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://hocuspokus.net/?p=145</guid>
		<description><![CDATA[Following up from my old guide to installing PostgreSQL (for Ubuntu 7.10), I thought i&#8217;d better do an update for the latest releases&#8230;  

This quick walk-through are my notes for installing the PostgreSQL database server and the PgAdmin administration application on Ubuntu Linux, and also set up the server so it allows access to [...]]]></description>
			<content:encoded><![CDATA[<p>Following up from my old guide to installing PostgreSQL (for Ubuntu 7.10), I thought i&#8217;d better do an update for the latest releases&#8230; <img src='http://hocuspokus.net/wp-content/plugins/smilies-themer/tango/face-smile.png' alt=':)' class='wp-smiley' /> </p>

<p>This quick walk-through are my notes for installing the PostgreSQL database server and the PgAdmin administration application on Ubuntu Linux, and also set up the server so it allows access to other PC&#8217;s on your network.</p>

<p>Before we move on, this guide was tested on the current release of Ubuntu Linux, (8.04 - Hardy Heron) and PostgreSQL 8.3, but it should also be applicable to older versions (of Ubuntu and PostgreSQL) and other Debian based distros.</p>

<p><span id="more-145"></span></p>

<p>Right for the basic installation, at the command-line, enter the following commands (or search for the listed packages in synaptic if you prefer that way of working):</p>

<pre><code>$ sudo apt-get install postgresql postgresql-client postgresql-contrib
$ sudo apt-get install pgadmin3
</code></pre>

<p>This installs the database server/client, some extra utility scripts and the pgAdmin GUI application for working with the database.</p>

<p>Now we need to reset the password for the &#8216;postgres&#8217; admin account for the server, so we can use this for all of the system administration tasks. Type the following at the command-line (substitute in the password you want to use for your administrator account):</p>

<pre><code>$ sudo su postgres -c psql template1
template1=# ALTER USER postgres WITH PASSWORD 'password';
template1=# \q
</code></pre>

<p>That alters the password for within the database, now we need to do the same for the unix user &#8216;postgres&#8217;:</p>

<pre><code>$ sudo passwd -d postgres
$ sudo su postgres -c passwd
</code></pre>

<p>Now enter the same password that you used previously.</p>

<p>Then, from here on in we can use both pgAdmin and command-line access (as the postgres user) to run the database server.  But before you jump into pgAdmin we should set-up the PostgreSQL admin pack that enables better logging and monitoring within pgAdmin.  Run the following at the command-line:</p>

<pre><code>$ sudo su postgres -c psql &lt; /usr/share/postgresql/8.3/contrib/adminpack.sql
</code></pre>

<p>Finally, we need to open up the server so that we can access and use it remotely - unless you only want to access the database on the local machine. To do this, first, we need to edit the postgresql.conf file:</p>

<pre><code>$ sudo gedit /etc/postgresql/8.3/main/postgresql.conf
</code></pre>

<p>Now, to edit a couple of lines in the &#8216;Connections and Authentication&#8217; section&#8230;</p>

<p>Change the line:</p>

<pre><code>#listen_addresses = 'localhost'
</code></pre>

<p>to</p>

<pre><code>listen_addresses = '*'
</code></pre>

<p>and also change the line:</p>

<pre><code>#password_encryption = on
</code></pre>

<p>to</p>

<pre><code>password_encryption = on
</code></pre>

<p>Then save the file and close gedit.</p>

<p>Now for the final step, we must define who can access the server. This is all done using the pg_hba.conf file.<sup id="fnref:1"><a href="#fn:1" rel="footnote">1</a></sup></p>

<pre><code>$ sudo gedit /etc/postgresql/8.3/main/pg_hba.conf
</code></pre>

<p>Comment out, or delete the current contents of the file, then add this text to the bottom of the file:</p>

<p><pre># DO NOT DISABLE!</p>

<h1>If you change this first entry you will need to make sure that the</h1>

<h1>database</h1>

<h1>super user can access the database using some other method.</h1>

<h1>Noninteractive</h1>

<h1>access to all databases is required during automatic maintenance</h1>

<h1>(autovacuum, daily cronjob, replication, and similar tasks).</h1>

<p>#</p>

<h1>Database administrative login by UNIX sockets</h1>

<p>local   all         postgres                          ident sameuser</p>

<h1>TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD</h1>

<h1>"local" is for Unix domain socket connections only</h1>

<p>local   all         all                               md5</p>

<h1>IPv4 local connections:</h1>

<p>host    all         all         127.0.0.1/32          md5</p>

<h1>IPv6 local connections:</h1>

<p>host    all         all         ::1/128               md5</p>

<h1>Connections for all PCs on the subnet</h1>

<p>#</p>

<h1>TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD</h1>

<p>host    all         all         [ip address]          [subnet mask]  md5</pre></p>

<p>and in the last line, add in your subnet mask (i.e. 255.255.255.0) and the IP address of the machine that you would like to access your server (i.e. 138.250.192.115). However, if you would like to enable access to a range of IP addresses, just substitute the last number for a zero and all machines within that range will be allowed access (i.e. 138.250.192.0 would allow all machines with an IP address 138.250.192.x to use the database server).</p>

<p>That&#8217;s it, now all you have to do is restart the server:</p>

<pre><code>$ sudo /etc/init.d/postgresql-8.3 restart
</code></pre>

<p>And all should be working.</p>

<div class="footnotes">
<hr />
<ol>

<li id="fn:1">
<p>The following advice can also be given to you (plus you don&#8217;t even need to figure out IP addresses and subnet masks) from the latest versions of pgAdmin (1.6.x).  But it doesn&#8217;t hurt to know how things work.&#160;<a href="#fnref:1" rev="footnote">&#8617;</a></p>
</li>

</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2Finstall-postgresql-on-ubuntu-804&amp;seed_title=Install+PostgreSQL+on+Ubuntu%26%23160%3B8.04/feed</wfw:commentRss>
		<slash:comments>52</slash:comments>
		</item>
		<item>
		<title>Installing R/BioConductor on Ubuntu&#160;8.04</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2Finstalling-r-bioconductor-on-ubuntu-804&amp;seed_title=Installing+R%2FBioConductor+on+Ubuntu%26%23160%3B8.04</link>
		<comments>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2Finstalling-r-bioconductor-on-ubuntu-804&amp;seed_title=Installing+R%2FBioConductor+on+Ubuntu%26%23160%3B8.04#comments</comments>
		<pubDate>Wed, 07 May 2008 18:41:39 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[bioconductor]]></category>
		<category><![CDATA[bioinformatics]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[r]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://hocuspokus.net/?p=119</guid>
		<description><![CDATA[The new version of Ubuntu is out, (as if you haven&#8217;t heard that by now), so that means a fresh install to play about with and working just the way I want!  

One of the tools that I currently need (for the thesis work) is R and the BioConductor libraries.  So here&#8217;s a [...]]]></description>
			<content:encoded><![CDATA[<p>The new version of Ubuntu is out, (as if you haven&#8217;t heard that by now), so that means a fresh install to play about with and working just the way I want! <img src='http://hocuspokus.net/wp-content/plugins/smilies-themer/tango/face-smile-big.png' alt=':D' class='wp-smiley' /> </p>

<p>One of the tools that I currently need (for the thesis work) is <a href="http://www.r-project.org/">R</a> and the <a href="http://www.bioconductor.org/">BioConductor</a> libraries.  So here&#8217;s a quick run down on getting them up and installed on Hardy&#8230;</p>

<p>First up, run these commands in a terminal:</p>

<pre><code>sudo apt-get install build-essential g77 gfortran
sudo apt-get install refblas3 refblas3-dev zlib1g-dev
sudo apt-get install r-base
</code></pre>

<p>This will then install the R base packages and some of the BioConductor packages, along with the gcc and fortran compilers and some other libraries that will be required for the next step.</p>

<pre><code>sudo -s
R
</code></pre>

<p>Now at the R prompt, type the followingâ€¦</p>

<pre><code>source("http://www.bioconductor.org/biocLite.R")
biocLite()
</code></pre>

<p>Now sit back for a few minutes while your system configures BioConductor for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2Finstalling-r-bioconductor-on-ubuntu-804&amp;seed_title=Installing+R%2FBioConductor+on+Ubuntu%26%23160%3B8.04/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing VMware Tools on Ubuntu 8.04&#160;(Hardy)</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2Finstalling-vmware-tools-on-ubuntu-804-hardy&amp;seed_title=Installing+VMware+Tools+on+Ubuntu+8.04%26%23160%3B%28Hardy%29</link>
		<comments>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2Finstalling-vmware-tools-on-ubuntu-804-hardy&amp;seed_title=Installing+VMware+Tools+on+Ubuntu+8.04%26%23160%3B%28Hardy%29#comments</comments>
		<pubDate>Mon, 05 May 2008 09:11:41 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[snippets]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://hocuspokus.net/?p=140</guid>
		<description><![CDATA[If you&#8217;re a VMware user and want to play around with the latest version of Ubuntu in a VM (like me), you&#8217;ll need to get the vmware-tools installed.  Unfortunately, things are not quite as straight forward as the previous release of Ubuntu yet, but it was a pretty easy thanks to this great guide.

The [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re a VMware user and want to play around with the latest version of Ubuntu in a VM (like me), you&#8217;ll need to get the vmware-tools installed.  Unfortunately, things are not quite as <a href="/2007/11/03/installing-vmware-tools-on-ubuntu-gutsy/">straight forward as the previous release</a> of Ubuntu yet, but it was a pretty easy thanks to this <a href="http://peterc.org/2008/62-how-to-install-vmware-tools-on-ubuntu-hardy-804-under-vmware-fusion.html">great guide</a>.</p>

<blockquote>The latest version of Ubuntu (8.04 a.k.a. Ubuntu Hardy - the worldâ€™s most popular Linux distribution) came out yesterday on April 24th. I downloaded it right away to play with on VMware Fusion, my Mac virtualization tool of choice (though Iâ€™ve now been told this works in VMware Workstation and VMware Player on the PC too!). It worked pretty well out of the box, with even seamless mouse support working right away, but I needed, of course, to install VMware Tools too, as any good VMware user would do. From there, things turned sour, and I was bombarded with error messages &#8230;</blockquote>

<p><a href="http://peterc.org/2008/62-how-to-install-vmware-tools-on-ubuntu-hardy-804-under-vmware-fusion.html" class="via">read more</a></p>
<a href="http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2Finstalling-vmware-tools-on-ubuntu-804-hardy&amp;seed_title=Installing+VMware+Tools+on+Ubuntu+8.04%26%23160%3B%28Hardy%29" rel="bookmark" class="asides-permalink" title="Permanent Link to Installing VMware Tools on Ubuntu 8.04&nbsp;(Hardy)">(0)</a>]]></content:encoded>
			<wfw:commentRss>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F05%2Finstalling-vmware-tools-on-ubuntu-804-hardy&amp;seed_title=Installing+VMware+Tools+on+Ubuntu+8.04%26%23160%3B%28Hardy%29/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unix&#160;Toolbox</title>
		<link>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F03%2Funix-toolbox&amp;seed_title=Unix%26%23160%3BToolbox</link>
		<comments>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F03%2Funix-toolbox&amp;seed_title=Unix%26%23160%3BToolbox#comments</comments>
		<pubDate>Sun, 23 Mar 2008 11:56:50 +0000</pubDate>
		<dc:creator>Daz</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[snippets]]></category>
		<category><![CDATA[bsd]]></category>
		<category><![CDATA[cheatsheet]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://hocuspokus.net/2008/03/23/unix-toolbox/</guid>
		<description><![CDATA[Found this via a post on Digg.  A very useful read if you want to get some more advanced things done in Unix.


  This document is a collection of Unix/Linux/BSD commands and tasks which are useful for IT work or for advanced users. This is a practical guide with concise explanations, however the [...]]]></description>
			<content:encoded><![CDATA[<p>Found this via a <a href="http://digg.com/linux_unix/Biggest_Unix_Cheat_Sheet">post on Digg</a>.  A very useful read if you want to get some more advanced things done in Unix.</p>

<blockquote>
  <p>This document is a collection of Unix/Linux/BSD commands and tasks which are useful for IT work or for advanced users. This is a practical guide with concise explanations, however the reader is supposed to know what s/he is doing.</p>
</blockquote>

<p><a href="http://cb.vu/unixtoolbox.xhtml" class="via">full article</a></p>
<a href="http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F03%2Funix-toolbox&amp;seed_title=Unix%26%23160%3BToolbox" rel="bookmark" class="asides-permalink" title="Permanent Link to Unix&nbsp;Toolbox">(0)</a>]]></content:encoded>
			<wfw:commentRss>http://hocuspokus.net/feeder/?FeederAction=clicked&amp;feed=Articles+%28RSS2%29&amp;seed=http%3A%2F%2Fhocuspokus.net%2F2008%2F03%2Funix-toolbox&amp;seed_title=Unix%26%23160%3BToolbox/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->