<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Setup Tips</title>
	
	<link>http://www.setuptips.com</link>
	<description>Tips on setting up gadgets and software</description>
	<lastBuildDate>Mon, 20 Feb 2012 05:40:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/SetupTips" /><feedburner:info uri="setuptips" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>SetupTips</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Volume Manager Root Disk Encapsulation Recovery</title>
		<link>http://feedproxy.google.com/~r/SetupTips/~3/W67FKL3CqrQ/</link>
		<comments>http://www.setuptips.com/blog/root-disk-encapsulation-recovery/#comments</comments>
		<pubDate>Mon, 20 Feb 2012 05:12:06 +0000</pubDate>
		<dc:creator>Danny W Sheehan</dc:creator>
				<category><![CDATA[Veritas Storage Foundation]]></category>

		<guid isPermaLink="false">http://www.setuptips.com/?p=349</guid>
		<description><![CDATA[<p>&#160; I am not a big believer in root disk encapsulation with Veritas Volume Manager, now part of Symantec Storage Foundation. There have been a number of times when I have had to boot off the mirror disk, and had to completely de-encapsulate the mirror disk from Veritas Volume Manager to recover.&#160; Here is how [...]</p><p>Source: <a href="http://www.setuptips.com/blog/root-disk-encapsulation-recovery/">Volume Manager Root Disk Encapsulation Recovery</a> on <a href="http://www.setuptips.com">Setup Tips - Tips on setting up gadgets and software</a></p>]]></description>
			<content:encoded><![CDATA[<p style="float:right; margin:0 0 10px 15px; width:240px;">
		<img src="http://www.setuptips.com/wp-content/blogs.dir/20/files/2012/02/StorageFoundation.jpg" width="240" title="Volume Manager Root Disk Encapsulation Recovery" alt="StorageFoundation Volume Manager Root Disk Encapsulation Recovery" />
		</p><!-- Start Shareaholic LikeButtonSetTop Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.setuptips.com%2Fblog%2Froot-disk-encapsulation-recovery%2F' data-shr_title='Volume+Manager+Root+Disk+Encapsulation+Recovery'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.setuptips.com%2Fblog%2Froot-disk-encapsulation-recovery%2F' data-shr_title='Volume+Manager+Root+Disk+Encapsulation+Recovery'></a><a class='shareaholic-tweetbutton' data-shr_count='horizontal' data-shr_href='http%3A%2F%2Fwww.setuptips.com%2Fblog%2Froot-disk-encapsulation-recovery%2F' data-shr_title='Volume+Manager+Root+Disk+Encapsulation+Recovery'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop Automatic --><p>&nbsp;</p>
<p><img style="display: block; float: none; margin-left: auto; margin-right: auto" title="StorageFoundation" alt="StorageFoundation Volume Manager Root Disk Encapsulation Recovery" src="http://www.setuptips.com/wp-content/blogs.dir/20/files/2012/02/StorageFoundation.jpg" width="314" height="400" />I am not a big believer in root disk encapsulation with Veritas Volume Manager, now part of Symantec Storage Foundation. There have been a number of times when I have had to boot off the mirror disk, and had to completely de-encapsulate the mirror disk from Veritas Volume Manager to recover.&nbsp; </p>
<p>Here is how to do it with Solaris. It is pretty similar for Linux as well.</p>
<p>Firstly, lets boot off the mirror disk and disable Veritas Volume Manager from starting.</p>
<div id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Executing last command: boot vx-rootmirror -a -s</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Boot device: /pci@83,4000/FJSV,ulsa@2,1/disk@0,0:a  File and args: -a -s</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Enter filename [kernel/sparcv9/unix]:</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Enter default directory for modules [/platform/FJSV,GPUZC-M/kernel /platform/sun4us/kernel /kernel /usr/kernel]:</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Name of system file [etc/system]:  /dev/null</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">SunOS Release 5<span style="color: #ff0000">.</span>10 Version Generic_127127-11 64-bit</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Copyright 1983-2008 Sun Microsystems, Inc<span style="color: #ff0000">.</span>  All rights reserved<span style="color: #ff0000">.</span></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Use is subject to license terms<span style="color: #ff0000">.</span></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">root filesystem type [ufs]:</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Enter physical name of root device</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">[/pci@83,4000/FJSV,ulsa@2,1/disk@0,0:a]:</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Booting to milestone "milestone/single-user:default"<span style="color: #ff0000">.</span></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">fjgi0:Using local MAC address</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">fjgi1:Using local MAC address</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #008000"># example - in this case c0t0d0 corresponds to mirror disk</span></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">mount -F ufs -o remount,rw /dev/dsk/c0t0d0s0 /</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">/etc/system --- remove all vx lines</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">/etc/vfstab – go back to normal devices e<span style="color: #ff0000">.</span>g<span style="color: #ff0000">.</span> /dev/vx/c0t0d0 <span style="color: #ff0000">.</span><span style="color: #ff0000">.</span></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #008000"># Now make sure Volume Manager does not start on the next boot:</span></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">touch /etc/vx/reconfig<span style="color: #ff0000">.</span>d/state<span style="color: #ff0000">.</span>d/install-db</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #008000"># make sure you setup boot-device to boot of mirror from now on, very important for re-encapsulation step later</span></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">eeprom | grep dev</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">e<span style="color: #ff0000">.</span>g<span style="color: #ff0000">.</span> eeprom "boot-device=vx-rootmirror"</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">syc;sync;init 6</pre>
<p><!--CRLF--></div>
</div>
<p>&nbsp;</p>
<p>After the previous steps volume manager should not be running.</p>
<div id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #008000"># vxdisk list</span></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">VxVM vxdisk ERROR V-5-1-684 IPC failure: Configuration daemon is not accessible</pre>
<p><!--CRLF--></div>
</div>
<p>Now, re-install Volume manager</p>
<div id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">bash-3<span style="color: #ff0000">.</span>00<span style="color: #008000"># vxinstall</span></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">  VxVM uses license keys to control access<span style="color: #ff0000">.</span>  If you have a SPARCstorage</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">  Array (SSA) controller or a Sun Enterprise Network Array (SENA) controller </pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">  attached to your system, then VxVM will grant you a limited use license </pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">  automatically<span style="color: #ff0000">.</span>  The SSA and/or SENA license grants you unrestricted use </pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">  of disks attached to an SSA or SENA controller, but disallows striping,</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">  RAID-5, and DMP on non-SSA and non-SENA disks<span style="color: #ff0000">.</span>  If you are not running an</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">  SSA or SENA controller, then you must obtain a license key to operate<span style="color: #ff0000">.</span></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">  Licensing information:</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">    System host ID: 80f2a60a</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">    Host type: FJSV,GPUZC-M</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">    SPARCstorage Array or Sun Enterprise Network Array: No arrays found</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Some licenses are already installed<span style="color: #ff0000">.</span>  Do you wish to review them</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">[y,n,q,<span style="color: #cc6633">?</span>] (default: y) Feb 23 22:16:56 ibsza3002 root[1501]: Starting agent n</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Do you wish to enter another license key [y,n,q,<span style="color: #cc6633">?</span>] (default: n) </pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Do you want to setup a system wide default disk group<span style="color: #cc6633">?</span></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">[y,n,q,<span style="color: #cc6633">?</span>] (default: y) Feb 23 22:17:16 ibsza3002 syseventd[353]:</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">n</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Do you want to use enclosure based names for all disks <span style="color: #cc6633">?</span></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">[y,n,q,<span style="color: #cc6633">?</span>] (default: n) </pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">  The installation is successfully completed<span style="color: #ff0000">.</span></pre>
<p><!--CRLF--></div>
</div>
<p>Check to see if Veritas can see your disks.</p>
<div id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">bash-3<span style="color: #ff0000">.</span>00<span style="color: #008000"># vxdisk list</span></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">DEVICE       TYPE            DISK         GROUP        STATUS</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">c0t0d0s2     auto:sliced     -            -            online</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">c1t0d0s2     auto:sliced     -            -            online</pre>
<p><!--CRLF--></div>
</div>
<p>Check to see if Veritas still thinks that it owns the disks.</p>
<div id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">vxdisk -o alldgs list</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">DEVICE       TYPE            DISK         GROUP        STATUS</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">c0t0d0s2     auto:sliced     -            (rootdg)     online</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">c1t0d0s2     auto:sliced     -            (rootdg)     online</pre>
<p><!--CRLF--></div>
</div>
<p>If it does, make sure Veritas forgets about them completely.</p>
<div id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">bash-3<span style="color: #ff0000">.</span>00<span style="color: #008000"># /etc/vx/bin/vxdiskunsetup -C c1t0d0</span></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">bash-3<span style="color: #ff0000">.</span>00<span style="color: #008000"># /etc/vx/bin/vxdiskunsetup -C c0t0d0</span></pre>
<p><!--CRLF--></div>
</div>
<p>Now follow the normal steps to re-encapsulate vx-rootmirror as your root disk and the other disk as your mirror disk.</p>
<p>Encapsulate root disk&nbsp; (e.g. c0t0d0)</p>
<p>vxdiskadm &#8211; option 2&nbsp; </p>
<p>Mirror root disk to other disk (e.g. c1t0d0)</p>
<p>vxdiskadm &#8211; option 6</p>
<div class="shr-publisher-349"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><br>
<div class="su-linkbox" id="post-349-linkbox"><div class="su-linkbox-label">Link to this post!</div><div class="su-linkbox-field"><input type="text" value="&lt;a href=&quot;http://www.setuptips.com/blog/root-disk-encapsulation-recovery/&quot;&gt;Volume Manager Root Disk Encapsulation Recovery&lt;/a&gt;" onclick="javascript:this.select()" readonly="readonly" style="width: 100%;" /></div></div>
<br><p>Source: <a href="http://www.setuptips.com/blog/root-disk-encapsulation-recovery/">Volume Manager Root Disk Encapsulation Recovery</a> on <a href="http://www.setuptips.com">Setup Tips - Tips on setting up gadgets and software</a></p><img src="http://feeds.feedburner.com/~r/SetupTips/~4/W67FKL3CqrQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.setuptips.com/blog/root-disk-encapsulation-recovery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.setuptips.com/blog/root-disk-encapsulation-recovery/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=root-disk-encapsulation-recovery</feedburner:origLink></item>
		<item>
		<title>Check Network Speed In Solaris 10</title>
		<link>http://feedproxy.google.com/~r/SetupTips/~3/WEb_i4u010Y/</link>
		<comments>http://www.setuptips.com/blog/check-network-speed-solaris10/#comments</comments>
		<pubDate>Mon, 20 Feb 2012 03:35:00 +0000</pubDate>
		<dc:creator>Danny W Sheehan</dc:creator>
				<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://www.setuptips.com/?p=325</guid>
		<description><![CDATA[<p>&#160; Here is a useful command to check the network speeds of NICs in Solaris 10. &#160; bash-3.00# dladm show-dev e1000g0 link: up speed: 1000 Mbps duplex: full e1000g1 link: unknown speed: 0 Mbps duplex: half e1000g2 link: unknown speed: 0 Mbps duplex: half e1000g3 link: unknown speed: 0 Mbps duplex: half e1000g4 link: up [...]</p><p>Source: <a href="http://www.setuptips.com/blog/check-network-speed-solaris10/">Check Network Speed In Solaris 10</a> on <a href="http://www.setuptips.com">Setup Tips - Tips on setting up gadgets and software</a></p>]]></description>
			<content:encoded><![CDATA[<p style="float:right; margin:0 0 10px 15px; width:240px;">
		<img src="http://www.setuptips.com/wp-content/blogs.dir/20/files/2012/02/logo_solaris10_thumb.gif" width="240" title="Check Network Speed In Solaris 10" alt="logo solaris10 thumb Check Network Speed In Solaris 10" />
		</p><!-- Start Shareaholic LikeButtonSetTop Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.setuptips.com%2Fblog%2Fcheck-network-speed-solaris10%2F' data-shr_title='Check+Network+Speed+In+Solaris+10'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.setuptips.com%2Fblog%2Fcheck-network-speed-solaris10%2F' data-shr_title='Check+Network+Speed+In+Solaris+10'></a><a class='shareaholic-tweetbutton' data-shr_count='horizontal' data-shr_href='http%3A%2F%2Fwww.setuptips.com%2Fblog%2Fcheck-network-speed-solaris10%2F' data-shr_title='Check+Network+Speed+In+Solaris+10'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop Automatic --><div id="codeSnippetWrapper">&nbsp;</div>
<div><a href="http://www.setuptips.com/wp-content/blogs.dir/20/files/2012/02/logo_solaris10.gif"><img style="display: block; float: none; margin-left: auto; margin-right: auto" title="logo_solaris10" alt="logo solaris10 thumb Check Network Speed In Solaris 10" src="http://www.setuptips.com/wp-content/blogs.dir/20/files/2012/02/logo_solaris10_thumb.gif" width="240" height="110" /></a></div>
<div>Here is a useful command to check the network speeds of NICs in Solaris 10.</div>
<div>&nbsp;</div>
<div>
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">bash-3<span style="color: #ff0000">.</span>00<span style="color: #008000"># dladm show-dev</span></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">e1000g0         link: up        speed: 1000  Mbps       duplex: full</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">e1000g1         link: unknown   speed: 0     Mbps       duplex: half</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">e1000g2         link: unknown   speed: 0     Mbps       duplex: half</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">e1000g3         link: unknown   speed: 0     Mbps       duplex: half</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">e1000g4         link: up        speed: 1000  Mbps       duplex: full</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">e1000g5         link: unknown   speed: 0     Mbps       duplex: half</pre>
<p><!--CRLF--></div>
</div>
<div class="shr-publisher-325"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><br>
<div class="su-linkbox" id="post-325-linkbox"><div class="su-linkbox-label">Link to this post!</div><div class="su-linkbox-field"><input type="text" value="&lt;a href=&quot;http://www.setuptips.com/blog/check-network-speed-solaris10/&quot;&gt;Check Network Speed In Solaris 10&lt;/a&gt;" onclick="javascript:this.select()" readonly="readonly" style="width: 100%;" /></div></div>
<br><p>Source: <a href="http://www.setuptips.com/blog/check-network-speed-solaris10/">Check Network Speed In Solaris 10</a> on <a href="http://www.setuptips.com">Setup Tips - Tips on setting up gadgets and software</a></p><img src="http://feeds.feedburner.com/~r/SetupTips/~4/WEb_i4u010Y" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.setuptips.com/blog/check-network-speed-solaris10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.setuptips.com/blog/check-network-speed-solaris10/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=check-network-speed-solaris10</feedburner:origLink></item>
		<item>
		<title>VPS.NET SSL Certificate Installation On Ubuntu</title>
		<link>http://feedproxy.google.com/~r/SetupTips/~3/djEMhVtCQSE/</link>
		<comments>http://www.setuptips.com/blog/vpsnet-ssl-certificate-ubuntu/#comments</comments>
		<pubDate>Sat, 26 Nov 2011 09:53:00 +0000</pubDate>
		<dc:creator>Danny W Sheehan</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[ssl certificates]]></category>

		<guid isPermaLink="false">http://www.setuptips.com/blog/unix/ubuntu/vpsnet-ssl-certificate-ubuntu/</guid>
		<description><![CDATA[<p>Here are some quick notes on how to order and install the free SSL certificates provided by VPS.NET on your server. 1. Create a self-signed certificate. Install ssl-cert if it is not already installed root@ns2:/tmp# aptitude install ssl-cert &#160; NOTE: VPS.NET now require 2048 bit certificates. So, edit ssleay.cnf from1024 bits to 2048 bits. root@ns2:/tmp# [...]</p><p>Source: <a href="http://www.setuptips.com/blog/vpsnet-ssl-certificate-ubuntu/">VPS.NET SSL Certificate Installation On Ubuntu</a> on <a href="http://www.setuptips.com">Setup Tips - Tips on setting up gadgets and software</a></p>]]></description>
			<content:encoded><![CDATA[<p style="float:right; margin:0 0 10px 15px; width:240px;">
		<img src="http://www.setuptips.com/wp-content/blogs.dir/20/files/2011/11/certificate-info.jpg" width="240" title="VPS.NET SSL Certificate Installation On Ubuntu" alt="certificate info VPS.NET SSL Certificate Installation On Ubuntu" />
		</p><!-- Start Shareaholic LikeButtonSetTop Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.setuptips.com%2Fblog%2Fvpsnet-ssl-certificate-ubuntu%2F' data-shr_title='VPS.NET+SSL+Certificate+Installation+On+Ubuntu'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.setuptips.com%2Fblog%2Fvpsnet-ssl-certificate-ubuntu%2F' data-shr_title='VPS.NET+SSL+Certificate+Installation+On+Ubuntu'></a><a class='shareaholic-tweetbutton' data-shr_count='horizontal' data-shr_href='http%3A%2F%2Fwww.setuptips.com%2Fblog%2Fvpsnet-ssl-certificate-ubuntu%2F' data-shr_title='VPS.NET+SSL+Certificate+Installation+On+Ubuntu'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Here are some quick notes on how to order and install the free SSL certificates provided by VPS.NET on your server. </p>
<h2>1. Create a self-signed certificate. </h2>
<p>Install ssl-cert if it is not already installed</p>
<div id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">root@ns2:/tmp# aptitude install ssl-cert</pre>
<p><!--CRLF--></div>
</div>
<p>&nbsp;</p>
<p><strong>NOTE: VPS.NET now require 2048 bit certificates. So, edit <em>ssleay.cnf</em> from1024 bits to 2048 bits.</strong></p>
<div id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">root@ns2:/tmp# cat /usr/share/ssl-cert/ssleay.cnf</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">#</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"># SSLeay example configuration file.</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">#</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">RANDFILE                = /dev/urandom</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">[ req ]</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">default_bits         <font style="background-color: #ffff00">   = 2048</font></pre>
<p><!--CRLF--></div>
</div>
<p>Now create a self-signed certificate for your web server domain. It will prompt you for your server Host Name. For the example below it would be your web server domain. We use&nbsp; mydomain.com as an example throughout this guide.</p>
<div id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">root@ns1:/tmp# make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/ssl/private/<font style="background-color: #ffff00">mydomain.com</font>.crt</pre>
<p><!--CRLF--></div>
</div>
<p>After running this command you will end up with your private key and self-signed certificate in the same file &#8211; <em>mydomain.com.crt</em>. You must split this into two separate files using an editor.</p>
<p><em>/etc/ssl/private/domain.com.key</em>&nbsp;&nbsp; // the part surrounded by &#8212;&#8211; BEGIN/END RSA PRIVATE KEY</p>
<p><em>/etc/ssl/private/domain.com.pem</em> // the part surrounded by &#8212;&#8211; BEGIN/END CERTIFICATE</p>
<h2>2. Create a Certificate Signing Request (CSR)</h2>
<p>VPS.NET use Comodo as a trusted Certificate Authority (CA). You need to generate a certificate signing request (CSR) from the private key created in the previous step and send it to the VPS.NET help desk. They will in turn forward your request to the Comodo Certificate Authority.</p>
<p>Here is the example for the domain mydomain.com. </p>
<p><strong>NOTE: The important thing is to use your domain name for the Common Name when prompted.</strong></p>
<div id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">root@ns1:/tmp# <em>openssl req -new -key /etc/ssl/private/mydomain.com.crt -out /etc/ssl/private/mydomain.com.csr</em></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">You are about to be asked to enter information that will be incorporated</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">into your certificate request.</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">What you are about to enter is what is called a Distinguished Name or a DN.</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">There are quite a few fields but you can leave some blank</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">For some fields there will be a default value,</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">If you enter '.', the field will be left blank.</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">-----</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Country Name (2 letter code) [AU]:US</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">State or Province Name (full name) [Some-State]:Florida</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Locality Name (eg, city) []:Burlington</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Organization Name (eg, company) [Internet Widgits Pty Ltd]:My Company Name</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Organizational Unit Name (eg, section) []:IT</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Common Name (eg, YOUR name) []:<font style="background-color: #ffff00">mydomain.com</font></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Email Address []:<font style="background-color: #ffff00">admin@mydomain.com</font></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Please enter the following 'extra' attributes</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">to be sent with your certificate request</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">A challenge password []:enter</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">An optional company name []:enter</pre>
<p><!--CRLF--></div>
</div>
<h2>3. Raise a VPS.NET Domain Name/SSL Support Ticket</h2>
<p>The next step is to raise a <em>“Domain Name/SSL Request”</em> support ticket. </p>
<p><img style="display: inline" title="vpsnet-certificate-request" alt="vpsnet certificate request VPS.NET SSL Certificate Installation On Ubuntu" src="http://www.setuptips.com/wp-content/blogs.dir/20/files/2011/11/vpsnet-certificate-request.jpg" width="480" height="200" /></p>
<p>Make sure you include the following information in the Message part of the ticket&nbsp; and also append the contents of the <em>/etc/ssl/private/mydomain.com.csr</em> file you created.</p>
<div id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">* Your Name: - Joe Blogs </pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">* Your Company: - mydomain.com </pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">* Contact Email address: admin@mydomain.com </pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">* Address 1: - 1 smith street </pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">* Address 2: -  </pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">* Town: - BURLINGTON </pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">* County/Province: - FLORIDA </pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">* Postcode: - 12334 </pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">* Country: - US</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">ip address: 174.127.111.29 </pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">host: mydomain.com</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Signing Request (CSR)</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">-----BEGIN CERTIFICATE REQUEST----- </pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">MIIB+DCCAWECAQAwgYMxCzAJBgNVBAYTAkhLMQswCQYDVQQIEwJOVDESMBAGA1UE</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">BxMJSG9uZyBLb25nMRIwEAYDVQQKEwlwbHNnby5jb20xCzAJBgNVBAsTAklUMRIw</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">EAYDVQQDE..</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">...</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">...</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">-----END CERTIFICATE REQUEST-----</pre>
<p><!--CRLF--></div>
</div>
<p>&nbsp;</p>
<p>It only takes VPS.NET support an hour or so to order a certificate from Comodo. You will get a response like this from VPS.NET support.</p>
<div id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">I have created new SSL certificate for you. </pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">You will be emailed when your certificate is available to download. </pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Certificate for: mydomain.com </pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Your order number is: 38383838</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Please look out for a confirmation email to admin@mydomain.com </pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">- you'll need to follow the instructions in the email to verify that the domain is yours. </pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Once you have followed the instructions in your confirmation mail, </pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">you will be able to download your certificate by going to the retrieve certificate page </pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><font style="background-color: #ffff00">(https://ssl.uk2.net/cgi-bin/retrieve-certificate.pl)</font> </pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">and entering the hostname and order number above. </pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Thanks. </pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">-- </pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Best regards, </pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">-- </pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">x smith </pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Support Engineer </pre>
<p><!--CRLF--></div>
</div>
<p>After you get this response, go and check your email. Comodo will have also sent you an email verification email. Ensure that you open and accept the link they send.</p>
<div id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">From: Comodo Security Services <span style="color: #0000ff">&lt;</span><span style="color: #800000">docs</span>@<span style="color: #ff0000">comodo</span>.<span style="color: #ff0000">com</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Date: Sat, Nov 26, 2011 at 4:58 PM</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Subject: ORDER #38383838 - Domain Control Validation for mydomain.com</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">To: "admin@mydomain.com" <span style="color: #0000ff">&lt;</span><span style="color: #800000">admin</span>@<span style="color: #ff0000">mydomain</span>.<span style="color: #ff0000">com</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Domain Control Validation for mydomain.com</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Dear admin@mydomain.com,</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">We have received a request to issue an SSL certificate for mydomain.com.</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">*** Please ignore this email if neither you nor a trusted colleague made this request for a certificate ***</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Otherwise, please browse <font color="#0000ff">here</font> and enter the following "validation code":</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">vCqBZKIkejje838jfj2ldlfe838j33jjd833O0a</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Kind Regards,</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Comodo Security Services on behalf of uk2.net</pre>
<p><!--CRLF--></div>
</div>
<p>&nbsp;</p>
<p><img style="display: inline" title="comodo-domain-control-validation" alt="comodo domain control validation VPS.NET SSL Certificate Installation On Ubuntu" src="http://www.setuptips.com/wp-content/blogs.dir/20/files/2011/11/comodo-domain-control-validation.jpg" width="480" height="297" /></p>
<p>&nbsp;</p>
<p>Finally go to <font style="background-color: #ffff00"></font>(<a href="https://ssl.uk2.net/cgi-bin/retrieve-certificate.pl">https://ssl.uk2.net/cgi-bin/retrieve-certificate.pl</a>) and fill in the requested fields. You will then be able to download a zip file containing your certificates.</p>
<p>&nbsp;</p>
<p><img style="display: inline" title="Download-certificate" alt="Download certificate VPS.NET SSL Certificate Installation On Ubuntu" src="http://www.setuptips.com/wp-content/blogs.dir/20/files/2011/11/Download-certificate.jpg" width="480" height="296" /></p>
<p>&nbsp;</p>
<p><img style="display: inline" title="download-your-certificate" alt="download your certificate VPS.NET SSL Certificate Installation On Ubuntu" src="http://www.setuptips.com/wp-content/blogs.dir/20/files/2011/11/download-your-certificate.jpg" width="480" height="286" /></p>
<p>&nbsp;</p>
<h2>4. Install The Certificates On Your Server</h2>
<p>FTP the zip file you downloaded&nbsp; to your server and then unzip the contents to a temporary directory on your server.</p>
<div id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">root@ns2:/tmp# ls</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">mydomain.com-certificate.zip</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">root@ns2:/tmp# unzip mydomain.com-certificate.zip</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Archive:  mydomain.com-certificate.zip</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"> extracting: AddTrustExternalCARoot.crt</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"> extracting: UTNAddTrustServerCA.crt</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"> extracting: PositiveSSLCA.crt</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"> extracting: <em>mydomain_com.crt</em></pre>
<p><!--CRLF--></div>
</div>
<p>&nbsp;</p>
<p>Next copy in your original key and the <em>mydomain_com.crt</em> certificate you unzipped</p>
<div id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">root@ns2:/tmp# cp mydomain_com.crt /etc/ssl/localcerts/mydomain.com.pem</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">root@ns2:/tmp# cp /etc/ssl/private/mydomain.com.key /etc/ssl/localcerts/</pre>
<p><!--CRLF--></div>
</div>
<p>You will also need to add the comodo certificate chain bundle to your webserver configuration. This file is created by combining the other certificates you were given in the zip file. There are some notes on comodo support on how to make your <a href="https://support.comodo.com/index.php?_m=knowledgebase&amp;_a=viewarticle&amp;kbarticleid=1209" target="_blank">certificate chain bundle</a>, but here is the basic step.</p>
<div id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">root@ns2:/tmp# cat PositiveSSLCA.crt UTNAddTrustServerCA.crt AddTrustExternalCARoot.crt <span style="color: #0000ff">&gt;</span> mydomain.com.ca-bundle</pre>
<p><!--CRLF--></div>
</div>
<p>Finally we need to ensure our apache webserver configuration is setup correctly to point to the new certificates.</p>
<p><em>vi /etc/apache2/sites-available/mydomain.com</em></p>
<div id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px"><span style="color: #0000ff">&lt;</span><span style="color: #800000">VirtualHost</span> *<span style="color: #ff0000">:443</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">    ServerName mydomain.com</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">    ....</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">    ....</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">    SSLEngine on</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">    SSLCertificateFile        /etc/ssl/localcerts/<font style="background-color: #ffff00">mydomain.com.pem</font></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">    SSLCertificateKeyFile     /etc/ssl/localcerts/<font style="background-color: #ffff00">mydomain.com.key</font></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">    SSLCertificateChainFile   /etc/ssl/localcerts/<font style="background-color: #ffff00">mydomain.com.ca-bundle</font></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF--></div>
</div>
<p>As a final step restart apache.</p>
<h2>5. Check Your Certificate Installation</h2>
<p>If your certificate install did not work you will still be presented with an untrusted certificate warning when you browse to the secure address of your domain</p>
<p>i.e. https : //www. mydomain. com</p>
<p><img style="display: inline" title="untusted-certificate" alt="untusted certificate VPS.NET SSL Certificate Installation On Ubuntu" src="http://www.setuptips.com/wp-content/blogs.dir/20/files/2011/11/untusted-certificate.jpg" width="480" height="248" /></p>
<p>If everything worked fine. Then you will no longer see any warning messages.</p>
<p>You can also verify the certificate information in your browser by right clicking the web page and selecting view page info.</p>
<p><img style="display: inline" title="certificate-info" alt="certificate info VPS.NET SSL Certificate Installation On Ubuntu" src="http://www.setuptips.com/wp-content/blogs.dir/20/files/2011/11/certificate-info.jpg" width="321" height="400" /></p>
<div class="shr-publisher-245"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><br>
<div class="su-linkbox" id="post-245-linkbox"><div class="su-linkbox-label">Link to this post!</div><div class="su-linkbox-field"><input type="text" value="&lt;a href=&quot;http://www.setuptips.com/blog/vpsnet-ssl-certificate-ubuntu/&quot;&gt;VPS.NET SSL Certificate Installation On Ubuntu&lt;/a&gt;" onclick="javascript:this.select()" readonly="readonly" style="width: 100%;" /></div></div>
<br><p>Source: <a href="http://www.setuptips.com/blog/vpsnet-ssl-certificate-ubuntu/">VPS.NET SSL Certificate Installation On Ubuntu</a> on <a href="http://www.setuptips.com">Setup Tips - Tips on setting up gadgets and software</a></p><img src="http://feeds.feedburner.com/~r/SetupTips/~4/djEMhVtCQSE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.setuptips.com/blog/vpsnet-ssl-certificate-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.setuptips.com/blog/vpsnet-ssl-certificate-ubuntu/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=vpsnet-ssl-certificate-ubuntu</feedburner:origLink></item>
		<item>
		<title>Setting Ubuntu Default Crontab Editor</title>
		<link>http://feedproxy.google.com/~r/SetupTips/~3/Dc5Ob6UoNGA/</link>
		<comments>http://www.setuptips.com/blog/setting-ubuntu-default-crontab-editor/#comments</comments>
		<pubDate>Sun, 04 Sep 2011 05:47:38 +0000</pubDate>
		<dc:creator>Danny W Sheehan</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[crontab editor]]></category>

		<guid isPermaLink="false">http://www.setuptips.com/blog/unix/ubuntu/setting-ubuntu-default-crontab-editor/</guid>
		<description><![CDATA[<p>When you first invoke the crontab command in Ubuntu you are prompted for the default editor. If someone has already set this to nano and you are a vim-person this can be very annoying. To change it to vim use the select-editor command root@ns1:/etc# select-editor &#160; Select an editor. To change later, run 'select-editor'. 1. [...]</p><p>Source: <a href="http://www.setuptips.com/blog/setting-ubuntu-default-crontab-editor/">Setting Ubuntu Default Crontab Editor</a> on <a href="http://www.setuptips.com">Setup Tips - Tips on setting up gadgets and software</a></p>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.setuptips.com%2Fblog%2Fsetting-ubuntu-default-crontab-editor%2F' data-shr_title='Setting+Ubuntu+Default+Crontab+Editor'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.setuptips.com%2Fblog%2Fsetting-ubuntu-default-crontab-editor%2F' data-shr_title='Setting+Ubuntu+Default+Crontab+Editor'></a><a class='shareaholic-tweetbutton' data-shr_count='horizontal' data-shr_href='http%3A%2F%2Fwww.setuptips.com%2Fblog%2Fsetting-ubuntu-default-crontab-editor%2F' data-shr_title='Setting+Ubuntu+Default+Crontab+Editor'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop Automatic --><p>When you first invoke the crontab command in Ubuntu you are prompted for the default editor. If someone has already set this to <em>nano</em> and you are a vim-person this can be very annoying.</p>
<p>To change it to <em>vim</em> use the <em>select-editor</em> command</p>
<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">root@ns1:/etc<span style="color: #008000"># select-editor</span></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Select an editor.  To change later, run <span style="color: #006080">'select-editor'</span>.</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">  1. /bin/nano        &lt;---- easiest</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">  2. /usr/bin/vim.basic</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">  3. /usr/bin/vim.tiny</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Choose 1-3 [1]: 2</pre>
<p><!--CRLF--></div>
</div>
<div class="shr-publisher-230"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><br>
<div class="su-linkbox" id="post-230-linkbox"><div class="su-linkbox-label">Link to this post!</div><div class="su-linkbox-field"><input type="text" value="&lt;a href=&quot;http://www.setuptips.com/blog/setting-ubuntu-default-crontab-editor/&quot;&gt;Setting Ubuntu Default Crontab Editor&lt;/a&gt;" onclick="javascript:this.select()" readonly="readonly" style="width: 100%;" /></div></div>
<br><p>Source: <a href="http://www.setuptips.com/blog/setting-ubuntu-default-crontab-editor/">Setting Ubuntu Default Crontab Editor</a> on <a href="http://www.setuptips.com">Setup Tips - Tips on setting up gadgets and software</a></p><img src="http://feeds.feedburner.com/~r/SetupTips/~4/Dc5Ob6UoNGA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.setuptips.com/blog/setting-ubuntu-default-crontab-editor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.setuptips.com/blog/setting-ubuntu-default-crontab-editor/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=setting-ubuntu-default-crontab-editor</feedburner:origLink></item>
		<item>
		<title>Install Memcached on Ubuntu</title>
		<link>http://feedproxy.google.com/~r/SetupTips/~3/JGd8nvsUSZ8/</link>
		<comments>http://www.setuptips.com/blog/install-memcached-on-ubuntu/#comments</comments>
		<pubDate>Thu, 25 Aug 2011 03:12:07 +0000</pubDate>
		<dc:creator>Danny W Sheehan</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[memcache]]></category>
		<category><![CDATA[memcached]]></category>

		<guid isPermaLink="false">http://www.setuptips.com/blog/unix/ubuntu/install-memcached-on-ubuntu/</guid>
		<description><![CDATA[<p>&#160; Memcached on Ubuntu has actually two components. A standalone program running on your server and a&#160; client PHP extension. To be honest I noticed no increase in performance using memcached with the W3 Total Cache plugin. root@ns1:~# aptitude install memcached The following NEW packages will be installed: memcached &#160; First we need to install [...]</p><p>Source: <a href="http://www.setuptips.com/blog/install-memcached-on-ubuntu/">Install Memcached on Ubuntu</a> on <a href="http://www.setuptips.com">Setup Tips - Tips on setting up gadgets and software</a></p>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.setuptips.com%2Fblog%2Finstall-memcached-on-ubuntu%2F' data-shr_title='Install+Memcached+on+Ubuntu'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.setuptips.com%2Fblog%2Finstall-memcached-on-ubuntu%2F' data-shr_title='Install+Memcached+on+Ubuntu'></a><a class='shareaholic-tweetbutton' data-shr_count='horizontal' data-shr_href='http%3A%2F%2Fwww.setuptips.com%2Fblog%2Finstall-memcached-on-ubuntu%2F' data-shr_title='Install+Memcached+on+Ubuntu'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop Automatic --><p>&nbsp;</p>
<p>Memcached on Ubuntu has actually two components. A standalone program running on your server and a&nbsp; client PHP extension. To be honest I noticed no increase in performance using memcached with the W3 Total Cache plugin.</p>
<div id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">root@ns1:~<span style="color: #008000"># aptitude install memcached</span></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">The following NEW packages will be installed:</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">  memcached</pre>
<p><!--CRLF--></div>
</div>
<p>&nbsp;</p>
<p>First we need to install the <a href="http://pear.php.net/" target="_blank">PEAR</a> framework. This is a distribution system for handling reusable PHP components.</p>
<div id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
<p><font style="background-color: #f4f4f4" color="#000000" face="Courier New"></font>&nbsp;</p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">root@ns1:~<span style="color: #008000"># aptitude install php-pear</span></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">The following NEW packages will be installed:</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">  php-pear php5-cli{a}</pre>
<p><!--CRLF--></div>
</div>
<p>&nbsp;</p>
<p>Now we can install the PHP component using PEAR.&nbsp; Type YES to all options prompted.</p>
<div id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">root@ns1:~<span style="color: #008000"># pecl install memcache</span></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">...</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">Installing <span style="color: #006080">'/usr/lib/php5/20090626/memcache.so'</span></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">install ok: channel://pecl.php.net/memcache-2.2.6</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">configuration option <span style="color: #006080">"php_ini"</span> is not set to php.ini location</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">You should add <span style="color: #006080">"extension=memcache.so"</span> to php.ini</pre>
<p><!--CRLF--></div>
</div>
<div>If you are using php5-fpm this will already be setup for you.</div>
<div>&nbsp;</div>
<div id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">root@ns1:/etc/php5/fpm/conf.d<span style="color: #008000"># cat /etc/php5/fpm/conf.d/memcache.ini</span></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">; uncomment the next line to enable the module</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">extension=memcache.so</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">&nbsp;</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">[memcache]</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">memcache.dbpath=<span style="color: #006080">"/var/lib/memcache"</span></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">memcache.maxreclevel=0</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">memcache.maxfiles=0</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">memcache.archivememlim=0</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">memcache.maxfilesize=0</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">memcache.maxratio=0</pre>
<p><!--CRLF--></div>
</div>
<p>Now let’s verify</p>
<div id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">root@ns1:/etc/php5/fpm/conf.d<span style="color: #008000"># pgrep -fl memcached</span></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">27823 /usr/bin/memcached -m 64 -p 11211 -u memcache -l 127.0.0.1</pre>
<p><!--CRLF--></div>
</div>
<div id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">root@ns1:/etc/php5/fpm/conf.d<span style="color: #008000"># netstat -an | grep 11211</span></pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">tcp        0      0 127.0.0.1:11211         0.0.0.0:*               LISTEN</pre>
<p><!--CRLF-->
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; background-color: white; margin: 0em; border-left-style: none; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; border-right-style: none; font-size: 8pt; overflow: visible; padding-top: 0px">udp        0      0 127.0.0.1:11211         0.0.0.0:*</pre>
<p><!--CRLF--></div>
</div>
<p>&nbsp;</p>
<h2>Configuration Files</h2>
<p>/etc/memcached.conf</p>
<p>- you can increase the amount of memory in the memcache pool in this file. The default is 64M, which should be sufficient.</p>
<p>&nbsp;</p>
<h2>Log Files</h2>
<p>/var/log/memcached.log</p>
<div class="shr-publisher-229"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><br>
<div class="su-linkbox" id="post-229-linkbox"><div class="su-linkbox-label">Link to this post!</div><div class="su-linkbox-field"><input type="text" value="&lt;a href=&quot;http://www.setuptips.com/blog/install-memcached-on-ubuntu/&quot;&gt;Install Memcached on Ubuntu&lt;/a&gt;" onclick="javascript:this.select()" readonly="readonly" style="width: 100%;" /></div></div>
<br><p>Source: <a href="http://www.setuptips.com/blog/install-memcached-on-ubuntu/">Install Memcached on Ubuntu</a> on <a href="http://www.setuptips.com">Setup Tips - Tips on setting up gadgets and software</a></p><img src="http://feeds.feedburner.com/~r/SetupTips/~4/JGd8nvsUSZ8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.setuptips.com/blog/install-memcached-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.setuptips.com/blog/install-memcached-on-ubuntu/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=install-memcached-on-ubuntu</feedburner:origLink></item>
		<item>
		<title>Check iPhone Warranty Online</title>
		<link>http://feedproxy.google.com/~r/SetupTips/~3/tXXHbegA9lM/</link>
		<comments>http://www.setuptips.com/blog/check-iphone-warranty-online/#comments</comments>
		<pubDate>Sat, 20 Aug 2011 11:30:24 +0000</pubDate>
		<dc:creator>Danny W Sheehan</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[check iPhone warranty online]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://www.setuptips.com/blog/hardware/iphone/check-iphone-warranty-online/</guid>
		<description><![CDATA[<p>Want to know if you iPhone is still under warranty. Just go to this site and enter your iPhone serial number.&#160; https://selfsolve.apple.com/agreementWarrantyDynamic.do To find you iPhone serial number go to&#160; Settings-&#62;General-&#62;Serial Number. &#160; Link to this post!</p><p>Source: <a href="http://www.setuptips.com/blog/check-iphone-warranty-online/">Check iPhone Warranty Online</a> on <a href="http://www.setuptips.com">Setup Tips - Tips on setting up gadgets and software</a></p>]]></description>
			<content:encoded><![CDATA[<p style="float:right; margin:0 0 10px 15px; width:240px;">
		<img src="http://www.setuptips.com/wp-content/blogs.dir/20/files/2011/08/image_thumb.png" width="240" title="Check iPhone Warranty Online" alt="image thumb Check iPhone Warranty Online" />
		</p><!-- Start Shareaholic LikeButtonSetTop Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.setuptips.com%2Fblog%2Fcheck-iphone-warranty-online%2F' data-shr_title='Check+iPhone+Warranty+Online'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.setuptips.com%2Fblog%2Fcheck-iphone-warranty-online%2F' data-shr_title='Check+iPhone+Warranty+Online'></a><a class='shareaholic-tweetbutton' data-shr_count='horizontal' data-shr_href='http%3A%2F%2Fwww.setuptips.com%2Fblog%2Fcheck-iphone-warranty-online%2F' data-shr_title='Check+iPhone+Warranty+Online'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Want to know if you iPhone is still under warranty. Just go to this site and enter your iPhone serial number.&nbsp; <a title="https://selfsolve.apple.com/agreementWarrantyDynamic.do" href="https://selfsolve.apple.com/agreementWarrantyDynamic.do">https://selfsolve.apple.com/agreementWarrantyDynamic.do</a></p>
<p>To find you iPhone serial number go to&nbsp; <strong>Settings-&gt;General-&gt;Serial Number.</strong></p>
<p>&nbsp;</p>
<p><a href="http://www.setuptips.com/wp-content/blogs.dir/20/files/2011/08/image.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image thumb Check iPhone Warranty Online" src="http://www.setuptips.com/wp-content/blogs.dir/20/files/2011/08/image_thumb.png" width="578" height="274" /></a></p>
<div class="shr-publisher-227"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><br>
<div class="su-linkbox" id="post-227-linkbox"><div class="su-linkbox-label">Link to this post!</div><div class="su-linkbox-field"><input type="text" value="&lt;a href=&quot;http://www.setuptips.com/blog/check-iphone-warranty-online/&quot;&gt;Check iPhone Warranty Online&lt;/a&gt;" onclick="javascript:this.select()" readonly="readonly" style="width: 100%;" /></div></div>
<br><p>Source: <a href="http://www.setuptips.com/blog/check-iphone-warranty-online/">Check iPhone Warranty Online</a> on <a href="http://www.setuptips.com">Setup Tips - Tips on setting up gadgets and software</a></p><img src="http://feeds.feedburner.com/~r/SetupTips/~4/tXXHbegA9lM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.setuptips.com/blog/check-iphone-warranty-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.setuptips.com/blog/check-iphone-warranty-online/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=check-iphone-warranty-online</feedburner:origLink></item>
		<item>
		<title>WPMU W3 Total Cache Can Not Login</title>
		<link>http://feedproxy.google.com/~r/SetupTips/~3/d9pLV4nOK0A/</link>
		<comments>http://www.setuptips.com/blog/wpmu-w3-total-cache-can-not-login/#comments</comments>
		<pubDate>Fri, 19 Aug 2011 12:02:15 +0000</pubDate>
		<dc:creator>Danny W Sheehan</dc:creator>
				<category><![CDATA[WPMU]]></category>
		<category><![CDATA[can not login]]></category>
		<category><![CDATA[WC3 total cache]]></category>

		<guid isPermaLink="false">http://www.setuptips.com/blog/wordpress/wpmu/wpmu-w3-total-cache-can-not-login/</guid>
		<description><![CDATA[<p>  I just wasted several hours debugging a an issue of my own creation. In WC3 Total Cache I enabled the following CDN setting Set cookie domain to www.myservrname.com If using subdomain for CDN functionality, this setting helps prevent new users from sending cookies in requests to the CDN subdomain. This resulted in the servername [...]</p><p>Source: <a href="http://www.setuptips.com/blog/wpmu-w3-total-cache-can-not-login/">WPMU W3 Total Cache Can Not Login</a> on <a href="http://www.setuptips.com">Setup Tips - Tips on setting up gadgets and software</a></p>]]></description>
			<content:encoded><![CDATA[<p style="float:right; margin:0 0 10px 15px; width:240px;">
		<img src="http://www.setuptips.com/wp-content/blogs.dir/20/files/2011/08/w3-total-cache.jpg" width="240" title="WPMU W3 Total Cache Can Not Login" alt="w3 total cache WPMU W3 Total Cache Can Not Login" />
		</p><!-- Start Shareaholic LikeButtonSetTop Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.setuptips.com%2Fblog%2Fwpmu-w3-total-cache-can-not-login%2F' data-shr_title='WPMU+W3+Total+Cache+Can+Not+Login'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.setuptips.com%2Fblog%2Fwpmu-w3-total-cache-can-not-login%2F' data-shr_title='WPMU+W3+Total+Cache+Can+Not+Login'></a><a class='shareaholic-tweetbutton' data-shr_count='horizontal' data-shr_href='http%3A%2F%2Fwww.setuptips.com%2Fblog%2Fwpmu-w3-total-cache-can-not-login%2F' data-shr_title='WPMU+W3+Total+Cache+Can+Not+Login'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop Automatic --><p style="text-align: center;"> <img class="size-full wp-image-353 aligncenter" title="w3-total-cache" src="http://www.setuptips.com/wp-content/blogs.dir/20/files/2011/08/w3-total-cache.jpg" alt="w3 total cache WPMU W3 Total Cache Can Not Login" width="600" height="197" /></p>
<p>I just wasted several hours debugging a an issue of my own creation.</p>
<p>In WC3 Total Cache I enabled the following CDN setting</p>
<blockquote><p><strong>Set cookie domain to </strong><a href="http://www.myservrname.com" class="broken_link"><strong>www.myservrname.com</strong></a><br />
If using subdomain for CDN functionality, this setting helps prevent new users from sending cookies in requests to the CDN subdomain.</p></blockquote>
<p>This resulted in the servername being set in the top of the wp-config.php file.</p>
<blockquote><p><em>&lt;?php<br />
define(&#8216;COOKIE_DOMAIN&#8217;, ‘www.myservname.com); // Added by W3 Total Cache</em></p></blockquote>
<p>The end result was I could not login to any of the other domains hosted on my WPMU environment.</p>
<p>The fix was to remove the cookie from wp-config.php and restart my server.</p>
<p>&nbsp;</p>
<p>Hopefully I have saved you some time in the future – don’t enable this option on a WPMU blog.</p>
<div class="shr-publisher-224"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><br>
<div class="su-linkbox" id="post-224-linkbox"><div class="su-linkbox-label">Link to this post!</div><div class="su-linkbox-field"><input type="text" value="&lt;a href=&quot;http://www.setuptips.com/blog/wpmu-w3-total-cache-can-not-login/&quot;&gt;WPMU W3 Total Cache Can Not Login&lt;/a&gt;" onclick="javascript:this.select()" readonly="readonly" style="width: 100%;" /></div></div>
<br><p>Source: <a href="http://www.setuptips.com/blog/wpmu-w3-total-cache-can-not-login/">WPMU W3 Total Cache Can Not Login</a> on <a href="http://www.setuptips.com">Setup Tips - Tips on setting up gadgets and software</a></p><img src="http://feeds.feedburner.com/~r/SetupTips/~4/d9pLV4nOK0A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.setuptips.com/blog/wpmu-w3-total-cache-can-not-login/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.setuptips.com/blog/wpmu-w3-total-cache-can-not-login/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=wpmu-w3-total-cache-can-not-login</feedburner:origLink></item>
		<item>
		<title>Setup A FreeBSD Web Server–Part 2–Jails</title>
		<link>http://feedproxy.google.com/~r/SetupTips/~3/_ynobJRRsoc/</link>
		<comments>http://www.setuptips.com/blog/freebsd-server-jails/#comments</comments>
		<pubDate>Thu, 18 Aug 2011 11:12:12 +0000</pubDate>
		<dc:creator>Danny W Sheehan</dc:creator>
				<category><![CDATA[Freebsd]]></category>
		<category><![CDATA[feebsd jails]]></category>
		<category><![CDATA[freebsd server]]></category>

		<guid isPermaLink="false">http://www.setuptips.com/blog/unix/freebsd/freebsd-server-jails/</guid>
		<description><![CDATA[<p>&#160; This post is continuing from Part 1 of our series on how to setup a FreeBSD Web Server. If you ordered a number of IP address then you might want to set them up as individual jails. One for your DNS server, one for you backend server and the rest as individual webserver IP [...]</p><p>Source: <a href="http://www.setuptips.com/blog/freebsd-server-jails/">Setup A FreeBSD Web Server&ndash;Part 2&ndash;Jails</a> on <a href="http://www.setuptips.com">Setup Tips - Tips on setting up gadgets and software</a></p>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.setuptips.com%2Fblog%2Ffreebsd-server-jails%2F' data-shr_title='Setup+A+FreeBSD+Web+Server%26ndash%3BPart+2%26ndash%3BJails'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.setuptips.com%2Fblog%2Ffreebsd-server-jails%2F' data-shr_title='Setup+A+FreeBSD+Web+Server%26ndash%3BPart+2%26ndash%3BJails'></a><a class='shareaholic-tweetbutton' data-shr_count='horizontal' data-shr_href='http%3A%2F%2Fwww.setuptips.com%2Fblog%2Ffreebsd-server-jails%2F' data-shr_title='Setup+A+FreeBSD+Web+Server%26ndash%3BPart+2%26ndash%3BJails'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop Automatic --><p>&nbsp;
<p>This post is continuing from <a href="http://www.setuptips.com/blog/unix/freebsd/freebsd-server-lock-down/" target="_blank">Part 1</a> of our series on how to setup a FreeBSD Web Server.
<p>If you ordered a number of IP address then you might want to set them up as individual jails. One for your DNS server, one for you backend server and the rest as individual webserver IP addresses (I call them frontend servers). I know you can do this in apache with virtual servers but using jails makes it more secure and gives you more flexibility.&nbsp;
<p>I prefer to use what is referred to as a &#8220;complete&#8221; jail in FreeBSD that is similar in concept to a Solaris 10 zone. Maybe some of the FreeBSD developers work for Sun (now Oracle). Who knows! Some people create what is termed &#8220;service&#8221; jails that are just for one service or application e.g. apache. This would give you added security benefits but is a lot of work.
<p>First we need to allow for ping and other raw socket services to work in jails /etc/sysctl.conf setting.&nbsp; You can skip this step if you want more security and don’t need ping.<br />
<blockquote>
<p><em>hk# echo &#8216;security.jail.allow_raw_sockets=1&#8242; &gt;&gt; /etc/sysctl.conf</em></p>
</blockquote>
<p>Now enable ezjails to start on server boot up.</p>
<blockquote><p>hk# echo &#8216;ezjail_enable=&#8221;YES&#8221;&#8216; &gt;&gt; /etc/rc.conf</p>
</blockquote>
<p>Now set up some default configuration for the jails<br />
<blockquote>
<p>hk# cd /usr/local/etc/<br />hk# cp ezjail.conf.sample ezjail.conf</p>
</blockquote>
<p>Edit /usr/local/etc/ezjail.conf&nbsp; and uncomment the following.<br />
<blockquote>
<p>ezjail_jaildir=/usr/jails<br />ezjail_jailtemplate=${ezjail_jaildir}/newjail<br />ezjail_jailbase=${ezjail_jaildir}/basejail<br />ezjail_sourcetree=/usr/src<br />ezjail_uglyperlhack=&#8221;YES&#8221;<br />ezjail_mount_enable=&#8221;YES&#8221;<br />ezjail_devfs_enable=&#8221;YES&#8221;<br />ezjail_procfs_enable=&#8221;YES&#8221;<br />ezjail_fdescfs_enable=&#8221;YES&#8221;<br />ezjail_ftphost=ftp6.freebsd.org</p>
</blockquote>
<p>&nbsp;</p>
<p>Jails are like a mini version of the operating system. So a very time consuming step we need to do is create a full root file system.</p>
<blockquote><p>hk# cp /usr/share/examples/cvsup/standard-supfile /root/supfile<br />hk# vi /root/supfile</p>
</blockquote>
<p>Go to the <a href="http://www.freebsd.org/doc/handbook/cvsup.html" target="_blank">FreeBSD handbook and select the closest CVS server</a> to your server to download the source tree from, and then add this CVS server to /root/supfile.</p>
<p>*default host=cvsup6.FreeBSD.org</p>
<p>Now tell csup to download the latest source tree for the current release.</p>
<blockquote><p>hk# cd /usr/src<br />hk# csup /root/supfile</p>
</blockquote>
<p>Go and get a cup of coffee as this will take a long time.</p>
<p>Next we build a complete operating system for for the jail. This will create the base jail which has the binaries shared by all jails.</p>
<p>/usr/jails/basejail/</p>
<p>&nbsp;</p>
<blockquote><p><em>hk# ezjail-admin update –b</em></p>
</blockquote>
<p>Now go and get another cup of coffee.</p>
<p>The next step is to create a standard configuration for a jail such as /etc/resolv.conf, /etc/nsswitch.conf and /etc/make.conf</p>
<blockquote><p>hk# cd /usr/jails/flavours/<br />hk# cp -R example standard<br />hk# cd standard<br />hk# mkdir PORTS</p>
</blockquote>
<p>Edit etc/nsswitch.conf and remove all references to NIS. You don’t need it.</p>
<blockquote><p>group: files<br />hosts: files dns<br />networks: files<br />passwd: files<br />shells: files<br />services: files<br />protocols: files<br />rpc: files</p>
</blockquote>
<p>Edit etc/make.conf and append the following lines</p>
<blockquote><p><em>NO_X=true<br />NO_X11=true<br />WITHOUT_X11=true<br />NO_NIS=true<br />WITHOUT_NIS=true<br /># Recompile apache to get this working<br />SUEXEC_DOCROOT=&#8221;/home&#8221;</em></p>
</blockquote>
<p>OPTIONAL:</p>
<p>You can setup to use google’s DNS servers or the opendns.org DNS servers here also</p>
<p>vi etc/resolv.conf<br />
<blockquote>
<p>nameserver 8.8.8.8<br />nameserver 8.8.8.4</p>
</blockquote>
<p></p>
<p>Now setup your jail ip addresses in your main /etc/hosts file and also in /etc/rc.conf</p>
<p>/etc/hosts</p>
<blockquote><p>192.168.1.51 ns5.ftmon.org<br />192.168.1.52 backend1.ftmon.org<br />192.168.1.53 frontend1.ftmon.org<br />192.168.1.54 frontend2.ftmon.org</p>
</blockquote>
<p>/etc/rc.conf</p>
<blockquote><p>ifconfig_em0_alias0=&#8221;inet 192.168.1.51 netmask 255.255.255.0&#8243;<br />ifconfig_em0_alias1=&#8221;inet 192.168.1.52 netmask 255.255.255.0&#8243;<br />ifconfig_em0_alias2=&#8221;inet 192.168.1.53 netmask 255.255.255.0&#8243;<br />ifconfig_em0_alias2=&#8221;inet 192.168.1.54 netmask 255.255.255.0&#8243;</p>
</blockquote>
<p>&nbsp;</p>
<p>At this point you can reboot or plumb up the interfaces manually</p>
<blockquote><p>hk# ifconfig em0 192.168.1.51 netmask 255.255.255.0 alias<br />hk# ifconfig em0 192.168.1.52 netmask 255.255.255.0 alias<br />hk# ifconfig em0 192.168.1.53 netmask 255.255.255.0 alias<br />hk# ifconfig em0 192.168.1.54 netmask 255.255.255.0 alias</p>
</blockquote>
<p>&nbsp;</p>
<p>And verify</p>
<blockquote><p>hk# ifconfig -a<br />em0: flags=8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; metric 0 mtu 1500<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; options=9b&lt;RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ether 08:00:27:ab:01:fd<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; inet 192.168.1.50 netmask 0xffffff00 broadcast 192.168.1.255<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; inet 192.168.1.51 netmask 0xffffff00 broadcast 192.168.1.255<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; inet 192.168.1.52 netmask 0xffffff00 broadcast 192.168.1.255<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; inet 192.168.1.53 netmask 0xffffff00 broadcast 192.168.1.255<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; inet 192.168.1.54 netmask 0xffffff00 broadcast 192.168.1.255</p>
</blockquote>
<p>&nbsp;</p>
<p>Now let’s create the jails</p>
<p>&nbsp;</p>
<blockquote><p>hk# ezjail-admin create -f standard ns5.ftmon.org 192.168.1.51<br />hk# ezjail-admin create -f standard backend1.ftmon.org 192.168.1.52<br />hk# ezjail-admin create -f standard frontend1.ftmon.org 192.168.1.53<br />hk# ezjail-admin create -f standard frontend2.ftmon.org 192.168.1.53</p>
</blockquote>
<p>&nbsp;</p>
<p></p>
<p>NOTE:</p>
<blockquote><p><em>Warning: Some services already seem to be listening on all IP, (including 192.168.1.53)<br />This may cause some confusion, here they are:<br />root sshd 772 4 tcp4 *:22 *:*<br />root syslogd 490 7 udp4 *:514 *:*</em></p>
</blockquote>
<p></p>
<p>If you get this error when creating jails then make sure that syslog and sshd only bind to the main IP not the jail ips.</p>
<p><em>/etc/rc.conf</em></p>
<blockquote><p>syslogd_flags=&#8221;-ss&#8221;<br />inetd_flags=&#8221;-wW -C 60 -a 192.168.1.50&#8243;</p>
</blockquote>
<p><em>/etc/ssh/sshd_config</em></p>
<blockquote><p>ListenAddress 192.168.1.50</p>
</blockquote>
<p>&nbsp;</p>
<p>To allow for packages to be installed within each jail, I like to reference to the main operating tree packages list for space efficiency.</p>
<blockquote><p>hk# cd /usr/jails/basejail/usr<br />hk# ln -s /PORTS ports</p>
</blockquote>
<p>Then for each jail fstab add a link to the main operating systems /usr/ports</p>
<blockquote><p>hk# vi /etc/fstab.ns5_ftmon_org<br />hk# vi /etc/fstab.frontend1_ftmon_org<br />hk# vi /etc/fstab.frontend2_ftmon_org<br />hk# vi /etc/fstab.backend1_ftmon_org</p>
<p>/usr/ports /usr/jails/ns5.ftmon.org/PORTS nullfs ro 0 0</p>
<p>&nbsp;</p>
</blockquote>
<p>You can start up your jails at this point or do a sanity reboot to see if they come up.</p>
<blockquote><p>hk# /usr/local/etc/rc.d/ezjail.sh&nbsp; start<br /> ezjailConfiguring jails:.<br />Starting jails: ns5.ftmon.org frontend2.ftmon.org frontend1.ftmon.org backend1.ftmon.org.</p>
</blockquote>
<p>To check the status of your jails, use the jls command.</p>
<p>hk# jls<br />&nbsp;&nbsp; JID&nbsp; IP Address&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hostname&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Path<br />&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp; 192.168.1.51&nbsp;&nbsp;&nbsp; ns5.ftmon.org&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/jails/ns5.ftmon.org<br />&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp; 192.168.1.53&nbsp;&nbsp;&nbsp; frontend2.ftmon.org&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/jails/frontend2.ftmon.org<br />&nbsp;&nbsp;&nbsp;&nbsp; 3&nbsp; 192.168.1.53&nbsp;&nbsp;&nbsp; frontend1.ftmon.org&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/jails/frontend1.ftmon.org<br />&nbsp;&nbsp;&nbsp;&nbsp; 4&nbsp; 192.168.1.52&nbsp;&nbsp;&nbsp; backend1.ftmon.org&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/jails/backend1.ftmon.org</p>
<p>&nbsp;</p>
<p>To connect to a jails use the jexec command.</p>
<blockquote><p>hk# jexec 1 /bin/sh -o vi<br /># hostname<br />ns5.ftmon.org</p>
</blockquote>
<p>&nbsp;</p>
<p>That’s it.&nbsp; The next part will be compiling packages in the jails and setting up a webserver.</p>
<div class="shr-publisher-223"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><br>
<div class="su-linkbox" id="post-223-linkbox"><div class="su-linkbox-label">Link to this post!</div><div class="su-linkbox-field"><input type="text" value="&lt;a href=&quot;http://www.setuptips.com/blog/freebsd-server-jails/&quot;&gt;Setup A FreeBSD Web Server&ndash;Part 2&ndash;Jails&lt;/a&gt;" onclick="javascript:this.select()" readonly="readonly" style="width: 100%;" /></div></div>
<br><p>Source: <a href="http://www.setuptips.com/blog/freebsd-server-jails/">Setup A FreeBSD Web Server&ndash;Part 2&ndash;Jails</a> on <a href="http://www.setuptips.com">Setup Tips - Tips on setting up gadgets and software</a></p><img src="http://feeds.feedburner.com/~r/SetupTips/~4/_ynobJRRsoc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.setuptips.com/blog/freebsd-server-jails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.setuptips.com/blog/freebsd-server-jails/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=freebsd-server-jails</feedburner:origLink></item>
		<item>
		<title>Setup A Freebsd Server– Part 1– Lock It Down</title>
		<link>http://feedproxy.google.com/~r/SetupTips/~3/YnN0G429anM/</link>
		<comments>http://www.setuptips.com/blog/freebsd-server-lock-down/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 11:07:42 +0000</pubDate>
		<dc:creator>Danny W Sheehan</dc:creator>
				<category><![CDATA[Freebsd]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[freebsd hosting]]></category>
		<category><![CDATA[setup freebsd server]]></category>

		<guid isPermaLink="false">http://www.setuptips.com/blog/unix/freebsd/freebsd-server-lock-down/</guid>
		<description><![CDATA[<p>When you get your raw freebsd srever from your hosting provider, you will usually find it is very out of date and not very secure. Our very first step is to lock down our server. &#160; 1. Secure Access To Your Server The first thing I like to do is restrict ssh access from the [...]</p><p>Source: <a href="http://www.setuptips.com/blog/freebsd-server-lock-down/">Setup A Freebsd Server&ndash; Part 1&ndash; Lock It Down</a> on <a href="http://www.setuptips.com">Setup Tips - Tips on setting up gadgets and software</a></p>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.setuptips.com%2Fblog%2Ffreebsd-server-lock-down%2F' data-shr_title='Setup+A+Freebsd+Server%26ndash%3B+Part+1%26ndash%3B+Lock+It+Down'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.setuptips.com%2Fblog%2Ffreebsd-server-lock-down%2F' data-shr_title='Setup+A+Freebsd+Server%26ndash%3B+Part+1%26ndash%3B+Lock+It+Down'></a><a class='shareaholic-tweetbutton' data-shr_count='horizontal' data-shr_href='http%3A%2F%2Fwww.setuptips.com%2Fblog%2Ffreebsd-server-lock-down%2F' data-shr_title='Setup+A+Freebsd+Server%26ndash%3B+Part+1%26ndash%3B+Lock+It+Down'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop Automatic --><p>When you get your raw freebsd srever from your hosting provider, you will usually find it is very out of date and not very secure. Our very first step is to lock down our server.</p>
<p>&nbsp;</p>
<h2>1. Secure Access To Your Server</h2>
<p>The first thing I like to do is restrict ssh access from the internet to be only available from a singe non root user account. You will be amazed when you check your logs how many people try to break into your server via the front ssh door, and root, admin and webmaster are the accounts most people use. So pick something obscure but easy to rember e.g. red1978</p>
<blockquote><p><em>useradd red1978</em></p>
</blockquote>
<p>- when asked to Invite <em>red1978</em> into other groups, select the wheel group this will give red1978 access to &#8220;su&#8221; to root.</p>
<p>&nbsp;</p>
<blockquote><p><em>spike# grep wheel /etc/group</em></p>
<p><em>wheel:*:0:root,red1978</em></p>
</blockquote>
<p>Now&nbsp; <em>red1978</em> is the only account that can &#8220;su &#8211; root&#8221; and enter the root password to become root.</p>
<p>We are still not quite secure because people can still ssh as root from outside.</p>
<p>edit<em> /etc/ssh/sshd_config</em></p>
<p>and change the corresponding lines to the following</p>
<blockquote><p><em>AllowUsers red1978 </em></p>
<p><em>PermitRootLogin no</em></p>
</blockquote>
<p>&nbsp;</p>
<p>For the change to take effect run the following</p>
<blockquote><p><em>/etc/rc.d/sshd reload</em></p>
</blockquote>
<p>NOTE: Be very careful here and don&#8217;t log out of your current session</p>
<p>if sshd won&#8217;t start you might have an error in the configuration file, see below</p>
<blockquote><p><em>spike# /etc/rc.d/sshd start</em></p>
<p><em>Starting sshd.</em></p>
<p><em>/etc/ssh/sshd_config: line 45: Bad configuration option: AuthUsers &lt;&#8212; should be AllowUsers</em></p>
<p><em>/etc/ssh/sshd_config: terminating, 1 bad configuration options</em></p>
</blockquote>
<p>To verify check your log</p>
<blockquote><p><em>/var/log/messages</em></p>
</blockquote>
<p>Jan 4 13:54:22 spike sshd[32339]: error: PAM: authentication error for illegal user red1978 from 192.168.1.42</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h2>2. Upgrade Your OS to the latest version</h2>
<p>Follow the steps on the freebsd.org website to update your operating system to the latest version.&nbsp; You will set the instructions in the release notes for the latest release.</p>
<p>It goes something like this.</p>
<pre># freebsd-update upgrade -r X.x-RELEASE</pre>
<p>During this process, FreeBSD Update may ask the user to help by merging some configuration files or by confirming that the automatically performed merging was done correctly.</p>
<blockquote><pre><em># freebsd-update install</em></pre>
</blockquote>
<p>The system must be rebooted with the newly installed kernel before continuing.</p>
<blockquote><pre><em># shutdown -r now</em></pre>
</blockquote>
<p>After rebooting, freebsd-update needs to be run again to install the new userland components:</p>
<blockquote><pre><em># freebsd-update install</em></pre>
</blockquote>
<p>At this point, users of systems being upgraded from FreeBSD 7.4-RELEASE or earlier will be prompted by freebsd-update to rebuild all third-party applications (e.g., ports installed from the ports tree) due to updates in system libraries.</p>
<p>After updating installed third-party applications (and again, only if freebsd-update printed a message indicating that this was necessary), run freebsd-update again so that it can delete the old (no longer used) system libraries:</p>
<blockquote><pre><em># freebsd-update install</em></pre>
</blockquote>
<p>Finally, reboot into x.x-RELEASE:</p>
<blockquote><pre><em># shutdown -r now</em></pre>
</blockquote>
<p>&nbsp;</p>
<h2>3. Upgrade port snapshot database</h2>
<p>It is really important that you keep up with the latest patches to software. So lets set this up.</p>
<p>Next build /var/db/portsnap database. This will take a long time depending on your host internet connection speed (50MB). The manual says you can disconnect from the internet and this will continue.</p>
<blockquote>
<p><em>spike# portsnap fetch</em></p>
<p><em>Looking up portsnap.FreeBSD.org mirrors&#8230; 4 mirrors found.</em></p>
<p><em>Fetching public key from portsnap2.FreeBSD.org&#8230; done.</em></p>
<p><em>Fetching snapshot tag from portsnap2.FreeBSD.org&#8230; done.</em></p>
<p><em>Fetching snapshot metadata&#8230; done.</em></p>
<p><em>Fetching snapshot generated at Fri Jan 4 09:34:18 XXX 2008:</em></p>
<p><em>a9579afcd7adc26b4946d0ac331d0f1d4c3330ec8cf540 77% of 50 MB 131 kBps 01m26s</em></p>
<p><em>&#8230;</em></p>
<p><em>..</em></p>
</blockquote>
<p>Since this is the first time we need to extract the ports directory structure. This will also take a long time to run.</p>
<blockquote>
<p><em>spike# mkdir /usr/ports</em></p>
<p><em>spike# portsnap extract</em></p>
</blockquote>
<p>If you do a <em>ls /usr/ports</em> you will see a lot of package snapshots have been installed. It’s not the packages themselves just Makefiles and information on where to retrieve the sources for the packages from.</p>
<p>&nbsp;</p>
<h2>4. Install some basic packages</h2>
<p>First it is important to make sure that no graphics libraries are compiled into your packages where possible. Since you are building a server not a desktop. To do this add the following lines to <em>/etc/make.</em>&nbsp; There are also a number of other options included that should be disabled.</p>
<blockquote>
<p><em>NO_X=true<br />WITHOUT_X11=true<br />NO_BLUETOOTH=&nbsp; true&nbsp;&nbsp;&nbsp; # do not build Bluetooth related stuff<br />NO_FORTRAN=&nbsp;&nbsp;&nbsp; true&nbsp;&nbsp;&nbsp; # do not build g77 and related libraries<br />NO_GDB=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; true&nbsp;&nbsp;&nbsp; # do not build GDB<br />NO_GPIB=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; true&nbsp;&nbsp;&nbsp; # do not build GPIB support<br />NO_I4B=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; true&nbsp;&nbsp;&nbsp; # do not build isdn4bsd package<br />NO_LPR=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; true&nbsp;&nbsp;&nbsp; # do not build lpr and related programs<br />NO_NIS=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; true&nbsp;&nbsp;&nbsp; # do not build NIS support and related programs<br />NO_SHAREDOCS=&nbsp; true&nbsp;&nbsp;&nbsp; # do not build the 4.4BSD legacy docs<br />NO_VINUM=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; true&nbsp;&nbsp;&nbsp; # do not build Vinum utilities<br />NO_ATM=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; true&nbsp;&nbsp;&nbsp; # do not build ATM related programs and libraries<br />NO_GAMES=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; true&nbsp;&nbsp;&nbsp; # do not build games (games/ subdir)<br />NO_PROFILE=&nbsp;&nbsp;&nbsp; true&nbsp;&nbsp;&nbsp; # Avoid compiling profiled libraries<br /></em></p>
</blockquote>
<h3>screen</h3>
<p>screen is a must have as it make take hours to compile packages if you have not upgraded them in a while. The benefit of screen is that your work session will stay running if you lose your connection to your server while compiling.</p>
<blockquote>
<p><em>hk# whereis screen<br />screen: /usr/ports/sysutils/screen<br />hk# cd /usr/ports/sysutils/screen<br />hk# make install</em></p>
</blockquote>
<p></p>
<h3>portmaster</h3>
<p>portmaster handles package dependencies really nicely. </p>
<blockquote>
<p><em>hk# whereis portmaster<br />portmaster: /usr/ports/ports-mgmt/portmaster<br />hk# cd /usr/ports/ports-mgmt/portmaster<br />hk# make install<br /></em></p>
</blockquote>
<h3>ezjail</h3>
<p>We will talk about jails in the next step. This package makes them easier to manage.</p>
<blockquote>
<p><em>spike# whereis ezjail<br /></em><em>ezjail: /usr/ports/sysutils/ezjail<br /></em><em>spike# cd /usr/ports/sysutils/ezjail/<br /></em><em>spike# make install</em></p>
</blockquote>
<p>&nbsp;
<p>In the next&nbsp; part we will setup jails.</p>
<div class="shr-publisher-222"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><br>
<div class="su-linkbox" id="post-222-linkbox"><div class="su-linkbox-label">Link to this post!</div><div class="su-linkbox-field"><input type="text" value="&lt;a href=&quot;http://www.setuptips.com/blog/freebsd-server-lock-down/&quot;&gt;Setup A Freebsd Server&ndash; Part 1&ndash; Lock It Down&lt;/a&gt;" onclick="javascript:this.select()" readonly="readonly" style="width: 100%;" /></div></div>
<br><p>Source: <a href="http://www.setuptips.com/blog/freebsd-server-lock-down/">Setup A Freebsd Server&ndash; Part 1&ndash; Lock It Down</a> on <a href="http://www.setuptips.com">Setup Tips - Tips on setting up gadgets and software</a></p><img src="http://feeds.feedburner.com/~r/SetupTips/~4/YnN0G429anM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.setuptips.com/blog/freebsd-server-lock-down/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.setuptips.com/blog/freebsd-server-lock-down/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=freebsd-server-lock-down</feedburner:origLink></item>
		<item>
		<title>Recovering A Broken WordPress Blog Without A Backup Copy</title>
		<link>http://feedproxy.google.com/~r/SetupTips/~3/4mnpOXDxFQs/</link>
		<comments>http://www.setuptips.com/blog/recovering-broken-wordpress/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 04:12:54 +0000</pubDate>
		<dc:creator>Danny W Sheehan</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[command shell]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[free plugins]]></category>
		<category><![CDATA[host control]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[setup wordpress]]></category>
		<category><![CDATA[shell type]]></category>
		<category><![CDATA[wordpress backup]]></category>

		<guid isPermaLink="false">http://www.setuptips.com/wordpress/recovering-a-broken-wordpress-blog-without-a-backup-copy/</guid>
		<description><![CDATA[<p>One my other blogs started displaying blank pages whenever I accessed it. There was nothing I could do to recover it. I couldn’t even gain Admin access. I suspected it was a bad plugin or (Gasp) that I was hacked.  Here is what I did to recover it. It took me hours to do the [...]</p><p>Source: <a href="http://www.setuptips.com/blog/recovering-broken-wordpress/">Recovering A Broken WordPress Blog Without A Backup Copy</a> on <a href="http://www.setuptips.com">Setup Tips - Tips on setting up gadgets and software</a></p>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.setuptips.com%2Fblog%2Frecovering-broken-wordpress%2F' data-shr_title='Recovering+A+Broken+Wordpress+Blog+Without+A+Backup+Copy'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.setuptips.com%2Fblog%2Frecovering-broken-wordpress%2F' data-shr_title='Recovering+A+Broken+Wordpress+Blog+Without+A+Backup+Copy'></a><a class='shareaholic-tweetbutton' data-shr_count='horizontal' data-shr_href='http%3A%2F%2Fwww.setuptips.com%2Fblog%2Frecovering-broken-wordpress%2F' data-shr_title='Recovering+A+Broken+Wordpress+Blog+Without+A+Backup+Copy'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop Automatic --><p>One my other blogs started displaying blank pages whenever I accessed it. There was nothing I could do to recover it. I couldn’t even gain Admin access. I suspected it was a bad plugin or (Gasp) that I was hacked.  Here is what I did to recover it. It took me hours to do the first recovery. It is much much quicker once you know how. Hopefully it will help others to recover in less time.</p>
<p>I went to look for a working backup only to discover that backups had been failing to work (Since fixed – Phew).  So my basic plan of attack was to reinstall WordPress from scratch, that way I could be sure that any hacked files  or bad plugins were removed. The next major strep was to selectively restore wordpress database tables and graphics files.</p>
<p>Here are the steps</p>
<ol>
<li><strong>Backup your wordpress database </strong> <br />You can do this from your web host control panel or if you have shell access with the following command.
<p><code>mysqldump --user=username --pasword=password –lock-all-tables database &gt; blog.sql</code> <br />where username, password and databases are the values you used when you originally created wp-config.php  when creating your blog.</p>
</li>
<li><strong>Make a backup of your blog files        <br /></strong>Download these using your web host control panel or just tar the file up.       <br />e.g. if your blog is located at blog then in command shell type the following      <br /><code>tar –cvf /var/tmp/blog.tar blog</code> </li>
<li><strong>Completely remove your wordpress database and files       <br /></strong>Since you have a backup of your database and wordpess files this is now OK to do. </li>
<li><strong>Create a new empty blog database &amp; then install a fresh copy of wordpress from scratch       <br /></strong>Since we don’t know if the problem is in the database, or in the plugins, or actually hacked wordpress files, we need to re-install from scratch </li>
<li><strong>Copy in the plugins you need to wp-content/plugins  <br /></strong>It is important only copy the plugins you absolutely need and trust. I have seen cases of famous free plugins doing bad things in the background on your blog, like putting in link backs to their site in your blog roll. Make sure you download all plugins again. Don’t copy plugins from the corrupt install. </li>
<li><strong>Setup the same permalink structure</strong> <br />Ensure you have the same permalink and general configuration as your original blog. </li>
<li><strong>Activate all the plugins that you used in the previous blog</strong> <br />Activate and configure your plugins as closely as possible to what you had in your original blog. </li>
<li><strong>Copy back image files       <br /></strong>For this step you need to search through your blog.tar for all the directories containing .jpg .png .gif files and restore them       <br />e.g in my case the following directories and their contents.      <br /><em>wp-content/uploads       <br />wp-content/plugs/wp-o-matic/cache        <br /></em></li>
<li><strong>Prepare to restore your posts and other tables</strong> <br />Make a copy of your blog.sql backup – e.g. newblog.sql      <br />Edit newblog.sql and remove entries except those pertaining to the following tables:      <br /><em>wp_postmeta       <br />wp_posts        <br />wp_term_relationship        <br />wp_term_taxonomy        <br />wp_terms        <br />wp_userdata        <br />wp_users        <br />wp_wpo_campaign        <br />wp_wpo_campaign_categoy        <br />wp_wpo_campaign_feed        <br />wp_wpo_campaign_post        <br />wp_wpo_campaign_word</em> <br />Depending on your install there may be other tables you may wish to restore.      <br /><em>NOTE:<strong> wp_options</strong> may contain the original problem. So it is important not to restore it.  Regardless you would have populated it  anyway when you setup your permalink structure and configured your re-installed plugins.</em></li>
<li><strong>Import your old posts and wordpress data into your new blog</strong> <br /><em>mysql –D database –u username –ppassword &lt; newblog.sql</em></li>
<li><strong>Clean up your blog       <br /></strong>You should see all your posts being restored. There may be other plugin related tables you absolutely need to restore. Before you do restore them make sure you do a dump of your mysql database, just in case you need to roll back.</li>
</ol>
<p>I hope this helps you get out of a mess. It saved me once. If you have questions or want me to assist you in a recovery I don’t mind helping for free, depending on my schedule of course.</p>
<div class="shr-publisher-9"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><br>
<div class="su-linkbox" id="post-9-linkbox"><div class="su-linkbox-label">Link to this post!</div><div class="su-linkbox-field"><input type="text" value="&lt;a href=&quot;http://www.setuptips.com/blog/recovering-broken-wordpress/&quot;&gt;Recovering A Broken WordPress Blog Without A Backup Copy&lt;/a&gt;" onclick="javascript:this.select()" readonly="readonly" style="width: 100%;" /></div></div>
<br><p>Source: <a href="http://www.setuptips.com/blog/recovering-broken-wordpress/">Recovering A Broken WordPress Blog Without A Backup Copy</a> on <a href="http://www.setuptips.com">Setup Tips - Tips on setting up gadgets and software</a></p><img src="http://feeds.feedburner.com/~r/SetupTips/~4/4mnpOXDxFQs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.setuptips.com/blog/recovering-broken-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.setuptips.com/blog/recovering-broken-wordpress/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=recovering-broken-wordpress</feedburner:origLink></item>
	</channel>
</rss><!-- Served from: www.setuptips.com @ 2012-02-24 18:32:29 by W3 Total Cache -->

