<?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>Claus Conrad &#187; System administration</title>
	<atom:link href="http://www.clausconrad.com/blog/category/howto/system-administration/feed" rel="self" type="application/rss+xml" />
	<link>http://www.clausconrad.com</link>
	<description></description>
	<lastBuildDate>Sat, 15 Oct 2011 10:50:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Skype as a SIP gateway</title>
		<link>http://www.clausconrad.com/blog/skype-as-a-sip-gateway</link>
		<comments>http://www.clausconrad.com/blog/skype-as-a-sip-gateway#comments</comments>
		<pubDate>Sat, 06 Aug 2011 12:27:52 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[System administration]]></category>

		<guid isPermaLink="false">http://www.clausconrad.com/?p=434</guid>
		<description><![CDATA[Skype can now be used as a SIP gateway, enabling integration with legacy phones and PBX. A new business product, Skype Connect is a regular SIP gateway, albeit one that is connected to the Skype network. For 4.95 a line/month professional users and enterprises can receive calls from Skype users on regular phones (connected to [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Skype can now be used as a SIP gateway, enabling integration with legacy phones and PBX.</p>
<p>A new business product, Skype Connect is a regular SIP gateway, albeit one that is connected to the Skype network. For 4.95 a line/month professional users and enterprises can receive calls from Skype users on regular phones (connected to a SIP VoIP router or software/hardware SIP PBX), receive calls from Skype landline numbers (&#8220;Skype-In numbers&#8221;) and route their outgoing calls at cheap Skype rates.</p>
<p>For more information, visit <a href="http://www.skype.com/intl/en/business/skype-connect/">Skype Connect</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.clausconrad.com/blog/skype-as-a-sip-gateway/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rsync between network drives?</title>
		<link>http://www.clausconrad.com/blog/rsync-between-network-drives</link>
		<comments>http://www.clausconrad.com/blog/rsync-between-network-drives#comments</comments>
		<pubDate>Wed, 27 Apr 2011 11:08:36 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[System administration]]></category>

		<guid isPermaLink="false">http://www.clausconrad.com/?p=422</guid>
		<description><![CDATA[Use the --size-only flag to avoid downloading remote files for checksum generation.]]></description>
			<content:encoded><![CDATA[<p></p><p>Use the <code>--size-only</code> flag to avoid downloading remote files for checksum generation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.clausconrad.com/blog/rsync-between-network-drives/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft online services</title>
		<link>http://www.clausconrad.com/blog/microsoft-online-services</link>
		<comments>http://www.clausconrad.com/blog/microsoft-online-services#comments</comments>
		<pubDate>Sat, 19 Feb 2011 12:02:28 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[System administration]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://www.clausconrad.com/?p=386</guid>
		<description><![CDATA[Navigating the plethora of Microsoft&#8217;s online solutions can be confusing. Here&#8217;s a high-level overview to help you choose. Document-centric services Office Live Workspace Microsoft&#8217;s first try at online editing of documents, Office Live Workspace was free for all kinds of users. The service has been discontinued in January 2011 and was replaced with &#8220;Office Web [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Navigating the plethora of Microsoft&#8217;s online solutions can be confusing. Here&#8217;s a high-level overview to help you choose.</p>
<h2>Document-centric services</h2>
<h3>Office Live Workspace</h3>
<p>Microsoft&#8217;s first try at online editing of documents, Office Live Workspace was free for all kinds of users. The service has been discontinued in January 2011 and was replaced with &#8220;Office Web Apps on SkyDrive&#8221;.</p>
<h3>Office Web Apps on SkyDrive</h3>
<p>Targeted towards home users and students, this free solution allows users to view and edit documents through most web browsers, share them and collaborate on Office documents with others.</p>
<p>Documents from SkyDrive can easily be opened in the full versions of Word, Excel and PowerPoint, if the user has them installed, but purchasing these applications is not required to use Office Web Apps on SkyDrive.</p>
<p>Go to <a href="http://www.officelive.com/">Office Web Apps on SkyDrive</a></p>
<h3>docs.com</h3>
<p>Like Office Web Apps on SkyDrive, docs.com lets home users create and share Office documents for free and through a web browser. The main difference is a deep integration of docs.com with Facebook, making docs.com a more attractive solution for social collaboration with Facebook friends, classmates and coworkers.</p>
<p>Go to <a href="http://docs.com/">docs.com</a></p>
<h3>Office Web Apps on-premises</h3>
<p>Business users who purchase Office 2010 through volume licensing can run Office Web Apps for their users on own servers by installing SharePoint 2010.</p>
<p>Learn more about <a href="http://technet.microsoft.com/en-US/office/ee815687.aspx">deploying Office Web Apps</a></p>
<h2>E-mail centric services</h2>
<h3>Windows Live Hotmail</h3>
<p>One of the world&#8217;s most popular e-mail services for personal use, Hotmail gives users a huge inbox accessible through most web browsers and the choice of an address under one of hotmail.com or several other domains.</p>
<p>Go to <a href="http://www.hotmail.com/">Windows Live Hotmail</a></p>
<h3>Windows Live for your domain</h3>
<p>A free solution for groups which includes Hotmail with a group-owned domain. Targeted towards personal users such as football clubs.</p>
<p>Sign up for <a href="http://explore.live.com/windows-live-admin-center">Windows Live for your domain</a> at the Windows Live Admin Center</p>
<h3>Office Live Small Business</h3>
<p>This solution for small businesses includes Microsoft-hosted e-mail under a business-owned domain, website hosting and online document storage (though apparently no editing), all for free. Additional storage space can be purchased for a small fee.</p>
<p>Office Live Small Business is still available, but will be replaced with Office 365 for small businesses after October 2011.</p>
<p>Read more about <a href="http://smallbusiness.officelive.com/en-us/">Office Live Small Business</a></p>
<h3>Microsoft Online Services</h3>
<p>Microsoft Online Services is a professional line of hosted services sold directly by Microsoft and targeted towards businesses of any size. Offerings include mix-and-match services such as hosted Exchange, SharePoint, Office Live Meeting, Dynamics CRM, Windows InTune and more, priced per service, user and month.</p>
<p>Read more about <a href="http://www.microsoft.com/online/">Microsoft Online Services</a></p>
<h3>Office 365</h3>
<p>Currently in beta, Office 365 seems to be meant to replace the functionality currently offered through Office Live Small Business and Microsoft Online Services. It is going to offer hosted Exchange, SharePoint and Lync services together with licenses to run Office Professional Plus on customer workstations at different service levels priced between $2 and $27 per user and month.</p>
<p>Go to <a href="http://office365.microsoft.com/en-US/online-services.aspx">Office 365</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.clausconrad.com/blog/microsoft-online-services/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing Mercurial on IIS 7</title>
		<link>http://www.clausconrad.com/blog/installing-mercurial-on-iis-7</link>
		<comments>http://www.clausconrad.com/blog/installing-mercurial-on-iis-7#comments</comments>
		<pubDate>Fri, 04 Feb 2011 23:05:18 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[System administration]]></category>
		<category><![CDATA[mercurial]]></category>

		<guid isPermaLink="false">http://www.clausconrad.com/?p=378</guid>
		<description><![CDATA[Here&#8217;s how I got a Mercurial server up and running using Windows 2008 and IIS 7: Download ActiveState ActivePython 2.6.6.18. Choose the 32-bit version regardless of the Windows flavor. Install ActivePython using the default installation path of C:\Python26. Download the binary version of PyWin32 Install PyWin32 using the default installation path of C:\Python26 Download the [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Here&#8217;s how I got a Mercurial server up and running using Windows 2008 and IIS 7:</p>
<ol>
<li>Download <a href="http://downloads.activestate.com/ActivePython/releases/2.6.6.18/ActivePython-2.6.6.18-win32-x86.msi" target="_blank">ActiveState ActivePython 2.6.6.18</a>. Choose the 32-bit version regardless of the Windows flavor.</li>
<li>Install ActivePython using the default installation path of C:\Python26.</li>
<li>Download the binary version of <a href="http://downloads.sourceforge.net/project/pywin32/pywin32/Build%20214/pywin32-214.win32-py2.6.exe?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fpywin32%2Ffiles%2Fpywin32%2FBuild%2520214%2F&amp;ts=1296839298&amp;use_mirror=heanet" target="_blank">PyWin32</a></li>
<li>Install PyWin32 using the default installation path of C:\Python26</li>
<li>Download the source code of <a href="http://mercurial.selenic.com/release/mercurial-1.7.5.tar.gz" target="_blank">Mercurial</a></li>
<li>Extract Mercurial to C:\Mercurial_src</li>
<li>Open a cmd window and change directory to the above folder:<br />
<code>C:<br />
cd \Mercurial_src</code></li>
<li>Run the following commands:<br />
<code>python setup.py --pure build_py -c -d . build_ext -i build_mo --force<br />
python setup.py --pure install --force</em></code></p>
<li>Download <a href="http://isapi-wsgi.googlecode.com/files/isapi_wsgi-0.4.2.win32.exe" target="_blank">isapi-wsgi</a></li>
<li>Install isapi-wsgi using the default installation path of C:\Python26</li>
<li>Create a folder for a new website somewhere:<br />
<code>C:\<br />
mkdir \inetpub\hg.mydomain.com</code></li>
<li>Copy C:\Mercurial_src\contrib\win32\hgwebdir_wsgi.py to the new website&#8217;s root folder:<br />
<code>cp  C:\Mercurial_src\contrib\win32\hgwebdir_wsgi.py C:\inetpub\hg.mydomain.com\</code></li>
<li>Open hgwebdir_wsgi.py in a text editor, and configure the following settings:<br />
<code>hgweb_config = r'C:\inetpub\hg.mydomain.com\hgweb.config'<br />
path_prefix = 0</code></li>
<li>Create a folder for the repositories somewhere:<br />
<code>C:<br />
mkdir \Repositories </code></li>
<li>Create <em>C:\inetpub\hg.mydomain.com\hgweb.config</em> with this content:<br />
<code>[paths]<br />
/ = C:\Repositories\*</code></li>
<li>Execute python hgwebdir_wsgi.py which will generate a DLL shim called _hgwebdir_wsgi.dll:<br />
<code>C:<br />
cd \inetpub\hg.mydomain.com<br />
python  hgwebdir_wsgi.py</code></li>
<li>Start IIS Manager:<br />
<code>inetmgr </code></li>
<li>Create an application pool; set its .NET version to &#8220;No Managed code&#8221; and enable 32-bit apps under &#8220;Advanced Settings&#8221;</li>
<li>Create a website with the root folder C:\inetpub\hg.mydomain.com and set its application pool to the newly created application pool</li>
<li>Double-click &#8220;Handler Mappings&#8221;</li>
<li>Click &#8220;Add Wildcard Script Map&#8221;</li>
<li>As Executable choose the dll file in C:\inetpub\hg.mydomain.com (it was created when you ran hgwebdir_wsgi.py previously)</li>
<li>As name enter &#8220;Mercurial-ISAPI&#8221; (it doesn&#8217;t matter really)</li>
<li>Click &#8220;OK&#8221; and &#8220;Yes&#8221; to allow this ISAPI extension</li>
<li>Browse to your new website in a browser and you should now be greeted by Mercurial</li>
<li>Create a repository in your repositories path:<br />
<code>C:<br />
cd \Repositories<br />
hg init testrepo</code></li>
<li>Browse to your new website again and the repository &#8220;testrepo&#8221; should now be displayed</li>
<li>Don&#8217;t forget to set up authentication in IIS Manager to only allow authorized developers to access the repositories.</li>
<li>Restart IIS:<br />
<code>iisreset</code></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.clausconrad.com/blog/installing-mercurial-on-iis-7/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>A workaround for Jungle Disk restore problems</title>
		<link>http://www.clausconrad.com/blog/workaround-jungle-disk-restore-problems</link>
		<comments>http://www.clausconrad.com/blog/workaround-jungle-disk-restore-problems#comments</comments>
		<pubDate>Fri, 21 Jan 2011 09:51:50 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[System administration]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[jungledisk]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.clausconrad.com/?p=368</guid>
		<description><![CDATA[When trying to restore a backup taken using Jungle Disk Server Edition on a workstation running Jungle Disk Desktop Edition I received the following error message: Could not download and open the backup vault database Error Details (Jungle Disk Desktop 3.12 Win64) ------------------------ xOverwriteFailed - Failed to rename backup database to final name (file in [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>When trying to restore a backup taken using Jungle Disk Server Edition on a workstation running Jungle Disk Desktop Edition I received the following error message:</p>
<pre>Could not download and open the backup vault database

Error Details (Jungle Disk Desktop 3.12 Win64)
------------------------
xOverwriteFailed - Failed to rename backup database to final name (file in use?): C:\ProgramData\JungleDisk\cache\cfjd2-us-mmdb\XXXXXXXXXXXXXXXXXXXX-backup.db
Exception Code: xOverwriteFailed (144)
Time: 20-01-2011 21:09:03 (GMT+1)
Detailed Message: Failed to rename backup database to final name (file in use?): C:\ProgramData\JungleDisk\cache\cfjd2-us-mmdb\XXXXXXXXXXXXXXXXXXXX-backup.db
Error Location: BlockBackupManager.cpp:1062 BlockBackupManager::ExecuteDownloadAndOpenDatabase
via BlockBackupManager.cpp:1098 BlockBackupManager::ExecuteDownloadAndOpenDatabase</pre>
<p>To solve this problem I had to follow these steps:</p>
<ol>
<li>Stop the Jungle Disk service on the restore machine</li>
<li>Rename/delete the &#8220;cache&#8221; folder from C:\ProgramData\JungleDisk</li>
<li>Start the Jungle Disk service</li>
<li>Click &#8220;Restore files&#8221; in the vault&#8217;s menu in Jungle Disk monitor</li>
<li>The vault database is downloaded &#8211; twice. During the second download, click &#8220;Cancel&#8221;.</li>
<li>Click &#8220;Restore files&#8221; again.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.clausconrad.com/blog/workaround-jungle-disk-restore-problems/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Jungle Disk Desktop Edition on Ubuntu 10.10 Linux</title>
		<link>http://www.clausconrad.com/blog/installing-jungle-disk-desktop-edition-linux</link>
		<comments>http://www.clausconrad.com/blog/installing-jungle-disk-desktop-edition-linux#comments</comments>
		<pubDate>Sun, 16 Jan 2011 12:15:24 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[System administration]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[jungledisk]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.clausconrad.com/?p=365</guid>
		<description><![CDATA[I had a few problems installing Jungle Disk Desktop Edition on Ubuntu Linux 10.10, probably all related to the fact that my device ran a stripped-down installation of the operating system without X libraries. Here&#8217;s what I had to do to get it running: Find the right download for this operating-system on https://www.jungledisk.com/downloads/personal/desktop/linux/:wget http://downloads.jungledisk.com/jungledisk/junglediskdesktop_312-0_amd64.deb Install [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I had a few problems installing Jungle Disk Desktop Edition on Ubuntu Linux 10.10, probably all related to the fact that my device ran a stripped-down installation of the operating system without X libraries. Here&#8217;s what I had to do to get it running:</p>
<ol>
<li>Find the right download for this operating-system on <a href="https://www.jungledisk.com/downloads/personal/desktop/linux/">https://www.jungledisk.com/downloads/personal/desktop/linux/</a>:<br /><code>wget <a href="http://downloads.jungledisk.com/jungledisk/junglediskdesktop_312-0_amd64.deb">http://downloads.jungledisk.com/jungledisk/junglediskdesktop_312-0_amd64.deb</a></code></li>
<li>Install the package:<br /><code>sudo dpkg -i junglediskdesktop_312-0_amd64.deb</code></li>
<li>Install missing libraries:<br /><code>sudo apt-get install libgtk2.0-0 libxxf86vm1 libsm6 libnotify1</code></li>
<li>Now running the software succeeded:<br /><code>junglediskdesktop</code></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.clausconrad.com/blog/installing-jungle-disk-desktop-edition-linux/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XBMC on Asrock Ion 330HT</title>
		<link>http://www.clausconrad.com/blog/xbmc-on-asrock-ion-330ht</link>
		<comments>http://www.clausconrad.com/blog/xbmc-on-asrock-ion-330ht#comments</comments>
		<pubDate>Sun, 27 Jun 2010 15:23:41 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[System administration]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.clausconrad.com/?p=300</guid>
		<description><![CDATA[The Asrock ION 330 HT makes a nice little HTPC, but installing XBMC on it can be daunting for Linux newbies. Here&#8217;s how I managed to get most everything working. This guide is for the second edition of the Asrock ION 330HT, the one that includes WLAN and a remote control (and an integrated infra-red [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>The <a href="http://www.asrock.com/nettop/overview.asp?Model=ION%20330HT">Asrock ION 330 HT</a> makes a nice little HTPC, but installing <a href="http://xbmc.org/">XBMC</a> on it can be daunting for Linux newbies. Here&#8217;s how I managed to get most everything working.</p>
<p><span id="more-300"></span>
<p>This guide is for the second edition of the Asrock ION 330HT, the one that includes WLAN and a remote control (and an integrated infra-red receiver). It&#8217;s mostly these new components that can pose problems. While Windows generally has better driver support for new hardware, I am using Linux because the Windows version of XBMC doesn&#8217;t have good hardware acceleration yet &#8211; which means HD movies would play sloppy, if at all.</p>
<ol>
<li>Start by installing <a href="http://ftp.ds.karen.hj.se/ubuntu-releases/karmic/ubuntu-9.10-desktop-i386.iso">Ubuntu 9.10</a> from a USB stick or CD. There is <a href="http://news.softpedia.com/news/Installing-Ubuntu-9-10-126370.shtml">an</a> <a href="http://www.unixnewbie.org/how-to-install-ubuntu-9-10/">abundance</a> <a href="http://www.youtube.com/watch?v=J4nJQfVknzg">of</a> <a href="http://www.youtube.com/watch?v=GHYKLlc4kXw">tutorials</a> that describe this step, so I won&#8217;t go into further details except recommending to choose &#8220;Automatic log-on&#8221; during the setup so you won&#8217;t have to type a password every time you boot the device.</li>
<li>Upon restarting, connect to your network. After entering the WLAN key Ubuntu will ask for a password to protect the key. Do not enter anything or you will have to enter this password upon each reboot. Confirm that you want to use &#8220;Unsafe storage&#8221;.</li>
<li>To get the infra-red receiver working, install these:<br />
<code>sudo aptitude install lirc lirc-modules-source<br />
wget http://europe.asrock.com/downloadsite/drivers/Nettop/Ubuntu/IR(9.10).zip<br />
unzip IR(9.10).zip<br />
sudo dpkg -i lirc-nct677x-1.0.4-ubuntu9.10.deb lirc-nct677x-src-1.0.4-ubuntu9.10.deb</code></li>
<li>The infra-red receiver should now be working, however when we later update the kernel it will stop working. To avoid this, enter the following commands:<br />
<code>sudo dkms add -m lirc-nct677x-src -v 1.0.4-ubuntu9.10<br />
sudo dkms build add -m lirc-nct677x-src -v 1.0.4-ubuntu9.10<br />
sudo dkms install add -m lirc-nct677x-src -v 1.0.4-ubuntu9.10<br />
sudo reboot</code><br />
This will allow the system to automatically recompile the infra-red receiver driver when the kernel gets updated.</li>
<li>After the system has rebooted, lets update all other software to the newest versions:<br /><code>sudo aptitude update<br />
sudo aptitude upgrade<br />
sudo reboot</code></li>
<li>After the system reboots, you can now install xmbc like this:<br />
<code>sudo add-apt-repository ppa:team-xbmc/ppa<br />
sudo aptitude update<br />
sudo aptitude install xbmc xbmc-standalone<br />
sudo aptitude install xbmc-eventclients-*<br />
sudo aptitude install xbmc-scripts-*</code></li>
<li>Install PolicyKit to allow power management:<br />
<code>sudo aptitude install policykit policykit-gnome</code><br />
In the following commands, replace &#8220;xbmc&#8221; with your username:<br />
<code>sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.suspend<br />
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.hibernate<br />
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.reboot<br />
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.shutdown<br />
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.reboot-multiple-sessions<br />
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.shutdown-multiple-sessions<br />
sudo apt-get install policykit-1 devicekit-power<br />
sudo nano /var/lib/polkit-1/localauthority/50-local.d/custom-actions.pkla</code><br />
This has opened a new file in the editor, paste the following lines in there and replace every occurence of &#8220;xbmc&#8221; with your username:<br />
<code>[Actions for xbmc user]<br />
Identity=unix-user:xbmc<br />
Action=org.freedesktop.devicekit.disks.*;org.freed esktop.devicekit.power.*;org.freedesktop.consoleki t.system.*;org.freedesktop.hal.storage.mount-removable;org.freedesktop.hal.device.volume<br />
ResultActive=yes<br />
ResultAny=auth_admin<br />
ResultInactive=yes</code><br />
Finally save the file using <em>Ctrl+X</em>, press <em>Y</em> and <em>Enter</em>.</li>
<li>Now install the Nvidia driver to get hardware acceleration &#8211; a must for playing back mostly anything:<br />
<code>sudo nano /etc/apt/sources.list</code><br />
The file has been opened in the editor, scroll to the bottom of it and paste this line:<br />
<code>deb http://ppa.launchpad.net/nvidia-vdpau/ppa/ubuntu karmic main</code><br />
Finally save the file using <em>Ctrl+X</em>, press <em>Y</em> and <em>Enter</em>. Then run these commands:<br />
<code>sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com CEC06767<br />
sudo aptitude update<br />
sudo aptitude install nvidia-190-modaliases nvidia-glx-190<br />
sudo nvidia-xconfig -s --no-logo --force-generate<br />
sudo reboot</code><br />
After the system reboots, the Nvidia driver should be active.</li>
<li>In order to avoid sound problems, unmute all outputs like this:<br />
<code>alsamixer</code><br />
In this application, use the left and right arrow keys to navigate between the columns. When the box above the cursor displays <em style="color:Red">MM</em> it means this output is currently muted; if so unmute it by pressing <em>M</em> on the keyboard. Repeat for all muted columns until you don&#8217;t see any more boxes with the text <em style="color:Red">MM</em> on the screen. Then press <em>Escape</em> to exit the program. Finally save the settings with this command:<br />
<code>alsactl store 0</code><br />
Now, go to &#8220;System&#8221; &gt; &#8220;Preferences&#8221; &gt; and click &#8220;Sound Preferences&#8221;. Click on the &#8220;Hardware&#8221; tab and under &#8220;Profile&#8221; choose: &#8220;Digital Stereo (HDMI) Output + Analog Stereo Input&#8221;. Apply and close the &#8220;Sound Preferences&#8221;.</li>
<li>Audio, video and IR are now working fine, but the wireless connection is still unstable and freezes often. To fix this enter:<br />
<code>sudo apt-get install linux-backports-modules-karmic</code><br />
The above command might give some errors about modules not being built. To fix this:<br />
<code>sudo apt-get install linux-headers-2.6.31-22-generic</code><br />
Now the IR and video driver should have been compiled for the new kernel, and we can continue to install the updated WLAN drivers:<br />
<code>sudo apt-get install linux-backports-modules-wireless-karmic-generic<br />
sudo apt-get install wireless-tools<br />
sudo apt-get install wicd<br />
sudo reboot</code></li>
<li>After the system reboots there will be a new network management widget in the menu. Go to the Options in that widget, click &#8220;Preferences&#8221; next to your wireless network, and enter and save the network key again.</li>
</ol>
<p>After the above steps the following works stable for me: Video (hardware acceleration), the WLAN connection and the remote control. There is still a slight problem with audio, whenever I play a movie that contains AC3 or DTS sound I have to press the &#8220;Windows&#8221; button on the remote (to get to the movie menu) and navigate to the sound icon, then press OK on &#8220;Output Stereo signal to all speakers&#8221;. Only then am I able to output AC3 or DTS to the receiver over HDMI. It&#8217;s a minor nuisance but if anyone knows how to fix this please leave a comment. Thanks for reading!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.clausconrad.com/blog/xbmc-on-asrock-ion-330ht/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Migrating a bunch of WordPress blogs to a single WordPress 3.0 multi-site installation</title>
		<link>http://www.clausconrad.com/blog/migrating-a-bunch-of-wordpress-blogs-to-a-single-wordpress-3-multi-site-installation</link>
		<comments>http://www.clausconrad.com/blog/migrating-a-bunch-of-wordpress-blogs-to-a-single-wordpress-3-multi-site-installation#comments</comments>
		<pubDate>Sat, 12 Jun 2010 23:22:38 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[System administration]]></category>

		<guid isPermaLink="false">http://www.clausconrad.com/?p=295</guid>
		<description><![CDATA[General setup: Set up WordPress as usual Follow http://wptheming.com/2010/03/wordpress-3-0-enable-network/ to enable multi-site; use sub-directory config Change wp-config.php and .htaccess as described in the admin Follow http://ottopress.com/2010/wordpress-3-0-multisite-domain-mapping-tutorial/ to enable domain mapping For each site: Log in to the control panel Upgrade site to 3.0 by copying files over and reloading the control panel Add the site on [...]]]></description>
			<content:encoded><![CDATA[<p></p><h2>General setup:</h2>
<ol>
<li><span style="font-family: Helvetica, Verdana, sans-serif;">Set up WordPress as usual</span></li>
<li><span style="font-family: Helvetica, Verdana, sans-serif;">Follow </span><a href="http://wptheming.com/2010/03/wordpress-3-0-enable-network/" target="_blank">http://wptheming.com/2010/03/wordpress-3-0-enable-network/</a> to enable multi-site; use sub-directory config</li>
<li>Change wp-config.php and .htaccess as described in the admin</li>
<li>Follow <a href="http://ottopress.com/2010/wordpress-3-0-multisite-domain-mapping-tutorial/" target="_blank">http://ottopress.com/2010/wordpress-3-0-multisite-domain-mapping-tutorial/</a> to enable domain mapping</li>
</ol>
<h2>For each site:</h2>
<ol>
<li>Log in to the control panel</li>
<li>Upgrade site to 3.0 by copying files over and reloading the control panel</li>
<li>Add the site on the WPMU installation</li>
<li>Map the domains</li>
<li>Add domain to hosts file</li>
<li>Export database to a file</li>
<li>Edit the file, remove wp_options, wp_usermeta and wp_users tables from dump</li>
<li>Rename prefixes from wp_ to wp_X_ where X is the blog id</li>
<li>Import SQL into new database</li>
<li>UPDATE wp_{ID}_posts SET post_author = 1</li>
<li>Switch theme</li>
<li>Move uploads and change post image path</li>
<li>Reenable plugins</li>
<li>Reenable widgets</li>
<li>Restore options</li>
<li>Check no broken Media</li>
</ol>
<h2>Especially in case of Thesis 1.7:</h2>
<p>For Thesis, also see <a href="http://www.clausconrad.com/blog/thesis-customizations-i-like">http://www.clausconrad.com/blog/thesis-customizations-i-like</a> to fix thumbs and post images.</p>
<p><a href="http://www.binaryturf.com/using-thesis-theme-with-a-wordpress-multisite-installation/" target="_blank">http://www.binaryturf.com/using-thesis-theme-with-a-wordpress-multisite-installation/</a></p>
<p><a href="http://www.kristarella.com/2009/09/using-thesis-with-wpmu/" target="_blank">http://www.kristarella.com/2009/09/using-thesis-with-wpmu/</a></p>
<ol>
<li>Restore Thesis options</li>
<li>Copy rotator images (if used)</li>
<li>Copy custom.css</li>
<li>Restore OpenHook</li>
<li>chmod 666 custom/blog-name/custom.css</li>
<li>chmod 775 custom/blog-name/cache</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.clausconrad.com/blog/migrating-a-bunch-of-wordpress-blogs-to-a-single-wordpress-3-multi-site-installation/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>A user-friendly and fast Linux for netbooks?</title>
		<link>http://www.clausconrad.com/blog/a-user-friendly-and-fast-linux-for-netbooks</link>
		<comments>http://www.clausconrad.com/blog/a-user-friendly-and-fast-linux-for-netbooks#comments</comments>
		<pubDate>Mon, 17 May 2010 16:15:46 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[System administration]]></category>

		<guid isPermaLink="false">http://www.clausconrad.com/?p=254</guid>
		<description><![CDATA[Thanks to MakeUseOf I discovered Jolicloud, a version of Linux optimized for netbooks. For the last year or so I had given up on using my Asus Eee 900 for anything more than the occasional recipe surfing in the kitchen, it was simply too slow to open tabs or do any normal computer work. The [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Thanks to <a href="makeuseof.com/tag/jolicloud-operating-system-download-for-netbook/">MakeUseOf</a> I discovered <a href="http://www.jolicloud.com/">Jolicloud</a>, a version of Linux optimized for netbooks.</p>
<p>For the last year or so I had given up on using my Asus Eee 900 for anything more than the occasional recipe surfing in the kitchen, it was simply too slow to open tabs or do any normal computer work. The original Linux wasn&#8217;t too slow, but nothing near fabulous either. I tried Ubuntu Netbook Remix, which felt even more unresponsive to me. Some months ago I switched to Windows 7 just to get disappointed once more.</p>
<p>Apart from the slow performance, all of these operating systems suffered from stability problems; for example, Windows 7 would usually come up with a black screen after waking up from suspend mode. Thanks to Jolicloud, this problem is gone and my Eee feels actually usable for the first time. Installation was child&#8217;s play and everything, including sound, wifi, stand-by mode and the webcam worked out of the box.</p>
<p>But I think what surprises me most is not the ease of use of Jolicloud, but that it changed my view on Linux in general &#8211; I had this connotation that Linux was an OS that could only be either stable, user-friendly or powerful, not all of them at the same time. Unlike most other distributions (versions of Linux) their website is quite sexy, probably inspired from Apple &#8211; in a good way. Thanks to the developers for combining the speed of Windows XP with the usability of Ubuntu Netbook Remix!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.clausconrad.com/blog/a-user-friendly-and-fast-linux-for-netbooks/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Export Exchange mailbox to PST</title>
		<link>http://www.clausconrad.com/blog/export-exchange-mailbox-to-pst</link>
		<comments>http://www.clausconrad.com/blog/export-exchange-mailbox-to-pst#comments</comments>
		<pubDate>Fri, 12 Mar 2010 11:04:56 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[System administration]]></category>
		<category><![CDATA[exchange]]></category>

		<guid isPermaLink="false">http://www.clausconrad2.com/?p=72</guid>
		<description><![CDATA[How to export a mailbox from Exchange 2007 SP1 to a PST file: Prerequisites:You will need a machine with a 32-bit version of Windows (Windows 7 is fine) and Outlook 2003 or 2007.Join the machine to the domain that contains the Exchange server.Log on as a domain administrator.Install Exchange Server Management Tools 2007 SP1. To [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>How to export a mailbox from Exchange 2007 SP1 to a PST file:</p>
<ol>
<li>Prerequisites:<br />You will need a machine with a 32-bit version of Windows (Windows 7 is fine) and Outlook 2003 or 2007.<br />Join the machine to the domain that contains the Exchange server.<br />Log on as a domain administrator.<br />Install Exchange Server Management Tools 2007 SP1. To achieve this, insert the Exchange disc, do a custom installation, and only select the Management Tools.</li>
<li>Open Exchange Management Shell.</li>
<li>Give the current user permissions to the mailbox you want to export:<br /><em>Add-MailboxPermission -Identity &lt;EMAIL&gt; -User &lt;DOMAIN\CURRENTUSER&gt; -AccessRights FullAccess</em><br />- where EMAIL is the e-mail address of the mailbox you want to export, and DOMAIN\CURRENTUSER is the name of the user you are logged on with.</li>
<li>Export the mailbox to a PST file:<br /><em>Export-Mailbox -Identity &lt;EMAIL&gt; -PSTFolderPath &lt;C:\SOME_PATH&gt;<br /><span style="font-style: normal;">- where EMAIL is the e-mail address of the mailbox you want to export, and C:\SOME_PATH is some path (doesn&#8217;t have to be on C: of course).</span></em></li>
</ol>
<p>Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.clausconrad.com/blog/export-exchange-mailbox-to-pst/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slow Amazon EC2 rsync / SCP / SFTP upload speeds?</title>
		<link>http://www.clausconrad.com/blog/slow-amazon-ec2-rsync-scp-sftp-upload-speeds</link>
		<comments>http://www.clausconrad.com/blog/slow-amazon-ec2-rsync-scp-sftp-upload-speeds#comments</comments>
		<pubDate>Wed, 13 Jan 2010 18:51:27 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[System administration]]></category>
		<category><![CDATA[aws]]></category>

		<guid isPermaLink="false">http://www.clausconrad2.com/?p=82</guid>
		<description><![CDATA[I experienced very slow speeds when uploading files to a small (m1.small) Amazon EC2 instance using the SCP and SFTP3 protocols with rsync, WinSCP and Tunnelier BitVise &#8211; around 30-40 kB/sec. By simply switching the SSHd listening port to http (80), speeds went up to 1,4 MB/sec. Why Amazon would throttle the SSH port (22) [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I experienced very slow speeds when uploading files to a small (m1.small) Amazon EC2 instance using the SCP and SFTP3 protocols with rsync, WinSCP and Tunnelier BitVise &#8211; around 30-40 kB/sec.</p>
<p>By simply switching the SSHd listening port to http (80), speeds went up to 1,4 MB/sec. Why Amazon would throttle the SSH port (22) I don&#8217;t know, but I hope this helps somebody else out there.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.clausconrad.com/blog/slow-amazon-ec2-rsync-scp-sftp-upload-speeds/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Backing up to Amazon AWS</title>
		<link>http://www.clausconrad.com/blog/backing-up-to-amazon-aws</link>
		<comments>http://www.clausconrad.com/blog/backing-up-to-amazon-aws#comments</comments>
		<pubDate>Mon, 11 Jan 2010 03:52:23 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[System administration]]></category>
		<category><![CDATA[aws]]></category>

		<guid isPermaLink="false">http://www.clausconrad2.com/?p=84</guid>
		<description><![CDATA[This is a walkthrough for backing up files to Amazon&#8217;s data centers, more specifically to an EC2 instance with an EBS root volume. While it is tailored to a UNIX-like environment (as that&#8217;s what I use &#8211; Solaris 10, Debian and Mac OS X 10.6 Snow Leopard), all tools used in these scripts are also [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>This is a walkthrough for backing up files to Amazon&#8217;s data centers, more specifically to an EC2 instance with an EBS root volume. While it is tailored to a UNIX-like environment (as that&#8217;s what I use &#8211; Solaris 10, Debian and Mac OS X 10.6 Snow Leopard), all tools used in these scripts are also available for Windows environments. Some adaptation of the commands might be required.</p>
<p>I recommend that you are at least slightly familiar with the <a href="http://aws.amazon.com/">AWS services</a> before continuing to read this walkthrough.</p>
<h3>Choosing an AWS backup method</h3>
<p>There are many variations of using Amazon Web Services to back up your data. In the following I will shortly describe the methods I know of and the pros and cons I see with each of them.</p>
<h4>Backing up directly to S3</h4>
<p>For backing up directly to S3, several tools exist.</p>
<ul>
<li><strong><a href="http://jets3t.s3.amazonaws.com/applications/applications.html#synchronize">JetS3t synchronize</a></strong><br />
Synchronize is part of a larger suite of S3-tools called &#8220;JetS3t&#8221;. It is a command-line based tool written in Java and so it requires a Java runtime, but otherwise it can be run like any other CLI application and doesn&#8217;t require a GUI. Don&#8217;t let the simple name fool you &#8211; it is one of the better tools for backing up data to S3. Apart from Synchronize, JetS3t also contains a GUI to manage files on S3 called &#8220;Cockpit&#8221; and a SDK for Java developers to integrate S3 into their software. I have used Synchronize on several servers and continue to use it. One problem I experienced several times with this tool was its huge memory consumption when backing up large numbers of files. My server with the largest number of files currently needs to back up over 700,000 files and even though I increased the memory for Java to 2 GB it still ran out of RAM. This might not be due to Synchronize or JetS3t itself, but made me look for other solutions for this server, such as the one presented below. However I still consider Synchronize to be very well-written and user-friendly, and if the number of files you need to back up is small (like in &#8220;below 50,000 files&#8221;) it is a very reliable application. (Please also consider my general comments about backing up directly to S3 below though.)</li>
<li><strong><a href="http://s3sync.net/wiki">s3sync.rb</a></strong><br />
Another popular solution I tried, s3sync.rb is a Ruby-based script that works kind-of like rsync. Unlike JetS3t it had no problems backing up my collection of 700,000 small files. However, it created an enourmous number of requests to S3, resulting in a huge bill from Amazon, so I don&#8217;t use it anymore. Apart from that it worked well though. (Please also consider my general comments about backing up directly to S3 below.)</li>
<li><strong><a href="http://www.jungledisk.com/">JungleDisk</a></strong><br />
I am reluctant to include this here because I haven&#8217;t had a chance to try it, but JungleDisk appears to be a popular solution for backing up data to S3 and it looks pretty good on paper. I didn&#8217;t use it because it seems to require a GUI.</li>
</ul>
<p>A general problem with backing up to S3, not caused by any of the above-mentioned tools, is that S3 requires you to copy whole files. So if you have a 500 MB file where only 1 byte changed, the whole 500 MB have to be uploaded each time, and you will be charged current S3 incoming transfer fees for that. This reason alone made me disregard all S3-based solutions for larger/more frequent backups.</p>
<h4>Using EC2 local storage</h4>
<p>You could use the (currently 160 GB) local storage of EC2 instances for backups. However, if the instance is shutdown for any reason, all data is lost. Even if you don&#8217;t shutdown the instance ever, the host could lose its power or the host&#8217;s hard drive could crash, resulting in a total data loss.</p>
<p>This problem can be overcome by snapshotting the local instance storage to S3 in frequent intervals. I just found this solution to be too complex and expensive for my purposes.</p>
<h4>Using an EC2 attached EBS volume</h4>
<p>It is possible to use an EC2 instance and attach a EBS volume to it. Even though the EC2 instance is shut down or crashes, the EBS volume will be preserved, and even though the EBS host should crash, its data is backed up automatically. While S3 data is backed up about several data centers, EBS data is only being backed up in the same data center. So the safety level of data on attached EBS volumes can be considered to lie somewhere between instance-local storage and S3.</p>
<p>For increased security, EBS volumes can be snapshotted to S3 as often and with as many concurrent copies as desired.</p>
<p>This is certainly a viable backup solution. Depending on how important your data is, you might want to take S3 snapshots in addition to your EBS backups. While I tried it, I found it too complex to administer and also kind-of expensive.</p>
<h4>Using an EC2 root EBS volume</h4>
<p>For increased security, EBS volumes can be snapshotted to S3 as often and with as many concurrent copies as desired.</p>
<h3>My guide</h3>
<p>Based on the determined importance of my data, the fact that this is a second site (in addition to on-site backup) and budgetary constraints, I chose to use an EBS volume as an EC2 instance root without snapshotting the volume to S3. This is the method I am going to describe in detail in the rest of this walkthrough. Before cloning this process I invite you to study the <a href="http://aws.amazon.com/documentation">AWS documentation</a> to determine its fitness for your purposes.</p>
<h3>Signing up for Amazon AWS</h3>
<p>If you don&#8217;t have an AWS account yet, <a href="http://aws-portal.amazon.com/gp/aws/developer/subscription/index.html?productCode=AmazonEC2">sign up here</a> using your Amazon login (or create one using the same link, if you aren&#8217;t an Amazon customer yet). Even if you&#8217;ve already ordered books and stuff from Amazon, signup for AWS services is separate from that. However, the only AWS service you need for this guide is EC2.</p>
<h3>Choosing an AWS region</h3>
<p>Amazon AWS currently has server farms in three regions: US-West (Northern California), US-East (Virginia) and EU-West (Ireland). Usually, you want to use the one closest to the location of your servers. Depending on the type of data you want to back up, you might even have a legal obligation not to move it outside of your own country or region. In my case this means I have to use the EU-West region.</p>
<h3>Choosing an AMI</h3>
<p>TBD</p>
<h3>Preparing your environment (installation)</h3>
<p>TBD</p>
<h4>Downloading your cert and private key</h4>
<p>TBD</p>
<h4>Creating an EC2 key pair</h4>
<p>TBD</p>
<h4>Other tools</h4>
<p>Download and unpack the Amazon EC2 API tools.</p>
<p>Set the following environment variables:</p>
<p><code>EC2_HOME=/path/to/ec2-api-tools</code><br />
<code>JAVA_HOME=/path/to/java</code><br />
<code>PATH=/path/to/ec2-api-tools/bin:$PATH</code></p>
<p>Download and install the latest version of <a href="http://code.google.com/p/boto/">boto</a>.</p>
<p><a href="http://gitabulous.com/ec2_tut.html#a-note-about-regions">Configure your region in ~/.boto</a></p>
<h3>Setting up the instance</h3>
<p>TBD</p>
<p>I want to clarify this part further, but as a short note, in the following command you will most likely want to change:</p>
<ul>
<li>The number 100 in the &#8220;block-device-mapping&#8221; argument is the size of the EBS root volume in GB</li>
<li>ami-13042f67 is the ID of the AMI you want to use, find it at <a href="https://console.aws.amazon.com/">https://console.aws.amazon.com/</a></li>
</ul>
<p><code>ec2-run-instances --private-key /path/to/private-key.pem --cert /path/to/cert.pem -H --region &lt;regionName&gt; --availability-zone &lt;availibilityZone&gt; --block-device-mapping /dev/sda1=:100:false --instance-initiated-shutdown-behavior stop --key &lt;keyName&gt; ami-13042f67</code><br />
<code>ssh -i /path/to/keypair-private-key.pem root@&lt;instance public dns name&gt;</code></p>
<p>Now connected to the instance, resize the root volume to its full size:<sup><a href="#footnote-1">1</a></sup>:</p>
<p><code>sudo resize2fs /dev/sda1</code></p>
<h3>Running a backup</h3>
<p>TBD</p>
<h4>Starting the instance</h4>
<p><code>conn.start_instances([instance_id])</code><br />
<code>res = conn.get_all_instances([instance_id])[0]</code><br />
<code>while not res.instances[0].state == u'running': wait</code><br />
<code>ip = res.instances[0].public_dns_name</code></p>
<h4>Running rsync</h4>
<p>TBD</p>
<h4>Putting it all together</h4>
<p>TBD</p>
<h3>Foot notes</h3>
<p><a id="footnote-1"></a>1: Thanks to <a href="http://alestic.com/2009/12/ec2-ebs-boot-resize">Alestic</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.clausconrad.com/blog/backing-up-to-amazon-aws/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sort ls output by date ascending</title>
		<link>http://www.clausconrad.com/blog/sort-ls-output-by-date-ascending</link>
		<comments>http://www.clausconrad.com/blog/sort-ls-output-by-date-ascending#comments</comments>
		<pubDate>Tue, 29 Dec 2009 14:33:39 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[System administration]]></category>
		<category><![CDATA[solaris]]></category>

		<guid isPermaLink="false">http://www.clausconrad2.com/?p=88</guid>
		<description><![CDATA[How to display newer files at the bottom of the ls output on Solaris 10: ls -latr lLong list with more details aInclude hidden files tSort by date descending rReverse sort order]]></description>
			<content:encoded><![CDATA[<p></p><p>How to display newer files at the bottom of the <em>ls</em> output on Solaris 10:</p>
<p><code>ls -latr</code></p>
<ul>
<li><em>l</em><br />Long list with more details</li>
<li><em>a</em><br />Include hidden files</li>
<li><em>t</em><br />Sort by date descending</li>
<li><em>r</em><br />Reverse sort order</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.clausconrad.com/blog/sort-ls-output-by-date-ascending/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing updates on Solaris 10 from the command line</title>
		<link>http://www.clausconrad.com/blog/installing-updates-on-solaris-10-from-the-command-line</link>
		<comments>http://www.clausconrad.com/blog/installing-updates-on-solaris-10-from-the-command-line#comments</comments>
		<pubDate>Thu, 29 Oct 2009 17:11:35 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[System administration]]></category>
		<category><![CDATA[solaris]]></category>

		<guid isPermaLink="false">http://www.clausconrad2.com/?p=108</guid>
		<description><![CDATA[After registering your Solaris system you might want to install updates from the command line. Here&#8217;s how to do this in one to three easy steps. Check for available updates (optional): # smpatch analyze Download and install the updates: # smpatch update If the system requires a reboot, do this as soon as possible by [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>After <a href="/blog/registering-solaris-to-receive-updates">registering your Solaris system</a> you might want to install updates from the command line. Here&#8217;s how to do this in one to three easy steps.</p>
<ol>
<li>Check for available updates (optional):</p>
<p><code># <strong>smpatch analyze</strong></code></li>
<li>Download and install the updates:
<p><code># <strong>smpatch update</strong></code></li>
<li>If the system requires a reboot, do this as soon as possible by running:
<p><code># <strong>init 6</strong></code></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.clausconrad.com/blog/installing-updates-on-solaris-10-from-the-command-line/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Registering Solaris to receive updates</title>
		<link>http://www.clausconrad.com/blog/registering-solaris-to-receive-updates</link>
		<comments>http://www.clausconrad.com/blog/registering-solaris-to-receive-updates#comments</comments>
		<pubDate>Thu, 29 Oct 2009 17:05:23 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[System administration]]></category>
		<category><![CDATA[solaris]]></category>

		<guid isPermaLink="false">http://www.clausconrad2.com/?p=110</guid>
		<description><![CDATA[A short step-by-step guide on how to register your Solaris server from the command line in order to be eligible for security patches (this doesn&#8217;t require a service subscription). Copy /usr/lib/breg/data/RegistrationProfile.properties somewhere: # cp /usr/lib/breg/data/RegistrationProfile.properties /tmp# chmod 600 /tmp/RegistrationProfile.properties Edit the copy of RegistrationProfile.properties: # vi /tmp/RegistrationProfile.properties Enter your Sun username and password at the [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>A short step-by-step guide on how to register your Solaris server from the command line in order to be eligible for security patches (this doesn&#8217;t require a service subscription).</p>
<ol>
<li>Copy <em>/usr/lib/breg/data/RegistrationProfile.properties</em> somewhere:</p>
<p><code># <strong>cp /usr/lib/breg/data/RegistrationProfile.properties /tmp</strong><br /># <strong>chmod 600 /tmp/RegistrationProfile.properties</strong></code></li>
<li>Edit the copy of <em>RegistrationProfile.properties</em>:
<p><code># <strong>vi /tmp/RegistrationProfile.properties</strong></code></p>
<p>Enter your Sun username and password at the end of the appropriate lines. If applicable, enter your subscription key and proxy settings (optional). If you don&#8217;t have one, <a href="http://sunsolve.sun.com/">register a Sun account here</a>.</li>
<li>Register your system online using the newly edited file:
<p><code># <strong>sconadm register -a -r /tmp/RegistrationProfile.properties</strong><br /><em>sconadm is running</em><br /><em>Authenticating user ...</em><br /><em>finish registration!</em></code></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.clausconrad.com/blog/registering-solaris-to-receive-updates/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using apc
Database Caching 8/22 queries in 0.016 seconds using apc

Served from: www.clausconrad.com @ 2012-02-05 15:18:08 -->
