Matthew Steven - Virtual Servers and Services http://matts.org/taxonomy/term/8/0 Anything related to managing public-facing servers. en 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 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