<?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>opensourcetutor.com &#187; linux</title>
	<atom:link href="http://www.opensourcetutor.com/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.opensourcetutor.com</link>
	<description>On Linux, Web Development, Joomla and Magento commerce</description>
	<lastBuildDate>Sat, 04 Feb 2012 10:27:38 +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>How to install Git on Cpanel based 64bit Centos servers</title>
		<link>http://www.opensourcetutor.com/2011/02/19/how-to-install-git-on-cpanel-based-64bit-centos-servers/</link>
		<comments>http://www.opensourcetutor.com/2011/02/19/how-to-install-git-on-cpanel-based-64bit-centos-servers/#comments</comments>
		<pubDate>Sat, 19 Feb 2011 04:29:38 +0000</pubDate>
		<dc:creator>salubrium</dc:creator>
				<category><![CDATA[Linux Administration]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://www.opensourcetutor.com/?p=290</guid>
		<description><![CDATA[Quite easy really, once you know how.
First we add in the Epel repo for 64bit Centos5
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
and then you need to disableexcludes in yum due to Cpanel disabling Perl from yum updates. So to install git now, we run.
yum --disableexcludes=main install git
Simple, really.
]]></description>
			<content:encoded><![CDATA[<p>Quite easy really, once you know how.</p>
<p>First we add in the Epel repo for 64bit Centos5<br />
<code>rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm</code></p>
<p>and then you need to disableexcludes in yum due to Cpanel disabling Perl from yum updates. So to install git now, we run.<br />
<code>yum --disableexcludes=main install git</code></p>
<p>Simple, really.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.opensourcetutor.com/2011/02/19/how-to-install-git-on-cpanel-based-64bit-centos-servers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>View memory brand, manufacturer &amp; serial number in Linux</title>
		<link>http://www.opensourcetutor.com/2010/07/28/view-memory-brand-manufacturer-serial-number-in-linux/</link>
		<comments>http://www.opensourcetutor.com/2010/07/28/view-memory-brand-manufacturer-serial-number-in-linux/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 04:59:25 +0000</pubDate>
		<dc:creator>salubrium</dc:creator>
				<category><![CDATA[Linux Administration]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[systems administration]]></category>

		<guid isPermaLink="false">http://www.opensourcetutor.com/2010/07/28/view-memory-brand-manufacturer-serial-number-in-linux/</guid>
		<description><![CDATA[Very simply.
sudo dmidecode &#8211;type 17                                                                   
This gives the following output:
# dmidecode 2.9
SMBIOS 2.4 present.
Handle 0&#215;1100, DMI type 17, 27 bytes
Memory Device
    ...]]></description>
			<content:encoded><![CDATA[<p>Very simply.</p>
<p>sudo dmidecode &#8211;type 17                                                                   </p>
<p>This gives the following output:</p>
<p># dmidecode 2.9<br />
SMBIOS 2.4 present.</p>
<p>Handle 0&#215;1100, DMI type 17, 27 bytes<br />
Memory Device<br />
        Array Handle: 0&#215;1000<br />
        Error Information Handle: Not Provided<br />
        Total Width: 64 bits<br />
        Data Width: 64 bits<br />
        Size: 2048 MB<br />
        Form Factor: DIMM<br />
        Set: None<br />
        Locator: DIMM_A<br />
        Bank Locator: Not Specified<br />
        Type: DDR<br />
        Type Detail: Synchronous<br />
        Speed: 667 MHz (1.5 ns)<br />
        Manufacturer: AD00000000000000<br />
        Serial Number: 00001016<br />
        Asset Tag: 000818<br />
        Part Number: HYMP125S64CP8-Y5  </p>
<p>Handle 0&#215;1101, DMI type 17, 27 bytes<br />
Memory Device<br />
        Array Handle: 0&#215;1000<br />
        Error Information Handle: Not Provided<br />
        Total Width: 64 bits<br />
        Data Width: 64 bits<br />
        Size: 1024 MB<br />
        Form Factor: DIMM<br />
        Set: None<br />
        Locator: DIMM_B<br />
        Bank Locator: Not Specified<br />
        Type: DDR<br />
        Type Detail: Synchronous<br />
        Speed: 667 MHz (1.5 ns)<br />
        Manufacturer: AD00000000000000<br />
        Serial Number: 00003160<br />
        Asset Tag: 410801<br />
        Part Number: HYMP112S64CP6-Y5 </p>
]]></content:encoded>
			<wfw:commentRss>http://www.opensourcetutor.com/2010/07/28/view-memory-brand-manufacturer-serial-number-in-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Netboot.me &#8211; boot Linux systems directly from Internet</title>
		<link>http://www.opensourcetutor.com/2009/08/27/netboot-me-boot-linux-systems-directly-from-internet/</link>
		<comments>http://www.opensourcetutor.com/2009/08/27/netboot-me-boot-linux-systems-directly-from-internet/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 04:50:23 +0000</pubDate>
		<dc:creator>salubrium</dc:creator>
				<category><![CDATA[Hardware & Gadgetry]]></category>
		<category><![CDATA[Linux Administration]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[liveboot]]></category>
		<category><![CDATA[netboot]]></category>
		<category><![CDATA[netboot.me]]></category>
		<category><![CDATA[pxe]]></category>

		<guid isPermaLink="false">http://www.opensourcetutor.com/2009/08/27/netboot-me-boot-linux-systems-directly-from-internet/</guid>
		<description><![CDATA[



netboot.me is a service that allows you to boot nearly any operating system or utility on any computer with a wired internet connection &#8211; without having to know ahead of time what you&#8217;ll want to boot.
netboot.me works through the magic of netbooting over http. There are a number of ways to boot a computer with netboot.me. The simplest is to download a bootable image, which is 626Kb and burn it to a CD or put it on a USB memory stick, or floppy disk. Boot off it on any networked ...]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript"><!--
google_ad_client = "pub-9469051832075629";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
//2007-05-22: opensourcetutor.com
google_ad_channel = "3549963802";
google_color_border = "FFF";
google_color_bg = "FFF";
google_color_link = "333";
google_color_text = "CCCCCC";
google_color_url = "999999";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p><a href="http://www.netboot.me/">netboot.me</a> is a service that allows you to boot nearly any operating system or utility on any computer with a wired internet connection &#8211; without having to know ahead of time what you&#8217;ll want to boot.</p>
<p>netboot.me works through the magic of netbooting over http. There are a number of ways to boot a computer with netboot.me. The simplest is to download a bootable image, which is 626Kb and burn it to a CD or put it on a USB memory stick, or floppy disk. Boot off it on any networked computer, and it will automatically fetch the latest boot options from netboot.me and let you choose from dozens of installation, recovery, testing, portable desktop and other tools. You can also start netboot.me from any computer running gPXE, or from any netbootable computer with some simple tweaks to your DHCP server.</p>
<p><b>Here&#8217;s a screenshot:</b></p>
<p><img style="max-width: 800px;" src="http://www.opensourcetutor.com/wp-content/uploads/2009/08/netboot_me_screenshot.png" /></p>
<p>I just tested it and it works beautifully. It seems to update it&#8217;s menu system from it&#8217;s website each time it boots, so it&#8217;s always fresh. Currently in the menu, the following are available:</p>
<p><b>Installers</b><br />
FreeBSD 7.2 (x86 or amd64)<br />
Debian Lenny (5.0)<br />
Debian Testing (x86 / amd64)<br />
Fedora 11(x86/amd64)<br />
OpenSUSE 11.1 (x86/amd64)<br />
Ubuntu Jaunty &amp; Karmic (x86/amd64)<br />
<b>Live&nbsp; Linux</b><br />
Tiny Core Linux 2.2<br />
Micro Core Linux 2.2<br />
<b>Tools</b><br />
Diagnostics -&gt; (Memtest86 &amp; 86+, HDT 0.3.4)<br />
Disk Tools -&gt; (Gparted LIve 0.4.5-2, Parted Magic 4.4)<br />
Rescue -&gt; (Ubuntu Jaunty / Karmic in rescue mode)</p>
<p>Anyway, I grabbed Micro Core and on my 1024kbps connection, it was booting in about 30 seconds and I had a runnning linux distribution.</p>
<p>Technorati Tags: <a class="performancingtags" href="http://technorati.com/tag/netboot.me" rel="tag">netboot.me</a>, <a class="performancingtags" href="http://technorati.com/tag/pxe" rel="tag">pxe</a>, <a class="performancingtags" href="http://technorati.com/tag/linux" rel="tag">linux</a>, <a class="performancingtags" href="http://technorati.com/tag/liveboot" rel="tag">liveboot</a>, <a class="performancingtags" href="http://technorati.com/tag/netboot" rel="tag">netboot</a></p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=8c51323b-950e-82a5-8d1f-26b5d073ed86" /></div>
]]></content:encoded>
			<wfw:commentRss>http://www.opensourcetutor.com/2009/08/27/netboot-me-boot-linux-systems-directly-from-internet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to type a degree symbol in Linux</title>
		<link>http://www.opensourcetutor.com/2009/06/25/how-to-type-a-degree-symbol-in-linux/</link>
		<comments>http://www.opensourcetutor.com/2009/06/25/how-to-type-a-degree-symbol-in-linux/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 01:21:25 +0000</pubDate>
		<dc:creator>salubrium</dc:creator>
				<category><![CDATA[Cross-Platform]]></category>
		<category><![CDATA[Linux Administration]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[degree]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[symbols]]></category>
		<category><![CDATA[typography]]></category>
		<category><![CDATA[unicode]]></category>

		<guid isPermaLink="false">http://www.opensourcetutor.com/?p=222</guid>
		<description><![CDATA[



Today, I came across a document where I had to type a degree symbol in Linux. Thanks to this post at Arch Linux Forums, it was painless to find out how. So here it is:
In windows, apparently you hold down Alt+0176.
Linux is different and to achieve the same, hold down Ctrl+Shift and type u+00b0, though if you are writing for html, the correct symbol is
&#38;deg;
Alternatively you can copy and paste it from this table on wikipedia, which includes other useful symbols like Pound, Registered and Copyright.
It will actually type the ...]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript"><!--
google_ad_client = "pub-9469051832075629";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
//2007-05-22: opensourcetutor.com
google_ad_channel = "3549963802";
google_color_border = "FFF";
google_color_bg = "FFF";
google_color_link = "333";
google_color_text = "CCCCCC";
google_color_url = "999999";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>Today, I came across a document where I had to type a degree symbol in Linux. Thanks to <a target="_blank" href="http://bbs.archlinux.org/viewtopic.php?id=49477">this post</a> at <a target="_blank" href="http://bbs.archlinux.org/">Arch Linux Forums</a>, it was painless to find out how. So here it is:</p>
<p>In windows, apparently you hold down Alt+0176.</p>
<p>Linux is different and to achieve the same, hold down Ctrl+Shift and type u+00b0, though if you are writing for html, the correct symbol is
<pre><code>&amp;deg;</code></pre>
<p>Alternatively you can copy and paste it from <a target="_blank" href="http://en.wikipedia.org/wiki/Latin-1_Supplement_unicode_block">this table on wikipedia</a>, which includes other useful symbols like Pound, Registered and Copyright.</p>
<p>It will actually type the u00b0 until you complete and then it will form the degree symbol like so: °</p>
<p>Technorati Tags: <a class="performancingtags" href="http://technorati.com/tag/html" rel="tag">html</a>, <a class="performancingtags" href="http://technorati.com/tag/unicode" rel="tag">unicode</a>, <a class="performancingtags" href="http://technorati.com/tag/linux" rel="tag">linux</a>, <a class="performancingtags" href="http://technorati.com/tag/degree" rel="tag">degree</a>, <a class="performancingtags" href="http://technorati.com/tag/symbols" rel="tag">symbols</a>, <a class="performancingtags" href="http://technorati.com/tag/typography" rel="tag">typography</a></p>
<p><font face="sans-serif"></font></p>
]]></content:encoded>
			<wfw:commentRss>http://www.opensourcetutor.com/2009/06/25/how-to-type-a-degree-symbol-in-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Boo Language aspx .Net using xsp2 on Mono and Linux (Ubuntu)</title>
		<link>http://www.opensourcetutor.com/2008/10/29/boo-language-aspx-net-using-xsp2-on-mono-and-linux-ubuntu/</link>
		<comments>http://www.opensourcetutor.com/2008/10/29/boo-language-aspx-net-using-xsp2-on-mono-and-linux-ubuntu/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 10:47:26 +0000</pubDate>
		<dc:creator>salubrium</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[Internet Goodness]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[boo]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mono]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[xsp]]></category>

		<guid isPermaLink="false">http://www.opensourcetutor.com/2008/10/29/boo-language-aspx-net-using-xsp2-on-mono-and-linux-ubunut/</guid>
		<description><![CDATA[I have been playing around with boo a little bit because it has Python-inspired syntax, runs at C# speeds and is a first class citizen on dotnet.
So I decided to find out what it would be like to do some web programming in it. I learned a bit about asp.Net in the process and mono also.
So first thing I did was:
$ cd /usr/share/doc/boo/examples/asp.net$ xsp2
and then from your browser you can run any of the &#8220;inline&#8221; samples
http://localhost:8080/InlineBooButtonClick.aspxhttp://localhost:8080/InlineBooExpression.aspxhttp://localhost:8080/InlineBooHelloAspNet.aspx
but if you try and run one of the code behind samples, you get something ...]]></description>
			<content:encoded><![CDATA[<p>I have been playing around with boo a little bit because it has Python-inspired syntax, runs at C# speeds and is a first class citizen on dotnet.</p>
<p>So I decided to find out what it would be like to do some web programming in it. I learned a bit about asp.Net in the process and mono also.</p>
<p>So first thing I did was:</p>
<blockquote><p>$ cd /usr/share/doc/boo/examples/asp.net<br />$ xsp2</p></blockquote>
<p>and then from your browser you can run any of the &#8220;inline&#8221; samples</p>
<p>http://localhost:8080/InlineBooButtonClick.aspx<br />http://localhost:8080/InlineBooExpression.aspx<br />http://localhost:8080/InlineBooHelloAspNet.aspx</p>
<p>but if you try and run one of the code behind samples, you get something like this:</p>
<p><img style="max-width: 800px;" src="http://www.opensourcetutor.com/wp-content/uploads/2008/10/parser-error-1225276749810.png" /></p>
<blockquote><p>Description: Error parsing a resource required to service this request. Review your source file and modify it to fix this error.</p>
<p>Parser Error Message: Cannot find type Boo.Examples.Web.YourName</p>
<p>Source Error:</p>
<p>Line 1: &lt;%@Page Inherits=&#8221;Boo.Examples.Web.YourName&#8221;  %&gt;<br />Line 2: <br />Line 3: </p></blockquote>
<p>The problem is the the boo source code needs to be compiled and the dll&#8217;s must be placed in a bin directory in the folder you are running xsp2 from. There is a nant build script there but after trying to hack it to get it to build, we worked out it was easier to just compile manually.ie:</p>
<blockquote><p>$ sudo mkdir bin<br />$ sudo booc -t:library -o:ScriptRunner.dll ScriptRunner.aspx.boo<br />$ sudo cp ScriptRunner.dll bin</p></blockquote>
<p>from your browser:</p>
<p>http://localhost:8080/ScriptRunner.aspx</p>
<p>You can then use this to play around with some boo as if it were the booshell (booish)</p>
<p>Thanks to Cedric for helping me out in IRC on this.Technorati Tags: <a class="performancingtags" href="http://technorati.com/tag/mono" rel="tag">mono</a>, <a class="performancingtags" href="http://technorati.com/tag/python" rel="tag">python</a>, <a class="performancingtags" href="http://technorati.com/tag/boo" rel="tag">boo</a>, <a class="performancingtags" href="http://technorati.com/tag/language" rel="tag">language</a>, <a class="performancingtags" href="http://technorati.com/tag/xsp" rel="tag">xsp</a>, <a class="performancingtags" href="http://technorati.com/tag/ubuntu" rel="tag">ubuntu</a>, <a class="performancingtags" href="http://technorati.com/tag/linux" rel="tag">linux</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.opensourcetutor.com/2008/10/29/boo-language-aspx-net-using-xsp2-on-mono-and-linux-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bash command to determine multiple logins sorted by user with the most logins</title>
		<link>http://www.opensourcetutor.com/2008/05/29/bash-command-to-determine-multiple-logins-sorted-by-user-with-the-most-logins/</link>
		<comments>http://www.opensourcetutor.com/2008/05/29/bash-command-to-determine-multiple-logins-sorted-by-user-with-the-most-logins/#comments</comments>
		<pubDate>Thu, 29 May 2008 01:41:09 +0000</pubDate>
		<dc:creator>salubrium</dc:creator>
				<category><![CDATA[Linux Administration]]></category>
		<category><![CDATA[awk]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[hp-ux]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[maxusers]]></category>
		<category><![CDATA[one-liner]]></category>

		<guid isPermaLink="false">http://www.opensourcetutor.com/2008/05/29/bash-command-to-determine-multiple-logins-sorted-by-user-with-the-most-logins/</guid>
		<description><![CDATA[
Here &#8217;tis
w &#124; awk &#8216;{a[$1]++}END{for(i in a){print a[i] &#8221; &#8221; i}}&#8217; &#124; sort -rn &#124; head
stumbled on this issue with a HP-UX server we run where the maxusers kernel paramater is set to 600 (512 by default). To change this setting, requires a reboot of the server (something not easily achievable at midday with 600 users logged in). You can change kernel parameters via SAM in HP-UX
This is a slight modification of the 1 liner that sorts your bash history by commands used:
history &#124; awk &#8216;{a[$2]++}END{for(i in a){print a[i] &#8221; ...]]></description>
			<content:encoded><![CDATA[<p><!--adsense#widelinks--><br />
Here &#8217;tis</p>
<blockquote><p>w | awk &#8216;{a[$1]++}END{for(i in a){print a[i] &#8221; &#8221; i}}&#8217; | sort -rn | head</p></blockquote>
<p>stumbled on this issue with a HP-UX server we run where the maxusers kernel paramater is set to 600 (512 by default). To change this setting, requires a reboot of the server (something not easily achievable at midday with 600 users logged in). You can change kernel parameters via SAM in HP-UX</p>
<p>This is a slight modification of the 1 liner that sorts your bash history by commands used:</p>
<blockquote><p>history | awk &#8216;{a[$2]++}END{for(i in a){print a[i] &#8221; &#8221; i}}&#8217; | sort -rn | head</p></blockquote>
<p>Here&#8217;s some examples of my own from 2 machines:</p>
<p>235 ll<br />163 cd<br />149 grep<br />37 vi<br />32 for<br />31 du<br />26 rm<br />23 tail<br />21 htop<br />20 /etc/init.d/httpd</p>
<p>Here&#8217;s my home machine (I use pkill when I login to the same user desktop remotely via NX to kill evolution in the console session) :</p>
<p>109 ll<br />42 sudo<br />35 locate<br />35 cd<br />24 pkill<br />17 more<br />15 vi<br />15 unison<br />15 ssh<br />14 echo</p>
<p>Technorati Tags: <a class="performancingtags" href="http://technorati.com/tag/bash" rel="tag">bash</a>, <a class="performancingtags" href="http://technorati.com/tag/hp-ux" rel="tag">hp-ux</a>, <a class="performancingtags" href="http://technorati.com/tag/linux" rel="tag">linux</a>, <a class="performancingtags" href="http://technorati.com/tag/one-liner" rel="tag">one-liner</a>, <a class="performancingtags" href="http://technorati.com/tag/awk" rel="tag">awk</a>, <a class="performancingtags" href="http://technorati.com/tag/maxusers" rel="tag">maxusers</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.opensourcetutor.com/2008/05/29/bash-command-to-determine-multiple-logins-sorted-by-user-with-the-most-logins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easy DVD Authoring in Linux thanks to Wine and DVD Flick</title>
		<link>http://www.opensourcetutor.com/2008/05/29/easy-dvd-authoring-in-linux-thanks-to-wine-and-dvd-flick/</link>
		<comments>http://www.opensourcetutor.com/2008/05/29/easy-dvd-authoring-in-linux-thanks-to-wine-and-dvd-flick/#comments</comments>
		<pubDate>Thu, 29 May 2008 00:26:29 +0000</pubDate>
		<dc:creator>salubrium</dc:creator>
				<category><![CDATA[Cross-Platform]]></category>
		<category><![CDATA[Linux Administration]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[dvd authoring]]></category>
		<category><![CDATA[dvd flick]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[wine]]></category>

		<guid isPermaLink="false">http://www.opensourcetutor.com/2008/05/29/easy-dvd-authoring-in-linux-thanks-to-wine-and-dvd-flick/</guid>
		<description><![CDATA[
I haven&#8217;t spent much time with Video editing / DVD authoring on either Linux or Windows. Mostly because I don&#8217;t watch much video except for a wierd philia for watching Cop Chases on Youtube or at the other end of the spectrum, watching the extremely interesting TedTalks using Miro or Google Tech Talks.
Anyway, my sister-in-law purchased a Mini-DVD Sony camera. It just so happens that Linux doesn&#8217;t support this format at the moment (though Windows 2003 doesn&#8217;t natively either), so be warned. Anyway, we managed to use Sony&#8217;s software to ...]]></description>
			<content:encoded><![CDATA[<p><!--adsense#widelinks--><br />
I haven&#8217;t spent much time with Video editing / DVD authoring on either Linux or Windows. Mostly because I don&#8217;t watch much video except for a wierd philia for watching <a href="http://youtube.com/results?search_query=cop+chases&amp;search_type=">Cop Chases on Youtube</a> or at the other end of the spectrum, watching the extremely interesting <a href="http://www.ted.com/index.php/talks">TedTalks</a> using Miro or <a href="http://research.google.com/video.html">Google Tech Talks.</a></p>
<p>Anyway, my sister-in-law purchased a Mini-DVD Sony camera. It just so happens that Linux doesn&#8217;t support this format at the moment (though Windows 2003 doesn&#8217;t natively either), so be warned. Anyway, we managed to use Sony&#8217;s software to dump it to a Windows 2003 server and pulled it across to my Ubuntu machine. All I wanted to do was to grab these 5 movies and put them into standard DVD format. I wanted to do both PAL and NTSC because these DVD&#8217;s are going to South America and although they use NTSC there, it&#8217;s nothing to burn both just in case there&#8217;s some issue with one or the other.</p>
<p>So.. how hard could it be to do this? It turned out to be quite difficult using the Linux tools I could find..</p>
<p>First, I came across a post that uses <a href="http://www.dvdstyler.de/">DVDStyler</a>, it&#8217;s not in Ubuntu repo&#8217;s but they have some deb packages so I download and install them. They are only in i386 architecture, so I &#8211;force-architecture and they install. Go to load it and I get this:</p>
<p><em>dvdstyler: error while loading shared libraries: libswscale.so.ld: cannot open shared object file: No such file or directory</em></p>
<p>I run ldconfig and still the same error message.. It&#8217;s 9:30pm, I want to have a playable DVD by 10:30-11pm. Let&#8217;s try something else.</p>
<p>So, I then come across <a href="http://sourceforge.net/projects/any2dvd/">any2dvd </a>- usage: any2dvd [ options  ] [ -i ] [ input_file1 input_file2 ... ]</p>
<p>It&#8217;s claim to fame? A script to transform PC multimedia file(s) in any format, into a DVD complete with menus &amp; suitable for playback on a standalone DVD player.</p>
<p>Sounds good.. let&#8217;s try it &#8211; </p>
<p><em><br />/usr/bin/any2dvd: 337 : let: not found<br />/usr/bin/any2dvd: 369 : Syntax Error : &#8220;(&#8221; unexpected<br /></em></p>
<p>Again, I have no desire to go debugging this or reporting a bug and waiting for an answer. I just want something that works, tonight and gives me what I want.</p>
<p>Next!</p>
<p>I read a bit about dvdauthor and it seems like it&#8217;s a bit more mature (and has 1000 options like most video editing apps) and see there&#8217;s a gui for it also called <a href="http://qdvdauthor.sourceforge.net/" target="_blank">Qdvdauthor</a> AND it&#8217;s in Hardy&#8217;s repositories, so I apt-get install dvdauthor qdvdauthor.</p>
<p>Kick off qdvdauthor. Ok, this loads and looks fine. I go to add the video files as suggested.. All the thumbnails read &#8220;Error&#8221; . So I hit the website, find the forums and lo and behold.. I find <a href="http://sourceforge.net/forum/forum.php?thread_id=2020959&amp;forum_id=340649">this post</a> describing my issue.</p>
<p>I really don&#8217;t feel like compiling both from source, so it&#8217;s about 10:15pm now. I decide that I have been defeated due to lack of time and my trusty Linux desktop just can&#8217;t achieve such a task easily, so I decide to look for a Windows application that can do what I need. If you have never seen it, the website <a href="http://www.thefreecountry.com/utilities/dvdauthoring.shtml">&#8220;The Free Country&#8221; </a> is generally a trusty website to find good, free tools. So I thought.. why not try and run one of these under wine. So, I download two of them. Video DVD Maker, which installed but didn&#8217;t run and then I installed <a href="http://www.dvdflick.net/">DVD Flick</a>, which is actually an open source project host at Sourceforge. DVD Flick installed and ran perfectly on my Ubuntu 64bit Hardy Heron. I selected it to create an ISO file which I then burned using Brasero. DVD Flick is as simple as you can get, load it, select your video files, add a few titles if you like and away you go. by 11:15pm I had my DVD playing on the DVD player.</p>
<p>An ironic sidenote is that DVD Flick installs ffmpeg.exe and uses the cygwin.dll to call it. Using wine to call cygwin to emulate linux &#8211; crazy.. but it works.</p>
<p>Here&#8217;s the traditional screenshot to see it&#8217;s simplicity.
<div align="center"><img src="http://www.opensourcetutor.com/wp-content/uploads/2008/05/dvd-flick.png" /></div>
]]></content:encoded>
			<wfw:commentRss>http://www.opensourcetutor.com/2008/05/29/easy-dvd-authoring-in-linux-thanks-to-wine-and-dvd-flick/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>How to schedule Linux to mute speaker volume overnight</title>
		<link>http://www.opensourcetutor.com/2008/04/28/how-to-schedule-linux-to-mute-speaker-volume-overnight/</link>
		<comments>http://www.opensourcetutor.com/2008/04/28/how-to-schedule-linux-to-mute-speaker-volume-overnight/#comments</comments>
		<pubDate>Mon, 28 Apr 2008 06:35:46 +0000</pubDate>
		<dc:creator>salubrium</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[Linux Administration]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[crontab]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[volume]]></category>

		<guid isPermaLink="false">http://www.opensourcetutor.com/2008/04/28/how-to-schedule-linux-to-mute-speaker-volume-overnight/</guid>
		<description><![CDATA[
Here&#8217;s a simple method of automatically muting your volume overnight and resetting it in the morning. This is especially good for those who use softphones, skype or an IM client that have sound alerts output to speakers.
We are going to use three command line tools for this: aumix, which and cron. We are also only going to set things up so the commands are run under the user account, rather than as root as cron used incorrectly can open up some security issues.
so, to get started try and run:
:~$ aumix
and ...]]></description>
			<content:encoded><![CDATA[<p><!--adsense#widelinks--><br />
Here&#8217;s a simple method of automatically muting your volume overnight and resetting it in the morning. This is especially good for those who use softphones, skype or an IM client that have sound alerts output to speakers.</p>
<p>We are going to use three command line tools for this: aumix, which and cron. We are also only going to set things up so the commands are run under the user account, rather than as root as cron used incorrectly can open up some security issues.</p>
<p>so, to get started try and run:</p>
<blockquote><p>:~$ aumix</p></blockquote>
<p>and if it&#8217;s not there, try</p>
<blockquote><p>:~$ sudo apt-get install aumix</p></blockquote>
<p> for Debian / Ubuntu or <br />
<blockquote>:~$ yum install aumix</p></blockquote>
<p> for Redhat / Centos / Fedora</p>
<p>Now that we have aumix installed, we want to find out the path to the executable as Cron doesn&#8217;t always use our environmental variables to find executables on our path. So type:</p>
<blockquote><p>:~$ which aumix<br />/usr/bin/aumix </p></blockquote>
<p>We can see it&#8217;s in /usr/bin/aumix</p>
<p>So, kick-off your music player and try playing some music or other audio then run the following commands:</p>
<blockquote><p>:~$ aumix -v 0</p></blockquote>
<p>  then<br />
<blockquote>:~$ aumix -v 100</p></blockquote>
<p>The first command should have dropped your volume down to 0% and the second command should have taken it back to 100%. Now that we have that working, let&#8217;s add it to cron. For myself, I don&#8217;t want to be disturbed between 11pm and 7am, so following cron&#8217;s options, we have</p>
<p>minute-hour-day-month-weekday-command &#8211; and we use 24 hour format. An asterisk means run at every instance of that time period, so:<br /> * * * * * would mean every minute of every day, every month and<br /> 0 0 * * * would mean at midnight every day.</p>
<p>For myself, I want the 23rd hour of every day, every month for the volume to be set down and I want the 7th hour of every day for the volume to be returned to 90%. So we add this to our crontab:</p>
<blockquote><p>0 23 * * * /usr/bin/aumix -v 0<br />00 07 * * * /usr/bin/aumix -v 90</p></blockquote>
<p>To do so as a user, we use:</p>
<blockquote><p>:~$ crontab -e</p></blockquote>
<p>Now if your default editor is vim / vi and you have never used it before, you will need to learn a little vi before we get started. When the editor opens, type <i> to enter insert mode allowing you to copy and paste the above code and modify for your needs, when you are finished editing, press esc then VV to save the file and exit.</p>
<p>If the above vi / vim is too difficult, then you can make nano your default editor (if it&#8217;s not already)</p>
<p></i><br />
<blockquote><i>:~$ EDITOR=/usr/bin/nano</i></p></blockquote>
<p><i> and then run <br /></i><br />
<blockquote><i>:~$ crontab -e</i></p></blockquote>
<p><i></p>
<p>Nano is a simplistic editor with the basic instructions displayed at the bottom of the screen.</p>
<p>So, there you have the very basics of Cron administration &#8211; ie: the Task Scheduler of Linux and how to adjust your volume via the command line.</p>
<p>If you are looking for a GUI tool for Cron Administration, look no further than gnome-schedule:</p>
<p></i><br />
<blockquote><i>:~$ sudo apt-get install gnome-schedule</i></p></blockquote>
<p><i></p>
<p>here&#8217;s our beloved screenshot:</p>
<p></i>
<div align="center"><img style="max-width: 800px;" src="http://www.opensourcetutor.com/wp-content/uploads/2008/04/gnome-schedule.png" /></div>
<p>for raising and lowering the volume.</p>
<p>Technorati Tags: <a class="performancingtags" href="http://technorati.com/tag/volume" rel="tag">volume</a>, <a class="performancingtags" href="http://technorati.com/tag/linux" rel="tag">linux</a>, <a class="performancingtags" href="http://technorati.com/tag/crontab" rel="tag">crontab</a>, <a class="performancingtags" href="http://technorati.com/tag/automation" rel="tag">automation</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.opensourcetutor.com/2008/04/28/how-to-schedule-linux-to-mute-speaker-volume-overnight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert IIS ssl certificate to use in Apache</title>
		<link>http://www.opensourcetutor.com/2007/08/08/convert-iis-ssl-certificate-to-use-in-apache/</link>
		<comments>http://www.opensourcetutor.com/2007/08/08/convert-iis-ssl-certificate-to-use-in-apache/#comments</comments>
		<pubDate>Wed, 08 Aug 2007 03:24:48 +0000</pubDate>
		<dc:creator>salubrium</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux Administration]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Windows Administration]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.opensourcetutor.com/2007/08/08/convert-iis-ssl-certificate-to-use-in-apache/</guid>
		<description><![CDATA[
Last time I did this, I found the instructions pretty easily on how to migrate SSL&#8217;s from IIS to Apache. This time I found it hard to locate the documentation, so for my own lack of memory and when google fails you, here it is:
First we need to export the certificate from IIS into a pfx file. To do that:Click Start-&#62;Run-&#62;type: mmc [enter]Click -&#62;&#8217;Console&#8217; -&#62; &#8216;Add/Remove Snap-in&#8217;.Click -&#62; &#8216;Add&#8217; -&#62; &#8216;certificates&#8217; snap-in and click on &#8216;Add&#8217;.Select -&#62; &#8216;Computer Account&#8217; -&#62; click &#8216;Next&#8217;.Select &#8216;Local Computer&#8217; and then click &#8216;OK&#8217;.Click &#8216;Close&#8217; and ...]]></description>
			<content:encoded><![CDATA[<p><!--adsense#widelinks--><br />
Last time I did this, I found the instructions pretty easily on how to migrate SSL&#8217;s from IIS to Apache. This time I found it hard to locate the documentation, so for my own lack of memory and when google fails you, here it is:</p>
<p>First we need to export the certificate from IIS into a pfx file. To do that:<br />Click Start-&gt;Run-&gt;type: mmc [enter]<br />Click -&gt;&#8217;Console&#8217; -&gt; &#8216;Add/Remove Snap-in&#8217;.<br />Click -&gt; &#8216;Add&#8217; -&gt; &#8216;certificates&#8217; snap-in and click on &#8216;Add&#8217;.<br />Select -&gt; &#8216;Computer Account&#8217; -&gt; click &#8216;Next&#8217;.<br />Select &#8216;Local Computer&#8217; and then click &#8216;OK&#8217;.<br />Click &#8216;Close&#8217; and then click &#8216;OK&#8217;.</p>
<p>In the menu for &#8216;Certificates&#8217; and click on the &#8216;Personal&#8217; folder.</p>
<p>Choose your certificate to export and select &#8216;All tasks&#8217; -&gt; &#8216;Export&#8217;.<br />In the wizard, check the box to include the private key, continue until you have a .PFX file.</p>
<p>Move the Certificate to the machine Running Apache:</p>
<p>Now, we are going to use openssl to extract the private key, and the cert file. <br />
<blockquote># Export the private key from the pfx file<br />openssl pkcs12 -in iis.pfx -nocerts -out apache.key.pem<br /># Export the certificate file from the pfx file<br />openssl pkcs12 -in iis.pfx -clcerts -nokeys -out apache.cert.pem<br /># ****This removes the passphrase from the private key so Apache won&#8217;t<br /># ****prompt you for your passphase when it starts<br />openssl rsa -in apache.key.pem -out apache.key</p></blockquote>
<p>Technorati Tags: <a class="performancingtags" href="http://technorati.com/tag/apache" rel="tag">apache</a>, <a class="performancingtags" href="http://technorati.com/tag/ssl" rel="tag">ssl</a>, <a class="performancingtags" href="http://technorati.com/tag/iis" rel="tag">iis</a>, <a class="performancingtags" href="http://technorati.com/tag/certificate" rel="tag">certificate</a>, <a class="performancingtags" href="http://technorati.com/tag/" rel="tag"></a></p>
<p class="poweredbyperformancing">
]]></content:encoded>
			<wfw:commentRss>http://www.opensourcetutor.com/2007/08/08/convert-iis-ssl-certificate-to-use-in-apache/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

