<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Shnake&#039;s Tech Tips</title>
	<atom:link href="http://www.shnake.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.shnake.com</link>
	<description>Tech articles about Microsoft and other technologies</description>
	<lastBuildDate>Tue, 21 May 2013 05:53:30 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Some handy MongoDB commands and config info</title>
		<link>http://www.shnake.com/?p=788</link>
		<comments>http://www.shnake.com/?p=788#comments</comments>
		<pubDate>Tue, 21 May 2013 02:17:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[mongodb]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.shnake.com/?p=788</guid>
		<description><![CDATA[I have created this as a reference for myself. MongoDB on Ubuntu: Location of log file /var/log/mongodb/mongodb.log Location of config file /etc/mongodb.conf  Find out why Mongo won&#8217;t start  sudo -u mongodb mongod -f /etc/mongodb.conf --repair]]></description>
				<content:encoded><![CDATA[<p>I have created this as a reference for myself.</p>
<p>MongoDB on Ubuntu:</p>
<p>Location of log file /var/log/mongodb/mongodb.log</p>
<p>Location of config file /etc/mongodb.conf</p>
<p> Find out why Mongo won&#8217;t start  <code>sudo -u mongodb mongod -f /etc/mongodb.conf --repair</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.shnake.com/?feed=rss2&#038;p=788</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to upgrade MongoDB on Ubuntu Linux</title>
		<link>http://www.shnake.com/?p=776</link>
		<comments>http://www.shnake.com/?p=776#comments</comments>
		<pubDate>Thu, 28 Mar 2013 04:21:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[mongodb]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://www.shnake.com/?p=776</guid>
		<description><![CDATA[I have tried a few ways to upgrade, including removing the current install, and then using apt-get to install the newest version, but the Ubuntu repositories are sometimes out of date, and also a few things have gone wrong. Here is the method I prefer which involves manually downloading, unzipping and then copying the new [...]]]></description>
				<content:encoded><![CDATA[<p>I have tried a few ways to upgrade, including removing the current install, and then using apt-get to install the newest version, but the Ubuntu repositories are sometimes out of date, and also a few things have gone wrong.</p>
<p>Here is the method I prefer which involves manually downloading, unzipping and then copying the new binaries over the existing ones:</p>
<p>1.  Go to your temp directory : <strong><em>cd /tmp</em></strong></p>
<p>2. Download the latest package from the MongoDB website to /tmp : <em><strong>sudo wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.4.1.tgz</strong></em></p>
<p>3. Unzip the package:  <em><strong>sudo tar -zxvf</strong> <strong>mongodb-linux-x86_64-2.4.1.tgz</strong></em></p>
<p>4. Stop MongoDb &#8211; <strong><em>sudo service mongodb stop</em></strong></p>
<p>5. Go to the folder where you just unzipped the files: <strong><em>cd</em></strong> /tmp/<em><strong>mongodb-linux-x86_64-2.4.1/bin</strong></em></p>
<p>6. Copy the new files and overwrite the existing files: <em><strong>sudo cp -i * /usr/bin</strong></em></p>
<p>7. Start the mongo service: <em><strong>sudo service mongodb start</strong></em></p>
<p>8. Check that MongoDB is running and your MongoDB version : <em><strong>mongo</strong></em></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shnake.com/?feed=rss2&#038;p=776</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get a list of all recipients with email addresses from a particular domain</title>
		<link>http://www.shnake.com/?p=773</link>
		<comments>http://www.shnake.com/?p=773#comments</comments>
		<pubDate>Thu, 21 Mar 2013 00:15:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.shnake.com/?p=773</guid>
		<description><![CDATA[I wanted to find out which users had email address for a particular domain on an Exchange 2010 server. There were too many users and email domains to try and do this search via the console, so i found this query that will return the users that have an email address in the particular domain. [...]]]></description>
				<content:encoded><![CDATA[<p>I wanted to find out which users had email address for a particular domain on an Exchange 2010 server. There were too many users and email domains to try and do this search via the console, so i found this query that will return the users that have an email address in the particular domain.</p>
<p>Type the following at the Exchange Management Shell:</p>
<p><strong> get-recipient | where {$_.emailaddresses -match “domain.com”} | select name,emailaddresses</strong></p>
<p>This will return the users that have an email address for that domain.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shnake.com/?feed=rss2&#038;p=773</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A list of simple Linux Install commands for personal reference</title>
		<link>http://www.shnake.com/?p=769</link>
		<comments>http://www.shnake.com/?p=769#comments</comments>
		<pubDate>Wed, 20 Mar 2013 05:53:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.shnake.com/?p=769</guid>
		<description><![CDATA[These are here just for my own personal refernce. Install telnet on Ubuntu &#8211; sudo apt-get install telnetd Install SSH on Ubuntu &#8211; sudo apt-get install openssh-server]]></description>
				<content:encoded><![CDATA[<p>These are here just for my own personal refernce.<br />
Install telnet on Ubuntu &#8211; sudo apt-get install telnetd<br />
Install SSH on Ubuntu &#8211; sudo apt-get install openssh-server</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shnake.com/?feed=rss2&#038;p=769</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to give send on behalf permissions to a Distribution Group in Exchange 2010</title>
		<link>http://www.shnake.com/?p=763</link>
		<comments>http://www.shnake.com/?p=763#comments</comments>
		<pubDate>Wed, 20 Mar 2013 01:25:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.shnake.com/?p=763</guid>
		<description><![CDATA[I wanted to be able to send on behalf of a distribution group that i had created, so I logged into the console and right clicked on the group like I would if it was a mailbox so that I could add the permission, but it wasn&#8217;t available. You have to do it via the [...]]]></description>
				<content:encoded><![CDATA[<p>I wanted to be able to send on behalf of a distribution group that i had created, so I logged into the console and right clicked on the group like I would if it was a mailbox so that I could add the permission, but it wasn&#8217;t available.<br />
You have to do it via the Exchange Management Shell instead.<br />
Open up the Shell and type the following</p>
<p><strong>Set-DistributionGroup</strong> <strong>&#8220;</strong><em>yourdistibutiongrouphere</em><strong>&#8220;</strong> <strong>-GrantSendOnBehalfTo</strong> <em>theuserwhoneedspermissionhere</em></p>
<p>You can then send on behalf of the Distribution group.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shnake.com/?feed=rss2&#038;p=763</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to enable virtualization on a Dell 780 to run Hyper-V</title>
		<link>http://www.shnake.com/?p=764</link>
		<comments>http://www.shnake.com/?p=764#comments</comments>
		<pubDate>Fri, 15 Mar 2013 01:42:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Dell Optiplex 780]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[Windows 2008 R2]]></category>
		<category><![CDATA[bios]]></category>
		<category><![CDATA[dell 780]]></category>
		<category><![CDATA[windows 2008 r2]]></category>

		<guid isPermaLink="false">http://www.shnake.com/?p=764</guid>
		<description><![CDATA[I had used Dell Optiplex 755&#8242;s in the past for a cheap virtual host, but I recently got access to some Dell 780&#8242;s for the same purpose. The 780 can take 16GB of RAM which is also very handy when you are creating virtual machines. You do need to make some changes though so that the Hyper-V [...]]]></description>
				<content:encoded><![CDATA[<p>I had used Dell Optiplex 755&#8242;s in the past for a cheap virtual host, but I recently got access to some Dell 780&#8242;s for the same purpose. The 780 can take 16GB of RAM which is also very handy when you are creating virtual machines.</p>
<p>You do need to make some changes though so that the Hyper-V role will work in Windows 2008 and Windows 2008 R2.</p>
<p>Follow the steps below:</p>
<p>Boot the PC and press the<strong> F12 key</strong> to enter the<strong> Boot Options</strong> menu and choose <strong>System Setup</strong></p>
<p>Move into the <strong>Virtualization Support</strong> menu:</p>
<p>Choose<strong> Virtualization</strong>  and make sure it is set to ON (the boxed ticked)</p>
<p>Choose <strong>VT for Direct I/O</strong> and make sure it is set to ON (the box is ticked)</p>
<p>Choose <strong>Trusted Execution</strong> and make sure it is set to OFF (the box is un-ticked)</p>
<p>Move to the <strong>Security</strong> menu:</p>
<p>Choose <strong>CPU XD Support</strong> and make sure it is set to ON (the box is ticked)</p>
<p>Click on<em><strong> Apply</strong></em> then click on <em><strong>Exit</strong></em>.</p>
<p>As soon as the screen goes blank, press the power button and turn the PC off. ( you have to power it off, not just restart for it to work)</p>
<p>Wait 10 seconds then turn it back on again and virtualization will now work!</p>
<p>FYI I am running version A14 of the BIOS</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shnake.com/?feed=rss2&#038;p=764</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to view the progress of a mailbox export in Microsoft Exchange 2010 using Exchange Powershell</title>
		<link>http://www.shnake.com/?p=759</link>
		<comments>http://www.shnake.com/?p=759#comments</comments>
		<pubDate>Wed, 06 Mar 2013 01:40:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[exchange 2010]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[mailbox]]></category>

		<guid isPermaLink="false">http://www.shnake.com/?p=759</guid>
		<description><![CDATA[To view the progress of a mailbox export that you have requested using Exchange Powershell, simply type the following command: get-mailboxexportrequest This will give you a list of the status of your most recent exports, showing if they are queued, in progress or completed. &#160;]]></description>
				<content:encoded><![CDATA[<p>To view the progress of a mailbox export that you have requested using Exchange Powershell, simply type the following command:</p>
<p>get-mailboxexportrequest</p>
<p>This will give you a list of the status of your most recent exports, showing if they are queued, in progress or completed.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shnake.com/?feed=rss2&#038;p=759</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to export a users mailbox in Exchange 2010 using  Exchange Powershell</title>
		<link>http://www.shnake.com/?p=755</link>
		<comments>http://www.shnake.com/?p=755#comments</comments>
		<pubDate>Wed, 06 Mar 2013 01:36:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Exchange 2010]]></category>
		<category><![CDATA[exchange 2010]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[mailbox]]></category>

		<guid isPermaLink="false">http://www.shnake.com/?p=755</guid>
		<description><![CDATA[Before I delete users, I always backup their mailbox to a .pst file and archive it in case anybody ever needs access to an email. It is very easy to do this in Exchange 2010 using the Exchange Powershell. You need to know the mailbox alias name which you can get from the Exchange Management [...]]]></description>
				<content:encoded><![CDATA[<p>Before I delete users, I always backup their mailbox to a .pst file and archive it in case anybody ever needs access to an email.</p>
<p>It is very easy to do this in Exchange 2010 using the Exchange Powershell. You need to know the mailbox alias name which you can get from the Exchange Management Console and you will also need a share to export the .pst file to. I simply used the share on our archive server for this.</p>
<p>Type the following command to export a users mailbox:</p>
<p><strong><em>new-mailboxexportrequest -mailbox </em>&lt;alias&gt;<em> -filepath \\SERVERNAME\SHARENAME\</em>&lt;alias&gt;<em>.pst</em></strong></p>
<p>Replace &lt;alias&gt;  with the alias name of the mailbox.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shnake.com/?feed=rss2&#038;p=755</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to add a new user and give them superuser permissions in Ubuntu Linux</title>
		<link>http://www.shnake.com/?p=749</link>
		<comments>http://www.shnake.com/?p=749#comments</comments>
		<pubDate>Fri, 01 Mar 2013 05:37:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[sudo]]></category>
		<category><![CDATA[ubuntu . linux]]></category>

		<guid isPermaLink="false">http://www.shnake.com/?p=749</guid>
		<description><![CDATA[I wanted to add a new user who could log into Webmin on a Ubuntu Linux server. To create this new user type the following (replace username with the name of the new use that you choose): sudo useradd username To set a password type the following  (replace username with the name of the new use that you [...]]]></description>
				<content:encoded><![CDATA[<p>I wanted to add a new user who could log into Webmin on a Ubuntu Linux server.</p>
<p>To create this new user type the following (replace <strong>username</strong> with the name of the new use that you choose):</p>
<p><strong><em>sudo useradd username</em></strong></p>
<p>To set a password type the following  (replace <strong>username</strong> with the name of the new use that you choose):</p>
<p><em><strong>sudo passwd username</strong></em></p>
<p>And finally, to give this user superadmin permissions, type the following  (replace <strong>username</strong> with the name of the new use that you choose):<br />
<em><strong>sudo adduser username sudo</strong></em></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shnake.com/?feed=rss2&#038;p=749</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to step down a MongoDB Primary member of a replica set</title>
		<link>http://www.shnake.com/?p=745</link>
		<comments>http://www.shnake.com/?p=745#comments</comments>
		<pubDate>Mon, 25 Feb 2013 01:44:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[mongodb]]></category>
		<category><![CDATA[replica set]]></category>
		<category><![CDATA[stepdown]]></category>

		<guid isPermaLink="false">http://www.shnake.com/?p=745</guid>
		<description><![CDATA[I wanted to change the size of the Primary MongoDB server I had running on EC2. To do this safely, you need to step down the primary, so that an election is held and a new primary is elected whilst you are stopping the server, changing the instance type and restarting it. The first thing [...]]]></description>
				<content:encoded><![CDATA[<p>I wanted to change the size of the Primary MongoDB server I had running on EC2. To do this safely, you need to step down the primary, so that an election is held and a new primary is elected whilst you are stopping the server, changing the instance type and restarting it.</p>
<p>The first thing to do is to check the current status of the replica set.</p>
<p>Go to the current primary and type <em><strong>Mongo</strong></em> to load the mongo shell.</p>
<p>Then type <em><strong>rs.status()</strong></em></p>
<p>Now you will have a list of the status of the replica set.</p>
<p>To step down the primary, type <em><strong>rs.stepDown(600)</strong></em></p>
<p>The 600 is the amount of time in seconds (the default is 60 seconds) to allow this server to be a secondary, this will give you enough time to stop your instance, change the size, re-assign the elastic IP if required and then start the instance again.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shnake.com/?feed=rss2&#038;p=745</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
