<?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>All Things 365</title>
	<atom:link href="http://allthings365.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://allthings365.co.uk</link>
	<description></description>
	<lastBuildDate>Sun, 22 Oct 2017 21:41:25 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.8.2</generator>
	<item>
		<title>Securing the Hybrid receive connector further</title>
		<link>http://allthings365.co.uk/2017/10/22/securing-the-hybrid-receive-connector-further/</link>
		<comments>http://allthings365.co.uk/2017/10/22/securing-the-hybrid-receive-connector-further/#respond</comments>
		<pubDate>Sun, 22 Oct 2017 21:39:32 +0000</pubDate>
		<dc:creator><![CDATA[Andrew Kemp]]></dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Exchange Online]]></category>
		<category><![CDATA[Hybrid]]></category>
		<category><![CDATA[Office 365]]></category>

		<guid isPermaLink="false">http://allthings365.co.uk/?p=158</guid>
		<description><![CDATA[A customer raised a security question the other week about the hybrid receive connector on the On Premises Exchange server. In short he asked “what’s to stop someone creating a send connector on their own 365 tenant to send directly to his hybrid server?” – Well, That’s a very good question. To secure the mail&#8230;<p class="more-link"><a href="http://allthings365.co.uk/2017/10/22/securing-the-hybrid-receive-connector-further/"><span>Read More</span><i>&#43;</i></a></p>]]></description>
				<content:encoded><![CDATA[<p>A customer raised a security question the other week about the hybrid receive connector on the On Premises Exchange server. In short he asked “what’s to stop someone creating a send connector on their own 365 tenant to send directly to his hybrid server?” – Well, That’s a very good question. </p>
<p>To secure the mail flow from Office 365 to the On Premises Exchange we request that customers allow the Exchange Online Protection IP addresses through their firewall on Port 25. That&#8217;s all very well and good, and we (and most others think nothing more about it once done). It wasn’t until we had that very question ourselves we actually thought “yeah, what is there to stop someone creating a send connector in their own tenant to another companies hybrid server?”</p>
<p>We did the usual, had a chat about it and threw a few ideas in the hat, and initially certificates were decided the best avenue to explore. But, the certificates are on the Microsoft end are managed by Microsoft so there is not much we can do there. </p>
<p>We then thought, lets ask Microsoft, but they could not help us (there a surprise!). Their response “Its by design”, typical!</p>
<p>We then thought about a transport rule?</p>
<p>I was in the middle of re-building my Exchange lab in Azure so I thought this was going to be a perfect opportunity to test the Transport Rule theory.</p>
<p>So, the first thing I thought I would check was the headers. I checked the headers of 3 types of messages:</p>
<ol>
<li>External email to my Exchange lab</li>
<li>My Office 365 lab to my Exchange lab</li>
<li>My main Office 365 account to my Exchange Lab </li>
</ol>
<p>A little bit of background to my lab mail flow.</p>
<p>My allthings365.co.uk MX Records point to <a href="http://www.mimecast.com" target="_blank">Mimecast</a>. And that has a delivery route to deliver to my Exchange lab, which then routes up to Office 365. I’d run the Hybrid Configuration in my Office 365/Exchange lab so I had all the connectors in place. And finally my main Office 365 account was sending to allthings365.co.uk via the public MX Records of allthings365.co.uk.</p>
<p>The headers were all as expected. But the header that caught my eye was on the the email that was sent via the hybrid connector that was built by the HCW. and the X-OriginatorOrg header:</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/10/image-1.png"><img width="813" height="342" title="image" style="display: inline; background-image: none;" alt="image" src="http://allthings365.co.uk/wp-content/uploads/2017/10/image_thumb-1.png" border="0"></a></p>
<p>The other two message headers did not have this header.</p>
<p>I then created a Send connector in my “production” Office 365 tenant where I run my kemponline.co.uk email address from.</p>
<p>when I then analysed the message headers I noticed it then had an X-OriginatorOrg header:</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/10/image-2.png"><img width="826" height="346" title="image" style="display: inline; background-image: none;" alt="image" src="http://allthings365.co.uk/wp-content/uploads/2017/10/image_thumb-2.png" border="0"></a></p>
<p>So that go me thinking. What about creating a Transport Rule that would delete all emails from “Outside” the Organisation with an Exception of the header includes allthings365.onmicrosoft.com:</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/10/image-3.png"><img width="1158" height="797" title="image" style="display: inline; background-image: none;" alt="image" src="http://allthings365.co.uk/wp-content/uploads/2017/10/image_thumb-3.png" border="0"></a></p>
<p>I then tested an email from the lab 365 tenant (allthigns365.onmicrosoft.com) and my main Office 365 tenant (kemponline.co.uk) via the scoped send conenctor. </p>
<p>I received the validation email from my lab Office 365 tenant but not my main Office 365 tenant. Job’s a good’un! Well its half way there. </p>
<ol><!--EndFragment--></ol>
<p>I then tried sending a test email using the Send-MailMessage CMDLet to simulate sending an email from an anonymous user which is how Multifunctional Devices work.&nbsp; As that anonymous and not listed as “internal” traffic as it originated outside the Exchange Organisation. And guess what? the email was not received.</p>
<p>So, my first thought was to add another exception based on the received header including the IP Address of the network to allow the emails through, but, that would effective reverse the “block rule” for any emails from senders who have that same network… Now lets face it, a lot of people will be using a 192.168.X.X, 10.X.X.X or 172.16.X.X subnets so there would still be some risk there, as any one doing this from a subnet the same as my lab subnet would still be allowed through. So I decided to try it with an exception of the “Senders Domain”:</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/10/image-4.png"><img width="1149" height="891" title="image" style="display: inline; background-image: none;" alt="image" src="http://allthings365.co.uk/wp-content/uploads/2017/10/image_thumb-4.png" border="0"></a></p>
<p>This seemed to do the trick. So all good? No</p>
<p>I tested from the 3 sources again:</p>
<ol>
<li>External email to my Exchange lab</li>
<li>My Office 365 lab to my Exchange lab </li>
<li>My main Office 365 account to my Exchange Lab (with a direct send connector)</li>
</ol>
<p>Emails from external to my lab were not received, emails from my Office 365 lab to my Exchange lab were received and emails from my mail Office 365 tenant to my Exchange lab were not received. Not great as external email was being deleted too. Again I thought exception in the Received headers? Nope, that would allow emails through from other Office 365 send connectors if they are using the same subnet as me. The only fix I could think of is route external email from Mimecast to Office 365 to then route to On Premises, rather than Mimecast to On Premises then on to Office 365. You’ll be pleased to know that actually Worked <img class="wlEmoticon wlEmoticon-smile" style="" alt="Smile" src="http://allthings365.co.uk/wp-content/uploads/2017/10/wlEmoticon-smile.png">.</p>
<h2></h2>
<h1>Conclusion</h1>
<p>Whilst there maybe some other things to consider, especially if its a larger enterprise, it does seem possible to block your hybrid server from receiving email from other Office 365 tenants, but this way may cause more work and administration in the long run and you may need to add more exceptions than I have depending on your infrastructure. IT will also mean from the outset all external email will need to be routed through Office 365 initially to deliver to On Premises and not routing to On Premises initially and then on to Office 365. I you use an On Premises appliance for filtering email then this will not work, however I would always recommend companies (especially large enterprises) to run a dual cloud environment with Office 365 and have something sitting in front of Office 365.</p>
<p>I’d certainly be keen to see if there are any other ways to secure the Hybrid received connector to receive emails from only your own tenant.</p>
]]></content:encoded>
			<wfw:commentRss>http://allthings365.co.uk/2017/10/22/securing-the-hybrid-receive-connector-further/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange 2010 Hybrid &#8211; upgrade to 2016 before or after</title>
		<link>http://allthings365.co.uk/2017/10/19/exchange-2010-hybrid-upgrade-to-2016-before-or-after/</link>
		<comments>http://allthings365.co.uk/2017/10/19/exchange-2010-hybrid-upgrade-to-2016-before-or-after/#respond</comments>
		<pubDate>Thu, 19 Oct 2017 07:53:00 +0000</pubDate>
		<dc:creator><![CDATA[Andrew Kemp]]></dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Exchange Online]]></category>
		<category><![CDATA[Hybrid]]></category>
		<category><![CDATA[Office 365]]></category>

		<guid isPermaLink="false">http://allthings365.co.uk/?p=147</guid>
		<description><![CDATA[I’ve lost count at how many migrations I’ve done now into Office 365, varying from Exchange 2003 all the way to Exchange 2016 however each time I do a migration I will always recommend that the customer users the Hybrid migration method, whether its with Password Sync, ADFS or some other means of authentication the&#8230;<p class="more-link"><a href="http://allthings365.co.uk/2017/10/19/exchange-2010-hybrid-upgrade-to-2016-before-or-after/"><span>Read More</span><i>&#43;</i></a></p>]]></description>
				<content:encoded><![CDATA[<p>I’ve lost count at how many migrations I’ve done now into Office 365, varying from Exchange 2003 all the way to Exchange 2016 however each time I do a migration I will always recommend that the customer users the Hybrid migration method, whether its with Password Sync, ADFS or some other means of authentication the migration process is still the same.&nbsp; The customers who run Exchange 2003, yes there are still companies out there running it I would need to put in a 2010 Hybrid server, customers running Exchange 2007 I’d put in a 2013 Hybrid server and Microsoft provided the hybrid licenses free of charge for those very reasons. However what about if you’re running Exchange 2010?&nbsp; The hybrid license did not cover this before Exchange 2016 was released. My personal thoughts are its Hybrid ready so you do not need to deploy a new Hybrid server any way. However, now with Exchange 2016 it seems tempting to install a new shiny 2016 Exchange Hybrid server in the Exchange 2010/2013 environment for the hybrid role.</p>
<p>The licensing terms for the Hybrid server were pretty clear cut before Exchange 2016:</p>
<p><a title="https://support.microsoft.com/en-gb/help/2939261/how-to-obtain-an-exchange-hybrid-edition-product-key-for-your-on-premi" href="https://support.microsoft.com/en-gb/help/2939261/how-to-obtain-an-exchange-hybrid-edition-product-key-for-your-on-premi">https://support.microsoft.com/en-gb/help/2939261/how-to-obtain-an-exchange-hybrid-edition-product-key-for-your-on-premi</a></p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/10/image.png"><img width="657" height="197" title="image" style="display: inline; background-image: none;" alt="image" src="http://allthings365.co.uk/wp-content/uploads/2017/10/image_thumb.png" border="0"></a></p>
<p>Microsoft, now provide you with an Exchange 2010/2013/2016 Hybrid License Key so what&#8217;s the deal here?</p>
<p>I came across this article about the 2010/2013/2016 Licensing to clarify things:</p>
<p><a title="http://www.garethjones294.com/exchange-hybrid-product-key-distribution-now-free/" href="http://www.garethjones294.com/exchange-hybrid-product-key-distribution-now-free/">http://www.garethjones294.com/exchange-hybrid-product-key-distribution-now-free/</a></p>
<p>So the way I understand that is Microsoft now provide the Hybrid license free regardless of your current infrastructure setup.</p>
<p>Looks pretty good! So that would mean you could deploy an Exchange 2016 Hybrid server in your Exchange 2010/2013 environment. Sure that&#8217;s great, but there are a a few things to consider before going ahead and deploying your new server. The 2 main questions I ask my customers are:</p>
<ol>
<li>Are you running a Load Balanced front end environment? if yes then cutting over to one frontend server would give you a single point of failure or are you going to deploy multiple new 2016 servers?</li>
<li>Is it really worth installing a 2016 before you migrate? The Hybrid Configuration Wizard was designed to run on Exchange 2010/2013 and 2016 so why add risk to your migration by introducing extra complexity, deploy the Exchange 2016 server at the end of the migration reducing the risk and impact to users.</li>
</ol>
<p>I’m a fan of making use of what you have to achieve the task, but, for me, the key thing is Exchange 2010 SP3 is still supported for hybrid and for me it goes to the old saying “if it ain’t broke don’t fix it”. </p>
<p>There are some times when installing an additional Server for the migration maybe be required, I’ve worked with customers who have had a 3rd party hosting their Exchange, which is a separate site within their AD and due to network issues/patching issues it was not possible to configure the hybrid against the servers, so a new Exchange server was deployed at their own site with a new public URL (hybrid.domain.com as opposed to using mail.domain.com for example) and the migrations were all done through that endpoint. This then meant they could serve notice to the 3rd party once the migrations were complete and still maintain the management capabilities.</p>
<p>All I would say is take a second to re-evaluate the need of installing your new 2016 server before jumping the gun and deploying it if you’re running Exchange 2010 or 2013.</p>
]]></content:encoded>
			<wfw:commentRss>http://allthings365.co.uk/2017/10/19/exchange-2010-hybrid-upgrade-to-2016-before-or-after/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My favourite tools and resources as a Consultant</title>
		<link>http://allthings365.co.uk/2017/10/06/my-favourite-tools-and-resources-as-a-consultant/</link>
		<comments>http://allthings365.co.uk/2017/10/06/my-favourite-tools-and-resources-as-a-consultant/#respond</comments>
		<pubDate>Fri, 06 Oct 2017 10:54:38 +0000</pubDate>
		<dc:creator><![CDATA[Andrew Kemp]]></dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://allthings365.co.uk/?p=117</guid>
		<description><![CDATA[As a Consultant I get to see many different setups, some strange, some that completely break the “norm” and some that try and follow “best practice”, but, lets face it the term “Best Practice” is all very well and good but what does it actually mean? What&#8217;s right for one environment may not be right&#8230;<p class="more-link"><a href="http://allthings365.co.uk/2017/10/06/my-favourite-tools-and-resources-as-a-consultant/"><span>Read More</span><i>&#43;</i></a></p>]]></description>
				<content:encoded><![CDATA[<p>As a Consultant I get to see many different setups, some strange, some that completely break the “norm” and some that try and follow “best practice”, but, lets face it the term “Best Practice” is all very well and good but what does it actually mean? What&#8217;s right for one environment may not be right for another. Anyway I’m getting side tracked here.</p>
<p> Regardless of the customer sites I go in to I always have a default set of tools and resources I use so I thought I would list them here (in no particular order).</p>
<h2><a href="http://www.google.co.uk" target="_blank">Google</a></h2>
<p>This has to be one of the most used resources for me! I feel like a fraud some times going to a customer site, but 9 times out of 10 the error I am presented with if I’ve not come across it before then Google is the default go to resource. Personally, I think that deciphering Google search results sometimes is a task in its self or knowing what kind search string to look for also.</p>
<h2></h2>
<h2><a href="http://getgreenshot.org/" target="_blank">Greenshot</a></h2>
<p>I take a lot of screen grabs when I’m working and whilst there is the Snipping tool built in with Windows Greenshot allows me to assign a key to a certain screen grab task:</p>
<ol>
<li>capture the entire screen</li>
<li>capture the current active window</li>
<li>capture a region</li>
<li>capture the last region</li>
</ol>
<p>Greenshot not only captures it to the clipboard but it also saves a copy to a specified location</p>
<h2><a href="https://admodify.codeplex.com/" target="_blank">ADModify</a></h2>
<p>This tool is one of the best tools for any AD Admin. it gives you the ability to edit multiple AD users attributes in one go. its pretty easy to get the syntax wrong for this so you do need to be careful, however, one of the features I like most about it is that there is an undo option!</p>
<p>I use this for various tasks like removing email addresses from user accounts for specific domains eg when the EmailAddressPolicy had the doain.local address applying to all users and you need to remove from all users for a Hybrid Setup or something.</p>
<p>its also great for bulk adding additional addresses so that users who do not have the EmailAddressPolicy applied can get things like the .mail.onmicrosoft.com address in a hybrid environment for example or you want ti bulk as SIP:<em>prefix</em>@domain.com to set the users SIP Address in AD.</p>
<p>I typically use for adding additional Exchange Attributes but there are so many more optoins for which it can be used for.</p>
<h2><a href="https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html" target="_blank">Putty</a></h2>
<p>I use putty a lot from time to time to test port 25 for example on a customers server. I have a VM in azure that I can RDP on to and then perform a telnet through Putty to their mail server just to verify that they have added addresses requested to the firewall rules. Putty is also used for when I SSH on to my Ubuntu VM in Azure.</p>
<h2><a href="https://support.office.com/en-gb/article/Get-started-with-the-new-OneDrive-sync-client-in-Windows-615391c4-2bd3-4aae-a42a-858262e42a49" target="_blank">OneDrive for Business</a></h2>
<p>I work on the road a lot and no office based so it makes sense for all my files to be cloud based. Up until about 3 years ago I was keeping all my files in OneDrive, now I use OneDrive for Business as it is more secure via DLP and IRM Policies being applied and also the ability to allow conditional access. IT also means I can flatten my computer, re-install windows from scratch and within 30-40 min of the computer being back I I have all my files again. </p>
<h2><a href="https://itunes.apple.com/gb/app/office-lens/id975925059?mt=8" target="_blank">Office Lens</a></h2>
<p>This is a great mobile app that I have running on my iPhone. Its a great app for taking photos of whiteboards, print outs and other documents that you may want to take a photo of. it goes to the point of auto cropping so the image is a clear as possible and very little glare or tilting of any images.</p>
<h2><a href="http://www.spotify.com" target="_blank">Spotify</a></h2>
<p>Where would we be without music? working from home could become boring and&nbsp; I’d soon find it hard to concentrate. having some tunes playing in the back ground (for me) helps me get motivated.</p>
<h2><a href="https://notepad-plus-plus.org/" target="_blank">Notepad ++</a></h2>
<p>This is a really neat Notepad editor it not only dose it open all type of text/ps/vbs/bat etc…. files it also opens them in new tabs. Also if you for example open your local hosts file up and go to save it and you’ve not opened with admin privileges then you will be prompted to restart with admin rights&nbsp; rather than having to save a copy and then replace.</p>
<p>I use this a lot for writing smaller PowerShell scripts.</p>
<h2></h2>
<h2><a href="https://officedev.github.io/Office-IT-Pro-Deployment-Scripts/XmlEditor.html" target="_blank">Office XML Builder</a></h2>
<p>This is a great resource for building custom XML files for Office 365 Pro Plus deployments, you can also use it to push out Visio/Project too. it also has a neat MSI app creator too.</p>
<h2><a href="https://www.onenote.com/" target="_blank">OneNote</a></h2>
<p>This has to be one of the most used apps on my Surface, and is pretty much always opened. I have several “Notebooks” configured, one for Scoping Calls, one for Implementations, one for blogging ideas, One for common issues I have come across and some other ones for other needs. OneNote also offers the ability to capture screen shots too.</p>
<h2><a href="https://docs.microsoft.com/en-us/powershell/scripting/getting-started/getting-started-with-windows-powershell?view=powershell-5.1" target="_blank">PowerShell</a></h2>
<p>This is one of the best used resources to gather information from a customer. I have a set of PowerShell Scripts that I can run that gathers information from a customers environment. weather its from AD or Exchange I can usually get all the info I need from a few lines of a PowerShell Scripts.</p>
<p>There are lots of other resources out there that I use and I am sure that there are more that other people use and the guys I work with use, however these are the ones I like to use on a daily basis</p>
]]></content:encoded>
			<wfw:commentRss>http://allthings365.co.uk/2017/10/06/my-favourite-tools-and-resources-as-a-consultant/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mailbox is not converted to Remote Mailbox after a remote move</title>
		<link>http://allthings365.co.uk/2017/10/03/mailbox-not-converted-to-remote-mailbox-after-remote-move/</link>
		<comments>http://allthings365.co.uk/2017/10/03/mailbox-not-converted-to-remote-mailbox-after-remote-move/#respond</comments>
		<pubDate>Tue, 03 Oct 2017 13:27:48 +0000</pubDate>
		<dc:creator><![CDATA[Andrew Kemp]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Office 365]]></category>
		<category><![CDATA[PowerShell]]></category>

		<guid isPermaLink="false">http://allthings365.co.uk/?p=119</guid>
		<description><![CDATA[I had an issue recently where a users mailbox was not converted to a Remote User Mailbox after a remote move to Exchange Online. The users mailbox was showing in both Exchange on premises and Exchange Online as a User Mailbox. Obviously this caused a problem for a couple of things: Mail flow, any users left&#8230;<p class="more-link"><a href="http://allthings365.co.uk/2017/10/03/mailbox-not-converted-to-remote-mailbox-after-remote-move/"><span>Read More</span><i>&#43;</i></a></p>]]></description>
				<content:encoded><![CDATA[<p>I had an issue recently where a users mailbox was not converted to a Remote User Mailbox after a remote move to Exchange Online. The users mailbox was showing in both Exchange on premises and Exchange Online as a User Mailbox. Obviously this caused a problem for a couple of things:</p>
<ol>
<li>Mail flow, any users left on premises email the user will have sent to the On Premises mailbox and any users in Exchange Online will be sending to the Cloud mailbox. External messages to the mailbox will be coming in to where ever the external mail delivery is pointed to.</li>
<li>Autodiscover, if the user is on prem then outlook will configure using the SCP and locate the mailbox on premises, and depending on how the public autodiscvoer record is set will determine where Outlook/ActiveSync etc… will point to.</li>
</ol>
<p>So, the view in the Exchange Admin Centre in 365 shows:</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/10/Inked2017-10-03-14_10_59-mailboxes-Microsoft-Exchange_LI.jpg"><img style="display: inline; background-image: none;" title="Inked2017-10-03 14_10_59-mailboxes - Microsoft Exchange_LI" src="http://allthings365.co.uk/wp-content/uploads/2017/10/Inked2017-10-03-14_10_59-mailboxes-Microsoft-Exchange_LI_thumb.jpg" alt="Inked2017-10-03 14_10_59-mailboxes - Microsoft Exchange_LI" width="563" height="88" border="0" /></a></p>
<p>Yet, the On Premises Exchange Management console shows:</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/10/Inked2017-10-03-14_11_44-52.170.81.118-Remote-Desktop-Connection_LI-2.jpg"><img style="display: inline; background-image: none;" title="Inked2017-10-03 14_11_44-52.170.81.118 - Remote Desktop Connection_LI (2)" src="http://allthings365.co.uk/wp-content/uploads/2017/10/Inked2017-10-03-14_11_44-52.170.81.118-Remote-Desktop-Connection_LI-2_thumb.jpg" alt="Inked2017-10-03 14_11_44-52.170.81.118 - Remote Desktop Connection_LI (2)" width="705" height="39" border="0" /></a></p>
<p>The problem seemed to stem form a permissions issue for the account migrating the mailboxes and not updating the following AD Attributes:</p>
<ul>
<li>homeMDB</li>
<li>homeMTA</li>
<li>msExchHomeServerName</li>
<li>msExchVersion</li>
<li>msExchRecepientDisplayType</li>
<li>msExchRecipientTypeDetails</li>
<li>msExchRemoteRecipientType</li>
<li>targettAddress</li>
</ul>
<p>So the, the first 3 attributes (homeMDB, homeMTA and msExchHomeServerName) need to be cleared and the other 5 attributes need to be set to the following:</p>
<p>&nbsp;</p>
<table border="0" width="40%" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td style="text-align: left;" valign="top" width="50%">Attribute</td>
<td style="text-align: left;" valign="top" width="50%">Value</td>
</tr>
<tr>
<td style="text-align: left;" valign="top" width="50%">msExchVersion</td>
<td style="text-align: left;" valign="top" width="50%">44220983382016</td>
</tr>
<tr>
<td style="text-align: left;" valign="top" width="50%">msExchRecepientDisplayType</td>
<td style="text-align: left;" valign="top" width="50%">214748364</td>
</tr>
<tr>
<td style="text-align: left;" valign="top" width="50%">msExchRecipientTypeDetails</td>
<td style="text-align: left;" valign="top" width="50%">2147483648</td>
</tr>
<tr>
<td style="text-align: left;" valign="top" width="50%">msExchRemoteRecipientType</td>
<td style="text-align: left;" valign="top" width="50%">4</td>
</tr>
<tr>
<td style="text-align: left;" valign="top" width="50%">targettAddress</td>
<td style="text-align: left;" valign="top" width="50%">alias@tenant.mail.onmicrosoft.com</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<ul><!--EndFragment--></ul>
<p>The easist way to do this if it is a few users is to run a script manually. If there are a lot of users then you may want to look at using a CSV file for this:</p>
<pre class="prettyprint lang-powershell" data-start-line="1" data-visibility="visible" data-highlight="" data-caption="">$ADUser = read-host "What is the username of the user affected?"
$TargetAddress = "SMTP:" + $ADUser + "@tenant.mail.onmicrosoft.com"
Set-ADUser –id $ADUser -Clear homeMDB, homeMTA, msExchHomeServerName -Replace @{msExchVersion="44220983382016";msExchRecipientDisplayType="-2147483642";msExchRecipientTypeDetails="2147483648";msExchRemoteRecipientType="4";targetAddress=$TargetAddress}</pre>
<p>&nbsp;</p>
<p>When you run this script it will prompt you for the user name of the user and then do the rest for you.</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/10/2017-10-03-14_13_36-52.170.81.118-Remote-Desktop-Connection.png"><img style="display: inline; background-image: none;" title="2017-10-03 14_13_36-52.170.81.118 - Remote Desktop Connection" src="http://allthings365.co.uk/wp-content/uploads/2017/10/2017-10-03-14_13_36-52.170.81.118-Remote-Desktop-Connection_thumb.png" alt="2017-10-03 14_13_36-52.170.81.118 - Remote Desktop Connection" width="571" height="122" border="0" /></a></p>
<p>Once run refresh the Mail Contact view in the Exchange Management Shell and you should then see the account showing as a Remote User Mailbox</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/10/Inked2017-10-03-14_14_35-52.170.81.118-Remote-Desktop-Connection_LI.jpg"><img style="display: inline; background-image: none;" title="Inked2017-10-03 14_14_35-52.170.81.118 - Remote Desktop Connection_LI" src="http://allthings365.co.uk/wp-content/uploads/2017/10/Inked2017-10-03-14_14_35-52.170.81.118-Remote-Desktop-Connection_LI_thumb.jpg" alt="Inked2017-10-03 14_14_35-52.170.81.118 - Remote Desktop Connection_LI" width="718" height="76" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://allthings365.co.uk/2017/10/03/mailbox-not-converted-to-remote-mailbox-after-remote-move/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Azure Ubuntu and WordPress &#8211; Part 4</title>
		<link>http://allthings365.co.uk/2017/09/30/azure-ubuntu-and-wordpress-part-4/</link>
		<comments>http://allthings365.co.uk/2017/09/30/azure-ubuntu-and-wordpress-part-4/#respond</comments>
		<pubDate>Sat, 30 Sep 2017 13:10:51 +0000</pubDate>
		<dc:creator><![CDATA[Andrew Kemp]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Azure]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://allthings365.co.uk/?p=111</guid>
		<description><![CDATA[This is part 4 of a 4 part mini series “How To” for configuring WordPress on Ubuntu which is hosted in Microsoft Azure. The 4 Parts are broken in to the following sections: Part 1 – Deploying Ubuntu on Microsoft Azure Part 2 – Configuring LAMP on Ubuntu Part 3 – Install and Configuring WordPress&#8230;<p class="more-link"><a href="http://allthings365.co.uk/2017/09/30/azure-ubuntu-and-wordpress-part-4/"><span>Read More</span><i>&#43;</i></a></p>]]></description>
				<content:encoded><![CDATA[<p>This is part 4 of a 4 part mini series “How To” for configuring WordPress on Ubuntu which is hosted in Microsoft Azure.</p>
<p>The 4 Parts are broken in to the following sections:</p>
<p><a href="http://allthings365.co.uk/2017/09/29/azure-ubuntu-and-wordpress-part-1/" target="_blank" rel="noopener">Part 1 – Deploying Ubuntu on Microsoft Azure</a><br />
<a href="http://allthings365.co.uk/2017/09/29/azure-ubuntu-and-wordpress-part-2/" target="_blank" rel="noopener">Part 2 – Configuring LAMP on Ubuntu</a><br />
<a href="http://allthings365.co.uk/2017/09/30/azure-ubuntu-and-wordpress-part-3">Part 3 – Install and Configuring WordPress on Ubuntu</a><br />
<a href="http://allthings365.co.uk/2017/09/30/azure-ubuntu-and-wordpress-part-4">Part 4 – Trouble shooting the common issues</a></p>
<h1>Trouble shooting the common issues</h1>
<p>Left “as is” WordPress will work, however there are a few &#8220;Quirks&#8221; to be aware of:</p>
<ol>
<li>If you forget your password and want to email yourself a link to reset it it will not work</li>
<li>Email notifications of new comments etc… will not work either, infact no email functions will work</li>
<li>Permalinks will not work.</li>
</ol>
<p>Fix the email issue:</p>
<p>To fix the email issue you will need to install PostFix do this by running the following command:</p>
<pre class="prettyprint lang-sh" data-start-line="1" data-visibility="visible" data-highlight="" data-caption="">sudo apt-get install mailutils</pre>
<p>There are several ways to configure PostFix however the way to configure it for the server in this case is to set it up as an Internet Site:</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image001-3.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image001" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image001_thumb-3.png" alt="clip_image001" width="244" height="147" border="0" /></a></p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image002-3.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image002" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image002_thumb-3.png" alt="clip_image002" width="244" height="147" border="0" /></a></p>
<p>Specify the domain name that will be used:</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image003-3.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image003" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image003_thumb-3.png" alt="clip_image003" width="244" height="145" border="0" /></a></p>
<p>Then edit the /etc/postfix/main.cf file:</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image004-3.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image004" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image004_thumb-3.png" alt="clip_image004" width="244" height="145" border="0" /></a></p>
<p>Ensure that the inet_interfaces is set to = localhost</p>
<p>Press Ctrl+X to save and exit:</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image005-3.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image005" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image005_thumb-3.png" alt="clip_image005" width="244" height="147" border="0" /></a></p>
<p>Restart the PostFix service by running:</p>
<pre class="prettyprint lang-sh" data-start-line="1" data-visibility="visible" data-highlight="" data-caption="">sudo service postfix restart</pre>
<p>WordPress can then send email notifications. Please add the public IP Address of your WordPress site to your SPF Record as you will possibly have some mail delivery issues as mail filters may well pick it up as Spoofing.</p>
<p>Fix the Permalinks</p>
<p>When you change the Permalink settings you will most likely get this error:</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image006-3.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image006" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image006_thumb-3.png" alt="clip_image006" width="244" height="94" border="0" /></a></p>
<p>This is a simple fix you will need to make a change to the site config and enable mod rewrite.</p>
<p>Run</p>
<pre class="prettyprint lang-sh" data-start-line="1" data-visibility="visible" data-highlight="" data-caption="">sudo a2enmod rewrite</pre>
<p>Then edit the conf file and add the following before &lt;/Virtualhost&gt; line at the bottom:</p>
<pre class="prettyprint lang-sh" data-start-line="1" data-visibility="visible" data-highlight="" data-caption="">&lt;Directory /var/www/allthings365.co.uk/&gt;
    AllowOverride All
&lt;/Directory&gt;</pre>
<p>&nbsp;</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image007-3.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image007" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image007_thumb-3.png" alt="clip_image007" width="244" height="146" border="0" /></a></p>
<p>Once done save and exit and then run:</p>
<pre class="prettyprint lang-sh" data-start-line="1" data-visibility="visible" data-highlight="" data-caption="">sudo service apache2 restart</pre>
<p>Jobs a good&#8217;un it will the enable PermaLinks to work.</p>
<p>Another issue is that when you go to install a new theme or update a plug in you may well receive the following:</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image008-3.png"><img style="display: inline; background-image: none;" title="clip_image008" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image008_thumb-3.png" alt="clip_image008" width="187" height="244" border="0" /></a></p>
<p>The fix for this is to run the following command</p>
<pre class="prettyprint lang-sh" data-start-line="1" data-visibility="visible" data-highlight="" data-caption="">sudo chown -R www-data:www-data /var/www</pre>
<p>When you next go to update/install a plugin/theme you will not be prompted for connection details!</p>
<p>And that is it you now how a fully functioning Ubuntu LAMP server running your own WordPress blog</p>
]]></content:encoded>
			<wfw:commentRss>http://allthings365.co.uk/2017/09/30/azure-ubuntu-and-wordpress-part-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Azure Ubuntu and WordPress &#8211; Part 3</title>
		<link>http://allthings365.co.uk/2017/09/30/azure-ubuntu-and-wordpress-part-3/</link>
		<comments>http://allthings365.co.uk/2017/09/30/azure-ubuntu-and-wordpress-part-3/#respond</comments>
		<pubDate>Sat, 30 Sep 2017 12:37:56 +0000</pubDate>
		<dc:creator><![CDATA[Andrew Kemp]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Azure]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://allthings365.co.uk/?p=84</guid>
		<description><![CDATA[This is part 3 of a 4 part mini series “How To” for configuring WordPress on Ubuntu which is hosted in Microsoft Azure. The 4 Parts are broken in to the following sections: Part 1 – Deploying Ubuntu on Microsoft Azure Part 2 – Configuring LAMP on Ubuntu Part 3 – Install and Configuring WordPress&#8230;<p class="more-link"><a href="http://allthings365.co.uk/2017/09/30/azure-ubuntu-and-wordpress-part-3/"><span>Read More</span><i>&#43;</i></a></p>]]></description>
				<content:encoded><![CDATA[<p>This is part 3 of a 4 part mini series “How To” for configuring WordPress on Ubuntu which is hosted in Microsoft Azure.</p>
<p>The 4 Parts are broken in to the following sections:</p>
<p><a href="http://allthings365.co.uk/2017/09/29/azure-ubuntu-and-wordpress-part-1/" target="_blank" rel="noopener">Part 1 – Deploying Ubuntu on Microsoft Azure</a><br />
<a href="http://allthings365.co.uk/2017/09/29/azure-ubuntu-and-wordpress-part-2/" target="_blank" rel="noopener">Part 2 – Configuring LAMP on Ubuntu</a><br />
<a href="http://allthings365.co.uk/2017/09/30/azure-ubuntu-and-wordpress-part-3">Part 3 – Install and Configuring WordPress on Ubuntu</a><br />
<a href="http://allthings365.co.uk/2017/09/30/azure-ubuntu-and-wordpress-part-4">Part 4 – Trouble shooting the common issues</a></p>
<h1>Install and Configuring WordPress on Ubuntu</h1>
<p>So, in part 1 we looked at deploying a Ubuntu Server on Microsoft Azure and part 2 we looked at deploying and configuring LAMP on Ubuntu. In part 3 we will look at installing and configuring WordPress on the server so you can then host your very own blog on there.</p>
<p>There are a few ways to install WordPress on Ubuntu however the way I like to do it is to download the latest build from <a href="http://wordpress.org">http://wordpress.org</a> to the Ubuntu Server extract the files to the folder you created for the website and go from there. So lets get cracking…</p>
<p>Firstly create the folder as to where WordPress will be installed to:</p>
<pre class="prettyprint lang-sh" data-caption="" data-highlight="" data-visibility="visible" data-start-line="1">sudo mkdir -p /var/www/allthings365.co.uk</pre>
<p>The set the permissions on the new folder:</p>
<pre class="prettyprint lang-sh" data-caption="" data-highlight="" data-visibility="visible" data-start-line="1">sudo chown -R $USER:$USER /var/www/allthings365.co.uk
sudo chmod -R 755 /var/www</pre>
<p>&nbsp;</p>
<p>This next permission is to enable the ability so you can write the wp-config.php file when it comes to configuring WordPress. Once WordPress is configured it is recommneded to set the permissions back to 757 for the folder</p>
<pre class="prettyprint lang-sh" data-caption="" data-highlight="" data-visibility="visible" data-start-line="1">sudo chmod 757 /var/www/allthings365.co.uk</pre>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image001-2.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image001" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image001_thumb-2.png" alt="clip_image001" width="244" height="63" border="0" /></a></p>
<p>Then get the lates build of WordPress and extract to the newly created folder:</p>
<pre class="prettyprint lang-sh" data-caption="" data-highlight="" data-visibility="visible" data-start-line="1">wget -c http://wordpress.org/latest.tar.gz
tar -xzvf latest.tar.gz
sudo rsync -av wordpress/* /var/www/allthings365.co.uk</pre>
<p>Next Create the Database:</p>
<pre class="prettyprint lang-sh" data-caption="" data-highlight="" data-visibility="visible" data-start-line="1">mysql -u root -p&lt;br /&gt;CREATE DATABASE wordpress;
CREATE USER wordpressuser@localhost IDENTIFIED BY 'Pa55w0rd';
GRANT ALL PRIVILEGES ON wordpress.* TO wordpressuser@localhost;
FLUSH PRIVILEGES;
Exit</pre>
<p>Create the Website:</p>
<pre class="prettyprint lang-sh" data-caption="" data-highlight="" data-visibility="visible" data-start-line="1">sudo nano /etc/apache2/sites-available/allthings365.co.uk.conf</pre>
<pre class="prettyprint lang-apache_conf" data-caption="" data-highlight="" data-visibility="visible" data-start-line="1">&lt;VirtualHost *:80&gt;
    ServerAdmin admin@althings365.co.uk
    ServerName allthings365.co.uk
    ServerAlias www.allthings365.co.uk
    DocumentRoot /var/www/allthings365.co.uk
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
&lt;/VirtualHost&gt;</pre>
<p>&nbsp;</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image002-2.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image002" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image002_thumb-2.png" alt="clip_image002" width="244" height="146" border="0" /></a></p>
<p>Ctrl+X</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image003-2.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image003" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image003_thumb-2.png" alt="clip_image003" width="244" height="146" border="0" /></a></p>
<pre class="prettyprint lang-sh" data-caption="" data-highlight="" data-visibility="visible" data-start-line="1">sudo a2ensite allthings365.co.uk.conf</pre>
<p>Sudo service apache2 reload</p>
<p>Update DNS/Host File so that you can browse to the site:</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image004-2.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image004" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image004_thumb-2.png" alt="clip_image004" width="244" height="191" border="0" /></a></p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image005-2.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image005" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image005_thumb-2.png" alt="clip_image005" width="244" height="191" border="0" /></a></p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image006-2.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image006" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image006_thumb-2.png" alt="clip_image006" width="244" height="191" border="0" /></a></p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image007-2.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image007" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image007_thumb-2.png" alt="clip_image007" width="244" height="191" border="0" /></a></p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image008-2.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image008" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image008_thumb-2.png" alt="clip_image008" width="244" height="191" border="0" /></a></p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image009-2.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image009" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image009_thumb-2.png" alt="clip_image009" width="244" height="227" border="0" /></a></p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image010-1.png"><img style="display: inline; background-image: none;" title="clip_image010" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image010_thumb-1.png" alt="clip_image010" width="244" height="191" border="0" /></a></p>
<p>Lastly</p>
<p>change the permissions for the root folder to 755:</p>
<pre class="prettyprint lang-sh" data-caption="" data-highlight="" data-visibility="visible" data-start-line="1">sudo chmod 755 /var/www/allthings365.co.uk</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://allthings365.co.uk/2017/09/30/azure-ubuntu-and-wordpress-part-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Azure Ubuntu and WordPress &#8211; Part 2</title>
		<link>http://allthings365.co.uk/2017/09/29/azure-ubuntu-and-wordpress-part-2/</link>
		<comments>http://allthings365.co.uk/2017/09/29/azure-ubuntu-and-wordpress-part-2/#respond</comments>
		<pubDate>Fri, 29 Sep 2017 19:21:09 +0000</pubDate>
		<dc:creator><![CDATA[Andrew Kemp]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Azure]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://allthings365.co.uk/?p=51</guid>
		<description><![CDATA[This is part 2 of a 4 part mini series “How To” for configuring WordPress on Ubuntu which is hosted in Microsoft Azure. The 4 Parts are broken in to the following sections: Part 1 – Deploying Ubuntu on Microsoft Azure Part 2 – Configuring LAMP on Ubuntu Part 3 – Install and Configuring WordPress&#8230;<p class="more-link"><a href="http://allthings365.co.uk/2017/09/29/azure-ubuntu-and-wordpress-part-2/"><span>Read More</span><i>&#43;</i></a></p>]]></description>
				<content:encoded><![CDATA[<p>This is part 2 of a 4 part mini series “How To” for configuring WordPress on Ubuntu which is hosted in Microsoft Azure.</p>
<p>The 4 Parts are broken in to the following sections:</p>
<p><a href="http://allthings365.co.uk/2017/09/29/azure-ubuntu-and-wordpress-part-1/" target="_blank" rel="noopener">Part 1 – Deploying Ubuntu on Microsoft Azure</a><br />
<a href="http://allthings365.co.uk/2017/09/29/azure-ubuntu-and-wordpress-part-2/" target="_blank" rel="noopener">Part 2 – Configuring LAMP on Ubuntu</a><br />
<a href="http://allthings365.co.uk/2017/09/30/azure-ubuntu-and-wordpress-part-3">Part 3 – Install and Configuring WordPress on Ubuntu</a><br />
<a href="http://allthings365.co.uk/2017/09/30/azure-ubuntu-and-wordpress-part-4">Part 4 – Trouble shooting the common issues</a></p>
<h1>Configuring LAMP on Ubuntu</h1>
<p>In order to run WordPress on Ubunto you need to install and configure the LAMP (Linux Apache MySQL PHP)services on your Ubuntu VM.</p>
<p>So, first things first, connect to the server.</p>
<p>I use <a href="https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html" target="_blank" rel="noopener">Putty</a> to connect to SSH sessions. Open up Putty and then put in the public IP Address of the Ubuntu server</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image001-1.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image001" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image001_thumb-1.png" alt="clip_image001" width="244" height="229" border="0" /></a></p>
<p>Click Yes to trusting the SSH host key</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image002-1.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image002" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image002_thumb-1.png" alt="clip_image002" width="244" height="179" border="0" /></a></p>
<p>Login with the credentials you setup in Part 1</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image003-1.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image003" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image003_thumb-1.png" alt="clip_image003" width="244" height="147" border="0" /></a></p>
<p>&nbsp;</p>
<p>First thing to do is to install any updates:</p>
<p>Run</p>
<pre class="prettyprint lang-text" data-caption="" data-highlight="" data-visibility="visible" data-start-line="1">sudo apt-get update</pre>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image004-1.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image004" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image004_thumb-1.png" alt="clip_image004" width="244" height="146" border="0" /></a></p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image005-1.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image005" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image005_thumb-1.png" alt="clip_image005" width="244" height="146" border="0" /></a></p>
<p>Once the update has downloaded the available updates run</p>
<pre class="prettyprint lang-text" data-caption="" data-highlight="" data-visibility="visible" data-start-line="1">sudo apt-get upgrade</pre>
<p>to upgrade the server:</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image006-1.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image006" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image006_thumb-1.png" alt="clip_image006" width="244" height="146" border="0" /></a></p>
<p>Next you will be able to Install the services:</p>
<p>Once installed you are then ready to install LAMP on the Ubuntu Server by running the following commands:</p>
<p>Install Apache:</p>
<p>To install Apache run the following command and answer Y to any prompts:</p>
<pre class="prettyprint lang-text" data-caption="" data-highlight="" data-visibility="visible" data-start-line="1">sudo apt-get install apache2</pre>
<p>This will take next to no time to install.</p>
<p>Then install MySQL server by running the next command. Again answer any prompts you may be given:</p>
<pre class="prettyprint lang-text" data-caption="" data-highlight="" data-visibility="visible" data-start-line="1">sudo apt-get install mysql-server</pre>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image007-1.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image007" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image007_thumb-1.png" alt="clip_image007" width="244" height="146" border="0" /></a></p>
<p>Enter in the password you want to set for the MySQL root account and then confirm it after.</p>
<p>Then once MySQL has been installed install the following modules:</p>
<pre class="prettyprint lang-text" data-caption="" data-highlight="" data-visibility="visible" data-start-line="1">sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql</pre>
<p>Lastly (I like to put this on for my own benefit) install PHPMyAdmin:</p>
<pre class="prettyprint lang-text" data-caption="" data-highlight="" data-visibility="visible" data-start-line="1">sudo apt-get install phpmyadmin</pre>
<p>Select Apache</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image008-1.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image008" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image008_thumb-1.png" alt="clip_image008" width="244" height="146" border="0" /></a></p>
<p>Select the option to sue a password</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image009-1.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image009" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image009_thumb-1.png" alt="clip_image009" width="244" height="146" border="0" /></a></p>
<p>Set the password</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image010.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image010" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image010_thumb.png" alt="clip_image010" width="244" height="146" border="0" /></a></p>
<p>Confirm the password if you’re required to</p>
<p>That’s it, your server is now setup.</p>
<p>You can test by browsing to the public IP Address in any web browser:</p>
<p>eg <a href="http://52.166.254.66">http://52.166.254.66</a></p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image011.png"><img style="display: inline; background-image: none;" title="clip_image011" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image011_thumb.png" alt="clip_image011" width="244" height="193" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://allthings365.co.uk/2017/09/29/azure-ubuntu-and-wordpress-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Azure Ubuntu and WordPress &#8211; Part 1</title>
		<link>http://allthings365.co.uk/2017/09/29/azure-ubuntu-and-wordpress-part-1/</link>
		<comments>http://allthings365.co.uk/2017/09/29/azure-ubuntu-and-wordpress-part-1/#respond</comments>
		<pubDate>Fri, 29 Sep 2017 19:05:57 +0000</pubDate>
		<dc:creator><![CDATA[Andrew Kemp]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Azure]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://allthings365.co.uk/?p=26</guid>
		<description><![CDATA[This is part 1 of a 4 part mini series “How To” for configuring WordPress on Ubuntu which is hosted in Microsoft Azure. The 4 Parts are broken in to the following sections: Part 1 – Deploying Ubuntu on Microsoft Azure Part 2 – Configuring LAMP on Ubuntu Part 3 – Install and Configuring WordPress&#8230;<p class="more-link"><a href="http://allthings365.co.uk/2017/09/29/azure-ubuntu-and-wordpress-part-1/"><span>Read More</span><i>&#43;</i></a></p>]]></description>
				<content:encoded><![CDATA[<p>This is part 1 of a 4 part mini series “How To” for configuring WordPress on Ubuntu which is hosted in Microsoft Azure.</p>
<p>The 4 Parts are broken in to the following sections:</p>
<p><a href="http://allthings365.co.uk/2017/09/29/azure-ubuntu-and-wordpress-part-1/" target="_blank" rel="noopener">Part 1 – Deploying Ubuntu on Microsoft Azure</a><br />
<a href="http://allthings365.co.uk/2017/09/29/azure-ubuntu-and-wordpress-part-2/" target="_blank" rel="noopener">Part 2 – Configuring LAMP on Ubuntu</a><br />
<a href="http://allthings365.co.uk/2017/09/30/azure-ubuntu-and-wordpress-part-3">Part 3 – Install and Configuring WordPress on Ubuntu</a><br />
<a href="http://allthings365.co.uk/2017/09/30/azure-ubuntu-and-wordpress-part-4">Part 4 – Trouble shooting the common issues</a></p>
<p>So, with out further a do lets get cracking on Part 1 which is:</p>
<h1>Deploying Ubuntu on Microsoft Azure</h1>
<p>With Azure there were 2 options for to deploy WordPress</p>
<ol>
<li>Use one of the pre-built WordPress services from the Azure Market Place</li>
<li>Deploy my own Ubuntu Server in Azure and configure WordPress on there.</li>
</ol>
<p>As you will see there are a &#8220;few&#8221; options in the Azure Market Place for WordPress if you decide t go down the “prebuilt” route:</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image001.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image001" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image001_thumb.png" alt="clip_image001" width="244" height="165" border="0" /></a></p>
<p>However I decided to deploy my own Ubuntu Server in Azure and build it myself from there.</p>
<p>Log in to <a href="https://portal.azure.com">https://portal.azure.com</a> and add a new compute resource:</p>
<p>I created a Server running Ubuntu 16.04:</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image002.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image002" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image002_thumb.png" alt="clip_image002" width="244" height="170" border="0" /></a></p>
<p>I then set the basic info in the Azure Portal:</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image003.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image003" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image003_thumb.png" alt="clip_image003" width="244" height="226" border="0" /></a></p>
<p>Then, I selected the VM Size, there are LOADS of sizes to choose from ranging from about £7 per month to £5,500. Needless to say as I was running Ubuntu one of the cheaper plans would be more than sufficient.</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image004.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image004" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image004_thumb.png" alt="clip_image004" width="244" height="179" border="0" /></a></p>
<p>Once I&#8217;d selected the size I then checked over the settings and left them all as they were as for me they were fine.</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image005.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image005" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image005_thumb.png" alt="clip_image005" width="244" height="213" border="0" /></a></p>
<p>Once I was happy with the summary I click on the Purchase option to build the VM.</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image006.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image006" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image006_thumb.png" alt="clip_image006" width="244" height="175" border="0" /></a></p>
<p>The only change I needed to do once the VM had been created was to edit the Network Security Group (NSG) to allow access via port 80 to the server so you can browse to it form the internet:</p>
<p>Select networking:</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image007.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image007" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image007_thumb.png" alt="clip_image007" width="244" height="205" border="0" /></a></p>
<p>Then click on Add Inbound:</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image008.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image008" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image008_thumb.png" alt="clip_image008" width="244" height="183" border="0" /></a></p>
<p>Select the HTTP service from the service drop down list and then click on ok</p>
<p><a href="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image009.png"><img style="display: inline; background-image: none;" title="clip_image009" src="http://allthings365.co.uk/wp-content/uploads/2017/09/clip_image009_thumb.png" alt="clip_image009" width="166" height="244" border="0" /></a></p>
<p>That’s it, the Ubuntu Server now up and running ready to receive web and HTTP traffic. To increase security you could look at locking down SSH to only permitted IP Addresses if you&#8217;d prefer.</p>
]]></content:encoded>
			<wfw:commentRss>http://allthings365.co.uk/2017/09/29/azure-ubuntu-and-wordpress-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
