<?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>Parolski.com &#187; solaris</title>
	<atom:link href="http://www.parolski.com/tag/solaris/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.parolski.com</link>
	<description>Faith, Solaris, and Chicken Korma, by Anton Parol</description>
	<lastBuildDate>Mon, 26 Jul 2010 20:34:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>python&#8217;s HTTP server</title>
		<link>http://www.parolski.com/2009/09/26/pythons-http-server/</link>
		<comments>http://www.parolski.com/2009/09/26/pythons-http-server/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 23:44:30 +0000</pubDate>
		<dc:creator>Anton Parol</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[localhost]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[source]]></category>

		<guid isPermaLink="false">http://www.parolski.com/?p=268</guid>
		<description><![CDATA[Python comes with an HTTP server built in, making sharing directories on your *nix machines as easy as: anton@opensolaris:~/mess/test$ python -m SimpleHTTPServer Serving HTTP on 0.0.0.0 port 8000 &#8230; localhost &#8211; - [26/Sep/2009 00:23:47] &#8220;GET / HTTP/1.0&#8243; 200 - localhost &#8211; - [26/Sep/2009 00:24:24] &#8220;GET / HTTP/1.1&#8243; 200 - So now when we go to [...]]]></description>
			<content:encoded><![CDATA[<p>Python comes with an HTTP server built in, making sharing directories on your *nix machines as easy as:</p>
<blockquote><p>anton@opensolaris:~/mess/test$ python -m SimpleHTTPServer<br />
Serving HTTP on 0.0.0.0 port 8000 &#8230;<br />
localhost &#8211; - [26/Sep/2009 00:23:47] &#8220;GET / HTTP/1.0&#8243; 200 -<br />
localhost &#8211; - [26/Sep/2009 00:24:24] &#8220;GET / HTTP/1.1&#8243; 200 -</p></blockquote>
<p>So now when we go to localhost:8000 , we get the directory!:</p>
<blockquote><p>anton@opensolaris:~/mess$ lynx -dump localhost:8000<br />
Directory listing for /<br />
__________________________________________________________________</p>
<p>* [1]lalala<br />
__________________________________________________________________</p>
<p>References</p>
<p>1. http://localhost:8000/lalala</p></blockquote>
<p>&#8230;or&#8230;</p>
<blockquote><p>anton@opensolaris:~$ lynx -source localhost:8000<br />
&lt;title&gt;Directory listing for /&lt;/title&gt;<br />
&lt;h2&gt;Directory listing for /&lt;/h2&gt;<br />
&lt;hr&gt;<br />
&lt;ul&gt;<br />
&lt;li&gt;&lt;a href=&#8221;lalala&#8221;&gt;lalala&lt;/a&gt;<br />
&lt;/ul&gt;<br />
&lt;hr&gt;</p></blockquote>
<p>&#8230;for those of you that want to see the source it produced! A very quick short term solution if you don&#8217;t want to go about setting up apache or change your apache settings!</p>
<blockquote><p><img src="file:///tmp/moz-screenshot.png" alt="" /></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.parolski.com/2009/09/26/pythons-http-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Indexing your man pages</title>
		<link>http://www.parolski.com/2009/09/24/indexing-your-man-pages/</link>
		<comments>http://www.parolski.com/2009/09/24/indexing-your-man-pages/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 17:49:48 +0000</pubDate>
		<dc:creator>Anton Parol</dc:creator>
				<category><![CDATA[solaris]]></category>
		<category><![CDATA[catman]]></category>
		<category><![CDATA[man page]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[windex]]></category>

		<guid isPermaLink="false">http://www.parolski.com/?p=257</guid>
		<description><![CDATA[Its not as boring as you think, but you&#8217;ll HAVE to do it when you don&#8217;t have a windex file and want to search using man -k : anton@opensolaris:/$ man -k grub /usr/share/man/windex: No such file or directory To get round this, we simply go ahead and create the index with catman: anton@opensolaris:/$ pfexec time [...]]]></description>
			<content:encoded><![CDATA[<p>Its not as boring as you think, but you&#8217;ll HAVE to do it when you don&#8217;t have a windex file and want to search using man -k :</p>
<blockquote><p>anton@opensolaris:/$ man -k grub<br />
/usr/share/man/windex: No such file or directory</p></blockquote>
<p>To get round this, we simply go ahead and create the index with <a href="http://docs.sun.com/app/docs/doc/801-6680-1M/6i11qf4sq?a=view&amp;q=catman">catman</a>:</p>
<blockquote><p>anton@opensolaris:/$ pfexec time catman -w</p>
<p>real        2.9<br />
user        1.8<br />
sys         0.1</p></blockquote>
<p>Its pretty quick, and you get left with a little index in /usr/share/man/windex. Its just an ascii version of all the names of your manpages, plus a one line summary of what each one does:</p>
<blockquote><p>1        1 (3openssl)    - OpenSSL configuration functions<br />
1        1 (3openssl)    - OpenSSL configuration functions<br />
1394        ieee1394 (7d)    - Solaris IEEE-1394 Architecture<br />
2        2 (3openssl)    - \&amp; OpenSSL configuration cleanup functions<br />
2        2 (3openssl)    - \&amp; OpenSSL configuration cleanup functions<br />
2        2 (3openssl)    - \&amp; OpenSSL configuration cleanup functions<br />
2.1        EasyTAG (1)    - Tag editor for MP3 and Ogg Vorbis files<br />
2_F32_Sat    mlib_SignalConvertShift_U8_S8_Sat (3mlib)   &#8211; data type convert<br />
with shifting<br />
5.0        MySQL (1)    - MySQL RDBMS version 5.0 for Solaris<br />
6to4        tun (7m)    - tunneling STREAMS module<br />
6to4relay    6to4relay (1m)    - administer configuration for 6to4 relay router<br />
communication<br />
6to4tun     tun (7m)    - tunneling STREAMS module<br />
7-Zip        7-Zip (1)    - A file archiver with highest compression ratio</p></blockquote>
<p>So now when you do your man -k , you&#8217;ll get something useful!:</p>
<blockquote><p>anton@opensolaris:/$ man -k grub<br />
bootadm     bootadm (1m)    - manage bootability of GRUB-enabled operating system<br />
grub        grub (5)    - GRand Unified Bootloader software on Solaris<br />
installgrub    installgrub (1m)    &#8211; install GRUB in a disk partition or a floppy</p></blockquote>
<p>Crucially you only want to do catman -w , otherwise you&#8217;ll be reformatting all your manpages!</p>
<p>From the man page of <a href="http://docs.sun.com/app/docs/doc/801-6680-1M/6i11qf4sq?a=view&amp;q=catman">catman</a>:</p>
<blockquote><p>-w                  Only create the windex database that  is<br />
used  by whatis(1) and the man(1) -f and<br />
-k options.  No manual  reformatting  is<br />
done.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.parolski.com/2009/09/24/indexing-your-man-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solaris support for Rock processor</title>
		<link>http://www.parolski.com/2008/09/29/solaris-support-for-rock-processor/</link>
		<comments>http://www.parolski.com/2008/09/29/solaris-support-for-rock-processor/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 08:03:11 +0000</pubDate>
		<dc:creator>Anton Parol</dc:creator>
				<category><![CDATA[solaris]]></category>
		<category><![CDATA[nevada]]></category>
		<category><![CDATA[PSARC]]></category>
		<category><![CDATA[rock]]></category>

		<guid isPermaLink="false">http://www.parolski.com/?p=110</guid>
		<description><![CDATA[Its been added to snv (Solaris Nevada, the development build of Solaris) build 100 (were on 99 at the moment). This includes the following changes: 6368478 Solaris needs to support the Rock processor 6440653 stores to sun4v error queue head registers are missing a membar #Sync 6639717 FLUSH instruction used more than necessary in sun4v]]></description>
			<content:encoded><![CDATA[<p><a href="http://opensolaris.org/os/community/on/flag-days/pages/2008092603/">Its been added</a> to snv (Solaris Nevada, the development build of Solaris) build 100 (were on 99 at the moment).</p>
<p>This includes the following changes:</p>
<pre>6368478 Solaris needs to support the Rock processor
6440653 stores to sun4v error queue head registers are missing a membar #Sync
6639717 FLUSH instruction used more than necessary in sun4v</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.parolski.com/2008/09/29/solaris-support-for-rock-processor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open High Availability Cluster</title>
		<link>http://www.parolski.com/2008/05/31/open-high-availability-cluster/</link>
		<comments>http://www.parolski.com/2008/05/31/open-high-availability-cluster/#comments</comments>
		<pubDate>Sat, 31 May 2008 18:52:54 +0000</pubDate>
		<dc:creator>Anton Parol</dc:creator>
				<category><![CDATA[solaris]]></category>
		<category><![CDATA[cluster]]></category>
		<category><![CDATA[OHAC]]></category>
		<category><![CDATA[open solaris]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.parolski.com/?p=52</guid>
		<description><![CDATA[A year ago Sun announced that it was going to be open sourcing its high availability cluster software. According to this blog, they are now delivering on that promise six months ahead of schedule by releasing two million lines of code. TWO MILLION!!!! thats loads! OHAC isn&#8217;t quite the same as Solaris Cluster. Its basically [...]]]></description>
			<content:encoded><![CDATA[<p>A year ago Sun announced that it was going to be open sourcing its <a href="http://www.sun.com/aboutsun/pr/2008-05/sunflash.20080529.2.xml">high availability cluster software</a>. According to <a href="http://blogs.sun.com/SC/en_US/category/Open+High+Availability+Cluster">this blog</a>, they are now delivering on that promise six months ahead of schedule by releasing two million lines of code. TWO MILLION!!!! thats loads! OHAC isn&#8217;t quite the same as <a href="http://www.sun.com/software/solaris/cluster/index.xml">Solaris Cluster</a>. Its basically most of the code base, but not all packaged up and is not currently supported by Sun. However, Sun is intending on moving the development work away from the official product and onto the OHAC in the future. This is great news for anyone thinking of developing there own custom agents for their own software, or for anyone who just wants to poke around some enterprise-class cluster software!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.parolski.com/2008/05/31/open-high-availability-cluster/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>project indiana is born!</title>
		<link>http://www.parolski.com/2008/05/05/project-indiana-is-born/</link>
		<comments>http://www.parolski.com/2008/05/05/project-indiana-is-born/#comments</comments>
		<pubDate>Mon, 05 May 2008 10:26:25 +0000</pubDate>
		<dc:creator>Anton Parol</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[opensolaris]]></category>
		<category><![CDATA[pkg]]></category>

		<guid isPermaLink="false">http://www.parolski.com/?p=49</guid>
		<description><![CDATA[The latest version of Opensolaris can be found at opensolaris.com . This was known as project indiana whilst in development and is now yours absolutely free! (support does cost). Its basically Sun&#8217;s home rolled distro of opensolaris.org , and now contains IPS (Image Packaging System) . Essentially IPS is like apt for ubuntu and debian: [...]]]></description>
			<content:encoded><![CDATA[<p>The latest version of Opensolaris can be found at <a href="http://www.parolski.com/wp-admin/opensolaris.com">opensolaris.com</a> . This was known as <a href="http://opensolaris.org/os/project/indiana/">project indiana</a> whilst in development and is now yours absolutely free! (support does cost). Its basically Sun&#8217;s home rolled distro of opensolaris.org , and now contains IPS (Image Packaging System) . Essentially IPS is like apt for ubuntu and debian:</p>
<p>you want netbeans?</p>
<pre><tt>pkg install netbeans
</tt></pre>
<p>Theres also a <a href="http://frsun.downloads.edgesuite.net/sun/08D12331/index.html">graphical installer</a> too! Theres a <a href="http://frsun.downloads.edgesuite.net/sun/08D12331/index.html">screencast</a> you might want to watch which explains a little about how to use it, and what its about!</p>
<p>You should also note that its made it onto distrowatch.com, to rank 69!!!!Hopefully enough people will blog about the release to push that figure up!!!Surely it should make it to the top ten, for all the features it has?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.parolski.com/2008/05/05/project-indiana-is-born/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Abusing Solaris with style</title>
		<link>http://www.parolski.com/2008/04/19/abusing-solaris-with-style/</link>
		<comments>http://www.parolski.com/2008/04/19/abusing-solaris-with-style/#comments</comments>
		<pubDate>Sat, 19 Apr 2008 01:18:36 +0000</pubDate>
		<dc:creator>Anton Parol</dc:creator>
				<category><![CDATA[solaris]]></category>
		<category><![CDATA[hard disk]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[opensolaris]]></category>
		<category><![CDATA[smash]]></category>

		<guid isPermaLink="false">http://www.parolski.com/?p=47</guid>
		<description><![CDATA[Turning Solaris to goo with destructive commands is something I&#8217;ve been enjoying for a while now, so its great to see someone add cash to the equation and take the next step in &#8220;squashing&#8221; bugs.. and hard drives.]]></description>
			<content:encoded><![CDATA[<p>Turning Solaris to goo with destructive commands is something I&#8217;ve been<a href="http://www.parolski.com/2008/03/15/abusing-solaris-attempt-2-stressing-out-zfs-part2"> enjoying</a> for a while now, so its great to see someone add cash to the equation and take the next step in &#8220;squashing&#8221; bugs.. and hard drives.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="wmode" value="transparent" /><param name="src" value="http://www.youtube.com/v/CN6iDzesEs0&amp;hl=en" /><embed type="application/x-shockwave-flash" width="425" height="355" src="http://www.youtube.com/v/CN6iDzesEs0&amp;hl=en" wmode="transparent"></embed></object></p>
<p> <img src='http://www.parolski.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.parolski.com/2008/04/19/abusing-solaris-with-style/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>cd into, or make a directory beginning with a leading &#8220;-&#8221;</title>
		<link>http://www.parolski.com/2008/04/12/cd-into-or-make-a-directory-beginning-with-a-leading/</link>
		<comments>http://www.parolski.com/2008/04/12/cd-into-or-make-a-directory-beginning-with-a-leading/#comments</comments>
		<pubDate>Sat, 12 Apr 2008 19:25:28 +0000</pubDate>
		<dc:creator>Anton Parol</dc:creator>
				<category><![CDATA[solaris]]></category>
		<category><![CDATA[cd]]></category>
		<category><![CDATA[path]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://www.parolski.com/2008/04/12/cd-into-or-make-a-directory-beginning-with-a-leading/</guid>
		<description><![CDATA[Having ZFS and SAMBA on the home machine is great. It was simple to set up a share and offer it out to my house mates for them to backup their dissertation work on. With ZFS compressing the files, some of my file systems are getting a 1.6x ratio (60% disk space for free compared [...]]]></description>
			<content:encoded><![CDATA[<p>Having <a href="http://en.wikipedia.org/wiki/ZFS">ZFS</a> and <a href="http://en.wikipedia.org/wiki/Samba_%28software%29">SAMBA</a> on the home machine is great. It was simple to <a href="http://blogs.sun.com/timthomas/entry/enabling_and_configuring_samba_as">set up a share</a> and offer it out to my house mates for them to backup their dissertation work on. With ZFS compressing the files, some of my file systems are getting a 1.6x ratio (60% disk space for free compared with a non-compressing file system)</p>
<p>The interesting bit comes with file permissions and Windows file <a href="http://www.xxcopy.com/xxcopy06.htm">attributes</a> which aren&#8217;t quite the same, in fact, not at all. The attributes get mapped onto the unix file permissions in an interesting way, and you&#8217;ll need to keep that in mind when ls -l ing around a shared directory.</p>
<p>Meanwhile, there was a directory named &#8220;&#8212;-FILES&#8212;-&#8221; on the share. Trying to use</p>
<pre>cd "----FILES----"</pre>
<p>doesn&#8217;t quite work! Despite quoting the directory name, cd still tries to take some of those dashes as a switch. I&#8217;m not sure if theres a way around this using the relative path, but there is a different workaround: simply use the <a href="http://en.wikipedia.org/wiki/Path_(computing)">absolute path</a>, instead of a relative one to get you there, eg:</p>
<pre>cd /mydir/----FILES..../</pre>
<p>To make a directory with leading dashes, you&#8217;ll need to specify the full pathname, or use something like this to make the process less painful:</p>
<pre>mkdir `pwd`/--mydir--</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.parolski.com/2008/04/12/cd-into-or-make-a-directory-beginning-with-a-leading/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Abusing Solaris attempt #2: stressing out ZFS, PART1</title>
		<link>http://www.parolski.com/2008/03/11/abusing-solaris-attempt-2-stressing-out-zfs-part1/</link>
		<comments>http://www.parolski.com/2008/03/11/abusing-solaris-attempt-2-stressing-out-zfs-part1/#comments</comments>
		<pubDate>Tue, 11 Mar 2008 20:24:55 +0000</pubDate>
		<dc:creator>Anton Parol</dc:creator>
				<category><![CDATA[solaris]]></category>
		<category><![CDATA[hard drive]]></category>
		<category><![CDATA[stress]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://www.parolski.com/2008/03/11/abusing-solaris-attempt-2-stressing-out-zfs-part1/</guid>
		<description><![CDATA[So last time we pulled out an IDE hard disk, and Solaris lived. It got me thinking&#8230;What else can we do to a hard disk that Solaris might not like? What about making a really big file? What about a 9TB file on an 80GB hard disk?: anton@solaris-devx ~ $ time mkfile 9000G deleteThis real [...]]]></description>
			<content:encoded><![CDATA[<p>So last time we pulled out an IDE hard disk, and Solaris lived. It got me thinking&#8230;What else can we do to a hard disk that Solaris might not like? What about making a really big file? What about a 9TB file on an 80GB hard disk?:<br />
<code><br />
anton@solaris-devx ~ $ time mkfile 9000G deleteThis</code></p>
<p><code>real    120m42.953s<br />
user    0m16.448s<br />
sys     46m55.092s</code></p>
<p><code>anton@solaris-devx ~ $ ls -l deleteThis<br />
-rw-------   1 anton    staff    9663676416000 Mar  9 02:22 deleteThis</code></p>
<p>And the machine didn&#8217;t die! But what about the compression ratio?<br />
<code><br />
anton@solaris-devx ~ $ zfs get compressratio tank/home<br />
NAME       PROPERTY       VALUE      SOURCE<br />
tank/home  compressratio  1.22x</code></p>
<p>Looks like the ratio is an average for all the files on that file system. So lets try to artificially inflate this value. We can run a little script like this:</p>
<p><code>#/bin/sh<br />
#A little script to make ten million files each 1 megabyte in size<br />
i="0"<br />
while [ $i -lt 10000000 ]<br />
do<br />
mkfile 10M la$i<br />
i=$[$i+1]<br />
done</code></p>
<p>The result (after about an hour of making files) wasn&#8217;t good:</p>
<p><code>bash: fork: Not enough space</code></p>
<p>This looks more like an issue bash had rather than ZFS. So did we push up that compression ratio?:</p>
<p><code>anton@solaris-devx mess $ zfs get compressratio tank/home<br />
NAME       PROPERTY       VALUE      SOURCE<br />
tank/home  compressratio  1.22x      -</code></p>
<p>Seemingly not. To compensate, we&#8217;ll do something more crazy for PART2</p>
]]></content:encoded>
			<wfw:commentRss>http://www.parolski.com/2008/03/11/abusing-solaris-attempt-2-stressing-out-zfs-part1/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>VirtualBox, virtualisation for your Solaris Desktop!</title>
		<link>http://www.parolski.com/2008/02/14/virtualbox-virtualisation-for-your-solaris-desktop/</link>
		<comments>http://www.parolski.com/2008/02/14/virtualbox-virtualisation-for-your-solaris-desktop/#comments</comments>
		<pubDate>Thu, 14 Feb 2008 16:19:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[solaris]]></category>
		<category><![CDATA[]]></category>
		<category><![CDATA[virtualisation]]></category>

		<guid isPermaLink="false">http://www.parolski.com/2008/02/14/virtualbox-virtualisation-for-your-solaris-desktop/</guid>
		<description><![CDATA[So you&#8217;ve just installed Solaris because of the well-deserved praise regarding ZFS, SMF, predictive self healing, Zones and Dtrace. And then you said, &#8220;It runs vmware, right?&#8221;. Well, to my knowledge, no. Not quite. It does run xVM (a breed of &#8220;bare metal&#8221; type 1 hypervisor, which is very similar to xen. But more interestingly, [...]]]></description>
			<content:encoded><![CDATA[<p>So you&#8217;ve just installed Solaris because of the well-deserved praise regarding <a href="http://www.sun.com/2004-0914/feature/">ZFS</a>, <a href="http://www.sun.com/bigadmin/content/selfheal/smf-quickstart.jsp">SMF</a>, <a href="http://www.sun.com/bigadmin/content/selfheal/">predictive self healing</a>, <a href="http://www.sun.com/bigadmin/content/zones/">Zones</a> and <a href="http://www.sun.com/bigadmin/content/dtrace/">Dtrace</a>. And then you said, &#8220;It runs vmware, right?&#8221;. Well, to my knowledge, no. Not quite.  It does run <a href="http://en.wikipedia.org/wiki/Sun_xVM">xVM</a> (a breed of &#8220;bare metal&#8221; type 1 <a href="http://en.wikipedia.org/wiki/Hypervisor">hypervisor</a>, which is very similar to xen.</p>
<p>But more interestingly, it also runs <a href="http://www.virtualbox.org/">VirtualBox</a>, a type 2 hypervisor  which works pretty much like vmware server. This really is a great step to bringing virtualisation to the desktop for Solaris users</p>
<p>All you need to do is <a href="http://195.34.175.98/download/testcase/VirtualBox-opensolaris-amd64-1.5.51-r28040-beta1.gz">download</a> the package, extract and and install it. From there on in, you can use the GUI to create a GuestOS and be running those apps you need! Crucially, it supports the following as Guest OS:</p>
<ul>
<li>Windows XP</li>
<li>Linux (Ubuntu 7.10 works a treat)</li>
<li>Solaris!</li>
<li>&#8230;and many other OS, a list can he found <a href="http://www.virtualbox.org/wiki/Guest_OSes">here</a></li>
</ul>
<p>A little tip to install XP in less than 10 mins:</p>
<p>Make a copy of the disc image as a .ISO file. Then copy that disc image to</p>
<pre>/tmp</pre>
<p>Be prepared for a hit on the RAM, as thats where /tmp is mounted! Then, before you start the Guest OS for the first time, configure it to mount the disc image from /tmp</p>
<p>Using your main memory as the install medium only leaves the processor and disc writes as your bottlenecks, making installs go really quick!!!</p>
<p>Of course, once your Guest OS is installed, be sure to delete the disc image you copied into /tmp</p>
<p>Happy hypervising! (its probably not a real word, but its great for telling people who aren&#8217;t into computing&#8230;.&#8221;yeah, I&#8217;ve been hypervising for a few days now now&#8230;.&#8221;.</p>
<p>your friend &#8220;&#8230;..hmmm, is that bad for your health?&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.parolski.com/2008/02/14/virtualbox-virtualisation-for-your-solaris-desktop/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing MySQL on SXDE (build 70)</title>
		<link>http://www.parolski.com/2008/01/26/installing-mysql-on-sxde-build-70/</link>
		<comments>http://www.parolski.com/2008/01/26/installing-mysql-on-sxde-build-70/#comments</comments>
		<pubDate>Sat, 26 Jan 2008 22:29:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[solaris]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[pkgadd]]></category>
		<category><![CDATA[sxde]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://www.parolski.com/2008/01/26/installing-mysql-on-sxde-build-70/</guid>
		<description><![CDATA[There are a few different ways you could get mysql on your solaris machine: blastwave.org where you can get mysql and many other packages using an apt style package installation mechanism sunsource.net where the packages have been optimised for solaris (and now that Sun are in the process of aquiring mysql we can hope that [...]]]></description>
			<content:encoded><![CDATA[<p>There are a few different ways you could get mysql on your solaris machine:</p>
<ul>
<li><a href="http://www.blastwave.org/packages.php">blastwave.org</a> where you can get mysql and many other packages using an apt style package installation mechanism</li>
<li><a href="http://cooltools.sunsource.net/coolstack/">sunsource.net</a> where the packages have been optimised for solaris (and now that Sun are in the process of <a href="http://blogs.sun.com/jonathan/entry/winds_of_change_are_blowing">aquiring mysql </a>we can hope that multitheaded developement will increase in line with Suns processor designs)</li>
</ul>
<p>For this installation we&#8217;ll be using the packages from sunsource.net</p>
<p>So heres what you need to do:</p>
<p>Download the CSKruntime, CSKmysql and the CoolStack Documentation packages from sunsource.net and extract the archives using bzip2.</p>
<p>You should have something like:</p>
<pre># ls
CSKmysql_1.2_x86.pkg        CSKruntime_1.2_x86.pkg</pre>
<p>Mysql depends on CSKruntime so install the runtime first:</p>
<pre># pkgadd -d /directory_where_your_file_is/CSKruntime_1.2_sparc.pkg</pre>
<p>Once its installed make sure you install mysql having used pkgtrans &#8211; otherwise the install won&#8217;t work 100% (this has been the case for me, your millage may vary)</p>
<pre># pkgtrans CSKamp_1.2_x86.pkg /var/tmp</pre>
<pre># pkgadd -d /var/tmp</pre>
<p>Now initialise the database tables:</p>
<pre># /opt/coolstack/mysql/bin/mysql_install_db --datadir=/tank/mysql_data</pre>
<p>Note that this is not the usual mysql data directory. In my case, this directory happens to be on a <a href="http://en.wikipedia.org/wiki/ZFS">ZFS</a> filesystem in a RAID 1 configuration.</p>
<p>To quote the README that comes with the install in /opt/coolstack/mysql/README</p>
<p>&#8221; mysql_install_db creates two directories &#8220;mysql&#8221; and &#8220;test&#8221; in data directory.<br />
mysql directory has the MySQL privilege tables. test has the &#8220;test&#8221; database<br />
These two directories are needed for mysql to start. If you are using a<br />
different data directory later, you need to copy these two directories over. &#8221;</p>
<p>Next create the mysql user and mysql group for the mysql service to use:</p>
<pre># groupadd mysql
# useradd -g mysql mysql
# chown -R mysql:mysql /tank/mysql_data</pre>
<p>If you didn&#8217;t use the standard mysql data dir you will need to edit the SVC manifest file so that it knows where your data dir is:</p>
<pre>/opt/coolstack/lib/svc/method/svc-cskmysql</pre>
<pre>&lt;snip&gt;</pre>
<pre>MYSQL_DIR=/opt/coolstack/mysql
DB_DIR=/tank/mysql_data/data/
PIDFILE=${DB_DIR}/`/usr/bin/uname -n`.pid</pre>
<pre>&lt;snip&gt;</pre>
<p>Once this is done you should be able to start the mysql service with a simple:</p>
<pre>svcadm enable  csk-mysql</pre>
<p>After this you&#8217;ll need to log in as root and <a href="http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html">change the root password</a> to something suitable</p>
<p>#/opt/coolstack/mysql/bin/mysql &#8211;user=root mysql</p>
<p>You will also want to <a href="http://dev.mysql.com/doc/refman/5.0/en/adding-users.html">add regular users to mysql also</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.parolski.com/2008/01/26/installing-mysql-on-sxde-build-70/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
