<?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>Allan Lykke Christensen &#187; System administration</title>
	<atom:link href="http://blogs.i2m.dk/allan/category/system-administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.i2m.dk/allan</link>
	<description>On Software</description>
	<lastBuildDate>Tue, 06 Sep 2011 10:49:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Setting JAVA_HOME on Ubuntu</title>
		<link>http://blogs.i2m.dk/allan/2008/12/31/setting-java_home-on-ubuntu/</link>
		<comments>http://blogs.i2m.dk/allan/2008/12/31/setting-java_home-on-ubuntu/#comments</comments>
		<pubDate>Wed, 31 Dec 2008 01:16:00 +0000</pubDate>
		<dc:creator>Allan Lykke Christensen</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[System administration]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Quick tip]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blogs.i2m.dk/allan/?p=33</guid>
		<description><![CDATA[A thing that always annoys me about installing Java is that it doesn&#8217;t automatically set up the JAVA_HOME environment variable after installation. I guess this is to avoid having problems when you have multiple virtual machines installed. Anyway, I use Ubuntu Linux to host the majority of my Java Application Server. It is easy install [...]]]></description>
			<content:encoded><![CDATA[<p>A thing that always annoys me about installing Java is that it doesn&#8217;t automatically set up the JAVA_HOME environment variable after installation. I guess this is to avoid having problems when you have multiple virtual machines installed. Anyway, I use Ubuntu Linux to host the majority of my Java Application Server. It is easy install Java (<code>sudo apt-get install sun-java6-jdk</code>) but there always seems to be a debate about where to set the <code>JAVA_HOME</code> environment variable. Some instructions say you should add it to your personal profile (e.g. <code>~/.bashrc</code>) others suggest adding it to the global profile (i.e. <code>/etc/profile</code>), some people even suggest adding it directly in the init script for the services that need the variable. My suggest is to add an executable shell script to <code>/etc/profile.d/</code> called <code>javahome.sh</code>. The content of the file would be:  <code>export JAVA_HOME=/usr/lib/jvm/java-6-sun</code>. All shell scripts (i.e. executable files with the extension <code>.sh</code>) located in the <code>/etc/profile.d/</code> directory are loaded upon login and would therefore work for all users without having to change system files that may change upon the next O/S upgrade. To test the script simply type  <code>source /etc/profile</code>  This will reload the profile for the current user. To verify that the environment variable has been initialised type <code>export|grep JAVA_HOME</code></p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.i2m.dk/allan/2008/12/31/setting-java_home-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Getting to know Solaris</title>
		<link>http://blogs.i2m.dk/allan/2008/02/06/getting-to-know-solaris/</link>
		<comments>http://blogs.i2m.dk/allan/2008/02/06/getting-to-know-solaris/#comments</comments>
		<pubDate>Wed, 06 Feb 2008 21:43:00 +0000</pubDate>
		<dc:creator>Allan Lykke Christensen</dc:creator>
				<category><![CDATA[System administration]]></category>
		<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://blogs.i2m.dk/allan/?p=9</guid>
		<description><![CDATA[The past ten years I&#8217;ve been working comfortably with various distributions of Linux (Ubuntu, Kubuntu, Gentoo, Mandrake, RedHat, Debian, Suse) and I have really enjoyed what they have to offer. During the four years where I was self-employed all my machines were running one or the other distribution of Linux (My favourite to this day [...]]]></description>
			<content:encoded><![CDATA[<p>The past ten years I&#8217;ve been working comfortably with various distributions of Linux (Ubuntu, Kubuntu, Gentoo, Mandrake, RedHat, Debian, Suse) and I have really enjoyed what they have to offer. During the four years where I was self-employed all my machines were running one or the other distribution of Linux (My favourite to this day is Ubuntu closely followed by Gentoo).</p>
<p>Anyways, lately I&#8217;ve become curious about Solaris and would like to use it for a Java build server that I&#8217;m setting up. The server will host a versioning system (<a href="http://subversion.tigris.org/">Subversion</a>), a continuous integration system (<a href="http://cruisecontrol.sourceforge.net/">CruiseControl</a> most likely) and an issue tracking system (<a href="http://www.mantisbt.org/">Mantis</a> most likely).</p>
<p>Last weekend I started my project to set-up Solaris. It&#8217;s been quite a struggle as I thought that I could just transfer all my Linux skills to Solaris &#8211; but little did I know at that time.</p>
<p>Status as of now is that I&#8217;ve 
<ul>
<li><a href="http://www.sun.com/software/solaris/get.jsp">downloaded the DVD image of Solaris 10</a> onto my Windows workstation</li>
<p>
<li><a href="http://www.sun.com/software/solaris/download_instruction.xml">Merged the two ISO files</a> (this took me time to figure out as I&#8217;m not exactly known for reading the instructions before starting work!)</li>
<p>
<li>Created a Virtual Machine in the <a href="http://www.vmware.com/download/server/">free version of VMWare 1.0.4</a> with 15 GB Hard disk space</li>
<p>
<li>Installed Solaris with the minimum required software (the first few times I installed it I didn&#8217;t select the custom installation and ended up installing both Java Desktop System and CDE &#8211; all I really wanted was just a text console).</li>
<p>
<li><a href="http://www.bolthole.com/solaris/pkg-get.html">Installed pkg-get for package management</a></li>
<p>
<li>Installed a few packages like SSH, Subversion, Apache, PHP, MySQL</li>
<p></ul>
<p>One thing that has thoroughly annoyed me is package management. When you&#8217;re use to apt-get (Debian) its <u>hard</u> getting use to tinker around so much to get packages to compile and configure properly.</p>
<p>So here I am&#8230; I&#8217;ve been contemplating how to continue from here, and that is when I saw <a href="http://www.sun.com/training/sweepstakes_solaris.html">an announcement about free Solaris training</a> in Sun Learning Centre with the added bonus of being part of a $50,000 sweepstake! </p>
<p>For any other people considering Solaris I&#8217;d recommend signing up for the free training while it lasts as it will give you a head start on the nitty gritty of Solaris.</p>
<p>More about my adventures into Solaris later.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.i2m.dk/allan/2008/02/06/getting-to-know-solaris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

