Matthew Steven - Linux Administration, Virtual Servers and Services, Virtualization http://matts.org/taxonomy/term/1%208%2010/0 en Munin Ping Plugin - Changed to show one ping per graph http://matts.org/ping_plugin_for_munin <p>I started with the very nice ping script from the <a href="http://consttype.blogspot.com/2007/07/munin-plugin-for-ping-response-time.html">consttype blog</a>, but I&nbsp;didn't like that the graph was so hard to read with multiple ping hosts that had similar latencies, and it would time out with more than three IP addresses, and that it took the best ping rather than the average. &nbsp; So I&nbsp;have changed it to use a faster ping, report a ping of 1000 when it fails to connect&nbsp;(so you get a spike rather than a gap)&nbsp;and be linkable with ping_ipaddress format.</p> <p><a href="http://matts.org/ping_plugin_for_munin" target="_blank">read more</a></p> http://matts.org/ping_plugin_for_munin#comments Linux Administration Fri, 05 Mar 2010 14:01:29 +0000 Matt 39 at http://matts.org Copying a Virtual Machine lv or Partition Over SSH http://matts.org/copy_partitions_over_ssh <h3>Copying a Logical Volume or Partition over SSH</h3> <p>This should only be attempted on either a snapshot lvm volume, or an unmounted hard drive partition!</p> <p>Using ssh and dd you can copy any LVM&nbsp;or (unmounted)&nbsp;hard drive partition over the internet to a new machine easily.&nbsp; You can do a &quot;push&quot;&nbsp;or &quot;pull&quot;&nbsp;copy. &nbsp;Here's a &quot;push&quot;&nbsp;copy:</p> <p><span style="font-family: Courier New;">dd if=/dev/vg0/partition-snapshot bs=1k |<br />&nbsp;&nbsp; ssh remotehost dd of=/dev/vg0/partition-destination bs=1k</span></p> <p><a href="http://matts.org/copy_partitions_over_ssh" target="_blank">read more</a></p> http://matts.org/copy_partitions_over_ssh#comments Linux Administration Virtual Servers and Services Virtualization Sat, 20 Feb 2010 17:26:36 +0000 Matt 37 at http://matts.org XFCE4 review: After Over 10 Years with KDE, I'm Moving to XFCE, and Xubuntu! http://matts.org/xfce_review <p>In choosing a Linux desktop, I&nbsp;want something both highly stable <u>and</u> great looking.&nbsp; I stare at these monitors for 10-14 hours a day!&nbsp; Speed and ease of configuration/use are also important.&nbsp; This post is about my journey from KDE4 to XFCE4, and is also a review of sorts.</p> <p><a href="http://matts.org/xfce_review" target="_blank">read more</a></p> http://matts.org/xfce_review#comments Hardware Linux Administration Web Development Sun, 24 Jan 2010 15:18:02 +0000 Matt 35 at http://matts.org Dual Head Xorg Config for a RadeonHD RV630 aka Radeon HD 2600XT http://matts.org/node/21 <p>**&nbsp;Note **&nbsp;I've sold this card since, but I'll repost this in case it is useful to anyone:<br /> Just a reference in case anyone else is trying to figure out how to get dual head working (with screen stretch) on Ubuntu in particular since Ubuntu doesn&rsquo;t figure it out by itself. Took me awhile to get this figured out.<br /> The magic lines (in &ldquo;Device&quot;) are this</p> <p><a href="http://matts.org/node/21" target="_blank">read more</a></p> http://matts.org/node/21#comments Hardware Linux Administration Sun, 10 May 2009 22:09:12 +0000 Matt 21 at http://matts.org Green Networking - Converting Standard Computers to Thin Clients http://matts.org/green_computing_thin_clients <div class="bText"> <p>These days it&rsquo;s all about saving money, power, the planet. This post is intended to get you excited to try thin client computing on your home network- assuming you have one.</p> </div><p><a href="http://matts.org/green_computing_thin_clients" target="_blank">read more</a></p> Green Technology Hardware Linux Administration Sun, 10 May 2009 22:05:15 +0000 Matt 19 at http://matts.org Creating a LVM Mirror with LVM2's lvconvert tool. http://matts.org/node/16 <p>Here&rsquo;s one for the hall of fame of terrible error messages.<br /> When trying to add a mirror to a LVM volume on a linux box, you get this message:<br /> <code>#lvconvert -m 1 disks/root /dev/sdb2</code></p> <p>Not enough PVs with free space available for parallel allocation.<br /> Consider --alloc anywhere if desperate.<br /> This message is completely useless, we have TONS of free extents on both disks. So we check for help</p> <p><a href="http://matts.org/node/16" target="_blank">read more</a></p> http://matts.org/node/16#comments Virtualization Sun, 10 May 2009 22:00:11 +0000 Matt 16 at http://matts.org Workaround for Crashing Xen Kernel on Ubuntu Hardy High Memory Systems http://matts.org/node/15 <p><a href="http://matts.org/node/15" target="_blank">read more</a></p> http://matts.org/node/15#comments Virtualization Sun, 10 May 2009 21:58:21 +0000 Matt 15 at http://matts.org Recipes for Redirection, Apache and Javascript Examples http://matts.org/easy_redirection <p>The best way to redirect a page is to use Apache's mod_rewrite.&nbsp; Notoriously cryptic it is, but it's fast and not too hard to figure out for basic things.&nbsp; Here's an example mod_rewrite to redirect http to https.&nbsp;&nbsp; Put it in your apache config preferably, or your .htaccess file if you can't modify your config directly.</p> <p><a href="http://matts.org/easy_redirection" target="_blank">read more</a></p> http://matts.org/easy_redirection#comments Virtual Servers and Services Sun, 10 May 2009 21:52:10 +0000 Matt 13 at http://matts.org Avoiding Network Solutions Transfer Dirty Tricks http://matts.org/node/12 <p>Ever try to transfer a domain off of Network Solutions before it expires? Don&rsquo;t do it until you read this and avoid my mistake. Here&rsquo;s the process.</p> <p><a href="http://matts.org/node/12" target="_blank">read more</a></p> http://matts.org/node/12#comments Virtual Servers and Services Sun, 10 May 2009 21:47:20 +0000 Matt 12 at http://matts.org Setting up multi monitor / dual head 1280x1024 with the Intel G31 Integrated Graphics Chipset http://matts.org/node/8 <div class="bText"> <p>Just a recipe for dual head on Xorg/Linux with the GMA 3100 included with my G31 chipset in case I forget.</p> <p>1) Obtain &ldquo;intel&rdquo; xorg driver version 2.1.1 or later. Build/install.<br /> 2) Configure i915 kernel driver, load<br /> 3) Configure xorg with the following unusual parts: Monitor Identifiers should match these options under the video card Device block.</p> <p class="amcode">Code:</p> </div><p><a href="http://matts.org/node/8" target="_blank">read more</a></p> http://matts.org/node/8#comments Hardware Linux Administration Sun, 10 May 2009 21:18:21 +0000 Matt 8 at http://matts.org