<?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>The Piranha Method &#187; Debian Linux</title>
	<atom:link href="http://www.piranhamethod.com/category/development-blog/debian-linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.piranhamethod.com</link>
	<description>Web Development &#38; Graphic Design Firm - Charlotte, Greenville, Charleston</description>
	<lastBuildDate>Wed, 14 Apr 2010 02:18:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Kubuntu 9.04 &#8211; Jaunty Jackalope Joy!</title>
		<link>http://www.piranhamethod.com/2009/04/kubuntu-904-jaunty-jackalope-joy/</link>
		<comments>http://www.piranhamethod.com/2009/04/kubuntu-904-jaunty-jackalope-joy/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 23:21:57 +0000</pubDate>
		<dc:creator>Scott Carroll</dc:creator>
				<category><![CDATA[Debian Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[Sony]]></category>
		<category><![CDATA[VAIO]]></category>

		<guid isPermaLink="false">http://www.piranhamethod.com/?p=237</guid>
		<description><![CDATA[I have been using the latest release of Kubuntu on my Sony VAIO VGN-NR110E and I am impressed with the advancements the Linux community has made. When I first got into Linux and the open source movement, KDE and Gnome were fun to tinker with, but they were not usable for daily tasks and were [...]]]></description>
			<content:encoded><![CDATA[<p>I have been using the latest release of Kubuntu on my Sony VAIO VGN-NR110E and I am impressed with the advancements the Linux community has made. When I first got into Linux and the open source movement, KDE and Gnome were fun to tinker with, but they were not usable for daily tasks and were hard to set up. Of course, this was in the days before broadband was widespread and winmodems were the standard. Linux was definitely not ready for the desktop.<span id="more-237"></span></p>
<p>Today, I think that Linux is ready. KDE still has a few bugs to iron out and I am not covering Gnome right now, but it is definitely able to compete with Windows and Mac for geeks and grandmas. All of the necessary office and productivity tools are available, Amarok is the best music player I have ever used, Firefox and Flash are easily installed with a few clicks, Wireless was set up instantly, I am extremely impressed with this release.</p>
<h4>Now for the obligatory complaints.</h4>
<p>KDE4 is still a bit buggy. I have full faith that they will iron out the majority of these quirks soon enough. The biggest complaint is lack of third party software support. There have been huge strides since the early days, but video game developers are not developing for OpenGL and Linux platforms. This is what will keep most people from switching. Also, many companies are using software that they have invested a lot of money into. The developers for many major software programs are not coding for Linux because there aren&#8217;t many users of Linux. This is a hard loop to break. I feel that developers are going to have to code to open standards or users are going to have to be introduced to Linux and its advantages to create the market share necessary to be a valid competitor for software companies to release Linux software and develop games and ports of popular programs.</p>
<p><a title="Kubuntu | linux for human beings" href="http://www.kubuntu.org/" target="_blank">http://www.kubuntu.org/</a> &#8211; Kubuntu Home Page<br />
<a title="K Desktop Environment" href="http://www.kde.org/" target="_blank">http://www.kde.org/</a> &#8211; K Desktop Environment</p>
]]></content:encoded>
			<wfw:commentRss>http://www.piranhamethod.com/2009/04/kubuntu-904-jaunty-jackalope-joy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>OpenVZ Container Weekly Bash Backup Script: VZDUMP</title>
		<link>http://www.piranhamethod.com/2009/03/openvz-container-weekly-bash-backup-script/</link>
		<comments>http://www.piranhamethod.com/2009/03/openvz-container-weekly-bash-backup-script/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 08:35:12 +0000</pubDate>
		<dc:creator>Matthew Cluver</dc:creator>
				<category><![CDATA[Debian Linux]]></category>
		<category><![CDATA[Development Blog]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[code snippets]]></category>
		<category><![CDATA[container]]></category>
		<category><![CDATA[openvz]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[ve]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[vzdump]]></category>

		<guid isPermaLink="false">http://www.piranhamethod.com/?p=183</guid>
		<description><![CDATA[This is a handy backup script that will once a week perform a vzdump operation on your HN, thus dumping an imaged copy of all of your virtual machines, then uploading them all to the FTP server of your choice using ncftpput.]]></description>
			<content:encoded><![CDATA[<p>This is a handy backup script that will once a week perform a vzdump operation on your HN, thus dumping an imaged copy of all of your virtual machines, then uploading them all to the FTP server of your choice using ncftpput.<br />
<span id="more-183"></span></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #666666; font-style: italic;"># Container backup script</span>
&nbsp;
<span style="color: #666666; font-style: italic;">### System Setup ###</span>
<span style="color: #007800;">BACKUP</span>=<span style="color: #000000; font-weight: bold;">/</span>vz<span style="color: #000000; font-weight: bold;">/</span>backup.<span style="color: #007800;">$$</span>
<span style="color: #007800;">NOW</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">date</span> +<span style="color: #ff0000;">&quot;%Y-%m-%d&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #007800;">LAST</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">date</span> +<span style="color: #000000; font-weight: bold;">%</span>Y-<span style="color: #000000; font-weight: bold;">%</span>m-<span style="color: #000000; font-weight: bold;">%</span>d <span style="color: #660033;">-d</span> <span style="color: #ff0000;">'-7 days'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #007800;">DAY</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">date</span> +<span style="color: #ff0000;">&quot;%a&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #007800;">HOSTNAME</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$(hostname)</span>&quot;</span>
<span style="color: #007800;">DUMP</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$(which vzdump)</span>&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">### FTP server Setup ###</span>
<span style="color: #007800;">FTPD</span>=<span style="color: #ff0000;">&quot;/backups&quot;</span>
<span style="color: #007800;">FTPU</span>=<span style="color: #ff0000;">&quot;username&quot;</span>
<span style="color: #007800;">FTPP</span>=<span style="color: #ff0000;">&quot;password&quot;</span>
<span style="color: #007800;">FTPS</span>=<span style="color: #ff0000;">&quot;xxx.xxx.xxx.xxx&quot;</span>
<span style="color: #007800;">NCFTP</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$(which ncftp)</span>&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">### Other stuff ###</span>
<span style="color: #007800;">EMAILID</span>=<span style="color: #ff0000;">&quot;support@hostname.com&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">### Start Backup for file system ###</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #000000; font-weight: bold;">!</span> <span style="color: #660033;">-d</span> <span style="color: #007800;">$BACKUP</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> <span style="color: #007800;">$BACKUP</span> <span style="color: #000000; font-weight: bold;">||</span> :
&nbsp;
<span style="color: #007800;">$DUMP</span> <span style="color: #660033;">--exclude-path</span> <span style="color: #ff0000;">'.+/log/.+'</span> <span style="color: #660033;">--exclude-path</span> <span style="color: #ff0000;">'.+/bak/.+'</span> <span style="color: #660033;">--exclude-path</span> <span style="color: #ff0000;">'/tmp/.+'</span> <span style="color: #660033;">--exclude-path</span> <span style="color: #ff0000;">'/var/tmp/.+'</span> <span style="color: #660033;">--exclude-path</span> <span style="color: #ff0000;">'/var/run/.+pid'</span> <span style="color: #660033;">--stop</span> <span style="color: #660033;">--dumpdir</span>=<span style="color: #007800;">$BACKUP</span> <span style="color: #660033;">--compress</span> <span style="color: #660033;">--all</span>
&nbsp;
<span style="color: #666666; font-style: italic;">### Dump backup using FTP ###</span>
<span style="color: #666666; font-style: italic;">#Start FTP backup using ncftp</span>
<span style="color: #007800;">$NCFTP</span> <span style="color: #660033;">-u</span><span style="color: #ff0000;">&quot;<span style="color: #007800;">$FTPU</span>&quot;</span> <span style="color: #660033;">-p</span><span style="color: #ff0000;">&quot;<span style="color: #007800;">$FTPP</span>&quot;</span> <span style="color: #007800;">$FTPS</span> <span style="color: #000000; font-weight: bold;">&lt;</span> <span style="color: #000000; font-weight: bold;">&lt;</span> EOF
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #007800;">$FTPD</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$NOW</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #007800;">$FTPD</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$NOW</span>
lcd <span style="color: #007800;">$BACKUP</span>
mput <span style="color: #000000; font-weight: bold;">*</span>
<span style="color: #c20cb9; font-weight: bold;">rmdir</span> <span style="color: #007800;">$FTPD</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$LAST</span>
quit
EOF
&nbsp;
<span style="color: #666666; font-style: italic;">### Find out if ftp backup failed or not ###</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;$?&quot;</span> == <span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rf</span> <span style="color: #007800;">$BACKUP</span>
<span style="color: #000000; font-weight: bold;">else</span>
<span style="color: #007800;">T</span>=<span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>backup.fail
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Date: <span style="color: #007800;">$(date)</span>&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #007800;">$T</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Hostname: <span style="color: #007800;">$(hostname)</span>&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span><span style="color: #007800;">$T</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Backup failed&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span><span style="color: #007800;">$T</span>
mail <span style="color: #660033;">-s</span> <span style="color: #ff0000;">&quot;BACKUP FAILED&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$EMAILID</span>&quot;</span> <span style="color: #000000; font-weight: bold;">&lt;</span> <span style="color: #007800;">$T</span>
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rf</span> <span style="color: #007800;">$T</span>
<span style="color: #000000; font-weight: bold;">fi</span></pre></td></tr></table></div>

</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.piranhamethod.com/2009/03/openvz-container-weekly-bash-backup-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bonding/Bridging NIC/Network Adapter with Debian Etch</title>
		<link>http://www.piranhamethod.com/2009/03/bondingbridging-nicnetwork-adapter-with-debian-etch/</link>
		<comments>http://www.piranhamethod.com/2009/03/bondingbridging-nicnetwork-adapter-with-debian-etch/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 08:21:43 +0000</pubDate>
		<dc:creator>Matthew Cluver</dc:creator>
				<category><![CDATA[Debian Linux]]></category>
		<category><![CDATA[Development Blog]]></category>
		<category><![CDATA[bridging]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[etch]]></category>
		<category><![CDATA[ip bonding]]></category>
		<category><![CDATA[network adapter]]></category>
		<category><![CDATA[NIC]]></category>

		<guid isPermaLink="false">http://www.piranhamethod.com/?p=179</guid>
		<description><![CDATA[A quick and dirty example of how to set up IP Bonding on Debian Etch]]></description>
			<content:encoded><![CDATA[<p>Run: <code>apt-get install ifenslave</code></p>
<p>Then edit /etc/modprobe.d/arch/i386:</p>
<p><code>alias bond0 bonding<br />
options bonding mode=2 miimon=100 downdelay=200 updelay=200</code></p>
<p>Then edit the file /etc/network/interfaces and insert something like the following (as a replacement for the configuration of eth0 that you might currently be using). Note that XX:XX:XX:XX:XX:XX must be replaced by the hardware address of one of the interfaces that are being bonded or by a locally administered address.</p>
<p>Edit /etc/network/interfaces:</p>
<p><code>auto bond0<br />
iface bond0 inet static<br />
pre-up modprobe bond0<br />
hwaddress ether 00:02:55:E1:36:32<br />
address 10.0.0.199<br />
netmask 255.255.255.0<br />
gateway 10.0.0.1<br />
slaves eth0 eth1</code></p>
<p>The special file /proc/net/bonding/bond0 can be used to view the current configuration of the bond0 device.</p>
<p><code>/etc/init.d/networking restart</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.piranhamethod.com/2009/03/bondingbridging-nicnetwork-adapter-with-debian-etch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
