<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:og="http://ogp.me/ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:schema="http://schema.org/" xmlns:sioc="http://rdfs.org/sioc/ns#" xmlns:sioct="http://rdfs.org/sioc/types#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" version="2.0" xml:base="http://badzilla.co.uk/">
  <channel>
    <title>VirtualBox</title>
    <link>http://badzilla.co.uk/</link>
    <description/>
    <language>en</language>
    
    <item>
  <title>Restoring an accidentally deleted .vagrant directory</title>
  <link>http://badzilla.co.uk/restoring-accidentally-deleted-vagrant-directory</link>
  <description>
&lt;span&gt;Restoring an accidentally deleted .vagrant directory&lt;/span&gt;

&lt;span&gt;&lt;span lang="" about="http://badzilla.co.uk/user/1" typeof="schema:Person" property="schema:name" datatype="" xml:lang=""&gt;nigel&lt;/span&gt;&lt;/span&gt;

&lt;span&gt;Sat, 12/02/2022 - 11:30&lt;/span&gt;

      &lt;div class="field field--name-field-heading-image-text field--type-entity-reference-revisions field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Introduction&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/styles/max_325x325/s3/2022-02/Screenshot%202022-02-12%20at%2010.30.27-edited.png?itok=mg5i3p8I 325w, https://assets.badzilla.co.uk/styles/max_650x650/s3/2022-02/Screenshot%202022-02-12%20at%2010.30.27-edited.png?itok=z96fRlXO 650w, https://assets.badzilla.co.uk/styles/max_1300x1300/s3/2022-02/Screenshot%202022-02-12%20at%2010.30.27-edited.png?itok=XutDG0Ce 1300w, https://assets.badzilla.co.uk/styles/max_2600x2600/s3/2022-02/Screenshot%202022-02-12%20at%2010.30.27-edited.png?itok=AwdP7q2o 1904w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/styles/max_325x325/s3/2022-02/Screenshot%202022-02-12%20at%2010.30.27-edited.png?itok=mg5i3p8I" alt="vbox" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;I woke up one morning to discover to my horror all my virtual machines had disappeared off my Macbook! This was disconcerting to say the least! Opening VirtualBox UI revealed that it had 'lost' all my VMs - the list of available VMs in the left hand pane was totally empty.&lt;/p&gt;

&lt;p&gt;My VMs are kept on a USB memory stick which may have been a contributory factor, but the drive had not been ejected as far as I could tell. &lt;/p&gt;

&lt;p&gt;It was early morning, I hadn't had a coffee when I started to troubleshoot, and I stupidly decided to see if I could &lt;em&gt;vagrant up&lt;/em&gt; my most precious project - my football statistics website. Disaster! Vagrant immediately tried to download a fresh copy of Ubuntu from the cloud so I hit ctrl-c. I'm unsure what happened next - perhaps I deleted the &lt;em&gt;.vagrant&lt;/em&gt; directory to try and fix things; perhaps Vagrant did. It was probably the former. &lt;/p&gt;

&lt;p&gt;Regardless of blame, I was forced to find a way of regenerating the .&lt;em&gt;vagrant&lt;/em&gt; directory so that my football VM would load correctly. These are the steps I took. &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Import VMs back into Virtual Box UI&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;The first thing to do is import the VMs back into the Virtual Box UI. This is quite easy - click on the &lt;em&gt;Tools&lt;/em&gt; part of the UI which will expose the large plus sign, which will open a file system dialog box, then navigate to the directory where the VMs are stored. There will be a directory per VM - open up the directory you want according to its name, then select the&lt;em&gt; .vbox&lt;/em&gt; file. That will import the VM. You can see I've already done this for five of my VMs. I will import more of the 30 or so left if I find I need them again!&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Re-associate VM with Vagrant&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;So importing the VM into VirtualBox won't automatically associate the VM with Vagrant. Any attempt to &lt;em&gt;vagrant up&lt;/em&gt; will result in Vagrant fetching a new instance from the Cloud. The trick is to manually create the starting point of a &lt;em&gt;.vagrant&lt;/em&gt; directory with an &lt;em&gt;id&lt;/em&gt; file which will contain the VM's unique identity. The identifier can be obtained by using the &lt;em&gt;VBoxManage list vms&lt;/em&gt; command. This can be explained better below:
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;$ VBoxManage list vms &lt;span style="color: #000000; font-weight: bold;"&gt;|&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;grep&lt;/span&gt; Football
&lt;span style="color: #ff0000;"&gt;"Football VM"&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;{&lt;/span&gt;b2f47455-eee0-457c-93a4-4d0f840598e0&lt;span style="color: #7a0874; font-weight: bold;"&gt;}&lt;/span&gt;
$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;mkdir&lt;/span&gt; &lt;span style="color: #660033;"&gt;-p&lt;/span&gt; .vagrant&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;machines&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;default&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;virtualbox
$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;touch&lt;/span&gt; .vagrant&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;machines&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;default&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;virtualbox&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;id&lt;/span&gt;
$ &lt;span style="color: #7a0874; font-weight: bold;"&gt;echo&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;"b2f47455-eee0-457c-93a4-4d0f840598e0"&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt; .vagrant&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;machines&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;default&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;virtualbox&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;id&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

Before I typed those commands I had already moved to the project's directory. I then got the unique identifier of the VM, recreated the directory structure  and the id file, the copied the id into the file.&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;SSH Authentication&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;Doing a &lt;em&gt;vagrant up&lt;/em&gt; will get you so far - the box will indeed start up (like if you invoked it in the Virtual Box UI) but the authentication will fail. However it's worth doing this and hitting ctrl-c when the authentication fails because &lt;em&gt;Vagrant&lt;/em&gt; will recreate the remainder of the &lt;em&gt;.vagrant&lt;/em&gt; directory for you and the VM will be running - essential for the next instruction.
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;$ vagrant up
Bringing machine &lt;span style="color: #ff0000;"&gt;'default'&lt;/span&gt; up with &lt;span style="color: #ff0000;"&gt;'virtualbox'&lt;/span&gt; provider...
==&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt; default: &lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;vagrant-hostsupdater&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt; Checking &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; host entries
==&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt; default: &lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;vagrant-hostsupdater&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt; Checking &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; host entries
==&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt; default: Checking &lt;span style="color: #000000; font-weight: bold;"&gt;if&lt;/span&gt; box &lt;span style="color: #ff0000;"&gt;'geerlingguy/ubuntu1804'&lt;/span&gt; version &lt;span style="color: #ff0000;"&gt;'1.1.9'&lt;/span&gt; is up to date...
==&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt; default: &lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;vagrant-hostsupdater&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt; Checking &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; host entries
==&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt; default: &lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;vagrant-hostsupdater&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt; Checking &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; host entries
==&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt; default: &lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;vagrant-hostsupdater&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt; Checking &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; host entries
==&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt; default: Clearing any previously &lt;span style="color: #000000; font-weight: bold;"&gt;set&lt;/span&gt; forwarded ports...
==&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt; default: Fixed port collision &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; &lt;span style="color: #000000;"&gt;22&lt;/span&gt; =&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt; &lt;span style="color: #000000;"&gt;2222&lt;/span&gt;. Now on port &lt;span style="color: #000000;"&gt;2200&lt;/span&gt;.
==&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt; default: Clearing any previously &lt;span style="color: #000000; font-weight: bold;"&gt;set&lt;/span&gt; network interfaces...
==&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt; default: Preparing network interfaces based on configuration...
    default: Adapter &lt;span style="color: #000000;"&gt;1&lt;/span&gt;: nat
    default: Adapter &lt;span style="color: #000000;"&gt;2&lt;/span&gt;: hostonly
==&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt; default: Forwarding ports...
    default: &lt;span style="color: #000000;"&gt;22&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;guest&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; =&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt; &lt;span style="color: #000000;"&gt;2200&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;host&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;adapter &lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
==&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt; default: &lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;vagrant-hostsupdater&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt; Checking &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; host entries
==&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt; default: Running &lt;span style="color: #ff0000;"&gt;'pre-boot'&lt;/span&gt; VM customizations...
==&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt; default: Booting VM...
==&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt; default: Waiting &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:&lt;span style="color: #000000;"&gt;2200&lt;/span&gt;
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
^&lt;span style="color: #007800;"&gt;C&lt;/span&gt;==&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt; default: Waiting &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; cleanup before exiting...&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
The SSH configuration can be determined by:
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;$ vagrant ssh-config
Host default
  HostName 127.0.0.1
  User vagrant
  Port &lt;span style="color: #000000;"&gt;2200&lt;/span&gt;
  UserKnownHostsFile &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;dev&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;null
  StrictHostKeyChecking no
  PasswordAuthentication no
  IdentityFile &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Users&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;.vagrant.d&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;insecure_private_key
  IdentitiesOnly &lt;span style="color: #c20cb9; font-weight: bold;"&gt;yes&lt;/span&gt;
  LogLevel FATAL&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
The SSH key we need to use must be known to the local ssh-agent. Find out which keys are available with the command below. You will almost certainly have at least one entry - the one you use for &lt;em&gt;git&lt;/em&gt;.
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;ssh-add&lt;/span&gt; &lt;span style="color: #660033;"&gt;-L&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Usually the default &lt;em&gt;id_rsa&lt;/em&gt; will be available. Pick one. Whichever is chosen, copy the private part of the key into the &lt;em&gt;IdentityFile&lt;/em&gt; mentioned above in the output of the &lt;em&gt;vagrant ssh-config&lt;/em&gt; command, overwriting the content already in the file. 
Now do:
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;$ vagrant halt
$ vagrant up&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Wrap Up&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/styles/max_325x325/s3/2022-02/Screenshot%202022-02-12%20at%2015.28.34.png?itok=-J8DWcrD 325w, https://assets.badzilla.co.uk/styles/max_650x650/s3/2022-02/Screenshot%202022-02-12%20at%2015.28.34.png?itok=nGmsaxuu 650w, https://assets.badzilla.co.uk/styles/max_1300x1300/s3/2022-02/Screenshot%202022-02-12%20at%2015.28.34.png?itok=Z1NzSaRp 1300w, https://assets.badzilla.co.uk/styles/max_2600x2600/s3/2022-02/Screenshot%202022-02-12%20at%2015.28.34.png?itok=dBnJ9Moz 1916w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/styles/max_325x325/s3/2022-02/Screenshot%202022-02-12%20at%2015.28.34.png?itok=-J8DWcrD" alt="Ansible" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Your system shoud now be back! My Vagrantfile runs an Ansible playbook containing my VM config - as can be seen in the screenshot above. Once that completed I could ssh into the VM as normal. All good!!&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
          &lt;/div&gt;
  
      &lt;div class="field field--name-field-blog-youtube field--type-entity-reference-revisions field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-text-youtube paragraph--view-mode--default"&gt;
          
      &lt;/div&gt;
&lt;/div&gt;
          &lt;/div&gt;
  
  &lt;div class="field field--name-field-blog-terms field--type-entity-reference field--label-inline"&gt;
    &lt;div class="field--label"&gt;blog terms&lt;/div&gt;
          &lt;span class="field__items"&gt;
              &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/development" hreflang="en"&gt;Development&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/virtualbox" hreflang="en"&gt;VirtualBox&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/ansible" hreflang="en"&gt;Ansible&lt;/a&gt;&lt;/span&gt;
              &lt;/span&gt;
      &lt;/div&gt;
</description>
  <pubDate>Sat, 12 Feb 2022 11:30:59 +0000</pubDate>
    <dc:creator>nigel</dc:creator>
    <guid isPermaLink="false">183 at http://badzilla.co.uk</guid>
    </item>
<item>
  <title>Launch of the BadzillaVM!</title>
  <link>http://badzilla.co.uk/badzillavm</link>
  <description>
&lt;span&gt;Launch of the BadzillaVM!&lt;/span&gt;

&lt;span&gt;&lt;span lang="" about="http://badzilla.co.uk/user/1" typeof="schema:Person" property="schema:name" datatype="" xml:lang=""&gt;nigel&lt;/span&gt;&lt;/span&gt;

&lt;span&gt;Wed, 10/10/2018 - 21:17&lt;/span&gt;

      &lt;div class="field field--name-field-heading-image-text field--type-entity-reference-revisions field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Welcome to the BadzillaVM&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-10/Screen%20Shot%202018-10-10%20at%2022.29.27.png?itok=kce4d36R 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-10/Screen%20Shot%202018-10-10%20at%2022.29.27.png?itok=axoWc-Il 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-10/Screen%20Shot%202018-10-10%20at%2022.29.27.png?itok=uQbvmJSf 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2018-10/Screen%20Shot%202018-10-10%20at%2022.29.27.png?itok=jxg2TB-O 2346w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-10/Screen%20Shot%202018-10-10%20at%2022.29.27.png?itok=kce4d36R" alt="dashboard" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Welcome to the BadzillaVM! &lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;The Repository can be cloned from here: &lt;a href="https://github.com/sanddevil/badzillavm"&gt;https://github.com/sanddevil/badzillavm&lt;/a&gt;&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;BadzillaVM is a lightweight VM for Drupal, based heavily on Geerlingguy's DrupalVM, and just like his, built with Ansible. &lt;/p&gt;
&lt;p&gt;BadzillaVM is significantly pared down from DrupalVM, and as such it isn't as feature-rich as DrupalVM. It does however offer something DrupalVM does not. &lt;/p&gt;
&lt;p&gt;It offers the ability to run four different version of PHP (web) simultaneously. In addition, there is a simple mechanism to switch between PHP (cli) versions on the command line. &lt;/p&gt;
&lt;p&gt;Currently, PHP 5.6, 7.0, 7.1 and 7.2 are supported. &lt;/p&gt;
&lt;p&gt;This means that BadzillaVM is useful for agencies that perhaps have multiple clients running Drupal builds on differing versions of PHP. It is a breeze with BadzillaVM to configure multiple virtual hosts, each of which can be assigned any of the available versions of PHP. &lt;/p&gt;
&lt;p&gt;BadzillaVM needs Vagrant and VirtualBox to run. You should install those two products first at their latest versions. &lt;/p&gt;
&lt;p&gt;BadzillaVM is a simple VM with lightweight functionality. It isn't intended to support complex Drupal ecosystems. Developers seeking an advanced product set should have a look at DrupalVM instead.&lt;/p&gt;
&lt;p&gt;BadzillaVM installs to a Ubuntu 16.04LTS virtual machine. The build contains: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;nginx&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;PHP 5.6, 7.0, 7.1, 7.2 &lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;MariaDB Server and Client &lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Memcached&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Drush Loader &lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Firewall&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Java&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Jenkins&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Mailhog&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Adminer&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Pimpmylog&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Composer&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;NodeJS&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;XHPRof&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;XDebug&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This is a useful toolset for building professional standard Drupal websites&lt;/p&gt;
&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Installation Guide &lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;&lt;strong&gt;1 - Install Vagrant and VirtualBox&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;Download and install &lt;a href="https://www.vagrantup.com/downloads.html"&gt;Vagrant&lt;/a&gt; and &lt;a href="https://www.virtualbox.org/wiki/Downloads"&gt;VirtualBox&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can also use an alternative provider like Parallels or VMware. (Parallels Desktop 11+ requires the "Pro" or "Business" edition and the &lt;a href="http://parallels.github.io/vagrant-parallels/"&gt;Parallels Provider&lt;/a&gt;, and VMware requires the paid &lt;a href="http://www.vagrantup.com/vmware"&gt;Vagrant VMware integration plugin&lt;/a&gt;). &lt;/p&gt;
&lt;p&gt;Notes: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;For faster provisioning&lt;/strong&gt; (macOS/Linux only): &lt;a href="http://docs.ansible.com/intro_installation.html"&gt;Install Ansible&lt;/a&gt; on your host machine, so Drupal VM can run the provisioning steps locally instead of inside the VM.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;For stability: &lt;/strong&gt;Because every version of VirtualBox introduces changes to networking, for the best stability, you should install Vagrant's `vbguest` plugin: `vagrant plugin install vagrant-vbguest`&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;NFS on Linux:&lt;/strong&gt; If NFS is not already installed on your host, you will need to install it to use the default NFS synced folder configuration. See guides for &lt;a href="https://www.digitalocean.com/community/tutorials/how-to-set-up-an-nfs-mount-on-ubuntu-14-04"&gt;Debian/Ubuntu&lt;/a&gt;, &lt;a href="https://wiki.archlinux.org/index.php/NFS#Installation"&gt;Arch&lt;/a&gt;, and &lt;a href="https://www.digitalocean.com/community/tutorials/how-to-set-up-an-nfs-mount-on-centos-6"&gt;RHEL/CentOS&lt;/a&gt;. &lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Version:&lt;/strong&gt; Make sure you're running the latest releases of Vagrant, VirtualBox, and Ansible—as of early 2018, BadzillaVM recommends: Vagrant 2.0.x, VirtualBox 5.2.x, and Ansible 2.4.x &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;2 - Build the Virtual Machine&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Download this project and put it wherever you want. &lt;/li&gt;
&lt;li&gt;Create a file called `config.yml` in the directory in which you downloaded or cloned this repository. &lt;/li&gt;
&lt;li&gt;Populate this file with your configuration (see below) &lt;em&gt;This is mandatory - do not go past this step until you have added your own configuration into this file.&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;Type in `vagrant up`, and let Vagrant do its magic. &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;3 - Configuring the VM&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You must configure your VM before you attempt `vagrant up` or the build will error. &lt;/p&gt;
&lt;p&gt;A typical `config.yml` configuration will look similar to this: &lt;/p&gt;
&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #660033;"&gt;---&lt;/span&gt;
vagrant_hostname: nigel-dev-box
 
user_vhosts_conf:
  web1:
    file_name: web1.conf 
    template_name: template-drupal8.conf.j2
    template_params:
      server_name: web1.test      
      root: &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;var&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;www&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;web1    
      php_version: &lt;span style="color: #000000;"&gt;5.6&lt;/span&gt;
  meedjum:
    file_name: meedjum.conf 
    template_name: template-drupal8.conf.j2
    template_params:
      server_name: meedjum.test      
      root: &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;var&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;www&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;meedjum&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;docroot   
      php_version: &lt;span style="color: #000000;"&gt;7.0&lt;/span&gt;
 
vagrant_synced_folders:
  - local_path: &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Users&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Projects&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VHosts
    destination: &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;var&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;www&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html
    type: nfs
    create: &lt;span style="color: #c20cb9; font-weight: bold;"&gt;true&lt;/span&gt; &lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;You must start the file with a line containing three hyphens. &lt;/p&gt;
&lt;p&gt;You should then add a hostname. I've called mine &lt;em&gt;nigel-dev-box&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;I then define two virtual hosts, named &lt;em&gt;web1&lt;/em&gt; and &lt;em&gt;meedjum&lt;/em&gt; respectively. &lt;em&gt;file_name&lt;/em&gt; refers to the file that hold the nginx configuration. The &lt;em&gt;template_name&lt;/em&gt; can be any defined in `roles/TroodoNmike.nginx-conf/templates`. The &lt;em&gt;template_params&lt;/em&gt; is a list of the token substitutions which are the &lt;em&gt;server_name&lt;/em&gt;, &lt;em&gt;root&lt;/em&gt;, and &lt;em&gt;php_version&lt;/em&gt;. &lt;/p&gt;
&lt;p&gt;Finally the synchronise folders must be defined. Ensure you stick to the convention above. The values are self explanatory and they are an array so multiple values can be defined. &lt;/p&gt;
&lt;p&gt;It is not a bad idea to ensure this configuration is saved in a vcs. To that end, I create my `config.yml` file in a sibling directory to BadzillaVM, and simlink it into the BadzillaVM directory. That way it is separate from the BadzillaVM repo, yet Vagrant will find it. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;4 - Access the VM&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The dashboard can be accessed by opening clicking through to the &lt;a href="http://dashboard.test"&gt;dashboard&lt;/a&gt;. To ssh into the VM, simply type `vagrant ssh`. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;5 - Switching Versions of PHP&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;All four web versions of PHP run concurrently without any need for interaction. However it is necessary to manually switch between CLI versions of PHP. To do this, whilst inside the VM, simply issue the `switch-php` command:&lt;/p&gt;
&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;$ switch-php
There are &lt;span style="color: #000000;"&gt;4&lt;/span&gt; choices &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; the alternative php &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;providing &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;usr&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;bin&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;php&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;.
 
  Selection    Path             Priority   Status
&lt;span style="color: #660033;"&gt;------------------------------------------------------------&lt;/span&gt;
  &lt;span style="color: #000000;"&gt;0&lt;/span&gt;            &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;usr&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;bin&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;php7.2   &lt;span style="color: #000000;"&gt;72&lt;/span&gt;        auto mode
  &lt;span style="color: #000000;"&gt;1&lt;/span&gt;            &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;usr&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;bin&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;php5.6   &lt;span style="color: #000000;"&gt;56&lt;/span&gt;        manual mode
&lt;span style="color: #000000; font-weight: bold;"&gt;*&lt;/span&gt; &lt;span style="color: #000000;"&gt;2&lt;/span&gt;            &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;usr&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;bin&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;php7.0   &lt;span style="color: #000000;"&gt;70&lt;/span&gt;        manual mode
  &lt;span style="color: #000000;"&gt;3&lt;/span&gt;            &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;usr&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;bin&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;php7.1   &lt;span style="color: #000000;"&gt;71&lt;/span&gt;        manual mode
  &lt;span style="color: #000000;"&gt;4&lt;/span&gt;            &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;usr&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;bin&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;php7.2   &lt;span style="color: #000000;"&gt;72&lt;/span&gt;        manual mode
 
Press &lt;span style="color: #000000; font-weight: bold;"&gt;&lt;&lt;/span&gt;enter&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt; to keep the current choice&lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;*&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt;, or &lt;span style="color: #7a0874; font-weight: bold;"&gt;type&lt;/span&gt; selection number:&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
To help you remember which version of PHP you are currently using on the CLI, simply refer to the prompt. It will show something like:
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;PHP 7.0.32-&lt;span style="color: #000000;"&gt;1&lt;/span&gt;+ubuntu16.04.1+deb.sury.org+&lt;span style="color: #000000;"&gt;1&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;cli&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;built: Oct  &lt;span style="color: #000000;"&gt;1&lt;/span&gt; &lt;span style="color: #000000;"&gt;2018&lt;/span&gt; &lt;span style="color: #000000;"&gt;11&lt;/span&gt;:&lt;span style="color: #000000;"&gt;45&lt;/span&gt;:&lt;span style="color: #000000;"&gt;35&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt; NTS &lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
&lt;span style="color: #666666;"&gt;vagrant@nigel-dev-box:~$&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;License&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;This project is licensed under the MIT open source license. &lt;/p&gt;
&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Credits &lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;&lt;a href="https://www.jeffgeerling.com/"&gt;Jeff Geerling's&lt;/a&gt; Drupal VM was both the inspiration and the starting point for this project. Huge thanks to the incredible work Jeff has done. His amazing book led me to try my own VM build. Please check his book out:&lt;a href="https://www.ansiblefordevops.com/"&gt; Ansible for DevOps&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;About the Author &lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;&lt;a href="http://badzilla.co.uk"&gt;Badzilla (Nigel Milligan)&lt;/a&gt; is a London UK based Freelance Drupal Architect and Consultant and can be contacted via LinkedIn&lt;/p&gt;
&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
          &lt;/div&gt;
  
  &lt;div class="field field--name-field-blog-terms field--type-entity-reference field--label-inline"&gt;
    &lt;div class="field--label"&gt;blog terms&lt;/div&gt;
          &lt;span class="field__items"&gt;
              &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/drupal" hreflang="en"&gt;Drupal&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/php" hreflang="en"&gt;PHP&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/virtualbox" hreflang="en"&gt;VirtualBox&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/badzilla-vm" hreflang="en"&gt;BadzillaVM&lt;/a&gt;&lt;/span&gt;
              &lt;/span&gt;
      &lt;/div&gt;
</description>
  <pubDate>Wed, 10 Oct 2018 20:17:50 +0000</pubDate>
    <dc:creator>nigel</dc:creator>
    <guid isPermaLink="false">149 at http://badzilla.co.uk</guid>
    </item>
<item>
  <title>Grow Mounted Partition of Headless VirtualBox</title>
  <link>http://badzilla.co.uk/grow-mounted-partition-headless-virtualbox</link>
  <description>
&lt;span&gt;Grow Mounted Partition of Headless VirtualBox&lt;/span&gt;

&lt;span&gt;&lt;span lang="" about="http://badzilla.co.uk/user/1" typeof="schema:Person" property="schema:name" datatype="" xml:lang=""&gt;nigel&lt;/span&gt;&lt;/span&gt;

&lt;span&gt;Sat, 29/09/2018 - 08:55&lt;/span&gt;

      &lt;div class="field field--name-field-heading-image-text field--type-entity-reference-revisions field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-09/Screen%20Shot%202018-09-29%20at%2017.47.32.png?itok=5QIouaIh 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-09/Screen%20Shot%202018-09-29%20at%2017.47.32.png?itok=B8Leet5c 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-09/Screen%20Shot%202018-09-29%20at%2017.47.32.png?itok=vRddWqu8 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2018-09/Screen%20Shot%202018-09-29%20at%2017.47.32.png?itok=rJFJxzwL 1670w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-09/Screen%20Shot%202018-09-29%20at%2017.47.32.png?itok=5QIouaIh" alt="Screenshot" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;This blog provides a tutorial for resizing (upwards) a partition on a headless VirtualBox Ubuntu Linux box. The task is accomplished in a few steps.&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;Clone the disk drive into VHD format&lt;/li&gt;
	&lt;li&gt;Increase the disk size of the clone&lt;/li&gt;
	&lt;li&gt;Attached the newly cloned drive into the VM&lt;/li&gt;
	&lt;li&gt;Increase the partition inside the VM &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Ok so let's get started and see what we've got and where we need to get to. &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;$ VBoxManage list runningvms
&lt;span style="color: #ff0000;"&gt;"badzilla-d8"&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;{&lt;/span&gt;86af2c61-3b68-47c5-a71e-8f45ac196cbe&lt;span style="color: #7a0874; font-weight: bold;"&gt;}&lt;/span&gt;
&lt;span style="color: #ff0000;"&gt;"Plex Media Server"&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;{&lt;/span&gt;5efa7e7b-ae92-45a9-&lt;span style="color: #000000;"&gt;8244&lt;/span&gt;-bae451b53c0a&lt;span style="color: #7a0874; font-weight: bold;"&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
It's my Plex server that has run out of disk space. I totally underestimated how much room Plex actually needs for its metadata. I'm going to extend the disk from 10GB to 30GB which should keep me going for a few years.&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Clone the disk drive into VHD format&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;We have to clone for two reasons. Firstly when I created the disk in the first place, I created it as a fixed 10GB and it needs to be dynamic, and secondly only .VDI or .VHD format drives can be grown. Let's get our disk details. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;$ VBoxManage showvminfo &lt;span style="color: #ff0000;"&gt;"Plex Media Server"&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;|&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;grep&lt;/span&gt; &lt;span style="color: #660033;"&gt;-i&lt;/span&gt; disk
Boot Device &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;3&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: HardDisk
SATA &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;, &lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;home&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VirtualBox VMs&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Plex Media Server&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Plex Media Server-disk001.vmdk &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;UUID: 0956c89c-b496-4b2e-985f-2f2d484f6e3a&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Now we know the name of our disk we can clone
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; VBoxManage clonehd &lt;span style="color: #660033;"&gt;--format&lt;/span&gt; vhd &lt;span style="color: #ff0000;"&gt;"/home/nigel/VirtualBox VMs/Plex Media Server/Plex Media Server-disk001.vmdk"&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;"/home/nigel/VirtualBox VMs/Plex Media Server/Plex Media Server-disk001.vhd"&lt;/span&gt;
&lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt; password &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; nigel: 
&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;10&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;20&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;30&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;40&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;50&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;60&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;70&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;80&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;90&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;100&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;
Clone medium created &lt;span style="color: #000000; font-weight: bold;"&gt;in&lt;/span&gt; format &lt;span style="color: #ff0000;"&gt;'vhd'&lt;/span&gt;. UUID: e4770417-731a-466c-&lt;span style="color: #000000;"&gt;9124&lt;/span&gt;-d1c97625cf7b&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Now let's see what we have
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;ls&lt;/span&gt; &lt;span style="color: #660033;"&gt;-lash&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;"/home/nigel/VirtualBox VMs/Plex Media Server/Plex Media Server-disk001.vmdk"&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;"/home/nigel/VirtualBox VMs/Plex Media Server/Plex Media Server-disk001.vhd"&lt;/span&gt;
6.1G &lt;span style="color: #660033;"&gt;-rw-------&lt;/span&gt; &lt;span style="color: #000000;"&gt;1&lt;/span&gt; root  root  6.1G Sep &lt;span style="color: #000000;"&gt;29&lt;/span&gt; &lt;span style="color: #000000;"&gt;12&lt;/span&gt;:&lt;span style="color: #000000;"&gt;24&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;home&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VirtualBox VMs&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Plex Media Server&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Plex Media Server-disk001.vhd
6.0G &lt;span style="color: #660033;"&gt;-rw-------&lt;/span&gt; &lt;span style="color: #000000;"&gt;1&lt;/span&gt; nigel nigel 6.0G Sep &lt;span style="color: #000000;"&gt;29&lt;/span&gt; &lt;span style="color: #000000;"&gt;12&lt;/span&gt;:&lt;span style="color: #000000;"&gt;42&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;home&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VirtualBox VMs&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Plex Media Server&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Plex Media Server-disk001.vmdk&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
You can now see the two disk drives - the vmdk and the vhd format drives.&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Increase the Disk Size of the VHD Clone&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;Now we can resize the disk to the required 30GB
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; VBoxManage modifymedium &lt;span style="color: #ff0000;"&gt;'/home/nigel/VirtualBox VMs/Plex Media Server/Plex Media Server-disk001.vhd'&lt;/span&gt; &lt;span style="color: #660033;"&gt;--resize&lt;/span&gt; &lt;span style="color: #000000;"&gt;30000&lt;/span&gt;
&lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt; password &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; nigel: 
&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;10&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;20&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;30&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;40&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;50&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;60&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;70&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;80&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;90&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;100&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Attached the newly cloned drive into the VM&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;Better power off the original VM. In fact I should have done this earlier. Oops. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;$ &lt;/span&gt;VBoxManage controlvm &lt;span style="color: #ff0000;"&gt;"Plex Media Server"&lt;/span&gt; poweroff&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Now we can switchero the disks around with the following command.
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;$ VBoxManage storageattach &lt;span style="color: #ff0000;"&gt;'Plex Media Server'&lt;/span&gt; \
&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt; &lt;span style="color: #660033;"&gt;--storagectl&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;"SATA"&lt;/span&gt; \
&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt; &lt;span style="color: #660033;"&gt;--device&lt;/span&gt; &lt;span style="color: #000000;"&gt;0&lt;/span&gt; \
&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt; &lt;span style="color: #660033;"&gt;--port&lt;/span&gt; &lt;span style="color: #000000;"&gt;0&lt;/span&gt; \
&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt; &lt;span style="color: #660033;"&gt;--type&lt;/span&gt; hdd \
&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt; &lt;span style="color: #660033;"&gt;--medium&lt;/span&gt;  &lt;span style="color: #ff0000;"&gt;'/home/nigel/VirtualBox VMs/Plex Media Server/Plex Media Server-disk001.vhd'&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Did it work?
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;$ VBoxManage showvminfo &lt;span style="color: #ff0000;"&gt;"Plex Media Server"&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;|&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;grep&lt;/span&gt; &lt;span style="color: #660033;"&gt;-i&lt;/span&gt; disk
Boot Device &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;3&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: HardDisk
SATA &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;, &lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;home&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VirtualBox VMs&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Plex Media Server&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Plex Media Server-disk001.vhd &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;UUID: e4770417-731a-466c-&lt;span style="color: #000000;"&gt;9124&lt;/span&gt;-d1c97625cf7b&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Looks encouraging so we'll start it up
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;nohup&lt;/span&gt; VBoxHeadless &lt;span style="color: #660033;"&gt;--startvm&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;"Plex Media Server"&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;&amp;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
and login in and check the running processes..
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;ssh&lt;/span&gt; nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;192.168.0.203
nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;192.168.0.203&lt;span style="color: #ff0000;"&gt;'s password: 
$ ps -ef | grep -i plex
plex       976     1  0 15:18 ?        00:00:00 /bin/sh -c LD_LIBRARY_PATH=/usr/lib/plexmediaserver "/usr/lib/plexmediaserver/Plex Media Server"
plex       982   976  4 15:18 ?        00:00:03 /usr/lib/plexmediaserver/Plex Media Server
plex      1116   982 13 15:18 ?        00:00:08 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-c40bba82e/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.11.3.4803-c40bba82e /usr/lib/plexmediaserver/Resources/Plug-ins-c40bba82e/System.bundle
plex      1164   982  1 15:18 ?        00:00:00 /usr/lib/plexmediaserver/Plex DLNA Server
plex      1166   982  0 15:18 ?        00:00:00 /usr/lib/plexmediaserver/Plex Tuner Service /usr/lib/plexmediaserver/Resources/Tuner/Private /usr/lib/plexmediaserver/Resources/Tuner/Shared 1.11.3.4803-c40bba82e 32600 /waitmutex
plex      1213   982  8 15:18 ?        00:00:04 Plex Plug-in [com.plexapp.agents.imdb] /usr/lib/plexmediaserver/Resources/Plug-ins-c40bba82e/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.11.3.4803-c40bba82e /usr/lib/plexmediaserver/Resources/Plug-ins-c40bba82e/PlexMovie.bundle
nigel     1354  1325  0 15:19 pts/0    00:00:00 grep --color=auto -i plex&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Increase the Partition Size Inside the VM&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;If we look at the file system storage space it is reporting our system drive is at 100% capacity. We'd expect that - we need to extend it to use our new space. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;df&lt;/span&gt; &lt;span style="color: #660033;"&gt;-k&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;|&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;grep&lt;/span&gt; sda1
&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;dev&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;sda1                   &lt;span style="color: #000000;"&gt;6061632&lt;/span&gt;    &lt;span style="color: #000000;"&gt;5724660&lt;/span&gt;       &lt;span style="color: #000000;"&gt;6016&lt;/span&gt; &lt;span style="color: #000000;"&gt;100&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Now lets see what the situation is per partition
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;fdisk&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;dev&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;sda
 
Welcome to &lt;span style="color: #c20cb9; font-weight: bold;"&gt;fdisk&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;util-linux 2.27.1&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;.
Changes will remain &lt;span style="color: #000000; font-weight: bold;"&gt;in&lt;/span&gt; memory only, &lt;span style="color: #000000; font-weight: bold;"&gt;until&lt;/span&gt; you decide to &lt;span style="color: #c20cb9; font-weight: bold;"&gt;write&lt;/span&gt; them.
Be careful before using the &lt;span style="color: #c20cb9; font-weight: bold;"&gt;write&lt;/span&gt; command.
 
 
Command &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;m &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;help&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: p
Disk &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;dev&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;sda: &lt;span style="color: #000000;"&gt;29.3&lt;/span&gt; GiB, &lt;span style="color: #000000;"&gt;31457280000&lt;/span&gt; bytes, &lt;span style="color: #000000;"&gt;61440000&lt;/span&gt; sectors
Units: sectors of &lt;span style="color: #000000;"&gt;1&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;*&lt;/span&gt; &lt;span style="color: #000000;"&gt;512&lt;/span&gt; = &lt;span style="color: #000000;"&gt;512&lt;/span&gt; bytes
Sector &lt;span style="color: #c20cb9; font-weight: bold;"&gt;size&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;logical&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;physical&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: &lt;span style="color: #000000;"&gt;512&lt;/span&gt; bytes &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; &lt;span style="color: #000000;"&gt;512&lt;/span&gt; bytes
I&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;O &lt;span style="color: #c20cb9; font-weight: bold;"&gt;size&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;minimum&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;optimal&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: &lt;span style="color: #000000;"&gt;512&lt;/span&gt; bytes &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; &lt;span style="color: #000000;"&gt;512&lt;/span&gt; bytes
Disklabel type: dos
Disk identifier: 0x0660013b
 
Device     Boot    Start      End  Sectors Size Id Type
&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;dev&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;sda1  &lt;span style="color: #000000; font-weight: bold;"&gt;*&lt;/span&gt;        &lt;span style="color: #000000;"&gt;2048&lt;/span&gt; &lt;span style="color: #000000;"&gt;12584959&lt;/span&gt; &lt;span style="color: #000000;"&gt;12582912&lt;/span&gt;   6G &lt;span style="color: #000000;"&gt;83&lt;/span&gt; Linux
&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;dev&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;sda2       &lt;span style="color: #000000;"&gt;12587006&lt;/span&gt; &lt;span style="color: #000000;"&gt;20969471&lt;/span&gt;  &lt;span style="color: #000000;"&gt;8382466&lt;/span&gt;   4G  &lt;span style="color: #000000;"&gt;5&lt;/span&gt; Extended
&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;dev&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;sda5       &lt;span style="color: #000000;"&gt;12587008&lt;/span&gt; &lt;span style="color: #000000;"&gt;20969471&lt;/span&gt;  &lt;span style="color: #000000;"&gt;8382464&lt;/span&gt;   4G &lt;span style="color: #000000;"&gt;82&lt;/span&gt; Linux swap &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; Solaris&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Now let's see where our free space is
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;Command &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;m &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;help&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: F
Unpartitioned space &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;dev&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;sda: &lt;span style="color: #000000;"&gt;19.3&lt;/span&gt; GiB, &lt;span style="color: #000000;"&gt;20720910336&lt;/span&gt; bytes, &lt;span style="color: #000000;"&gt;40470528&lt;/span&gt; sectors
Units: sectors of &lt;span style="color: #000000;"&gt;1&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;*&lt;/span&gt; &lt;span style="color: #000000;"&gt;512&lt;/span&gt; = &lt;span style="color: #000000;"&gt;512&lt;/span&gt; bytes
Sector &lt;span style="color: #c20cb9; font-weight: bold;"&gt;size&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;logical&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;physical&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: &lt;span style="color: #000000;"&gt;512&lt;/span&gt; bytes &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; &lt;span style="color: #000000;"&gt;512&lt;/span&gt; bytes
 
   Start      End  Sectors  Size
&lt;span style="color: #000000;"&gt;20969472&lt;/span&gt; &lt;span style="color: #000000;"&gt;61439999&lt;/span&gt; &lt;span style="color: #000000;"&gt;40470528&lt;/span&gt; 19.3G&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
That makes life a little difficult because there is a swap partition of 4GB immediately after our Linux 6GB. We are going to have to delete the swap, recreate it between 26GB -&gt; 30GB and then grow our 6GB Linux partition to 26GB. Whilst this would normally be extremely dangerous, the good news is if we make a fatal mistake, we can start the process over since we still have the original vmdk drive. So let's go for it!&lt;br /&gt;&lt;br /&gt;
Firstly we delete the swap space and the extended partition
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;Command &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;m &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;help&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: d
Partition number &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;,&lt;span style="color: #000000;"&gt;2&lt;/span&gt;,&lt;span style="color: #000000;"&gt;5&lt;/span&gt;, default &lt;span style="color: #000000;"&gt;5&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: &lt;span style="color: #000000;"&gt;5&lt;/span&gt;
 
Partition &lt;span style="color: #000000;"&gt;5&lt;/span&gt; has been deleted.
 
Command &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;m &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;help&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: d
Partition number &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;,&lt;span style="color: #000000;"&gt;2&lt;/span&gt;, default &lt;span style="color: #000000;"&gt;2&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: &lt;span style="color: #000000;"&gt;2&lt;/span&gt;
 
Partition &lt;span style="color: #000000;"&gt;2&lt;/span&gt; has been deleted.&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Now we are going to delete the Linux partition. What? Well deleting the partition won't delete the data providing we recreate our new partition from the very same sector on the disk. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;Command &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;m &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;help&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: d
Selected partition &lt;span style="color: #000000;"&gt;1&lt;/span&gt;
Partition &lt;span style="color: #000000;"&gt;1&lt;/span&gt; has been deleted.
 
Command &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;m &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;help&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: F
Unpartitioned space &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;dev&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;sda: &lt;span style="color: #000000;"&gt;29.3&lt;/span&gt; GiB, &lt;span style="color: #000000;"&gt;31456231424&lt;/span&gt; bytes, &lt;span style="color: #000000;"&gt;61437952&lt;/span&gt; sectors
Units: sectors of &lt;span style="color: #000000;"&gt;1&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;*&lt;/span&gt; &lt;span style="color: #000000;"&gt;512&lt;/span&gt; = &lt;span style="color: #000000;"&gt;512&lt;/span&gt; bytes
Sector &lt;span style="color: #c20cb9; font-weight: bold;"&gt;size&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;logical&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;physical&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: &lt;span style="color: #000000;"&gt;512&lt;/span&gt; bytes &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; &lt;span style="color: #000000;"&gt;512&lt;/span&gt; bytes
 
Start      End  Sectors  Size
 &lt;span style="color: #000000;"&gt;2048&lt;/span&gt; &lt;span style="color: #000000;"&gt;61439999&lt;/span&gt; &lt;span style="color: #000000;"&gt;61437952&lt;/span&gt; 29.3G&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Now recreate the partition only bigger!
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;Command &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;m &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;help&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: n
Partition &lt;span style="color: #7a0874; font-weight: bold;"&gt;type&lt;/span&gt;
   p   primary &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt; primary, &lt;span style="color: #000000;"&gt;0&lt;/span&gt; extended, &lt;span style="color: #000000;"&gt;4&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;free&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
   e   extended &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;container &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; logical partitions&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
Select &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;default p&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: p
Partition number &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;-&lt;span style="color: #000000;"&gt;4&lt;/span&gt;, default &lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: 
First sector &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;2048&lt;/span&gt;-&lt;span style="color: #000000;"&gt;61439999&lt;/span&gt;, default &lt;span style="color: #000000;"&gt;2048&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: 
Last sector, +sectors or +&lt;span style="color: #c20cb9; font-weight: bold;"&gt;size&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;{&lt;/span&gt;K,M,G,T,P&lt;span style="color: #7a0874; font-weight: bold;"&gt;}&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;2048&lt;/span&gt;-&lt;span style="color: #000000;"&gt;61439999&lt;/span&gt;, default &lt;span style="color: #000000;"&gt;61439999&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: &lt;span style="color: #000000;"&gt;53055486&lt;/span&gt;
 
Created a new partition &lt;span style="color: #000000;"&gt;1&lt;/span&gt; of &lt;span style="color: #7a0874; font-weight: bold;"&gt;type&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;'Linux'&lt;/span&gt; and of &lt;span style="color: #c20cb9; font-weight: bold;"&gt;size&lt;/span&gt; &lt;span style="color: #000000;"&gt;25.3&lt;/span&gt; GiB.&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Next we recreate the extended partition with the remaining space and a new logical partition which will ultimately be the Linux Swap area
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;Command &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;m &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;help&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: n
Partition &lt;span style="color: #7a0874; font-weight: bold;"&gt;type&lt;/span&gt;
   p   primary &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt; primary, &lt;span style="color: #000000;"&gt;0&lt;/span&gt; extended, &lt;span style="color: #000000;"&gt;3&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;free&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
   e   extended &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;container &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; logical partitions&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
Select &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;default p&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: e
Partition number &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;2&lt;/span&gt;-&lt;span style="color: #000000;"&gt;4&lt;/span&gt;, default &lt;span style="color: #000000;"&gt;2&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: &lt;span style="color: #000000;"&gt;2&lt;/span&gt;
First sector &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;53055487&lt;/span&gt;-&lt;span style="color: #000000;"&gt;61439999&lt;/span&gt;, default &lt;span style="color: #000000;"&gt;53055488&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: 
Last sector, +sectors or +&lt;span style="color: #c20cb9; font-weight: bold;"&gt;size&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;{&lt;/span&gt;K,M,G,T,P&lt;span style="color: #7a0874; font-weight: bold;"&gt;}&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;53055488&lt;/span&gt;-&lt;span style="color: #000000;"&gt;61439999&lt;/span&gt;, default &lt;span style="color: #000000;"&gt;61439999&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: 
 
Created a new partition &lt;span style="color: #000000;"&gt;2&lt;/span&gt; of &lt;span style="color: #7a0874; font-weight: bold;"&gt;type&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;'Extended'&lt;/span&gt; and of &lt;span style="color: #c20cb9; font-weight: bold;"&gt;size&lt;/span&gt; &lt;span style="color: #000000;"&gt;4&lt;/span&gt; GiB.
 
Command &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;m &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;help&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: n
All space &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; primary partitions is &lt;span style="color: #000000; font-weight: bold;"&gt;in&lt;/span&gt; use.
Adding logical partition &lt;span style="color: #000000;"&gt;5&lt;/span&gt;
First sector &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;53057536&lt;/span&gt;-&lt;span style="color: #000000;"&gt;61439999&lt;/span&gt;, default &lt;span style="color: #000000;"&gt;53057536&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: 
Last sector, +sectors or +&lt;span style="color: #c20cb9; font-weight: bold;"&gt;size&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;{&lt;/span&gt;K,M,G,T,P&lt;span style="color: #7a0874; font-weight: bold;"&gt;}&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;53057536&lt;/span&gt;-&lt;span style="color: #000000;"&gt;61439999&lt;/span&gt;, default &lt;span style="color: #000000;"&gt;61439999&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: 
 
Created a new partition &lt;span style="color: #000000;"&gt;5&lt;/span&gt; of &lt;span style="color: #7a0874; font-weight: bold;"&gt;type&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;'Linux'&lt;/span&gt; and of &lt;span style="color: #c20cb9; font-weight: bold;"&gt;size&lt;/span&gt; &lt;span style="color: #000000;"&gt;4&lt;/span&gt; GiB.&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Now change the last partition type to Linux Swap 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;Command &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;m &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;help&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: t
Partition number &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;,&lt;span style="color: #000000;"&gt;2&lt;/span&gt;,&lt;span style="color: #000000;"&gt;5&lt;/span&gt;, default &lt;span style="color: #000000;"&gt;5&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: 
Partition &lt;span style="color: #7a0874; font-weight: bold;"&gt;type&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;type&lt;/span&gt; L to list all types&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: &lt;span style="color: #000000;"&gt;82&lt;/span&gt;
 
Changed &lt;span style="color: #7a0874; font-weight: bold;"&gt;type&lt;/span&gt; of partition &lt;span style="color: #ff0000;"&gt;'Linux'&lt;/span&gt; to &lt;span style="color: #ff0000;"&gt;'Linux swap / Solaris'&lt;/span&gt;.&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
And finally write the partition table
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;Command &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;m &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;help&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: &lt;span style="color: #c20cb9; font-weight: bold;"&gt;w&lt;/span&gt;
The partition table has been altered.
Calling ioctl&lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; to re-read partition table.
Re-reading the partition table failed.: Device or resource busy
 
The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe&lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;8&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; or kpartx&lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;8&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;.&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
So we need to reboot for our changes to take effect
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;su&lt;/span&gt;
&lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt; password &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; nigel: 
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;plex-media-server:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;home&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nigel&lt;span style="color: #666666; font-style: italic;"&gt;# init 6&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
When we log in there is good and bad news: the filesystem isn't recognising the new size but fdisk does.
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;df&lt;/span&gt; &lt;span style="color: #660033;"&gt;-k&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;|&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;grep&lt;/span&gt; sda
&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;dev&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;sda1                   &lt;span style="color: #000000;"&gt;6061632&lt;/span&gt;    &lt;span style="color: #000000;"&gt;5667620&lt;/span&gt;      &lt;span style="color: #000000;"&gt;63056&lt;/span&gt;  &lt;span style="color: #000000;"&gt;99&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
and
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;fdisk&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;dev&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;sda
 
Welcome to &lt;span style="color: #c20cb9; font-weight: bold;"&gt;fdisk&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;util-linux 2.27.1&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;.
Changes will remain &lt;span style="color: #000000; font-weight: bold;"&gt;in&lt;/span&gt; memory only, &lt;span style="color: #000000; font-weight: bold;"&gt;until&lt;/span&gt; you decide to &lt;span style="color: #c20cb9; font-weight: bold;"&gt;write&lt;/span&gt; them.
Be careful before using the &lt;span style="color: #c20cb9; font-weight: bold;"&gt;write&lt;/span&gt; command.
 
 
Command &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;m &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;help&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: p
Disk &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;dev&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;sda: &lt;span style="color: #000000;"&gt;29.3&lt;/span&gt; GiB, &lt;span style="color: #000000;"&gt;31457280000&lt;/span&gt; bytes, &lt;span style="color: #000000;"&gt;61440000&lt;/span&gt; sectors
Units: sectors of &lt;span style="color: #000000;"&gt;1&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;*&lt;/span&gt; &lt;span style="color: #000000;"&gt;512&lt;/span&gt; = &lt;span style="color: #000000;"&gt;512&lt;/span&gt; bytes
Sector &lt;span style="color: #c20cb9; font-weight: bold;"&gt;size&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;logical&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;physical&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: &lt;span style="color: #000000;"&gt;512&lt;/span&gt; bytes &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; &lt;span style="color: #000000;"&gt;512&lt;/span&gt; bytes
I&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;O &lt;span style="color: #c20cb9; font-weight: bold;"&gt;size&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;minimum&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;optimal&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: &lt;span style="color: #000000;"&gt;512&lt;/span&gt; bytes &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; &lt;span style="color: #000000;"&gt;512&lt;/span&gt; bytes
Disklabel type: dos
Disk identifier: 0x0660013b
 
Device     Boot    Start      End  Sectors  Size Id Type
&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;dev&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;sda1           &lt;span style="color: #000000;"&gt;2048&lt;/span&gt; &lt;span style="color: #000000;"&gt;53055486&lt;/span&gt; &lt;span style="color: #000000;"&gt;53053439&lt;/span&gt; 25.3G &lt;span style="color: #000000;"&gt;83&lt;/span&gt; Linux
&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;dev&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;sda2       &lt;span style="color: #000000;"&gt;53055488&lt;/span&gt; &lt;span style="color: #000000;"&gt;61439999&lt;/span&gt;  &lt;span style="color: #000000;"&gt;8384512&lt;/span&gt;    4G  &lt;span style="color: #000000;"&gt;5&lt;/span&gt; Extended
&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;dev&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;sda5       &lt;span style="color: #000000;"&gt;53057536&lt;/span&gt; &lt;span style="color: #000000;"&gt;61439999&lt;/span&gt;  &lt;span style="color: #000000;"&gt;8382464&lt;/span&gt;    4G &lt;span style="color: #000000;"&gt;82&lt;/span&gt; Linux swap &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; Solaris&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Our final activity to make the additional space available for us is to use the resize2fs command:
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; resize2fs &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;dev&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;sda1
resize2fs 1.42.13 &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;17&lt;/span&gt;-May-&lt;span style="color: #000000;"&gt;2015&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
Filesystem at &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;dev&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;sda1 is mounted on &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;; on-line resizing required
old_desc_blocks = &lt;span style="color: #000000;"&gt;1&lt;/span&gt;, new_desc_blocks = &lt;span style="color: #000000;"&gt;2&lt;/span&gt;
The filesystem on &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;dev&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;sda1 is now &lt;span style="color: #000000;"&gt;6631679&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;4k&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; blocks long.&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
And now we have it:
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;df&lt;/span&gt; &lt;span style="color: #660033;"&gt;-k&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;|&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;grep&lt;/span&gt; sda
&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;dev&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;sda1                  &lt;span style="color: #000000;"&gt;25978144&lt;/span&gt;    &lt;span style="color: #000000;"&gt;5672208&lt;/span&gt;   &lt;span style="color: #000000;"&gt;19165592&lt;/span&gt;  &lt;span style="color: #000000;"&gt;23&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Cleaning-up Activities&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;Since we deleted the swap partition, and moved it, we need to create the actual swap with the following command
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; mkswap &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;dev&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;sda5&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
In addition, we could either delete the original vmdk disk or archive it somewhere to get 6GB space back on the parent machine.&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
          &lt;/div&gt;
  
      &lt;div class="field field--name-field-blog-youtube field--type-entity-reference-revisions field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-text-youtube paragraph--view-mode--default"&gt;
          
      &lt;/div&gt;
&lt;/div&gt;
          &lt;/div&gt;
  
  &lt;div class="field field--name-field-blog-terms field--type-entity-reference field--label-inline"&gt;
    &lt;div class="field--label"&gt;blog terms&lt;/div&gt;
          &lt;span class="field__items"&gt;
              &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/hardware" hreflang="en"&gt;Hardware&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/linux" hreflang="en"&gt;Linux&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/virtualbox" hreflang="en"&gt;VirtualBox&lt;/a&gt;&lt;/span&gt;
              &lt;/span&gt;
      &lt;/div&gt;
</description>
  <pubDate>Sat, 29 Sep 2018 07:55:57 +0000</pubDate>
    <dc:creator>nigel</dc:creator>
    <guid isPermaLink="false">147 at http://badzilla.co.uk</guid>
    </item>
<item>
  <title>Drupal 8 and DRUD Tech's ddev Local Development Environment</title>
  <link>http://badzilla.co.uk/drupal-8-and-drud-techs-ddev-local-development-environment</link>
  <description>
&lt;span&gt;Drupal 8 and DRUD Tech's ddev Local Development Environment&lt;/span&gt;

&lt;span&gt;&lt;span lang="" about="http://badzilla.co.uk/user/1" typeof="schema:Person" property="schema:name" datatype="" xml:lang=""&gt;nigel&lt;/span&gt;&lt;/span&gt;

&lt;span&gt;Sat, 10/03/2018 - 21:12&lt;/span&gt;

      &lt;div class="field field--name-field-heading-image-text field--type-entity-reference-revisions field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-03/Screen%20Shot%202018-03-11%20at%2010.40.36.png?itok=RMPUTXj1 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-03/Screen%20Shot%202018-03-11%20at%2010.40.36.png?itok=Z0gmcixg 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-03/Screen%20Shot%202018-03-11%20at%2010.40.36.png?itok=JHQH5DPa 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2018-03/Screen%20Shot%202018-03-11%20at%2010.40.36.png?itok=IN5xeixh 2294w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-03/Screen%20Shot%202018-03-11%20at%2010.40.36.png?itok=RMPUTXj1" alt="Command Line" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;My favourite presentation at DrupalCamp London 2018 was &lt;strong&gt;Turbocharge Your Agency&lt;/strong&gt; given by DRUD Tech co-founder Kevin Bridges and Jeffrey A. "jam" McGuire. They talked at length about the container solution &lt;strong&gt;ddev&lt;/strong&gt; which enables developers to manage their local environments and thus optimise their time and in addition save their configuration under source control. Furthermore the demonstration showed that it was possible to flip between different configurations with different Drupal versions easily and quickly. The solution found &lt;a href="https://github.com/drud/ddev"&gt;here&lt;/a&gt; uses Docker and is wrapped by the lightning fast Golang.&lt;/p&gt;
&lt;p&gt;I've been thinking for a while about moving from my existing hand crafted Virtual Machine towards Docker. My VM's configuration isn't under source control management, and has built up over the years into quite a complex beast. I have Jenkins, phing, composer, Drupal console, Mail Catcher, Compass, node, npm, Python, nginx, Apache, MariaDB and MongoDB that I can remember off the top of my head. It's becoming a difficult proposition to keep it all working. When I need to run a different version of PHP I manually switch simlinks around. Oh for something easier. &lt;/p&gt;
&lt;p&gt;So I elected to investigate whether Drud Tech's offering could possibly help out. The demonstration given by their guys at DrupalCamp London 2018 showed the ease of moving between D7 and D8 repos. However they were fresh builds and for the tool to be of value to me, it would have to work from pre-existing codebases. &lt;/p&gt;
&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Installing a VirtualBox VM&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-03/Screen%20Shot%202018-03-05%20at%2021.41.04.png?itok=YLavAD3q 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-03/Screen%20Shot%202018-03-05%20at%2021.41.04.png?itok=p9TxKiLl 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-03/Screen%20Shot%202018-03-05%20at%2021.41.04.png?itok=kWThqz1Q 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2018-03/Screen%20Shot%202018-03-05%20at%2021.41.04.png?itok=GhAKBne5 1764w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-03/Screen%20Shot%202018-03-05%20at%2021.41.04.png?itok=YLavAD3q" alt="ddev VM" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-03/Screen%20Shot%202018-03-05%20at%2022.01.38.png?itok=fR6uv1yE 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-03/Screen%20Shot%202018-03-05%20at%2022.01.38.png?itok=5GkmA5Mt 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-03/Screen%20Shot%202018-03-05%20at%2022.01.38.png?itok=oYLUJWwI 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2018-03/Screen%20Shot%202018-03-05%20at%2022.01.38.png?itok=FgT36KcJ 1768w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-03/Screen%20Shot%202018-03-05%20at%2022.01.38.png?itok=fR6uv1yE" alt="ifconfig" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-03/Screen%20Shot%202018-03-05%20at%2022.06.05.png?itok=4NUDSvv6 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-03/Screen%20Shot%202018-03-05%20at%2022.06.05.png?itok=QwIRA5Ls 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-03/Screen%20Shot%202018-03-05%20at%2022.06.05.png?itok=J1ySsudd 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2018-03/Screen%20Shot%202018-03-05%20at%2022.06.05.png?itok=quF2Q4GI 1526w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-03/Screen%20Shot%202018-03-05%20at%2022.06.05.png?itok=4NUDSvv6" alt="ssh port forward" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;This was purely a Proof of Concept so as a consequence I needed to keep anything I did in a ring-fenced environment. Therefore a VirtualBox Ubuntu 16.04LTS image was used as a starting point. I won't provide screenshots of the entire build process since I have previous blogs to cover this. &lt;/p&gt;

&lt;p&gt;Once the build has completed and I have logged in I issue a &lt;em&gt;ifconfig&lt;/em&gt; command to determine the IP address which is 10.0.2.15 (second screenshot). This will need to be used with the network configuration. &lt;/p&gt;

&lt;p&gt;When I was building the VM I kept the default network configuration which is NAT. I have moved away from using Bridged Adapter. A bridged adapter on the face of it is very convenient - it automatically gets an IP address via DHCP from my ISP provided router at home, in the 192.168.0.0 range. However this falls foul at client sites with security policies prohibiting unknown MAC Addresses, and Internet cafes that don't use the same IP range - it simply won't work. &lt;/p&gt;

&lt;p&gt;The solution is to use NAT and use the port forwarding facility. Navigate to &lt;em&gt;Settings -&gt; Network -&gt; Advanced -&gt; Port Forwarding&lt;/em&gt; and add values for ssh as per the third screenshot above.  &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;I can now ssh into the ddev VM. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;ssh&lt;/span&gt; &lt;span style="color: #660033;"&gt;-p&lt;/span&gt; &lt;span style="color: #000000;"&gt;2222&lt;/span&gt; nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;127.0.0.1
The authenticity of host &lt;span style="color: #ff0000;"&gt;'[127.0.0.1]:2222 ([127.0.0.1]:2222)'&lt;/span&gt; can&lt;span style="color: #ff0000;"&gt;'t be established.
ECDSA key fingerprint is SHA256:VRNxWpagSl2DGz7dmgRjBqdDdadXITdPPkItrMR9k38.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;127.0.0.1&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt;:&lt;span style="color: #000000;"&gt;2222&lt;/span&gt;&lt;span style="color: #ff0000;"&gt;' (ECDSA) to the list of known hosts.
nigel@127.0.0.1'&lt;/span&gt;s password: 
Welcome to Ubuntu 16.04.3 LTS &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;GNU&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Linux 4.4.0-&lt;span style="color: #000000;"&gt;87&lt;/span&gt;-generic x86_64&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
 
 &lt;span style="color: #000000; font-weight: bold;"&gt;*&lt;/span&gt; Documentation:  https:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;help.ubuntu.com
 &lt;span style="color: #000000; font-weight: bold;"&gt;*&lt;/span&gt; Management:     https:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;landscape.canonical.com
 &lt;span style="color: #000000; font-weight: bold;"&gt;*&lt;/span&gt; Support:        https:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;ubuntu.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;advantage
 
&lt;span style="color: #000000;"&gt;137&lt;/span&gt; packages can be updated.
&lt;span style="color: #000000;"&gt;69&lt;/span&gt; updates are security updates.
 
 
Last login: Mon Mar  &lt;span style="color: #000000;"&gt;5&lt;/span&gt; &lt;span style="color: #000000;"&gt;21&lt;/span&gt;:&lt;span style="color: #000000;"&gt;50&lt;/span&gt;:&lt;span style="color: #000000;"&gt;35&lt;/span&gt; &lt;span style="color: #000000;"&gt;2018&lt;/span&gt;
To run a &lt;span style="color: #7a0874; font-weight: bold;"&gt;command&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;as&lt;/span&gt; administrator &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;user &lt;span style="color: #ff0000;"&gt;"root"&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;, use &lt;span style="color: #ff0000;"&gt;"sudo &lt;command&gt;"&lt;/span&gt;.
See &lt;span style="color: #ff0000;"&gt;"man sudo_root"&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; details.&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Install Docker&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;Don't be tempted to install the Docker version that is bundled in the Ubuntu default repos. Follow the instructions on the Docker site for installing the CE version of Docker from their private repo. &lt;br /&gt;&lt;br /&gt;
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@ddev:~$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;apt-get update&lt;/span&gt;
&lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt; password &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; nigel: 
Hit:&lt;span style="color: #000000;"&gt;1&lt;/span&gt; http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;security.ubuntu.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ubuntu xenial-security InRelease
Hit:&lt;span style="color: #000000;"&gt;2&lt;/span&gt; http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;gb.archive.ubuntu.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ubuntu xenial InRelease
Hit:&lt;span style="color: #000000;"&gt;3&lt;/span&gt; http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;gb.archive.ubuntu.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ubuntu xenial-updates InRelease
Hit:&lt;span style="color: #000000;"&gt;4&lt;/span&gt; http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;gb.archive.ubuntu.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ubuntu xenial-backports InRelease
Reading package lists... Done &lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Install packages to allow apt to use a repository over HTTPS
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@ddev:~$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;apt-get install&lt;/span&gt; \
&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt;     apt-transport-https \
&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt;     ca-certificates \
&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt;     curl \
&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt;     software-properties-common
Reading package lists... Done
Building dependency &lt;span style="color: #c20cb9; font-weight: bold;"&gt;tree&lt;/span&gt;       
Reading state information... Done
apt-transport-https is already the newest version &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;1.2.25&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;.
ca-certificates is already the newest version &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;20170717&lt;/span&gt;~16.04.1&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;.
curl is already the newest version &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;7.47.0-1ubuntu2.6&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;.
software-properties-common is already the newest version &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;0.96.20.7&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;.
&lt;span style="color: #000000;"&gt;0&lt;/span&gt; to upgrade, &lt;span style="color: #000000;"&gt;0&lt;/span&gt; to newly &lt;span style="color: #c20cb9; font-weight: bold;"&gt;install&lt;/span&gt;, &lt;span style="color: #000000;"&gt;0&lt;/span&gt; to remove and &lt;span style="color: #000000;"&gt;2&lt;/span&gt; not to upgrade.&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
That's good. Nothing to do there. Now let's add Docker’s official GPG key:
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@ddev:~$ &lt;/span&gt;curl &lt;span style="color: #660033;"&gt;-fsSL&lt;/span&gt; https:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;download.docker.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;linux&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ubuntu&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;gpg &lt;span style="color: #000000; font-weight: bold;"&gt;|&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;apt-key add&lt;/span&gt; -
OK&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Now I need to verify that we have the key with the fingerprint 9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88, by searching for the last 8 characters of the fingerprint.
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@ddev:~$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;apt-key&lt;/span&gt; fingerprint 0EBFCD88
pub   4096R&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;0EBFCD88 &lt;span style="color: #000000;"&gt;2017&lt;/span&gt;-02-&lt;span style="color: #000000;"&gt;22&lt;/span&gt;
      Key fingerprint = 9DC8 &lt;span style="color: #000000;"&gt;5822&lt;/span&gt; 9FC7 DD38 854A  E2D8 8D81 803C 0EBF CD88
uid                  Docker Release &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;CE deb&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;&lt;&lt;/span&gt;docker&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;docker.com&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt;
sub   4096R&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;F273FCD8 &lt;span style="color: #000000;"&gt;2017&lt;/span&gt;-02-&lt;span style="color: #000000;"&gt;22&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
All good. Next the following command to set up the stable repository.
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@ddev:~$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; add-apt-repository \
&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt;    &lt;span style="color: #ff0000;"&gt;"deb [arch=amd64] https://download.docker.com/linux/ubuntu &lt;span style="color: #000099; font-weight: bold;"&gt;\
&lt;/span&gt;&gt;    &lt;span style="color: #007800;"&gt;$(lsb_release -cs)&lt;/span&gt; &lt;span style="color: #000099; font-weight: bold;"&gt;\
&lt;/span&gt;&gt;    stable"&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Update apt again
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@ddev:~$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;apt-get update&lt;/span&gt;
Hit:&lt;span style="color: #000000;"&gt;1&lt;/span&gt; http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;security.ubuntu.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ubuntu xenial-security InRelease
Hit:&lt;span style="color: #000000;"&gt;2&lt;/span&gt; http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;gb.archive.ubuntu.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ubuntu xenial InRelease
Hit:&lt;span style="color: #000000;"&gt;3&lt;/span&gt; http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;gb.archive.ubuntu.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ubuntu xenial-updates InRelease
Hit:&lt;span style="color: #000000;"&gt;4&lt;/span&gt; http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;gb.archive.ubuntu.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ubuntu xenial-backports InRelease
Get:&lt;span style="color: #000000;"&gt;5&lt;/span&gt; https:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;download.docker.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;linux&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ubuntu xenial InRelease &lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;&lt;span style="color: #000000;"&gt;65.8&lt;/span&gt; kB&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt;
Get:&lt;span style="color: #000000;"&gt;6&lt;/span&gt; https:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;download.docker.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;linux&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ubuntu xenial&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;stable amd64 Packages &lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;&lt;span style="color: #000000;"&gt;3&lt;/span&gt;,&lt;span style="color: #000000;"&gt;329&lt;/span&gt; B&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt;
Fetched &lt;span style="color: #000000;"&gt;69.1&lt;/span&gt; kB &lt;span style="color: #000000; font-weight: bold;"&gt;in&lt;/span&gt; 0s &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;140&lt;/span&gt; kB&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;s&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
Reading package lists... Done&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Again we are looking good - we can see it's picked up the Docker repo ok. Let's install the latest version of Docker. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@ddev:~$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;apt-get update&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Let's check it's working..
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@ddev:~$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; docker run hello-world
&lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt; password &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; nigel: 
Unable to &lt;span style="color: #c20cb9; font-weight: bold;"&gt;find&lt;/span&gt; image &lt;span style="color: #ff0000;"&gt;'hello-world:latest'&lt;/span&gt; locally
latest: Pulling from library&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;hello-world
ca4f61b1923c: Pull &lt;span style="color: #7a0874; font-weight: bold;"&gt;complete&lt;/span&gt; 
Digest: sha256:083de497cff944f969d8499ab94f07134c50bcf5e6b9559b27182d3fa80ce3f7
Status: Downloaded newer image &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; hello-world:latest
 
Hello from Docker&lt;span style="color: #000000; font-weight: bold;"&gt;!&lt;/span&gt;
This message shows that your installation appears to be working correctly.&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Success! Now we need docker-compose installing. Again, don't be tempted to install from the standard Ubuntu repos, because if you do with Ubuntu 16.04LTS you'll end up with docker-compose version 1.8.0 which does not meet the ddev requirements. So do it the proper way!
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@ddev:~$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; curl &lt;span style="color: #660033;"&gt;-L&lt;/span&gt; https:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;github.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;docker&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;compose&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;releases&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;download&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;1.19.0&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;docker-compose-&lt;span style="color: #000000; font-weight: bold;"&gt;`&lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;uname&lt;/span&gt; -s&lt;span style="color: #000000; font-weight: bold;"&gt;`&lt;/span&gt;-&lt;span style="color: #000000; font-weight: bold;"&gt;`&lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;uname&lt;/span&gt; -m&lt;span style="color: #000000; font-weight: bold;"&gt;`&lt;/span&gt; &lt;span style="color: #660033;"&gt;-o&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;usr&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;local&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;bin&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;docker-compose
  &lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt; Total    &lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt; Received &lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt; Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
&lt;span style="color: #000000;"&gt;100&lt;/span&gt;   &lt;span style="color: #000000;"&gt;617&lt;/span&gt;    &lt;span style="color: #000000;"&gt;0&lt;/span&gt;   &lt;span style="color: #000000;"&gt;617&lt;/span&gt;    &lt;span style="color: #000000;"&gt;0&lt;/span&gt;     &lt;span style="color: #000000;"&gt;0&lt;/span&gt;    &lt;span style="color: #000000;"&gt;795&lt;/span&gt;      &lt;span style="color: #000000;"&gt;0&lt;/span&gt; --:--:-- --:--:-- --:--:--   &lt;span style="color: #000000;"&gt;795&lt;/span&gt;
&lt;span style="color: #000000;"&gt;100&lt;/span&gt; 8288k  &lt;span style="color: #000000;"&gt;100&lt;/span&gt; 8288k    &lt;span style="color: #000000;"&gt;0&lt;/span&gt;     &lt;span style="color: #000000;"&gt;0&lt;/span&gt;   355k      &lt;span style="color: #000000;"&gt;0&lt;/span&gt;  &lt;span style="color: #000000;"&gt;0&lt;/span&gt;:00:&lt;span style="color: #000000;"&gt;23&lt;/span&gt;  &lt;span style="color: #000000;"&gt;0&lt;/span&gt;:00:&lt;span style="color: #000000;"&gt;23&lt;/span&gt; --:--:--  196k&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Now make it executable
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@ddev:~$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;chmod&lt;/span&gt; +x &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;usr&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;local&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;bin&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;docker-compose&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Let's see the version
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@ddev:~$ &lt;/span&gt;docker-compose &lt;span style="color: #660033;"&gt;--version&lt;/span&gt;
docker-compose version 1.19.0, build 9e633ef&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Neat! We are almost there. Now we need to make sure Docker starts every time we boot the machine.
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;ddev:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;projects&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;meedjum$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; systemctl &lt;span style="color: #7a0874; font-weight: bold;"&gt;enable&lt;/span&gt; docker
Synchronizing state of docker.service with SysV init with &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;lib&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;systemd&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;systemd-sysv-install...
Executing &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;lib&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;systemd&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;systemd-sysv-install &lt;span style="color: #7a0874; font-weight: bold;"&gt;enable&lt;/span&gt; docker&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Before I am done here, I need to add myself to the Docker group so I can execute Docker commands (or rather ddev can on my behalf)
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@ddev:~/projects/meedjum$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; usermod &lt;span style="color: #660033;"&gt;-aG&lt;/span&gt; docker $&lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;whoami&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Rebooting will now serve two purposes - check that the above command works which will start Docker, and make sure my new group status has been picked up. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;ddev:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;projects&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;meedjum$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;su&lt;/span&gt;
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;ddev:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;home&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;projects&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;meedjum&lt;span style="color: #666666; font-style: italic;"&gt;# init 6&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Installing ddev&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;There are two ways of installing ddev - by downloading from the repository's &lt;a href="https://github.com/drud/ddev/releases"&gt;releases&lt;/a&gt; - or use the install script in the &lt;a href="https://ddev.readthedocs.io/en/latest/"&gt;ddev&lt;/a&gt; documentation. I opted for the latter. &lt;/p&gt;
&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@ddev:~$ &lt;/span&gt;curl https:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;raw.githubusercontent.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;drud&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ddev&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;master&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;install_ddev.sh &lt;span style="color: #000000; font-weight: bold;"&gt;|&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;bash&lt;/span&gt;
  &lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt; Total    &lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt; Received &lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt; Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
&lt;span style="color: #000000;"&gt;100&lt;/span&gt;  &lt;span style="color: #000000;"&gt;2545&lt;/span&gt;  &lt;span style="color: #000000;"&gt;100&lt;/span&gt;  &lt;span style="color: #000000;"&gt;2545&lt;/span&gt;    &lt;span style="color: #000000;"&gt;0&lt;/span&gt;     &lt;span style="color: #000000;"&gt;0&lt;/span&gt;   &lt;span style="color: #000000;"&gt;5821&lt;/span&gt;      &lt;span style="color: #000000;"&gt;0&lt;/span&gt; --:--:-- --:--:-- --:--:--  &lt;span style="color: #000000;"&gt;5823&lt;/span&gt;
ddev_linux.v0.15.0.tar.gz: OK
Download verified. Ready to place ddev &lt;span style="color: #000000; font-weight: bold;"&gt;in&lt;/span&gt; your &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;usr&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;local&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;bin.
Running &lt;span style="color: #ff0000;"&gt;"sudo mv /tmp/ddev /usr/local/bin/"&lt;/span&gt; Please enter your password &lt;span style="color: #000000; font-weight: bold;"&gt;if&lt;/span&gt; prompted.
&lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt; password &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; nigel: 
Bash completion &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; ddev was not installed. You may manually &lt;span style="color: #c20cb9; font-weight: bold;"&gt;install&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;tmp&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ddev_bash_completion.sh &lt;span style="color: #000000; font-weight: bold;"&gt;in&lt;/span&gt; your bash_completions.d directory.
ddev is now installed. Run &lt;span style="color: #ff0000;"&gt;"ddev"&lt;/span&gt; to verify your installation and see usage.&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Installed - now check our installation
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@ddev:~$ &lt;/span&gt;ddev
This Command Line Interface &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;CLI&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; gives you the ability to interact with the ddev to create a development environment.
 
Usage:
  ddev &lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;command&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt;
 
Available Commands:
  auth-pantheon Provide a machine token &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; the global pantheon auth.
  config        Create or modify a ddev project configuration &lt;span style="color: #000000; font-weight: bold;"&gt;in&lt;/span&gt; the current directory
  describe      Get a detailed description of a running ddev project.
  &lt;span style="color: #7a0874; font-weight: bold;"&gt;exec&lt;/span&gt;          Execute a shell &lt;span style="color: #7a0874; font-weight: bold;"&gt;command&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;in&lt;/span&gt; the container &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; a service. Uses the web service by default.
  &lt;span style="color: #7a0874; font-weight: bold;"&gt;help&lt;/span&gt;          Help about any &lt;span style="color: #7a0874; font-weight: bold;"&gt;command&lt;/span&gt;
  &lt;span style="color: #c20cb9; font-weight: bold;"&gt;hostname&lt;/span&gt;      Manage your hostfile entries.
  import-db     Import the database of an existing project to the dev environment.
  import-files  Import the uploaded files directory of an existing project to the default public upload directory of your project.
  list          List projects
  logs          Get the logs from your running services.
  pull          Import files and database using a configured provider plugin.
  remove        Remove the development environment &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; a project.
  restart       Restart the development environment &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; a project.
  &lt;span style="color: #c20cb9; font-weight: bold;"&gt;ssh&lt;/span&gt;           Starts a shell session &lt;span style="color: #000000; font-weight: bold;"&gt;in&lt;/span&gt; the container &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; a service. Uses web service by default.
  start         Start a ddev project.
  stop          Stop the development environment &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; a project.
  version       print ddev version and component versions
 
Flags:
  -h, &lt;span style="color: #660033;"&gt;--help&lt;/span&gt;          &lt;span style="color: #7a0874; font-weight: bold;"&gt;help&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; ddev
  -j, &lt;span style="color: #660033;"&gt;--json-output&lt;/span&gt;   If &lt;span style="color: #c20cb9; font-weight: bold;"&gt;true&lt;/span&gt;, user-oriented output will be &lt;span style="color: #000000; font-weight: bold;"&gt;in&lt;/span&gt; JSON format.
 
Use &lt;span style="color: #ff0000;"&gt;"ddev [command] --help"&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;more&lt;/span&gt; information about a command.&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
We have it!&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Getting Started with an Existing Drupal 8 Project&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;This blog has been built using Drupal 8 - so it made sense to use this for my first project. Let's create a directory for my projects and git clone. At this point I had already created a new .ssh key for my ddev VM and added it to my GitHub profile.
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@ddev:~$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;mkdir&lt;/span&gt; projects
&lt;span style="color: #666666;"&gt;nigel@ddev:~$ &lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;cd&lt;/span&gt; projects&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;
nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;ddev:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;projects$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;git clone&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;git&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;github.com:sanddevil&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;meedjum.git
Cloning into &lt;span style="color: #ff0000;"&gt;'meedjum'&lt;/span&gt;...&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Now let's cd into the project and config ddev for our Drupal 8 through its interactive shell. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;ddev:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;projects&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;meedjum$ ddev config
Creating a new ddev project config &lt;span style="color: #000000; font-weight: bold;"&gt;in&lt;/span&gt; the current directory &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;home&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;projects&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;meedjum&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; 
Once completed, your configuration will be written to &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;home&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;projects&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;meedjum&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;.ddev&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;config.yaml
 
Project name &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;meedjum&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: 
 
The docroot is the directory from &lt;span style="color: #c20cb9; font-weight: bold;"&gt;which&lt;/span&gt; your site is served. This is a relative path from your project root &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;home&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;projects&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;meedjum&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; 
You may leave this value blank &lt;span style="color: #000000; font-weight: bold;"&gt;if&lt;/span&gt; your site files are &lt;span style="color: #000000; font-weight: bold;"&gt;in&lt;/span&gt; the project root 
Docroot Location &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;docroot&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: 
Found a php codebase at &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;home&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;projects&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;meedjum&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;docroot. 
Project Type &lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;php, drupal6, drupal7, drupal8, wordpress, typo3, backdrop&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;php&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: drupal8
Configuration complete. You may now run &lt;span style="color: #ff0000;"&gt;'ddev start'&lt;/span&gt;. &lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
ddev is suggesting I should run start, so why not?
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;ddev:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;projects&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;meedjum$ ddev start
Network ddev_default created 
Starting environment &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; meedjum... 
ddev needs to add an entry to your hostfile.
It will require root privileges via the &lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;command&lt;/span&gt;, so you may be required
to enter your password &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; sudo. ddev is about to issue the command: 
    &lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;usr&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;local&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;bin&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ddev &lt;span style="color: #c20cb9; font-weight: bold;"&gt;hostname&lt;/span&gt; meedjum.ddev.local 127.0.0.1 
Please enter your password &lt;span style="color: #000000; font-weight: bold;"&gt;if&lt;/span&gt; prompted. 
Running Command  &lt;span style="color: #007800;"&gt;Command&lt;/span&gt;=&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;usr&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;local&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;bin&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ddev &lt;span style="color: #c20cb9; font-weight: bold;"&gt;hostname&lt;/span&gt; meedjum.ddev.local 127.0.0.1
&lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt; password &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; nigel: 
Pulling db &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;drud&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;mariadb-local:v0.8.0&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;... 
Creating ddev-meedjum-db ... &lt;span style="color: #000000; font-weight: bold;"&gt;done&lt;/span&gt;
Pulling dba &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;drud&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;phpmyadmin:v0.2.0&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;... 
Creating ddev-meedjum-web ... &lt;span style="color: #000000; font-weight: bold;"&gt;done&lt;/span&gt;
Creating ddev-meedjum-dba ...  
Creating ddev-meedjum-web ...  
 
Network ddev_default is external, skipping 
Pulling ddev-router &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;drud&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ddev-router:v0.5.0&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;... 
Creating ddev-router ... &lt;span style="color: #000000; font-weight: bold;"&gt;done&lt;/span&gt;
 
Successfully started meedjum 
Your project can be reached at http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;meedjum.ddev.local and https:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;meedjum.ddev.local &lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Installing Composer&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;Drupal 8 requires composer and that needs installing on our clean system. There are plenty of tutorials online on how to achieve this, so I'll whizz through this quickly. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@ddev:~$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;apt-get update&lt;/span&gt;
Hit:&lt;span style="color: #000000;"&gt;1&lt;/span&gt; http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;security.ubuntu.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ubuntu xenial-security InRelease
Hit:&lt;span style="color: #000000;"&gt;2&lt;/span&gt; http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;gb.archive.ubuntu.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ubuntu xenial InRelease
Hit:&lt;span style="color: #000000;"&gt;3&lt;/span&gt; http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;gb.archive.ubuntu.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ubuntu xenial-updates InRelease
Hit:&lt;span style="color: #000000;"&gt;4&lt;/span&gt; http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;gb.archive.ubuntu.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ubuntu xenial-backports InRelease
Hit:&lt;span style="color: #000000;"&gt;5&lt;/span&gt; https:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;download.docker.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;linux&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ubuntu xenial InRelease
Reading package lists... Done&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Install the dependencies
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@ddev:~$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;apt-get install&lt;/span&gt; curl php-cli php-mbstring &lt;span style="color: #c20cb9; font-weight: bold;"&gt;git&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;unzip&lt;/span&gt;
Reading package lists... Done&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Download composer
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@ddev:~$ &lt;/span&gt;curl &lt;span style="color: #660033;"&gt;-sS&lt;/span&gt; https:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;getcomposer.org&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;installer &lt;span style="color: #660033;"&gt;-o&lt;/span&gt; composer-setup.php&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Install it globally
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@ddev:~$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; php composer-setup.php &lt;span style="color: #660033;"&gt;--install-dir&lt;/span&gt;=&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;usr&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;local&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;bin &lt;span style="color: #660033;"&gt;--filename&lt;/span&gt;=composer
All settings correct &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; using Composer
Downloading...
 
Composer &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;version 1.6.3&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; successfully installed to: &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;usr&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;local&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;bin&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;composer
Use it: php &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;usr&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;local&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;bin&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;composer&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Now check it's been installed correctly
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@ddev:~$ &lt;/span&gt;composer
   ______
  &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; ____&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;___  ____ ___  ____  ____  ________  _____
 &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;   &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; __ \&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; __ &lt;span style="color: #000000; font-weight: bold;"&gt;`&lt;/span&gt;__ \&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; __ \&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; __ \&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; ___&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; _ \&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; ___&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;
&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;___&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;_&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;_&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;_&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;__  &lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;  __&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;
\____&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;\____&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;_&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;_&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;_&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; .___&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;\____&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;____&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;\___&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;_&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;
                    &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;_&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;
Composer version 1.6.3 &lt;span style="color: #000000;"&gt;2018&lt;/span&gt;-01-&lt;span style="color: #000000;"&gt;31&lt;/span&gt; &lt;span style="color: #000000;"&gt;16&lt;/span&gt;:&lt;span style="color: #000000;"&gt;28&lt;/span&gt;:&lt;span style="color: #000000;"&gt;17&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Building Out the Drupal 8 Project&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;The &lt;i&gt;ddev start&lt;/i&gt; command creates a new subdirectory called &lt;strong&gt;.ddev&lt;/strong&gt; in the project's root directory. Within the directory we have &lt;strong&gt;config.yaml&lt;/strong&gt; and  &lt;strong&gt;docker-compose.yaml&lt;/strong&gt;. The config file contains the configuration of our ddev project such as the version of PHP, webpage url, type of project (drupal8) amongst other items. The docker yaml file contains the container configuration. &lt;/p&gt;
&lt;p&gt;Interaction with the ddev project can be accomplished in two ways, either with &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;ddev exec &lt;em&gt;command&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;or by spawning a shell with&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;ddev ssh&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;and using &lt;strong&gt;exit&lt;/strong&gt; to terminate the interactive session. &lt;/p&gt;
&lt;p&gt;Our first requirement is to get dependencies into our D8 project since it is vendor-ised and uses &lt;strong&gt;composer&lt;/strong&gt; as its dependency management.&lt;/p&gt;
&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;Ok my Drupal core was on 8.4.4 and 8.4.5 and then 8.5 had been released so it needed updating, and in my case would update to 8.4.5 initially 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;ddev:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;projects&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;meedjum&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;docroot$ composer update &lt;span style="color: #660033;"&gt;--with-dependencies&lt;/span&gt;
Gathering patches &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; root package.
Loading composer repositories with package information
Updating dependencies &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;including require-dev&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
Package operations: &lt;span style="color: #000000;"&gt;51&lt;/span&gt; installs, &lt;span style="color: #000000;"&gt;0&lt;/span&gt; updates, &lt;span style="color: #000000;"&gt;0&lt;/span&gt; removals
Gathering patches &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; root package.
Gathering patches &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; dependencies. This might take a minute.&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Now since there were schema changes, those need to be applied. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;ddev:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;projects&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;meedjum&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;docroot$ ddev &lt;span style="color: #7a0874; font-weight: bold;"&gt;exec&lt;/span&gt; drush &lt;span style="color: #c20cb9; font-weight: bold;"&gt;updatedb&lt;/span&gt;
Performing node_update_8401                                          &lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;ok&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt; 
Cache rebuild complete.                                              &lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;ok&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt; 
Finished performing updates.                                         &lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;ok&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt; 
The following updates are pending:
 
node module : 
  &lt;span style="color: #000000;"&gt;8401&lt;/span&gt; -   Run a node access rebuild, &lt;span style="color: #000000; font-weight: bold;"&gt;if&lt;/span&gt; required. 
 
Do you wish to run all pending updates? &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;y&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;n&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: y&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Settings.php&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;This is where things started to go awry. I already have a fully constructed &lt;strong&gt;settings.php&lt;/strong&gt; and &lt;strong&gt;settings.local.php&lt;/strong&gt;. The settings.php file contains my Memcached settings. However the memcache(d) PHP libraries aren't shipped in the ddev product. Obviously by that fact ddev doesn't support Memcached. &lt;/p&gt;
&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;When I attempted a drush status command I was inundated with errors. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;ddev:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;projects&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;meedjum&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;docroot&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;sites&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;default$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;vi&lt;/span&gt; settings.local.php
nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;ddev:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;projects&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;meedjum&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;docroot&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;sites&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;default$ ddev &lt;span style="color: #7a0874; font-weight: bold;"&gt;exec&lt;/span&gt; drush status
Drupal\memcache\MemcacheException: No Memcache extension found &lt;span style="color: #000000; font-weight: bold;"&gt;in&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;var&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;www&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;docroot&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;modules&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;contrib&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;memcache&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;src&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;DrupalMemcacheFactory.php on line &lt;span style="color: #000000;"&gt;162&lt;/span&gt; &lt;span style="color: #666666; font-style: italic;"&gt;#0 /var/www/html/docroot/modules/contrib/memcache/src/DrupalMemcacheFactory.php(62): Drupal\memcache\DrupalMemcacheFactory-&gt;initialize() &lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
As a consequence I commented out the Memcache settings
&lt;div class="codeblock geshifilter"&gt;&lt;code&gt;&lt;span style="color: #000000"&gt;&lt;span style="color: #0000BB"&gt;&lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #FF8000"&gt;// Memcache&lt;br /&gt;//Memcache configuration&lt;br /&gt;//$settings['memcache']['servers'] = ['127.0.0.1:11211' =&gt; 'default'];&lt;br /&gt;//$settings['memcache']['bins'] = ['default' =&gt; 'default'];&lt;br /&gt;//$settings['memcache']['key_prefix'] = 'badzillad8';&lt;br /&gt;//$settings['cache']['default'] = 'cache.backend.memcache';&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;?&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Importing the Database&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;The next problem is ddev looks for the db credentials in settings.php whereas I have my credentials in my settings.local.php file. I changed the credentials in the settings.local.php file and I copied my database file to the /tmp directory. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;ddev:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;projects&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;meedjum&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;docroot&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;sites&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;default$ ddev import-db  &lt;span style="color: #660033;"&gt;--extract-path&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;tmp
Provide the path to the database you wish to import. 
Import path: &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;tmp&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;db-&lt;span style="color: #000000;"&gt;2018&lt;/span&gt;-03-&lt;span style="color: #000000;"&gt;10&lt;/span&gt;.sql.gz
Failed to import database &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; meedjum: failed to &lt;span style="color: #c20cb9; font-weight: bold;"&gt;write&lt;/span&gt; settings &lt;span style="color: #c20cb9; font-weight: bold;"&gt;file&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; meedjum: Failed to get Drupal settings &lt;span style="color: #c20cb9; font-weight: bold;"&gt;file&lt;/span&gt; path: settings files already exist and are being managed by the user &lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
More errors! The import failed. I thought it could be because it required the credentials in settings.php but that didn't work either. So I decided to use Drush instead:
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@ddev:~/projects/meedjum/docroot/sites/default$ &lt;/span&gt;ddev &lt;span style="color: #7a0874; font-weight: bold;"&gt;exec&lt;/span&gt; drush sql-cli &lt;span style="color: #000000; font-weight: bold;"&gt;&lt;&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;tmp&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;db-&lt;span style="color: #000000;"&gt;2018&lt;/span&gt;-03-&lt;span style="color: #000000;"&gt;10&lt;/span&gt;.sql&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;HTTP Port Forwarding&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-03/Screen%20Shot%202018-03-10%20at%2015.46.21.png?itok=hMzNpeQj 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-03/Screen%20Shot%202018-03-10%20at%2015.46.21.png?itok=19ElDITG 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-03/Screen%20Shot%202018-03-10%20at%2015.46.21.png?itok=stTO3iQK 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2018-03/Screen%20Shot%202018-03-10%20at%2015.46.21.png?itok=Kmlp-Ivk 1526w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-03/Screen%20Shot%202018-03-10%20at%2015.46.21.png?itok=hMzNpeQj" alt="HTTP Port Forward" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-03/Screen%20Shot%202018-03-10%20at%2017.03.59.png?itok=paAus2c1 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-03/Screen%20Shot%202018-03-10%20at%2017.03.59.png?itok=1lyjZtih 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-03/Screen%20Shot%202018-03-10%20at%2017.03.59.png?itok=o7fpGydO 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2018-03/Screen%20Shot%202018-03-10%20at%2017.03.59.png?itok=u7dhNeop 1326w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-03/Screen%20Shot%202018-03-10%20at%2017.03.59.png?itok=paAus2c1" alt="Localhost domain" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-03/Screen%20Shot%202018-03-10%20at%2017.16.13.png?itok=vZm4Hvoe 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-03/Screen%20Shot%202018-03-10%20at%2017.16.13.png?itok=f3fWRXdM 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-03/Screen%20Shot%202018-03-10%20at%2017.16.13.png?itok=1PaW4psd 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2018-03/Screen%20Shot%202018-03-10%20at%2017.16.13.png?itok=eHu0PxkP 1688w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-03/Screen%20Shot%202018-03-10%20at%2017.16.13.png?itok=vZm4Hvoe" alt="Error 40x" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;Just like our earlier forwarding of the ssh port so we can log into the VM, we also have to forward http port 80 traffic. To do this, we go back to the virtual machine network configuration, and set up a redirect from port 9090 (somewhat arbitrary) on the host to port 80 on the guest. See the first screenshot. This will take us to the the default website on the VM. We need to explicitly tell a browser which site it is - to do that we add an entry on the machine where we will be using our browser - which in my case will be my MacBook.
&lt;br /&gt;&lt;br /&gt;
So I have added the entry to /etc/hosts of the working ddev domain name and the localhost IP address
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;127.0.0.1       localhost
255.255.255.255 broadcasthost
::&lt;span style="color: #000000;"&gt;1&lt;/span&gt;             localhost
 
127.0.0.1 meedjum.ddev.local&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Now we need to reboot our VM and then login back in and issue a ddev start on our project. We can also check whether everything is good with a docker ps command. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;ddev:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;home&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nigel&lt;span style="color: #666666; font-style: italic;"&gt;# init 6&lt;/span&gt;
Connection to 127.0.0.1 closed by remote host.
Connection to 127.0.0.1 closed.
Nigels-MacBook-Pro:tmp nigel$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;ssh&lt;/span&gt; &lt;span style="color: #660033;"&gt;-p&lt;/span&gt; &lt;span style="color: #000000;"&gt;2222&lt;/span&gt; nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;127.0.0.1
&lt;span style="color: #666666;"&gt;nigel@ddev:~$ &lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;cd&lt;/span&gt; projects&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;meedjum&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;
nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;ddev:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;projects&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;meedjum$ ddev start
Starting environment &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; meedjum... 
nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;ddev:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;projects&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;meedjum$ docker &lt;span style="color: #c20cb9; font-weight: bold;"&gt;ps&lt;/span&gt;
CONTAINER ID        IMAGE                             COMMAND                  CREATED             STATUS                             PORTS                                                                                      NAMES
5fd9a60cb90c        drud&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;ddev-router:v0.5.0           &lt;span style="color: #ff0000;"&gt;"/app/docker-entrypo…"&lt;/span&gt;   &lt;span style="color: #000000;"&gt;10&lt;/span&gt; seconds ago      Up &lt;span style="color: #000000;"&gt;10&lt;/span&gt; seconds &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;healthy&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;            0.0.0.0:&lt;span style="color: #000000;"&gt;80&lt;/span&gt;-&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;80&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;tcp, 0.0.0.0:&lt;span style="color: #000000;"&gt;443&lt;/span&gt;-&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;443&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;tcp, 0.0.0.0:&lt;span style="color: #000000;"&gt;8025&lt;/span&gt;-&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;8025&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;tcp, 0.0.0.0:&lt;span style="color: #000000;"&gt;8036&lt;/span&gt;-&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;8036&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;tcp   ddev-router
cea77b7cbc6b        drud&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nginx-php-fpm-local:v1.1.0   &lt;span style="color: #ff0000;"&gt;"/start.sh"&lt;/span&gt;              &lt;span style="color: #000000;"&gt;7&lt;/span&gt; hours ago         Up &lt;span style="color: #000000;"&gt;11&lt;/span&gt; seconds &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;healthy&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;            &lt;span style="color: #000000;"&gt;443&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;tcp, 0.0.0.0:&lt;span style="color: #000000;"&gt;32771&lt;/span&gt;-&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;80&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;tcp, 0.0.0.0:&lt;span style="color: #000000;"&gt;32770&lt;/span&gt;-&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;8025&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;tcp                                    ddev-meedjum-web
2dc08e116820        drud&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;phpmyadmin:v0.2.0            &lt;span style="color: #ff0000;"&gt;"/run.sh phpmyadmin"&lt;/span&gt;     &lt;span style="color: #000000;"&gt;7&lt;/span&gt; hours ago         Up &lt;span style="color: #000000;"&gt;11&lt;/span&gt; seconds &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;health: starting&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;   0.0.0.0:&lt;span style="color: #000000;"&gt;32769&lt;/span&gt;-&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;80&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;tcp                                                                      ddev-meedjum-dba
f239a52ae806        drud&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;mariadb-local:v0.8.0         &lt;span style="color: #ff0000;"&gt;"/docker-entrypoint.…"&lt;/span&gt;   &lt;span style="color: #000000;"&gt;7&lt;/span&gt; hours ago         Up &lt;span style="color: #000000;"&gt;12&lt;/span&gt; seconds &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;healthy&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;            0.0.0.0:&lt;span style="color: #000000;"&gt;32768&lt;/span&gt;-&lt;span style="color: #000000; font-weight: bold;"&gt;&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;3306&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;tcp                                                                    ddev-meedjum-db&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
We can now point a web browser at the url we typed into our /etc/hosts file - see third image above. Ok - so we are close but not quite there yet! Looks like this could be the old trusted host pattern issue since it doesn't know about my domain meedjum.ddev.test.&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Add ddev Domain to Trusted Hosts in Settings.php&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;...or rather in my case my settings.local.php file. I added the ddev domain name to the trusted hosts pattern array
&lt;div class="codeblock geshifilter"&gt;&lt;code&gt;&lt;span style="color: #000000"&gt;&lt;span style="color: #0000BB"&gt;&lt;?php&lt;br /&gt;$settings&lt;/span&gt;&lt;span style="color: #007700"&gt;[&lt;/span&gt;&lt;span style="color: #DD0000"&gt;'trusted_host_patterns'&lt;/span&gt;&lt;span style="color: #007700"&gt;] = [&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: #DD0000"&gt;'meedjum.test'&lt;/span&gt;&lt;span style="color: #007700"&gt;,&lt;br /&gt;  &lt;/span&gt;&lt;span style="color: #DD0000"&gt;'meedjum.ddev.local'&lt;/span&gt;&lt;span style="color: #007700"&gt;,&lt;br /&gt;];&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #0000BB"&gt;?&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Copying the Assets&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-03/Screen%20Shot%202018-03-11%20at%2009.26.38.png?itok=pQrRE3Ve 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-03/Screen%20Shot%202018-03-11%20at%2009.26.38.png?itok=3T_aByhp 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-03/Screen%20Shot%202018-03-11%20at%2009.26.38.png?itok=bU1BJaRD 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2018-03/Screen%20Shot%202018-03-11%20at%2009.26.38.png?itok=mYJLCWoc 2444w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-03/Screen%20Shot%202018-03-11%20at%2009.26.38.png?itok=pQrRE3Ve" alt="No images" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;Adding the trusted host entry now means the web site loads successfully but of course the assets are missing and need copying down from my prod site. ddev provides a command for this:
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;ddev:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;projects&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;meedjum&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;docroot$ ddev import-files &lt;span style="color: #660033;"&gt;--src&lt;/span&gt;=&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;tmp&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;files.tar.gz
Successfully imported files &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; meedjum &lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
100% my fault, but my file structure ended up as sites/default/files/files because I'd tarballed my prod files directory within the tarball, instead of just its contents. So I moved everything back one directory. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;ddev:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;projects&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;meedjum&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;docroot$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;mv&lt;/span&gt; sites&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;default&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;files&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;files&lt;span style="color: #000000; font-weight: bold;"&gt;/*&lt;/span&gt; sites&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;default&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;files&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;.
nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;ddev:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;projects&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;meedjum&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;docroot$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;mv&lt;/span&gt; sites&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;default&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;files&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;files&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;.htaccess sites&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;default&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;files&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;.
nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;ddev:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;projects&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;meedjum&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;docroot$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;rmdir&lt;/span&gt; sites&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;default&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;files&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;files&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Completed Project&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-03/Screen%20Shot%202018-03-11%20at%2010.08.06.png?itok=KRAPhIbF 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-03/Screen%20Shot%202018-03-11%20at%2010.08.06.png?itok=7L9fTv8R 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-03/Screen%20Shot%202018-03-11%20at%2010.08.06.png?itok=6iGL9DEv 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2018-03/Screen%20Shot%202018-03-11%20at%2010.08.06.png?itok=11PErvGZ 2482w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-03/Screen%20Shot%202018-03-11%20at%2010.08.06.png?itok=KRAPhIbF" alt="Complete Blog" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-03/Screen%20Shot%202018-03-11%20at%2010.09.27.png?itok=3UGeLQMw 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-03/Screen%20Shot%202018-03-11%20at%2010.09.27.png?itok=3TCbywLN 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-03/Screen%20Shot%202018-03-11%20at%2010.09.27.png?itok=6899WDN7 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2018-03/Screen%20Shot%202018-03-11%20at%2010.09.27.png?itok=n1x2oYdn 1804w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-03/Screen%20Shot%202018-03-11%20at%2010.09.27.png?itok=3UGeLQMw" alt="Successful Blog" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Ok so in the interim I fixed the missing Font Awesome library - not something I'd noticed before, but obviously it's been gitignored and it isn't in the composer.json file. Anyhoo the site is now fully functional and you can see from the URL bar I need to append the port :9090 as per my previous port forwarding fix. &lt;/p&gt;
&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Verdict&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Playing with ddev was an interesting experience, not without challenges, but ultimately rewarding. Here are some of the points I made as I went along. &lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;The &lt;em&gt;ddev exec &lt;/em&gt;command is run as root. This is a problem because it basically means using composer with it - such as &lt;em&gt;ddev exec composer update &lt;/em&gt;- would trash the file permissions of my codebase. Ownerships would become root, and that would lead to problems down the line. Composer should never be run as root. So the net effect is composer needs to be installed on the host system. Ideally I wanted a totally un-poluted filesystem without installing anything on the host beyond ddev. It also means since composer has a dependency on PHP, that needs to be installed, and now we have a system with different PHP CLI and FPM versions. &lt;/li&gt;
	&lt;li&gt;I couldn't get the &lt;em&gt;ddev import-db &lt;/em&gt;command to work. A minor inconvenience and of course it is easy to  use alternatives with the command line or drush. &lt;/li&gt;
	&lt;li&gt;Now I've got a working system - what next? I have a welter of phing targets to deploy my code, usually invoked by Jenkins. I could add phing at project level but how would I get Jenkins docker-ised up and running across all projects? I sense that could be tricky. &lt;/li&gt;
	&lt;li&gt;I can see ddev's value. I would place it in a small agency with both legacy D6 and D7 support projects alongside new D8 and WP builds. I can't see it as an enterprise solution - there is too much missing such as Memcache and the previously mentioned phing and Jenkins. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;But all in all I really enjoyed my Saturday watching the football whilst playing with ddev and writing this blog - despite my teams losing! &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
          &lt;/div&gt;
  
      &lt;div class="field field--name-field-blog-youtube field--type-entity-reference-revisions field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-text-youtube paragraph--view-mode--default"&gt;
          
      &lt;/div&gt;
&lt;/div&gt;
          &lt;/div&gt;
  
  &lt;div class="field field--name-field-blog-terms field--type-entity-reference field--label-inline"&gt;
    &lt;div class="field--label"&gt;blog terms&lt;/div&gt;
          &lt;span class="field__items"&gt;
              &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/drupal" hreflang="en"&gt;Drupal&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/drupal8" hreflang="en"&gt;Drupal 8&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/drupal7" hreflang="en"&gt;Drupal 7&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/drupal6" hreflang="en"&gt;Drupal 6&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/devops" hreflang="en"&gt;devops&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/docker" hreflang="en"&gt;Docker&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/virtualbox" hreflang="en"&gt;VirtualBox&lt;/a&gt;&lt;/span&gt;
              &lt;/span&gt;
      &lt;/div&gt;
</description>
  <pubDate>Sat, 10 Mar 2018 21:12:50 +0000</pubDate>
    <dc:creator>nigel</dc:creator>
    <guid isPermaLink="false">140 at http://badzilla.co.uk</guid>
    </item>
<item>
  <title>Move Plex Media Server to Linux VM</title>
  <link>http://badzilla.co.uk/move-plex-media-server-linux-vm</link>
  <description>
&lt;span&gt;Move Plex Media Server to Linux VM&lt;/span&gt;

&lt;span&gt;&lt;span lang="" about="http://badzilla.co.uk/user/1" typeof="schema:Person" property="schema:name" datatype="" xml:lang=""&gt;nigel&lt;/span&gt;&lt;/span&gt;

&lt;span&gt;Sun, 18/02/2018 - 13:45&lt;/span&gt;

      &lt;div class="field field--name-field-heading-image-text field--type-entity-reference-revisions field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;I've been playing with Plex Media Server for the last few weeks on my Linux laptop, and much to my surprise it seems to play back any video format I throw at it including DivX and XviD which is the format of a great many of my collection of movies. So buoyed by this I have decided to move the entire Plex configuration to a dedicated Ubuntu virtual machine which will reside on my Intel NUC I reviewed &lt;a href="http://badzilla.co.uk/review-intel-nuc5cpyh-ubuntu-1704-installation"&gt;earlier&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;My Intel NUC is headless, and whilst it is possible to create a VM image on the command line, it is much more convenient to create it on a GUI elsewhere and move it over to the NUC. To that end, I created the VM on my Mac knowing the network configuration would ultimately have to change when the VM is &lt;em&gt;in situ&lt;/em&gt; on the NUC.&lt;/p&gt;
&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;VM Installation&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.06.22.png?itok=QWVWSi_O 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.06.22.png?itok=u8MdqKdT 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.06.22.png?itok=nJXwIi0k 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.06.22.png?itok=CkE9DwOB 1764w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.06.22.png?itok=QWVWSi_O" alt="Name of Operating System" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.10.49.png?itok=CeX7qsJ4 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.10.49.png?itok=Lvv-YDPM 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.10.49.png?itok=jdCqyCLw 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.10.49.png?itok=vuwufk0x 1708w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.10.49.png?itok=CeX7qsJ4" alt="Memory Requirements" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.11.44.png?itok=cmqwU08o 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.11.44.png?itok=BKMFPVv5 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.11.44.png?itok=cz6bwpox 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.11.44.png?itok=CNbeFqu1 1764w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.11.44.png?itok=cmqwU08o" alt="Virtual Disk" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.11.53.png?itok=GGiTIczR 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.11.53.png?itok=mmKV6fea 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.11.53.png?itok=9zTeyZNF 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.11.53.png?itok=iof3f2zo 1764w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.11.53.png?itok=GGiTIczR" alt="VDI" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.12.30.png?itok=a9h6kFO6 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.12.30.png?itok=ETb4wPv3 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.12.30.png?itok=1AcBLMsU 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.12.30.png?itok=KBXnCGgJ 1764w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.12.30.png?itok=a9h6kFO6" alt="Fixed Size" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.13.12.png?itok=QElYHrhT 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.13.12.png?itok=qNjSI08g 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.13.12.png?itok=ST0Y-MKC 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.13.12.png?itok=E-I8WGsT 1764w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.13.12.png?itok=QElYHrhT" alt="10 GB" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;The steps are quite straightforward so there isn't much need for narrative. I had previously downloaded the Ubuntu 16.04 LTS server iso image (more of that in a minute).&lt;/p&gt;

&lt;p&gt;I decided to go for 4GB RAM and 10GB fixed disk size which should be more than adequate. &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Initial Network Connection&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.17.02.png?itok=gnmLNjyI 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.17.02.png?itok=CSkQsdso 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.17.02.png?itok=d-294JOc 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.17.02.png?itok=GgpRgiFC 1526w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.17.02.png?itok=gnmLNjyI" alt="Bridged network connection" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;The initial network connection is set as above. We need a bridged network so I can use my pre-existing 192.168 network in my property. Obviously when the VM is moved to the Intel NIC the AirPort won't be a valid setting at that point - so we'll have to change it then. &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Ubuntu 16.04 Installation&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.18.02.png?itok=XMqP7uf4 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.18.02.png?itok=87eJqvTc 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.18.02.png?itok=OAAuwpI7 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.18.02.png?itok=cSF1hn55 1504w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.18.02.png?itok=XMqP7uf4" alt="Select Ubuntu Image" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.18.32.png?itok=vYIiRzVL 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.18.32.png?itok=aQ18igEw 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.18.32.png?itok=7LDKaEma 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.18.32.png?itok=DGwCdSqU 1504w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.18.32.png?itok=vYIiRzVL" alt="Installation screen" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.23.20.png?itok=k_y9Gigm 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.23.20.png?itok=IAXnzBj_ 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.23.20.png?itok=CkJBdSU0 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.23.20.png?itok=Jc9yi-6b 1824w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-02/Screen%20Shot%202018-02-18%20at%2013.23.20.png?itok=k_y9Gigm" alt="openssh server" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;As mentioned previously, I had already downloaded the Ubuntu 16.04 LTS iso image which is selected for the installation above. Most of the installation screens haven't been captured for brevity because they are straightforward, but note I have selected openSSH server in the software packages to install - this is important since we will need to ssh into our headless Plex server. &lt;/p&gt;

&lt;p&gt;We now need to edit the &lt;strong&gt;/etc/network/interfaces&lt;/strong&gt; file to change the default DHCP IP assignment to static. Your configuration will obviously be different from mine here. I've elected to go for the address of &lt;strong&gt;192.168.0.203&lt;/strong&gt; for my server. &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@plex-media-server:~$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;cat&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;network&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;interfaces
&lt;span style="color: #666666; font-style: italic;"&gt;# This file describes the network interfaces available on your system&lt;/span&gt;
&lt;span style="color: #666666; font-style: italic;"&gt;# and how to activate them. For more information, see interfaces(5).&lt;/span&gt;
 
&lt;span style="color: #7a0874; font-weight: bold;"&gt;source&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;network&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;interfaces.d&lt;span style="color: #000000; font-weight: bold;"&gt;/*&lt;/span&gt;
 
&lt;span style="color: #666666; font-style: italic;"&gt;# The loopback network interface&lt;/span&gt;
auto lo
iface lo inet loopback
 
&lt;span style="color: #666666; font-style: italic;"&gt;# The primary network interface&lt;/span&gt;
auto enp0s3
&lt;span style="color: #666666; font-style: italic;"&gt;# iface enp0s3 inet dhcp&lt;/span&gt;
iface enp0s3 inet static
 address 192.168.0.203
 netmask 255.255.255.0
 network 192.168.0.1
 broadcast 192.168.1.255
 gateway 192.168.0.1
 dns-nameservers 90.207.238.97&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Export the VM&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;I have already covered how to export a VM image in a previous blog &lt;a href="http://badzilla.co.uk/moving-vm-dev-environment-virtualbox-headless"&gt;here&lt;/a&gt;, so I don't need to go into too much detail in this blog. My VM has been exported and now needs to be copied to the NUC host machine using scp. &lt;/p&gt;
&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;Nigels-MacBook-Pro:Documents nigel$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;scp&lt;/span&gt; Plex\ Media\ Server.ova nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;192.168.0.202:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;home&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VM&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;.
nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;192.168.0.202&lt;span style="color: #ff0000;"&gt;'s password: 
Plex Media Server.ova                                                                        100%  604MB   4.1MB/s   02:27    
Nigels-MacBook-Pro:Documents nigel$&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Now log into the host machine and cd into the correct directory and import the VM.
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;devbox:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VM$ VBoxManage import Plex\ Media\ Server.ova 
&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;10&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;20&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;30&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;40&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;50&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;60&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;70&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;80&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;90&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;100&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;
Interpreting &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;home&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VM&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Plex Media Server.ova...
OK.
Disks:
  vmdisk1       &lt;span style="color: #000000;"&gt;10737418240&lt;/span&gt;     &lt;span style="color: #660033;"&gt;-1&lt;/span&gt;      http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;www.vmware.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;interfaces&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;specifications&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;vmdk.html&lt;span style="color: #666666; font-style: italic;"&gt;#streamOptimized       Plex Media Server-disk001.vmdk  -1      -1&lt;/span&gt;
 
Virtual system &lt;span style="color: #000000;"&gt;0&lt;/span&gt;:
 &lt;span style="color: #000000;"&gt;0&lt;/span&gt;: Suggested OS type: &lt;span style="color: #ff0000;"&gt;"Ubuntu_64"&lt;/span&gt;
    &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;change with &lt;span style="color: #ff0000;"&gt;"--vsys 0 --ostype &lt;type&gt;"&lt;/span&gt;; use &lt;span style="color: #ff0000;"&gt;"list ostypes"&lt;/span&gt; to list all possible values&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
 &lt;span style="color: #000000;"&gt;1&lt;/span&gt;: Suggested VM name &lt;span style="color: #ff0000;"&gt;"Plex Media Server"&lt;/span&gt;
    &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;change with &lt;span style="color: #ff0000;"&gt;"--vsys 0 --vmname &lt;name&gt;"&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
 &lt;span style="color: #000000;"&gt;2&lt;/span&gt;: Number of CPUs: &lt;span style="color: #000000;"&gt;1&lt;/span&gt;
    &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;change with &lt;span style="color: #ff0000;"&gt;"--vsys 0 --cpus &lt;n&gt;"&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
 &lt;span style="color: #000000;"&gt;3&lt;/span&gt;: Guest memory: &lt;span style="color: #000000;"&gt;4096&lt;/span&gt; MB
    &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;change with &lt;span style="color: #ff0000;"&gt;"--vsys 0 --memory &lt;MB&gt;"&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
 &lt;span style="color: #000000;"&gt;4&lt;/span&gt;: Sound card &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;appliance expects &lt;span style="color: #ff0000;"&gt;""&lt;/span&gt;, can change on import&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
    &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;disable with &lt;span style="color: #ff0000;"&gt;"--vsys 0 --unit 4 --ignore"&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
 &lt;span style="color: #000000;"&gt;5&lt;/span&gt;: USB controller
    &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;disable with &lt;span style="color: #ff0000;"&gt;"--vsys 0 --unit 5 --ignore"&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
 &lt;span style="color: #000000;"&gt;6&lt;/span&gt;: Network adapter: orig Bridged, config &lt;span style="color: #000000;"&gt;3&lt;/span&gt;, extra &lt;span style="color: #007800;"&gt;slot&lt;/span&gt;=&lt;span style="color: #000000;"&gt;0&lt;/span&gt;;&lt;span style="color: #007800;"&gt;type&lt;/span&gt;=Bridged
 &lt;span style="color: #000000;"&gt;7&lt;/span&gt;: CD-ROM
    &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;disable with &lt;span style="color: #ff0000;"&gt;"--vsys 0 --unit 7 --ignore"&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
 &lt;span style="color: #000000;"&gt;8&lt;/span&gt;: IDE controller, &lt;span style="color: #7a0874; font-weight: bold;"&gt;type&lt;/span&gt; PIIX4
    &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;disable with &lt;span style="color: #ff0000;"&gt;"--vsys 0 --unit 8 --ignore"&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
 &lt;span style="color: #000000;"&gt;9&lt;/span&gt;: IDE controller, &lt;span style="color: #7a0874; font-weight: bold;"&gt;type&lt;/span&gt; PIIX4
    &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;disable with &lt;span style="color: #ff0000;"&gt;"--vsys 0 --unit 9 --ignore"&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
&lt;span style="color: #000000;"&gt;10&lt;/span&gt;: SATA controller, &lt;span style="color: #7a0874; font-weight: bold;"&gt;type&lt;/span&gt; AHCI
    &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;disable with &lt;span style="color: #ff0000;"&gt;"--vsys 0 --unit 10 --ignore"&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
&lt;span style="color: #000000;"&gt;11&lt;/span&gt;: Hard disk image: &lt;span style="color: #7a0874; font-weight: bold;"&gt;source&lt;/span&gt; &lt;span style="color: #007800;"&gt;image&lt;/span&gt;=Plex Media Server-disk001.vmdk, target &lt;span style="color: #007800;"&gt;path&lt;/span&gt;=&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;home&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VirtualBox VMs&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Plex Media Server&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Plex Media Server-disk001.vmdk, &lt;span style="color: #007800;"&gt;controller&lt;/span&gt;=&lt;span style="color: #000000;"&gt;10&lt;/span&gt;;&lt;span style="color: #007800;"&gt;channel&lt;/span&gt;=&lt;span style="color: #000000;"&gt;0&lt;/span&gt;
    &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;change target path with &lt;span style="color: #ff0000;"&gt;"--vsys 0 --unit 11 --disk path"&lt;/span&gt;;
    disable with &lt;span style="color: #ff0000;"&gt;"--vsys 0 --unit 11 --ignore"&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;10&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;20&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;30&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;40&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;50&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;60&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;70&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;80&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;90&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;100&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;
Successfully imported the appliance.&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Now we need to modify the ethernet card settings and the audio as per my previous blog
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;$ VBoxManage modifyvm &lt;span style="color: #ff0000;"&gt;"Plex Media Server"&lt;/span&gt; &lt;span style="color: #660033;"&gt;--nic1&lt;/span&gt; bridged &lt;span style="color: #660033;"&gt;--bridgeadapter1&lt;/span&gt; enp3s0
$ VBoxManage modifyvm &lt;span style="color: #ff0000;"&gt;"Plex Media Server"&lt;/span&gt; &lt;span style="color: #660033;"&gt;--audio&lt;/span&gt; none&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Ok now we need to be sure we are in the correct directory and start up our machine. Once this has been done, it will be possible to ssh into it. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;$ &lt;span style="color: #7a0874; font-weight: bold;"&gt;pwd&lt;/span&gt;
&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;home&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VirtualBox VMs
$ VBoxHeadless &lt;span style="color: #660033;"&gt;--startvm&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;"Plex Media Server"&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;&amp;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Let's try to log into &lt;strong&gt;192.168.0.203&lt;/strong&gt;
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;nigel-Aspire-VN7-793G:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;ssh&lt;/span&gt; nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;192.168.0.203
The authenticity of host &lt;span style="color: #ff0000;"&gt;'192.168.0.203 (192.168.0.203)'&lt;/span&gt; can&lt;span style="color: #ff0000;"&gt;'t be established.
ECDSA key fingerprint is SHA256:BLRRmyijEFgtS+KnkXQUudkdsMskpLrzR19zBugQ2ww.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '&lt;/span&gt;192.168.0.203&lt;span style="color: #ff0000;"&gt;' (ECDSA) to the list of known hosts.
nigel@192.168.0.203'&lt;/span&gt;s password: 
Welcome to Ubuntu 16.04.3 LTS &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;GNU&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Linux 4.4.0-&lt;span style="color: #000000;"&gt;87&lt;/span&gt;-generic x86_64&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
 
 &lt;span style="color: #000000; font-weight: bold;"&gt;*&lt;/span&gt; Documentation:  https:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;help.ubuntu.com
 &lt;span style="color: #000000; font-weight: bold;"&gt;*&lt;/span&gt; Management:     https:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;landscape.canonical.com
 &lt;span style="color: #000000; font-weight: bold;"&gt;*&lt;/span&gt; Support:        https:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;ubuntu.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;advantage
 
&lt;span style="color: #000000;"&gt;127&lt;/span&gt; packages can be updated.
&lt;span style="color: #000000;"&gt;64&lt;/span&gt; updates are security updates.
 
 
Last login: Sun Feb &lt;span style="color: #000000;"&gt;18&lt;/span&gt; &lt;span style="color: #000000;"&gt;19&lt;/span&gt;:&lt;span style="color: #000000;"&gt;58&lt;/span&gt;:&lt;span style="color: #000000;"&gt;43&lt;/span&gt; &lt;span style="color: #000000;"&gt;2018&lt;/span&gt; from 192.168.0.12
&lt;span style="color: #666666;"&gt;nigel@plex-media-server:~$ &lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Success!&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;fstab entry to connect to CIFS partition&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;My FreeNAS server has a CIFS mount point which contains my media collection. It would therefore be useful for the drive to be automatically loaded on boot. A prerequisite for this is the cifs-utils package which will need to be installed. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;apt-get install&lt;/span&gt; cifs.utils&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Next we need to create the mount point directory which will be &lt;strong&gt;/mnt/freenas&lt;/strong&gt;
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;mkdir&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;mnt&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;freenas&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
It would useful to check we can connect first on the command line. So lets type out the required mount command, but first we need to create a credentials file for FreeNAS. This will be owned by the root user and should be placed in the root user's directory and made read only for root. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666; font-style: italic;"&gt;# cat .cifs &lt;/span&gt;
&lt;span style="color: #007800;"&gt;username&lt;/span&gt;=xxxxxx
&lt;span style="color: #007800;"&gt;password&lt;/span&gt;=xxxxxx
&lt;span style="color: #666666; font-style: italic;"&gt;# ls -las .cifs&lt;/span&gt;
&lt;span style="color: #000000;"&gt;4&lt;/span&gt; &lt;span style="color: #660033;"&gt;-r--------&lt;/span&gt; &lt;span style="color: #000000;"&gt;1&lt;/span&gt; root root &lt;span style="color: #000000;"&gt;39&lt;/span&gt; Feb &lt;span style="color: #000000;"&gt;18&lt;/span&gt; &lt;span style="color: #000000;"&gt;21&lt;/span&gt;:&lt;span style="color: #000000;"&gt;37&lt;/span&gt; .cifs&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Now the actual mount command and a follow up directory listing to make sure it has been mounted correctly. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; mount.cifs &lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;192.168.0.200&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;personal  &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;mnt&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;freenas    &lt;span style="color: #660033;"&gt;-o&lt;/span&gt; &lt;span style="color: #007800;"&gt;vers&lt;/span&gt;=&lt;span style="color: #000000;"&gt;3.0&lt;/span&gt;,&lt;span style="color: #007800;"&gt;credentials&lt;/span&gt;=&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;root&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;.cifs,&lt;span style="color: #007800;"&gt;uid&lt;/span&gt;=&lt;span style="color: #000000;"&gt;1000&lt;/span&gt;
$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;ls&lt;/span&gt; &lt;span style="color: #660033;"&gt;-las&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;mnt&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;freenas &lt;span style="color: #000000; font-weight: bold;"&gt;|&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;grep&lt;/span&gt; Documents
     &lt;span style="color: #000000;"&gt;0&lt;/span&gt; drwxr-xr-x &lt;span style="color: #000000;"&gt;2&lt;/span&gt; nigel root         &lt;span style="color: #000000;"&gt;0&lt;/span&gt; Aug &lt;span style="color: #000000;"&gt;14&lt;/span&gt;  &lt;span style="color: #000000;"&gt;2017&lt;/span&gt; Documents&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Now we need to unmount this and add the entry to the &lt;strong&gt;/etc/fstab&lt;/strong&gt; file. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;umount&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;mnt&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;freenas
$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;cat&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;fstab
&lt;span style="color: #666666; font-style: italic;"&gt;# /etc/fstab: static file system information.&lt;/span&gt;
&lt;span style="color: #666666; font-style: italic;"&gt;#&lt;/span&gt;
&lt;span style="color: #666666; font-style: italic;"&gt;# Use 'blkid' to print the universally unique identifier for a&lt;/span&gt;
&lt;span style="color: #666666; font-style: italic;"&gt;# device; this may be used with UUID= as a more robust way to name devices&lt;/span&gt;
&lt;span style="color: #666666; font-style: italic;"&gt;# that works even if disks are added and removed. See fstab(5).&lt;/span&gt;
&lt;span style="color: #666666; font-style: italic;"&gt;#&lt;/span&gt;
&lt;span style="color: #666666; font-style: italic;"&gt;# &lt;file system&gt; &lt;mount point&gt;   &lt;type&gt;  &lt;options&gt;       &lt;dump&gt;  &lt;pass&gt;&lt;/span&gt;
&lt;span style="color: #666666; font-style: italic;"&gt;# / was on /dev/sda1 during installation&lt;/span&gt;
&lt;span style="color: #007800;"&gt;UUID&lt;/span&gt;=600eb961-4caa-4a24-b8cf-c35efdd71ca4 &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;               ext4    &lt;span style="color: #007800;"&gt;errors&lt;/span&gt;=remount-ro &lt;span style="color: #000000;"&gt;0&lt;/span&gt;       &lt;span style="color: #000000;"&gt;1&lt;/span&gt;
&lt;span style="color: #666666; font-style: italic;"&gt;# swap was on /dev/sda5 during installation&lt;/span&gt;
&lt;span style="color: #007800;"&gt;UUID&lt;/span&gt;=523ed080-41af-4dab-839f-070f40c26ada none            swap    sw              &lt;span style="color: #000000;"&gt;0&lt;/span&gt;       &lt;span style="color: #000000;"&gt;0&lt;/span&gt;
 
&lt;span style="color: #666666; font-style: italic;"&gt;# CIFS FreeNas mount&lt;/span&gt;
&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;192.168.0.200&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;personal        &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;mnt&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;freenas    cifs    &lt;span style="color: #007800;"&gt;credentials&lt;/span&gt;=&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;root&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;.cifs,&lt;span style="color: #007800;"&gt;uid&lt;/span&gt;=&lt;span style="color: #000000;"&gt;1000&lt;/span&gt;,&lt;span style="color: #007800;"&gt;vers&lt;/span&gt;=&lt;span style="color: #000000;"&gt;3.0&lt;/span&gt;       &lt;span style="color: #000000;"&gt;0&lt;/span&gt;      &lt;span style="color: #000000;"&gt;0&lt;/span&gt;
$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;mount&lt;/span&gt; &lt;span style="color: #660033;"&gt;-a&lt;/span&gt;
$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;ls&lt;/span&gt; &lt;span style="color: #660033;"&gt;-las&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;mnt&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;freenas &lt;span style="color: #000000; font-weight: bold;"&gt;|&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;grep&lt;/span&gt; Documents
     &lt;span style="color: #000000;"&gt;0&lt;/span&gt; drwxr-xr-x &lt;span style="color: #000000;"&gt;2&lt;/span&gt; nigel root         &lt;span style="color: #000000;"&gt;0&lt;/span&gt; Aug &lt;span style="color: #000000;"&gt;14&lt;/span&gt;  &lt;span style="color: #000000;"&gt;2017&lt;/span&gt; Documents&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
That's another job done! Finally we can think about moving the Plex configuration over to our new VM.&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Commence the Plex Move from Source to Destination&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-02/Screenshot_20180224_094336.png?itok=-eBEK6Ag 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-02/Screenshot_20180224_094336.png?itok=xaV3wqWi 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-02/Screenshot_20180224_094336.png?itok=KaxCLaQT 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2018-02/Screenshot_20180224_094336.png?itok=Le2kHqbI 1920w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-02/Screenshot_20180224_094336.png?itok=-eBEK6Ag" alt="Empty Trash" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Firstly navigate to Settings-&gt;Server-&gt;library and disable the setting &lt;em&gt;Empty trash automatically after every scan&lt;/em&gt; as shown above. Save this setting change. &lt;em&gt; &lt;/em&gt;&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;Stop the Plex Media Server running on the source machine. This is achieved on the command line with 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; service plexmediaserver stop
&lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt; password &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; nigel: 
$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;ps&lt;/span&gt; &lt;span style="color: #660033;"&gt;-ef&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;|&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;grep&lt;/span&gt; plex
nigel     &lt;span style="color: #000000;"&gt;6274&lt;/span&gt;  &lt;span style="color: #000000;"&gt;1647&lt;/span&gt;  &lt;span style="color: #000000;"&gt;0&lt;/span&gt; 09:&lt;span style="color: #000000;"&gt;51&lt;/span&gt; pts&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;    00:00:00 &lt;span style="color: #c20cb9; font-weight: bold;"&gt;grep&lt;/span&gt; &lt;span style="color: #660033;"&gt;--color&lt;/span&gt;=auto plex
$ &lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Note I double checked that there were no Plex services running just in case.&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;install Plex on Destination Machine&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;In my case my destination machine is a VM on my Intel NUC so let's see if the VM is currently running. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@devbox:~$ &lt;/span&gt;VBoxManage list vms
&lt;span style="color: #ff0000;"&gt;"badzilla-d8"&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;{&lt;/span&gt;86af2c61-3b68-47c5-a71e-8f45ac196cbe&lt;span style="color: #7a0874; font-weight: bold;"&gt;}&lt;/span&gt;
&lt;span style="color: #ff0000;"&gt;"Plex Media Server"&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;{&lt;/span&gt;5efa7e7b-ae92-45a9-&lt;span style="color: #000000;"&gt;8244&lt;/span&gt;-bae451b53c0a&lt;span style="color: #7a0874; font-weight: bold;"&gt;}&lt;/span&gt;
&lt;span style="color: #666666;"&gt;nigel@devbox:~$ &lt;/span&gt;VBoxManage list runningvms
&lt;span style="color: #666666;"&gt;nigel@devbox:~$ &lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
So the good news is it is there. The bad news is it isn't currently running. Let's spark it up. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@devbox:~$ &lt;/span&gt;VBoxHeadless &lt;span style="color: #660033;"&gt;--startvm&lt;/span&gt; &lt;span style="color: #ff0000;"&gt;"Plex Media Server"&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;&amp;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Ok let's ssh into the VM so we can install the new copy of Plex
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@devbox:~$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;ssh&lt;/span&gt; nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;192.168.0.203
The authenticity of host &lt;span style="color: #ff0000;"&gt;'192.168.0.203 (192.168.0.203)'&lt;/span&gt; can&lt;span style="color: #ff0000;"&gt;'t be established.                                  
ECDSA key fingerprint is SHA256:BLRRmyijEFgtS+KnkXQUudkdsMskpLrzR19zBugQ2ww.                                    
Are you sure you want to continue connecting (yes/no)? yes                                                      
Warning: Permanently added '&lt;/span&gt;192.168.0.203&lt;span style="color: #ff0000;"&gt;' (ECDSA) to the list of known hosts.                                  
nigel@192.168.0.203'&lt;/span&gt;s password:                                                                                 
Welcome to Ubuntu 16.04.3 LTS &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;GNU&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Linux 4.4.0-&lt;span style="color: #000000;"&gt;87&lt;/span&gt;-generic x86_64&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;                                               
 
 &lt;span style="color: #000000; font-weight: bold;"&gt;*&lt;/span&gt; Documentation:  https:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;help.ubuntu.com                                                                      
 &lt;span style="color: #000000; font-weight: bold;"&gt;*&lt;/span&gt; Management:     https:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;landscape.canonical.com                                                              
 &lt;span style="color: #000000; font-weight: bold;"&gt;*&lt;/span&gt; Support:        https:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;ubuntu.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;advantage                                                                 
 
&lt;span style="color: #000000;"&gt;19&lt;/span&gt; packages can be updated.
&lt;span style="color: #000000;"&gt;10&lt;/span&gt; updates are security updates.
 
 
Last login: Sun Feb &lt;span style="color: #000000;"&gt;18&lt;/span&gt; &lt;span style="color: #000000;"&gt;22&lt;/span&gt;:&lt;span style="color: #000000;"&gt;11&lt;/span&gt;:&lt;span style="color: #000000;"&gt;59&lt;/span&gt; &lt;span style="color: #000000;"&gt;2018&lt;/span&gt; from 192.168.0.14
&lt;span style="color: #666666;"&gt;nigel@plex-media-server:~$ &lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;On a separate machine, download the latest Ubuntu 64 bit Plex Server, and scp it into the destination machine file system. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;nigel-Aspire-VN7-793G:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Downloads$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;scp&lt;/span&gt; plexmediaserver_1.11.3.4803-c40bba82e_amd64.deb nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;192.168.0.203:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;tmp
nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;192.168.0.203&lt;span style="color: #ff0000;"&gt;'s password: 
plexmediaserver_1.11.3.4803-c40bba82e_amd64.deb                               100%  104MB 817.5KB/s   02:10    
nigel@nigel-Aspire-VN7-793G:~/Downloads$ &lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Now switch back to the term window of the destination machine and install Plex.
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@plex-media-server:~$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;dpkg&lt;/span&gt; &lt;span style="color: #660033;"&gt;-i&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;tmp&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;plexmediaserver&lt;span style="color: #000000; font-weight: bold;"&gt;*&lt;/span&gt;.deb
&lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt; password &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; nigel: 
Selecting previously unselected package plexmediaserver.
&lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;Reading database ... &lt;span style="color: #000000;"&gt;93857&lt;/span&gt; files and directories currently installed.&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
Preparing to unpack ...&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;plexmediaserver_1.11.3.4803-c40bba82e_amd64.deb ...
Unpacking plexmediaserver &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;1.11.3.4803-c40bba82e&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Setting up plexmediaserver &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;1.11.3.4803-c40bba82e&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Created symlink from &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;systemd&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;system&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;multi-user.target.wants&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;plexmediaserver.service to &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;lib&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;systemd&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;system&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;plexmediaserver.service.
Processing triggers &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; ureadahead &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;0.100.0-&lt;span style="color: #000000;"&gt;19&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Processing triggers &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; systemd &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;229&lt;/span&gt;-4ubuntu21.1&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Processing triggers &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; mime-support &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;3.59ubuntu1&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;plex-media-server:~&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
The installation process will invoke Plex so stop the service
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@plex-media-server:~$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; service plexmediaserver stop&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Copy to Destination Machine&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;We now need to copy Plex from the source to the destination machine. The best method is to scp the entire Plex file structure from one machine to the other. The file structure is at &lt;strong&gt;/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/&lt;/strong&gt; and is owned by the user &lt;strong&gt;plex&lt;/strong&gt; as you can see here:
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;nigel-Aspire-VN7-793G:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;ls&lt;/span&gt; &lt;span style="color: #660033;"&gt;-las&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;var&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;lib&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;plexmediaserver&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Library&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Application\ Support&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Plex\ Media\ Server&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;
total &lt;span style="color: #000000;"&gt;44&lt;/span&gt;                                                                                                        
&lt;span style="color: #000000;"&gt;4&lt;/span&gt; drwxr-xr-x &lt;span style="color: #000000;"&gt;10&lt;/span&gt; plex plex &lt;span style="color: #000000;"&gt;4096&lt;/span&gt; Feb &lt;span style="color: #000000;"&gt;24&lt;/span&gt; 09:&lt;span style="color: #000000;"&gt;51&lt;/span&gt; .                                                                   
&lt;span style="color: #000000;"&gt;4&lt;/span&gt; drwxr-xr-x  &lt;span style="color: #000000;"&gt;3&lt;/span&gt; plex plex &lt;span style="color: #000000;"&gt;4096&lt;/span&gt; Jan &lt;span style="color: #000000;"&gt;28&lt;/span&gt; &lt;span style="color: #000000;"&gt;20&lt;/span&gt;:&lt;span style="color: #000000;"&gt;11&lt;/span&gt; ..                                                                  
&lt;span style="color: #000000;"&gt;4&lt;/span&gt; drwxr-xr-x  &lt;span style="color: #000000;"&gt;5&lt;/span&gt; plex plex &lt;span style="color: #000000;"&gt;4096&lt;/span&gt; Feb &lt;span style="color: #000000;"&gt;24&lt;/span&gt; 09:&lt;span style="color: #000000;"&gt;45&lt;/span&gt; Cache                                                               
&lt;span style="color: #000000;"&gt;4&lt;/span&gt; drwxr-xr-x  &lt;span style="color: #000000;"&gt;3&lt;/span&gt; plex plex &lt;span style="color: #000000;"&gt;4096&lt;/span&gt; Jan &lt;span style="color: #000000;"&gt;28&lt;/span&gt; &lt;span style="color: #000000;"&gt;20&lt;/span&gt;:&lt;span style="color: #000000;"&gt;11&lt;/span&gt; Codecs                                                              
&lt;span style="color: #000000;"&gt;4&lt;/span&gt; drwxr-xr-x  &lt;span style="color: #000000;"&gt;3&lt;/span&gt; plex plex &lt;span style="color: #000000;"&gt;4096&lt;/span&gt; Jan &lt;span style="color: #000000;"&gt;28&lt;/span&gt; &lt;span style="color: #000000;"&gt;20&lt;/span&gt;:&lt;span style="color: #000000;"&gt;11&lt;/span&gt; Crash Reports                                                       
&lt;span style="color: #000000;"&gt;4&lt;/span&gt; drwxr-xr-x  &lt;span style="color: #000000;"&gt;3&lt;/span&gt; plex plex &lt;span style="color: #000000;"&gt;4096&lt;/span&gt; Feb &lt;span style="color: #000000;"&gt;24&lt;/span&gt; 09:&lt;span style="color: #000000;"&gt;14&lt;/span&gt; Logs                                                                
&lt;span style="color: #000000;"&gt;4&lt;/span&gt; drwxr-xr-x  &lt;span style="color: #000000;"&gt;3&lt;/span&gt; plex plex &lt;span style="color: #000000;"&gt;4096&lt;/span&gt; Jan &lt;span style="color: #000000;"&gt;28&lt;/span&gt; &lt;span style="color: #000000;"&gt;20&lt;/span&gt;:&lt;span style="color: #000000;"&gt;18&lt;/span&gt; Media                                                               
&lt;span style="color: #000000;"&gt;4&lt;/span&gt; drwxr-xr-x  &lt;span style="color: #000000;"&gt;6&lt;/span&gt; plex plex &lt;span style="color: #000000;"&gt;4096&lt;/span&gt; Jan &lt;span style="color: #000000;"&gt;30&lt;/span&gt; &lt;span style="color: #000000;"&gt;21&lt;/span&gt;:&lt;span style="color: #000000;"&gt;44&lt;/span&gt; Metadata                                                            
&lt;span style="color: #000000;"&gt;4&lt;/span&gt; drwxr-xr-x  &lt;span style="color: #000000;"&gt;3&lt;/span&gt; plex plex &lt;span style="color: #000000;"&gt;4096&lt;/span&gt; Feb &lt;span style="color: #000000;"&gt;22&lt;/span&gt; &lt;span style="color: #000000;"&gt;20&lt;/span&gt;:&lt;span style="color: #000000;"&gt;25&lt;/span&gt; Plug-ins                                                            
&lt;span style="color: #000000;"&gt;4&lt;/span&gt; drwxr-xr-x  &lt;span style="color: #000000;"&gt;7&lt;/span&gt; plex plex &lt;span style="color: #000000;"&gt;4096&lt;/span&gt; Jan &lt;span style="color: #000000;"&gt;28&lt;/span&gt; &lt;span style="color: #000000;"&gt;20&lt;/span&gt;:&lt;span style="color: #000000;"&gt;11&lt;/span&gt; Plug-in Support                                                     
&lt;span style="color: #000000;"&gt;4&lt;/span&gt; &lt;span style="color: #660033;"&gt;-rw-------&lt;/span&gt;  &lt;span style="color: #000000;"&gt;1&lt;/span&gt; plex plex &lt;span style="color: #000000;"&gt;1002&lt;/span&gt; Feb &lt;span style="color: #000000;"&gt;24&lt;/span&gt; 09:&lt;span style="color: #000000;"&gt;45&lt;/span&gt; Preferences.xml
nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;nigel-Aspire-VN7-793G:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;$&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
So to get all the permissions and ownerships correct during the copy we should assign a password to the user plex so when we scp we can provide the prompted for password. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;plex-media-server:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;home&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nigel&lt;span style="color: #666666; font-style: italic;"&gt;# passwd plex &lt;/span&gt;
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;plex-media-server:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;home&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nigel&lt;span style="color: #666666; font-style: italic;"&gt;# &lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Ok - so if we switch back to the source machine we need to execute the &lt;strong&gt;scp&lt;/strong&gt; command like this:
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@nigel-Aspire-VN7-793G:/$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #660033;"&gt;-H&lt;/span&gt; &lt;span style="color: #660033;"&gt;-u&lt;/span&gt; plex &lt;span style="color: #c20cb9; font-weight: bold;"&gt;scp&lt;/span&gt; &lt;span style="color: #660033;"&gt;-rp&lt;/span&gt;  &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;var&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;lib&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;plexmediaserver&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Library&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Application\ Support&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Plex\ Media\ Server&lt;span style="color: #000000; font-weight: bold;"&gt;/*&lt;/span&gt; plex&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;192.168.0.203:&lt;span style="color: #ff0000;"&gt;"/var/lib/plexmediaserver/Library/Application\\ Support/Plex\\ Media\\ Server/."&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Note that I am running the scp as the plex user on my source machine through the superuser, and also note the double back-whacks and quotes on the destination directory structure. &lt;br /&gt;&lt;br /&gt;
Next we should start the Plex service on the destination machine and check it came up ok.
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@plex-media-server:~$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; service plexmediaserver start
&lt;span style="color: #666666;"&gt;nigel@plex-media-server:~$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;ps&lt;/span&gt; &lt;span style="color: #660033;"&gt;-ef&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;|&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;grep&lt;/span&gt; plex
plex     &lt;span style="color: #000000;"&gt;17501&lt;/span&gt;     &lt;span style="color: #000000;"&gt;1&lt;/span&gt;  &lt;span style="color: #000000;"&gt;0&lt;/span&gt; &lt;span style="color: #000000;"&gt;13&lt;/span&gt;:&lt;span style="color: #000000;"&gt;19&lt;/span&gt; ?        00:00:00 &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;bin&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sh&lt;/span&gt; &lt;span style="color: #660033;"&gt;-c&lt;/span&gt; &lt;span style="color: #007800;"&gt;LD_LIBRARY_PATH&lt;/span&gt;=&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;usr&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;lib&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;plexmediaserver &lt;span style="color: #ff0000;"&gt;"/usr/lib/plexmediaserver/Plex Media Server"&lt;/span&gt;
plex     &lt;span style="color: #000000;"&gt;17502&lt;/span&gt; &lt;span style="color: #000000;"&gt;17501&lt;/span&gt; &lt;span style="color: #000000;"&gt;22&lt;/span&gt; &lt;span style="color: #000000;"&gt;13&lt;/span&gt;:&lt;span style="color: #000000;"&gt;19&lt;/span&gt; ?        00:00:02 &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;usr&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;lib&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;plexmediaserver&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Plex Media Server
plex     &lt;span style="color: #000000;"&gt;17517&lt;/span&gt; &lt;span style="color: #000000;"&gt;17502&lt;/span&gt; &lt;span style="color: #000000;"&gt;89&lt;/span&gt; &lt;span style="color: #000000;"&gt;13&lt;/span&gt;:&lt;span style="color: #000000;"&gt;19&lt;/span&gt; ?        00:00:07 Plex Plug-in &lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;com.plexapp.system&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;usr&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;lib&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;plexmediaserver&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Resources&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Plug-ins-c40bba82e&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Framework.bundle&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Contents&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Resources&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Versions&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;2&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Python&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;bootstrap.py &lt;span style="color: #660033;"&gt;--server-version&lt;/span&gt; 1.11.3.4803-c40bba82e &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;usr&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;lib&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;plexmediaserver&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Resources&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;Plug-ins-c40bba82e&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;System.bundle
nigel    &lt;span style="color: #000000;"&gt;17541&lt;/span&gt;  &lt;span style="color: #000000;"&gt;1453&lt;/span&gt;  &lt;span style="color: #000000;"&gt;0&lt;/span&gt; &lt;span style="color: #000000;"&gt;13&lt;/span&gt;:&lt;span style="color: #000000;"&gt;19&lt;/span&gt; pts&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;    00:00:00 &lt;span style="color: #c20cb9; font-weight: bold;"&gt;grep&lt;/span&gt; &lt;span style="color: #660033;"&gt;--color&lt;/span&gt;=auto plex
&lt;span style="color: #666666;"&gt;nigel@plex-media-server:~$ &lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Web Browser Destination Access&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-02/Screenshot_20180224_154219.png?itok=xhD-Jq25 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-02/Screenshot_20180224_154219.png?itok=tZKJQi9K 488w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-02/Screenshot_20180224_154219.png?itok=xhD-Jq25" alt="URL Bar" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-02/Screenshot_20180224_154300.png?itok=kvYjoiuS 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-02/Screenshot_20180224_154300.png?itok=gTYcsdrq 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-02/Screenshot_20180224_154300.png?itok=FDiB59hl 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2018-02/Screenshot_20180224_154300.png?itok=WwQVmuHj 1912w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-02/Screenshot_20180224_154300.png?itok=kvYjoiuS" alt="Destination" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;You should now be able to point your browser to Plex's new home. You need to change the URL to include your IP address, which in my case is 192.168.0.203 with a port of 32400. Yours should be similar but probably not identical. Check out the first image above for the entire URL although you won't need to include the index.html. &lt;/p&gt;

&lt;p&gt;You may have to log in again but mine went straight to the 'Recently Added' view as you can see in the second image above. So my media and my libraries have been found ok. This shouldn't be a surprise - don't forget earlier in the tutorial I connected the VM to my FreeNAS where the media is held - and the canonical path is exactly the same to the media on the VM (destination) as it is on my source machine (my laptop). &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Empty trash automatically&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-02/Screenshot_20180224_161757.png?itok=M1EL9sUH 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-02/Screenshot_20180224_161757.png?itok=zQwu-I0A 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-02/Screenshot_20180224_161757.png?itok=T59KF1iH 1203w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-02/Screenshot_20180224_161757.png?itok=M1EL9sUH" alt="Enable empty trash" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Now we know everything is working ok, we should re-enable the emptying of trash - see the screenshot above. &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Tidying up&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;A little housekeeping is required. We now have two systems using the same BadzillaPlex name - so let's remove it from my laptop. To do that issue:
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;dpkg&lt;/span&gt; &lt;span style="color: #660033;"&gt;--remove&lt;/span&gt; plexmediaserver
&lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt; password &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; nigel: 
&lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;Reading database ... &lt;span style="color: #000000;"&gt;334962&lt;/span&gt; files and directories currently installed.&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
Removing plexmediaserver &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;1.10.1.4602-f54242b6b&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Removed symlink &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;systemd&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;system&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;multi-user.target.wants&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;plexmediaserver.service.
Processing triggers &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; systemd &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;229&lt;/span&gt;-4ubuntu21.1&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Processing triggers &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; ureadahead &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;0.100.0-&lt;span style="color: #000000;"&gt;19&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Processing triggers &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; desktop-file-utils &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;0.22&lt;/span&gt;-1ubuntu5.1&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Processing triggers &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; mime-support &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;3.59ubuntu1&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Processing triggers &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; libc-bin &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;2.23&lt;/span&gt;-0ubuntu10&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
          &lt;/div&gt;
  
      &lt;div class="field field--name-field-blog-youtube field--type-entity-reference-revisions field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-text-youtube paragraph--view-mode--default"&gt;
          
      &lt;/div&gt;
&lt;/div&gt;
          &lt;/div&gt;
  
  &lt;div class="field field--name-field-blog-terms field--type-entity-reference field--label-inline"&gt;
    &lt;div class="field--label"&gt;blog terms&lt;/div&gt;
          &lt;span class="field__items"&gt;
              &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/hardware" hreflang="en"&gt;Hardware&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/linux" hreflang="en"&gt;Linux&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/virtualbox" hreflang="en"&gt;VirtualBox&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/plex" hreflang="en"&gt;Plex&lt;/a&gt;&lt;/span&gt;
              &lt;/span&gt;
      &lt;/div&gt;
</description>
  <pubDate>Sun, 18 Feb 2018 13:45:09 +0000</pubDate>
    <dc:creator>nigel</dc:creator>
    <guid isPermaLink="false">139 at http://badzilla.co.uk</guid>
    </item>
<item>
  <title>Moving a VM Dev Environment to VirtualBox Headless </title>
  <link>http://badzilla.co.uk/moving-vm-dev-environment-virtualbox-headless</link>
  <description>
&lt;span&gt;Moving a VM Dev Environment to VirtualBox Headless &lt;/span&gt;

&lt;span&gt;&lt;span lang="" about="http://badzilla.co.uk/user/1" typeof="schema:Person" property="schema:name" datatype="" xml:lang=""&gt;nigel&lt;/span&gt;&lt;/span&gt;

&lt;span&gt;Mon, 15/01/2018 - 11:00&lt;/span&gt;

      &lt;div class="field field--name-field-heading-image-text field--type-entity-reference-revisions field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;I've been using a VM image on my Macbook for a while now, and using it as my Drupal development environment. It has been handcrafted with MariaDB, NGINX, Jenkins and other utilities that have built up over time such as Mailcatcher and npm. It's become increasingly inconvenient having the VM on the laptop I use for client work, so I decided to move it to my &lt;a href="http://badzilla.co.uk/review-intel-nuc5cpyh-ubuntu-1704-installation"&gt;Intel NUC machine&lt;/a&gt;. This will provide a centralised location in my apartment to access the VM from any of my other laptops and devices. &lt;/p&gt;
&lt;p&gt;However since my Intel NUC doesn't have an installed GUI since it is a server, a headless solution is required. To manage this I will need VirtualBox Headless - here is the tutorial on how to achieve this. My NUC machine was installed with Ubuntu 17.04 (Zesty Zapus) but other flavours of Debian based Linux will be similar.  &lt;/p&gt;
&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Installing VirtualBox&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;To install VirtualBox, login to the host box over the local network (in my case my Intel NUC) and sudo su. Then add the repository and the public key with 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;devbox:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #666666; font-style: italic;"&gt;# wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | apt-key add -&lt;/span&gt;
OK
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;devbox:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #666666; font-style: italic;"&gt;# &lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Update and install. Note - there's every chance you will be presented with a list of numerous dependencies that will have to be installed at the same time. For brevity I haven't included the output below. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;devbox:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #666666; font-style: italic;"&gt;# apt-get update&lt;/span&gt;
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;devbox:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #666666; font-style: italic;"&gt;# apt-get install virtualbox&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
In addition it's a good idea to install the dkms package to ensure that the VirtualBox host kernel modules (vboxdrv, vboxnetflt and vboxnetadp) are properly updated if the linux kernel version changes during the next apt-get upgrade. I did this but no updates were required. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;devbox:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #666666; font-style: italic;"&gt;# apt-get install dkms&lt;/span&gt;
Reading package lists... Done
Building dependency &lt;span style="color: #c20cb9; font-weight: bold;"&gt;tree&lt;/span&gt;       
Reading state information... Done
dkms is already the newest version &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;2.3&lt;/span&gt;-3ubuntu1.2&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;.
dkms &lt;span style="color: #000000; font-weight: bold;"&gt;set&lt;/span&gt; to manually installed.
&lt;span style="color: #000000;"&gt;0&lt;/span&gt; to upgrade, &lt;span style="color: #000000;"&gt;0&lt;/span&gt; to newly &lt;span style="color: #c20cb9; font-weight: bold;"&gt;install&lt;/span&gt;, &lt;span style="color: #000000;"&gt;0&lt;/span&gt; to remove and &lt;span style="color: #000000;"&gt;7&lt;/span&gt; not to upgrade.
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;devbox:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #666666; font-style: italic;"&gt;#&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Now we can check the installed version of VirtualBox to make sure it is installed ok.
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;devbox:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #666666; font-style: italic;"&gt;# vboxmanage --version&lt;/span&gt;
5.1.22_Ubuntur115126
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;devbox:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #666666; font-style: italic;"&gt;# &lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Export the Existing VM from VirtualBox&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-01/Screen%20Shot%202018-01-15%20at%2013.32.04-blurred.png?itok=c2GHcR4E 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-01/Screen%20Shot%202018-01-15%20at%2013.32.04-blurred.png?itok=SalcGQT6 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-01/Screen%20Shot%202018-01-15%20at%2013.32.04-blurred.png?itok=HF3tfrul 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2018-01/Screen%20Shot%202018-01-15%20at%2013.32.04-blurred.png?itok=XoWGySr6 1542w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-01/Screen%20Shot%202018-01-15%20at%2013.32.04-blurred.png?itok=c2GHcR4E" alt="Select Export" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-01/Screen%20Shot%202018-01-15%20at%2013.34.24.png?itok=CGSYb0_z 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-01/Screen%20Shot%202018-01-15%20at%2013.34.24.png?itok=U8c2UHvD 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-01/Screen%20Shot%202018-01-15%20at%2013.34.24.png?itok=iqoIhCRC 1276w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-01/Screen%20Shot%202018-01-15%20at%2013.34.24.png?itok=CGSYb0_z" alt="Rename the export" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-01/Screen%20Shot%202018-01-15%20at%2013.33.00.png?itok=KoibbXrY 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-01/Screen%20Shot%202018-01-15%20at%2013.33.00.png?itok=I8b9leJ- 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-01/Screen%20Shot%202018-01-15%20at%2013.33.00.png?itok=eFjwBNuC 1270w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-01/Screen%20Shot%202018-01-15%20at%2013.33.00.png?itok=KoibbXrY" alt="Appliance Settings Page" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-01/Screen%20Shot%202018-01-15%20at%2013.34.43.png?itok=e-mp80dU 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-01/Screen%20Shot%202018-01-15%20at%2013.34.43.png?itok=pBa6a2w2 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-01/Screen%20Shot%202018-01-15%20at%2013.34.43.png?itok=ie5_X32A 1188w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-01/Screen%20Shot%202018-01-15%20at%2013.34.43.png?itok=e-mp80dU" alt="Progress" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Now I exported the existing VM from my MacBook. This is achieved through the VirtualBox GUI. Go to &lt;strong&gt;File-&gt;Export Appliance...&lt;/strong&gt; and select the VM from the list (first image above). Then change the name of the output file if you desire. I opted to do this by adding the date on to the end (image two). The third image shows the appliance's settings - if you are ok with this click &lt;strong&gt;Export&lt;/strong&gt;. The final image shows the progress screen - budget on a few minutes. &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;Create a directory for the VM on the remote host machine.
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@devbox:~$ &lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;cd&lt;/span&gt; ~
&lt;span style="color: #666666;"&gt;nigel@devbox:~$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;mkdir&lt;/span&gt; VM
&lt;span style="color: #666666;"&gt;nigel@devbox:~$&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
And scp it over to that machine from the MacBook. This could take half an hour or so.
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;scp&lt;/span&gt; badzilla-d8-&lt;span style="color: #000000;"&gt;2018&lt;/span&gt;-01-&lt;span style="color: #000000;"&gt;15&lt;/span&gt;.ova nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;192.168.0.202:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;home&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VM&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;.&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Import VM Image&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;Now let's import our VM image so VirtualBox knows about it. Note I am now logged in as myself, not as superuser. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;devbox:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VM$ VBoxManage import badzilla-d8-&lt;span style="color: #000000;"&gt;2018&lt;/span&gt;-01-&lt;span style="color: #000000;"&gt;15&lt;/span&gt;.ova 
&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;10&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;20&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;30&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;40&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;50&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;60&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;70&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;80&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;90&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;100&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;
Interpreting &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;home&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VM&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;badzilla-d8-&lt;span style="color: #000000;"&gt;2018&lt;/span&gt;-01-&lt;span style="color: #000000;"&gt;15&lt;/span&gt;.ova...
OK.
Disks:
  vmdisk2	&lt;span style="color: #000000;"&gt;16106127360&lt;/span&gt;	&lt;span style="color: #660033;"&gt;-1&lt;/span&gt;	http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;www.vmware.com&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;interfaces&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;specifications&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;vmdk.html&lt;span style="color: #666666; font-style: italic;"&gt;#streamOptimized	badzilla-d8-2018-01-15-disk001.vmdk	-1	-1	&lt;/span&gt;
 
Virtual system &lt;span style="color: #000000;"&gt;0&lt;/span&gt;:
 &lt;span style="color: #000000;"&gt;0&lt;/span&gt;: Suggested OS type: &lt;span style="color: #ff0000;"&gt;"Ubuntu_64"&lt;/span&gt;
    &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;change with &lt;span style="color: #ff0000;"&gt;"--vsys 0 --ostype &lt;type&gt;"&lt;/span&gt;; use &lt;span style="color: #ff0000;"&gt;"list ostypes"&lt;/span&gt; to list all possible values&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
 &lt;span style="color: #000000;"&gt;1&lt;/span&gt;: Suggested VM name &lt;span style="color: #ff0000;"&gt;"badzilla-d8"&lt;/span&gt;
    &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;change with &lt;span style="color: #ff0000;"&gt;"--vsys 0 --vmname &lt;name&gt;"&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
 &lt;span style="color: #000000;"&gt;2&lt;/span&gt;: Number of CPUs: &lt;span style="color: #000000;"&gt;1&lt;/span&gt;
    &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;change with &lt;span style="color: #ff0000;"&gt;"--vsys 0 --cpus &lt;n&gt;"&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
 &lt;span style="color: #000000;"&gt;3&lt;/span&gt;: Guest memory: &lt;span style="color: #000000;"&gt;1024&lt;/span&gt; MB
    &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;change with &lt;span style="color: #ff0000;"&gt;"--vsys 0 --memory &lt;MB&gt;"&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
 &lt;span style="color: #000000;"&gt;4&lt;/span&gt;: Sound card &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;appliance expects &lt;span style="color: #ff0000;"&gt;""&lt;/span&gt;, can change on import&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
    &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;disable with &lt;span style="color: #ff0000;"&gt;"--vsys 0 --unit 4 --ignore"&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
 &lt;span style="color: #000000;"&gt;5&lt;/span&gt;: USB controller
    &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;disable with &lt;span style="color: #ff0000;"&gt;"--vsys 0 --unit 5 --ignore"&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
 &lt;span style="color: #000000;"&gt;6&lt;/span&gt;: Network adapter: orig Bridged, config &lt;span style="color: #000000;"&gt;3&lt;/span&gt;, extra &lt;span style="color: #007800;"&gt;slot&lt;/span&gt;=&lt;span style="color: #000000;"&gt;0&lt;/span&gt;;&lt;span style="color: #007800;"&gt;type&lt;/span&gt;=Bridged
 &lt;span style="color: #000000;"&gt;7&lt;/span&gt;: CD-ROM
    &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;disable with &lt;span style="color: #ff0000;"&gt;"--vsys 0 --unit 7 --ignore"&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
 &lt;span style="color: #000000;"&gt;8&lt;/span&gt;: IDE controller, &lt;span style="color: #7a0874; font-weight: bold;"&gt;type&lt;/span&gt; PIIX4
    &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;disable with &lt;span style="color: #ff0000;"&gt;"--vsys 0 --unit 8 --ignore"&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
 &lt;span style="color: #000000;"&gt;9&lt;/span&gt;: IDE controller, &lt;span style="color: #7a0874; font-weight: bold;"&gt;type&lt;/span&gt; PIIX4
    &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;disable with &lt;span style="color: #ff0000;"&gt;"--vsys 0 --unit 9 --ignore"&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
&lt;span style="color: #000000;"&gt;10&lt;/span&gt;: SATA controller, &lt;span style="color: #7a0874; font-weight: bold;"&gt;type&lt;/span&gt; AHCI
    &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;disable with &lt;span style="color: #ff0000;"&gt;"--vsys 0 --unit 10 --ignore"&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
&lt;span style="color: #000000;"&gt;11&lt;/span&gt;: Hard disk image: &lt;span style="color: #7a0874; font-weight: bold;"&gt;source&lt;/span&gt; &lt;span style="color: #007800;"&gt;image&lt;/span&gt;=badzilla-d8-&lt;span style="color: #000000;"&gt;2018&lt;/span&gt;-01-&lt;span style="color: #000000;"&gt;15&lt;/span&gt;-disk001.vmdk, target &lt;span style="color: #007800;"&gt;path&lt;/span&gt;=&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;home&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VirtualBox VMs&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;badzilla-d8&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;badzilla-d8-&lt;span style="color: #000000;"&gt;2018&lt;/span&gt;-01-&lt;span style="color: #000000;"&gt;15&lt;/span&gt;-disk001.vmdk, &lt;span style="color: #007800;"&gt;controller&lt;/span&gt;=&lt;span style="color: #000000;"&gt;10&lt;/span&gt;;&lt;span style="color: #007800;"&gt;channel&lt;/span&gt;=&lt;span style="color: #000000;"&gt;0&lt;/span&gt;
    &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;change target path with &lt;span style="color: #ff0000;"&gt;"--vsys 0 --unit 11 --disk path"&lt;/span&gt;;
    disable with &lt;span style="color: #ff0000;"&gt;"--vsys 0 --unit 11 --ignore"&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;10&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;20&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;30&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;40&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;50&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;60&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;70&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;80&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;90&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;100&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;
Successfully imported the appliance.
nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;devbox:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VM$&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Modify Existing Network Configuration&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;An attempt to start the VM will result in an error - see below diagnostic. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;devbox:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VM$ VBoxHeadless &lt;span style="color: #660033;"&gt;--startvm&lt;/span&gt; badzilla-d8 
Oracle VM VirtualBox Headless Interface 5.1.22_Ubuntu
&lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;C&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; &lt;span style="color: #000000;"&gt;2008&lt;/span&gt;-&lt;span style="color: #000000;"&gt;2017&lt;/span&gt; Oracle Corporation
All rights reserved.
 
Error: failed to start machine. Error message: Failed to open&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;create the internal network &lt;span style="color: #ff0000;"&gt;'HostInterfaceNetworking-en0: Wi-Fi (AirPort)'&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;you might need to modprobe vboxnetflt to &lt;span style="color: #c20cb9; font-weight: bold;"&gt;make&lt;/span&gt; it accessible&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;VERR_INTNET_FLT_IF_NOT_FOUND&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;.
Failed to attach the network LUN &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;VERR_INTNET_FLT_IF_NOT_FOUND&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;devbox:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VM$&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
This is due to the network configuration which is currently set to use the MacBook's WiFi Airport device as a bridge. No good in an Intel NUC machine! So let's see how the configuration currently looks:
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;devbox:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VM$ VBoxManage showvminfo badzilla-d8 &lt;span style="color: #000000; font-weight: bold;"&gt;|&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;grep&lt;/span&gt; NIC
NIC &lt;span style="color: #000000;"&gt;1&lt;/span&gt;:           MAC: 080027D2CF47, Attachment: Bridged Interface &lt;span style="color: #ff0000;"&gt;'en0: Wi-Fi (AirPort)'&lt;/span&gt;, Cable connected: on, Trace: off &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;file: none&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;, Type: 82540EM, Reported speed: &lt;span style="color: #000000;"&gt;0&lt;/span&gt; Mbps, Boot priority: &lt;span style="color: #000000;"&gt;0&lt;/span&gt;, Promisc Policy: deny, Bandwidth group: none
NIC &lt;span style="color: #000000;"&gt;2&lt;/span&gt;:           disabled
NIC &lt;span style="color: #000000;"&gt;3&lt;/span&gt;:           disabled
NIC &lt;span style="color: #000000;"&gt;4&lt;/span&gt;:           disabled
NIC &lt;span style="color: #000000;"&gt;5&lt;/span&gt;:           disabled
NIC &lt;span style="color: #000000;"&gt;6&lt;/span&gt;:           disabled
NIC &lt;span style="color: #000000;"&gt;7&lt;/span&gt;:           disabled
NIC &lt;span style="color: #000000;"&gt;8&lt;/span&gt;:           disabled
nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;devbox:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VM$ &lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Let's see what we've got in this machine...
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;devbox:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VM$ VBoxManage list bridgedifs
Name:            enp3s0
GUID:            33706e65-&lt;span style="color: #000000;"&gt;3073&lt;/span&gt;-&lt;span style="color: #000000;"&gt;4000&lt;/span&gt;-&lt;span style="color: #000000;"&gt;8000&lt;/span&gt;-94c69114b597
DHCP:            Disabled
IPAddress:       192.168.0.202
NetworkMask:     255.255.255.0
IPV6Address:     fe80:0000:0000:0000:96c6:91ff:fe14:b597
IPV6NetworkMaskPrefixLength: &lt;span style="color: #000000;"&gt;64&lt;/span&gt;
HardwareAddress: &lt;span style="color: #000000;"&gt;94&lt;/span&gt;:c6:&lt;span style="color: #000000;"&gt;91&lt;/span&gt;:&lt;span style="color: #000000;"&gt;14&lt;/span&gt;:b5:&lt;span style="color: #000000;"&gt;97&lt;/span&gt;
MediumType:      Ethernet
Status:          Up
VBoxNetworkName: HostInterfaceNetworking-enp3s0
 
Name:            wlp2s0
GUID:            32706c77-&lt;span style="color: #000000;"&gt;3073&lt;/span&gt;-&lt;span style="color: #000000;"&gt;4000&lt;/span&gt;-&lt;span style="color: #000000;"&gt;8000&lt;/span&gt;-cc2f7140538a
DHCP:            Disabled
IPAddress:       0.0.0.0
NetworkMask:     0.0.0.0
IPV6Address:     
IPV6NetworkMaskPrefixLength: &lt;span style="color: #000000;"&gt;0&lt;/span&gt;
HardwareAddress: cc:2f:&lt;span style="color: #000000;"&gt;71&lt;/span&gt;:&lt;span style="color: #000000;"&gt;40&lt;/span&gt;:&lt;span style="color: #000000;"&gt;53&lt;/span&gt;:8a
MediumType:      Ethernet
Status:          Down
VBoxNetworkName: HostInterfaceNetworking-wlp2s0
 
nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;devbox:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VM$&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Ok - our eth0 port is actually called enp3s0. That's useful :) So let's set that to be our network adapter.
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@devbox:~/VM$ &lt;/span&gt;VBoxManage modifyvm badzilla-d8 &lt;span style="color: #660033;"&gt;--nic1&lt;/span&gt; bridged &lt;span style="color: #660033;"&gt;--bridgeadapter1&lt;/span&gt; enp3s0&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Now lets see what happens when we try to start the VM
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;devbox:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VM$ Oracle VM VirtualBox Headless Interface 5.1.22_Ubuntu
&lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;C&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; &lt;span style="color: #000000;"&gt;2008&lt;/span&gt;-&lt;span style="color: #000000;"&gt;2017&lt;/span&gt; Oracle Corporation
All rights reserved.
 
ALSA lib confmisc.c:&lt;span style="color: #000000;"&gt;767&lt;/span&gt;:&lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;parse_card&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; cannot &lt;span style="color: #c20cb9; font-weight: bold;"&gt;find&lt;/span&gt; card &lt;span style="color: #ff0000;"&gt;'0'&lt;/span&gt;
ALSA lib conf.c:&lt;span style="color: #000000;"&gt;4528&lt;/span&gt;:&lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;_snd_config_evaluate&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;function&lt;/span&gt; snd_func_card_driver returned error: No such &lt;span style="color: #c20cb9; font-weight: bold;"&gt;file&lt;/span&gt; or directory
ALSA lib confmisc.c:&lt;span style="color: #000000;"&gt;392&lt;/span&gt;:&lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;snd_func_concat&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; error evaluating &lt;span style="color: #c20cb9; font-weight: bold;"&gt;strings&lt;/span&gt;
ALSA lib conf.c:&lt;span style="color: #000000;"&gt;4528&lt;/span&gt;:&lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;_snd_config_evaluate&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;function&lt;/span&gt; snd_func_concat returned error: No such &lt;span style="color: #c20cb9; font-weight: bold;"&gt;file&lt;/span&gt; or directory
ALSA lib confmisc.c:&lt;span style="color: #000000;"&gt;1246&lt;/span&gt;:&lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;snd_func_refer&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; error evaluating name
ALSA lib conf.c:&lt;span style="color: #000000;"&gt;4528&lt;/span&gt;:&lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;_snd_config_evaluate&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;function&lt;/span&gt; snd_func_ref&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Ok - this looks more promising. The ALSA messages probably relate to a missing sound card. Let's check&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Remove Soundcard&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-01/Screen%20Shot%202018-01-15%20at%2016.39.59.png?itok=vvsXHkay 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-01/Screen%20Shot%202018-01-15%20at%2016.39.59.png?itok=aO-o6Njd 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-01/Screen%20Shot%202018-01-15%20at%2016.39.59.png?itok=cJMTGCUn 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2018-01/Screen%20Shot%202018-01-15%20at%2016.39.59.png?itok=kCdUHx16 1348w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-01/Screen%20Shot%202018-01-15%20at%2016.39.59.png?itok=vvsXHkay" alt="Connected Devices" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;We are now clearly very close to having a configuration that works. By checking the connected devices on my router I can see that my machine badzilla-d8 has connected to the network successfully. Further more I can ping it and ssh into it! All we need to do is sort out the sound card diagnostics.
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;ping&lt;/span&gt; 192.168.0.17
PING 192.168.0.17 &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;192.168.0.17&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;: &lt;span style="color: #000000;"&gt;56&lt;/span&gt; data bytes
&lt;span style="color: #000000;"&gt;64&lt;/span&gt; bytes from 192.168.0.17: &lt;span style="color: #007800;"&gt;icmp_seq&lt;/span&gt;=&lt;span style="color: #000000;"&gt;0&lt;/span&gt; &lt;span style="color: #007800;"&gt;ttl&lt;/span&gt;=&lt;span style="color: #000000;"&gt;64&lt;/span&gt; &lt;span style="color: #007800;"&gt;time&lt;/span&gt;=&lt;span style="color: #000000;"&gt;4.286&lt;/span&gt; ms
&lt;span style="color: #000000;"&gt;64&lt;/span&gt; bytes from 192.168.0.17: &lt;span style="color: #007800;"&gt;icmp_seq&lt;/span&gt;=&lt;span style="color: #000000;"&gt;1&lt;/span&gt; &lt;span style="color: #007800;"&gt;ttl&lt;/span&gt;=&lt;span style="color: #000000;"&gt;64&lt;/span&gt; &lt;span style="color: #007800;"&gt;time&lt;/span&gt;=&lt;span style="color: #000000;"&gt;1.941&lt;/span&gt; ms
&lt;span style="color: #000000;"&gt;64&lt;/span&gt; bytes from 192.168.0.17: &lt;span style="color: #007800;"&gt;icmp_seq&lt;/span&gt;=&lt;span style="color: #000000;"&gt;2&lt;/span&gt; &lt;span style="color: #007800;"&gt;ttl&lt;/span&gt;=&lt;span style="color: #000000;"&gt;64&lt;/span&gt; &lt;span style="color: #007800;"&gt;time&lt;/span&gt;=&lt;span style="color: #000000;"&gt;2.101&lt;/span&gt; ms
^C
&lt;span style="color: #660033;"&gt;---&lt;/span&gt; 192.168.0.17 &lt;span style="color: #c20cb9; font-weight: bold;"&gt;ping&lt;/span&gt; statistics &lt;span style="color: #660033;"&gt;---&lt;/span&gt;
&lt;span style="color: #000000;"&gt;3&lt;/span&gt; packets transmitted, &lt;span style="color: #000000;"&gt;3&lt;/span&gt; packets received, &lt;span style="color: #000000;"&gt;0.0&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt; packet loss
round-trip min&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;avg&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;max&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;stddev = &lt;span style="color: #000000;"&gt;1.941&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;2.776&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;4.286&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;1.070&lt;/span&gt; ms
$ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;ssh&lt;/span&gt; nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;192.168.0.17
nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;192.168.0.17&lt;span style="color: #ff0000;"&gt;'s password: 
Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 4.4.0-31-generic x86_64)
 
 * Documentation:  https://help.ubuntu.com/
 
  System information as of Mon Jan 15 16:19:31 GMT 2018
 
  System load:  0.08               Processes:           117
  Usage of /:   52.0% of 14.10GB   Users logged in:     0
  Memory usage: 5%                 IP address for eth0: 192.168.0.17
  Swap usage:   0%
 
  Graph this data and manage this system at:
    https://landscape.canonical.com/
 
Last login: Mon Jan 15 16:16:02 2018 from 192.168.0.12
$&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Ok so let's see what the configuration says about our audio card:
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;devbox:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VM$ VBoxManage showvminfo badzilla-d8 &lt;span style="color: #000000; font-weight: bold;"&gt;|&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;grep&lt;/span&gt; ALSA
Audio:           enabled &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;Driver: ALSA, Controller: AC97, Codec: AD1980&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;devbox:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VM$ &lt;/pre&gt;&lt;/div&gt;&lt;/div&gt; 
Power off the machine before we do anything to the configuration
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;devbox:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VM$ VBoxManage controlvm badzilla-d8 poweroff
&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;10&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;20&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;30&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;40&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;50&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;60&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;70&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;80&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;90&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;...&lt;span style="color: #000000;"&gt;100&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;%&lt;/span&gt;
nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;devbox:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VM$ &lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Now we can remove the audio, check it's definitely gone, and start the VM
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;devbox:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VM$ VBoxManage modifyvm badzilla-d8 &lt;span style="color: #660033;"&gt;--audio&lt;/span&gt; none
nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;devbox:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VM$ VBoxManage showvminfo badzilla-d8 &lt;span style="color: #000000; font-weight: bold;"&gt;|&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;grep&lt;/span&gt; audio
nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;devbox:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VM$ VBoxHeadless &lt;span style="color: #660033;"&gt;--startvm&lt;/span&gt; badzilla-d8 &lt;span style="color: #000000; font-weight: bold;"&gt;&amp;&lt;/span&gt;
&lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt; &lt;span style="color: #000000;"&gt;29795&lt;/span&gt;
nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;devbox:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VM$ Oracle VM VirtualBox Headless Interface 5.1.22_Ubuntu
&lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;C&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; &lt;span style="color: #000000;"&gt;2008&lt;/span&gt;-&lt;span style="color: #000000;"&gt;2017&lt;/span&gt; Oracle Corporation
All rights reserved.
 
 
nigel&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;devbox:~&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;VM$&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Ok we are up and running! Now so long as we can connect via NFS on my MAC and my Kubuntu laptop, then we should be in good shape.&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;NFS Connect to VM from Mac OS&lt;/div&gt;
      
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-01/Screen%20Shot%202018-01-15%20at%2018.16.09.png?itok=Izmtq5Gp 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-01/Screen%20Shot%202018-01-15%20at%2018.16.09.png?itok=IgxJnoUj 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-01/Screen%20Shot%202018-01-15%20at%2018.16.09.png?itok=wcqeyRNv 974w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-01/Screen%20Shot%202018-01-15%20at%2018.16.09.png?itok=Izmtq5Gp" alt="NFS url" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-01/Screen%20Shot%202018-01-15%20at%2018.17.41-blurred.png?itok=HTHEzUbh 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2018-01/Screen%20Shot%202018-01-15%20at%2018.17.41-blurred.png?itok=GoSXhkl1 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2018-01/Screen%20Shot%202018-01-15%20at%2018.17.41-blurred.png?itok=BAPwmtoM 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2018-01/Screen%20Shot%202018-01-15%20at%2018.17.41-blurred.png?itok=ynvr4GBZ 2366w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2018-01/Screen%20Shot%202018-01-15%20at%2018.17.41-blurred.png?itok=HTHEzUbh" alt="NFS Connected" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Open &lt;strong&gt;Finder &lt;/strong&gt;and press cmd-K to bring up the &lt;strong&gt;Connect to Server&lt;/strong&gt; modal. The NFS url format must be like shown in the first image - and obviously you &lt;strong&gt;must&lt;/strong&gt; have a corresponding /etc/hosts entry for the url. In my case this will 192.168.0.17.&lt;/p&gt;

&lt;p&gt;Once connected, you will see whatever files you've got on your server. In my case I map to /var/www/html so the list of folders are effectively my projects for each website I am working on. &lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;NFS Connect to VM from Kubuntu Linux&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;The NFS connection from Kubuntu is best achieved on the command line or by adding an entry to the /etc/fstab file. Once that's achieved, the directory structure can be listed. Success!
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;nigel@devbox:~$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;mount&lt;/span&gt; &lt;span style="color: #660033;"&gt;-t&lt;/span&gt; nfs &lt;span style="color: #660033;"&gt;-o&lt;/span&gt; &lt;span style="color: #007800;"&gt;vers&lt;/span&gt;=&lt;span style="color: #000000;"&gt;3&lt;/span&gt; 192.168.0.17:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;var&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;www&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;html &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;mnt&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;projects                       
&lt;span style="color: #666666;"&gt;nigel@devbox:~$ &lt;/span&gt;&lt;span style="color: #c20cb9; font-weight: bold;"&gt;ls&lt;/span&gt; &lt;span style="color: #660033;"&gt;-las&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;mnt&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;projects&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;
total &lt;span style="color: #000000;"&gt;84&lt;/span&gt;                                                                                               
 &lt;span style="color: #000000;"&gt;4&lt;/span&gt; drwxrwxr-x &lt;span style="color: #000000;"&gt;13&lt;/span&gt; www-data www-data  &lt;span style="color: #000000;"&gt;4096&lt;/span&gt; Jan &lt;span style="color: #000000;"&gt;15&lt;/span&gt; &lt;span style="color: #000000;"&gt;18&lt;/span&gt;:&lt;span style="color: #000000;"&gt;13&lt;/span&gt; .                                                     
 &lt;span style="color: #000000;"&gt;4&lt;/span&gt; drwxr-xr-x  &lt;span style="color: #000000;"&gt;3&lt;/span&gt; root     root      &lt;span style="color: #000000;"&gt;4096&lt;/span&gt; Jan &lt;span style="color: #000000;"&gt;15&lt;/span&gt; &lt;span style="color: #000000;"&gt;19&lt;/span&gt;:&lt;span style="color: #000000;"&gt;15&lt;/span&gt; ..
 &lt;span style="color: #000000;"&gt;4&lt;/span&gt; drwxrwxr-x  &lt;span style="color: #000000;"&gt;3&lt;/span&gt; nigel    www-data  &lt;span style="color: #000000;"&gt;4096&lt;/span&gt; Aug &lt;span style="color: #000000;"&gt;11&lt;/span&gt; &lt;span style="color: #000000;"&gt;22&lt;/span&gt;:&lt;span style="color: #000000;"&gt;43&lt;/span&gt; badzilla_d6
 &lt;span style="color: #000000;"&gt;4&lt;/span&gt; drwxrwxr-x  &lt;span style="color: #000000;"&gt;7&lt;/span&gt; www-data www-data  &lt;span style="color: #000000;"&gt;4096&lt;/span&gt; Feb &lt;span style="color: #000000;"&gt;19&lt;/span&gt;  &lt;span style="color: #000000;"&gt;2017&lt;/span&gt; badzilla_d8
 &lt;span style="color: #000000;"&gt;4&lt;/span&gt; &lt;span style="color: #660033;"&gt;-rw-rw-r--&lt;/span&gt;  &lt;span style="color: #000000;"&gt;1&lt;/span&gt; www-data www-data  &lt;span style="color: #000000;"&gt;4096&lt;/span&gt; Feb  &lt;span style="color: #000000;"&gt;9&lt;/span&gt;  &lt;span style="color: #000000;"&gt;2017&lt;/span&gt; ._blog_theme_d8
 &lt;span style="color: #000000;"&gt;4&lt;/span&gt; drwxrwxr-x &lt;span style="color: #000000;"&gt;13&lt;/span&gt; www-data www-data  &lt;span style="color: #000000;"&gt;4096&lt;/span&gt; Feb &lt;span style="color: #000000;"&gt;12&lt;/span&gt;  &lt;span style="color: #000000;"&gt;2017&lt;/span&gt; blog_theme_d8
 &lt;span style="color: #000000;"&gt;4&lt;/span&gt; &lt;span style="color: #660033;"&gt;-rw-rw-r--&lt;/span&gt;  &lt;span style="color: #000000;"&gt;1&lt;/span&gt; www-data www-data  &lt;span style="color: #000000;"&gt;4096&lt;/span&gt; Jan &lt;span style="color: #000000;"&gt;15&lt;/span&gt; &lt;span style="color: #000000;"&gt;18&lt;/span&gt;:&lt;span style="color: #000000;"&gt;13&lt;/span&gt; ._index.html
&lt;span style="color: #000000;"&gt;12&lt;/span&gt; &lt;span style="color: #660033;"&gt;-rw-rw-r--&lt;/span&gt;  &lt;span style="color: #000000;"&gt;1&lt;/span&gt; www-data www-data &lt;span style="color: #000000;"&gt;11510&lt;/span&gt; Feb  &lt;span style="color: #000000;"&gt;6&lt;/span&gt;  &lt;span style="color: #000000;"&gt;2017&lt;/span&gt; index.html
 &lt;span style="color: #000000;"&gt;4&lt;/span&gt; drwxrwxr-x  &lt;span style="color: #000000;"&gt;7&lt;/span&gt; nigel    www-data  &lt;span style="color: #000000;"&gt;4096&lt;/span&gt; Oct &lt;span style="color: #000000;"&gt;19&lt;/span&gt; &lt;span style="color: #000000;"&gt;21&lt;/span&gt;:07 kitboot
&lt;span style="color: #000000;"&gt;12&lt;/span&gt; drwxr-xr-x  &lt;span style="color: #000000;"&gt;4&lt;/span&gt; nigel    &lt;span style="color: #c20cb9; font-weight: bold;"&gt;users&lt;/span&gt;    &lt;span style="color: #000000;"&gt;12288&lt;/span&gt; Dec &lt;span style="color: #000000;"&gt;27&lt;/span&gt; &lt;span style="color: #000000;"&gt;16&lt;/span&gt;:&lt;span style="color: #000000;"&gt;41&lt;/span&gt; lakeland
 &lt;span style="color: #000000;"&gt;4&lt;/span&gt; drwxrwxr-x  &lt;span style="color: #000000;"&gt;8&lt;/span&gt; nigel    www-data  &lt;span style="color: #000000;"&gt;4096&lt;/span&gt; Oct &lt;span style="color: #000000;"&gt;22&lt;/span&gt; &lt;span style="color: #000000;"&gt;10&lt;/span&gt;:&lt;span style="color: #000000;"&gt;49&lt;/span&gt; meedjum
 &lt;span style="color: #000000;"&gt;4&lt;/span&gt; drwxrwxr-x  &lt;span style="color: #000000;"&gt;4&lt;/span&gt; nigel    www-data  &lt;span style="color: #000000;"&gt;4096&lt;/span&gt; Apr &lt;span style="color: #000000;"&gt;23&lt;/span&gt;  &lt;span style="color: #000000;"&gt;2017&lt;/span&gt; multisite
 &lt;span style="color: #000000;"&gt;4&lt;/span&gt; drwxrwxr-x &lt;span style="color: #000000;"&gt;11&lt;/span&gt; www-data www-data  &lt;span style="color: #000000;"&gt;4096&lt;/span&gt; Feb &lt;span style="color: #000000;"&gt;12&lt;/span&gt;  &lt;span style="color: #000000;"&gt;2017&lt;/span&gt; personal-blog
 &lt;span style="color: #000000;"&gt;4&lt;/span&gt; &lt;span style="color: #660033;"&gt;-rw-rw-r--&lt;/span&gt;  &lt;span style="color: #000000;"&gt;1&lt;/span&gt; www-data www-data  &lt;span style="color: #000000;"&gt;1301&lt;/span&gt; Aug  &lt;span style="color: #000000;"&gt;6&lt;/span&gt;  &lt;span style="color: #000000;"&gt;2015&lt;/span&gt; README.txt
 &lt;span style="color: #000000;"&gt;4&lt;/span&gt; drwxrwxr-x  &lt;span style="color: #000000;"&gt;9&lt;/span&gt; nigel    www-data  &lt;span style="color: #000000;"&gt;4096&lt;/span&gt; May  &lt;span style="color: #000000;"&gt;7&lt;/span&gt;  &lt;span style="color: #000000;"&gt;2017&lt;/span&gt; saasidate
 &lt;span style="color: #000000;"&gt;4&lt;/span&gt; drwxrwxr-x  &lt;span style="color: #000000;"&gt;9&lt;/span&gt; nigel    www-data  &lt;span style="color: #000000;"&gt;4096&lt;/span&gt; Dec &lt;span style="color: #000000;"&gt;23&lt;/span&gt; &lt;span style="color: #000000;"&gt;16&lt;/span&gt;:&lt;span style="color: #000000;"&gt;19&lt;/span&gt; serverless-vote
&lt;span style="color: #666666;"&gt;nigel@devbox:~$ &lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
          &lt;/div&gt;
  
      &lt;div class="field field--name-field-blog-youtube field--type-entity-reference-revisions field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-text-youtube paragraph--view-mode--default"&gt;
          
      &lt;/div&gt;
&lt;/div&gt;
          &lt;/div&gt;
  
  &lt;div class="field field--name-field-blog-terms field--type-entity-reference field--label-inline"&gt;
    &lt;div class="field--label"&gt;blog terms&lt;/div&gt;
          &lt;span class="field__items"&gt;
              &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/linux" hreflang="en"&gt;Linux&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/development" hreflang="en"&gt;Development&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/virtualbox" hreflang="en"&gt;VirtualBox&lt;/a&gt;&lt;/span&gt;
              &lt;/span&gt;
      &lt;/div&gt;
</description>
  <pubDate>Mon, 15 Jan 2018 11:00:12 +0000</pubDate>
    <dc:creator>nigel</dc:creator>
    <guid isPermaLink="false">134 at http://badzilla.co.uk</guid>
    </item>
<item>
  <title>Raspberry Pi with Squid Proxy Server for Testing Hand-Held Devices when Developing in a Sandbox</title>
  <link>http://badzilla.co.uk/raspberry-pi-squid-proxy-server-testing-hand-held-devices-when-developing-sandbox</link>
  <description>
&lt;span&gt;Raspberry Pi with Squid Proxy Server for Testing Hand-Held Devices when Developing in a Sandbox&lt;/span&gt;

&lt;span&gt;&lt;span lang="" about="http://badzilla.co.uk/user/1" typeof="schema:Person" property="schema:name" datatype="" xml:lang=""&gt;nigel&lt;/span&gt;&lt;/span&gt;

&lt;span&gt;Sat, 09/09/2017 - 22:43&lt;/span&gt;

      &lt;div class="field field--name-field-heading-image-text field--type-entity-reference-revisions field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/20170729_090241-scaled.jpg?itok=c13CCCIH 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/20170729_090241-scaled.jpg?itok=FC18opU- 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/20170729_090241-scaled.jpg?itok=J5eATDWu 1000w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/20170729_090241-scaled.jpg?itok=c13CCCIH" alt="Raspberry Pi and Keyboard" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;This blog shows you how to build a Squid proxy server on an inexpensive Raspberry Pi machine to help to test web application development in a local VM sandbox.&lt;/p&gt;

&lt;p&gt;So here's the problem. Say you are using a VirtualBox hosting Linux in a MacBook to develop your web application. This is practically an industry standard these days; certainly in the open source world anyway. You will have defined the IP address allocated to your VM in your &lt;strong&gt;/etc/hosts&lt;/strong&gt; along with the domain name you have chosen.&lt;/p&gt;

&lt;p&gt;You have elected a 'browser first' strategy for the markup, but how do you test your website against hand held devices? Option 1 is using the simulator in Chrome and other browsers which do a very good job of emulating most common devices, but they aren't perfect and frequently the results will differ between the simulator and the physical device. But since it isn't possible to edit the &lt;strong&gt;/etc/hosts&lt;/strong&gt; file in hand held devices, how do you point them to your arbitrarily named website domain? Well the second option is to use an external servicessuch as &lt;strong&gt;localtunnel&lt;/strong&gt; that can expose an IP address to the Internet - but a local service must be running constantly on the VM and firewalls have to be configured to allow incoming http requests which is not always desirable.&lt;/p&gt;

&lt;p&gt;There is a third way - use a proxy server to redirect the urls tapped into the hand held devices to the VM in your host machine (Mac / Windows or Linux). The easiest way to achieve this is to use &lt;strong&gt;Squid&lt;/strong&gt; - a mature and free proxy server used throughout the IT industry. It has immense capabilities - such as blacklisting genres of websites (e.g. porn / sex sites) so young family members aren't exposed to what they shouldn't be. But we really only need simple redirection.&lt;/p&gt;

&lt;p&gt;So my choice is &lt;strong&gt;Squid&lt;/strong&gt; which runs on Linux. Should I buy even more new hardware for my apartment? Or repurpose equipment from my hardware junkyard in the spare bedroom? Nope. I've always wanted a &lt;strong&gt;Raspberry Pi&lt;/strong&gt; to play with, and now I have an excuse to buy one!&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Bill of Materials&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;table border="1" bordercolor="#FFCC00" cellpadding="3" cellspacing="3" style="background-color:#FFFF99" width="100%"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Device&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.amazon.co.uk/gp/product/B01CD5VC92/ref=as_li_tl?ie=UTF8&amp;camp=1634&amp;creative=6738&amp;creativeASIN=B01CD5VC92&amp;linkCode=as2&amp;tag=upcomingfilms-21&amp;linkId=c99962502bfdde1e7041b22cd690b3fa" target="_blank"&gt;Raspberry Pi 3 Model B Quad Core CPU 1.2 GHz 1 GB RAM Motherboard&lt;/a&gt;&lt;img alt="" border="0" data-entity-type="" data-entity-uuid="" height="1" src="//ir-uk.amazon-adsystem.com/e/ir?t=upcomingfilms-21&amp;l=am2&amp;o=2&amp;a=B01CD5VC92" style="border:none !important; margin:0px !important;" width="1" /&gt;&lt;/td&gt;
&lt;td&gt;Amazon.co.uk&lt;/td&gt;
&lt;td&gt;£32.50&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SD Card&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.amazon.co.uk/gp/product/B010NE3QHQ/ref=as_li_tl?ie=UTF8&amp;tag=upcomingfilms-21&amp;camp=1634&amp;creative=6738&amp;linkCode=as2&amp;creativeASIN=B010NE3QHQ&amp;linkId=2b05d88f58835375c0c4b21cbf23c064" target="_blank"&gt;SanDisk Ultra 32 GB microSDHC Class 10 Memory Card up to 48 Mb/s - White/Grey&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Amazon.co.uk&lt;/td&gt;
&lt;td&gt;£13.50&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Box&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.amazon.co.uk/gp/product/B01F1PSFY6/ref=as_li_tl?ie=UTF8&amp;tag=upcomingfilms-21&amp;camp=1634&amp;creative=6738&amp;linkCode=as2&amp;creativeASIN=B01F1PSFY6&amp;linkId=762aa34fc3364f7961c2f7e1d1979b13" target="_blank"&gt;Raspberry Pi 3 Case - Black/Grey&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Amazon.co.uk&lt;/td&gt;
&lt;td&gt;£5.50&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Keyboard&lt;/td&gt;
&lt;td&gt;&lt;a href="https://www.amazon.co.uk/gp/product/B01M8HUQE7/ref=as_li_tl?ie=UTF8&amp;tag=upcomingfilms-21&amp;camp=1634&amp;creative=6738&amp;linkCode=as2&amp;creativeASIN=B01M8HUQE7&amp;linkId=4309a00a31cbe2c792ba61e63d32020e" target="_blank"&gt;Mofii Full-size Colorful Wired USB LED Backlit Gaming Keyboard for PC &amp; MAC - UK Layout&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Amazon.co.uk&lt;/td&gt;
&lt;td&gt;£12.99&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Power Cable&lt;/td&gt;
&lt;td&gt;2M / 6.5ft USB 2.0 A To MICRO B Cable Data and Charging Lead Cable - Black&lt;/td&gt;
&lt;td&gt;eBay.co.uk&lt;/td&gt;
&lt;td&gt;£1.65&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wall Plug&lt;/td&gt;
&lt;td&gt;DC5V 2A UK 3pin USB Charger Wall Plug Power Adapter&lt;/td&gt;
&lt;td&gt;eBay.co.uk&lt;/td&gt;
&lt;td&gt;£3.45&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mouse&lt;/td&gt;
&lt;td&gt;USB Mouse - spare&lt;/td&gt;
&lt;td&gt;n/a&lt;/td&gt;
&lt;td&gt;£-&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Network Cable&lt;/td&gt;
&lt;td&gt;RJ45 CAT5 cable - spare&lt;/td&gt;
&lt;td&gt;n/a&lt;/td&gt;
&lt;td&gt;£-&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td align="RIGHT"&gt;&lt;strong&gt;TOTAL&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt;£68.80&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;So the total price was significantly less than buying a new desktop or laptop computer and obviously the USB keyboard can be reused on other projects. I could've reduced my exposure by sharing phone charging cables around my apartment rather than buy another one to be dedicated for the Raspberry Pi but I wanted a 5V 2A power supply so it made sense to spend a small amount of extra money.&lt;/p&gt;
&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Building the System&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;There are plenty of tutorials on the Internet for setting up the base Raspberry Pi operation system - so I won't duplicate it here, but please note you will need to install the Raspberry Pi version of Debian Linux (&lt;strong&gt;Raspbian&lt;/strong&gt;) on the SD card. &lt;/p&gt;
&lt;h3&gt;Here's a list of useful links:&lt;/h3&gt;
&lt;p&gt; &lt;a href="https://www.raspberrypi.org/learning/software-guide/quickstart/" target="_blank"&gt;Raspberry Pi Software Guide&lt;/a&gt;&lt;br /&gt;
 &lt;a href="http://www.macworld.co.uk/how-to/mac/how-to-set-up-raspberry-pi-3-with-mac-3637490/" target="_blank"&gt;How to set up and use a Raspberry Pi 3 with a Mac&lt;/a&gt;&lt;br /&gt;
 &lt;a href="https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md" target="_blank"&gt;SETTING WIFI UP VIA THE COMMAND LINE&lt;/a&gt; - Only needed if you are not going to use a static IP address through the LAN connection&lt;br /&gt;
 &lt;a href="http://www.instructables.com/id/Use-ssh-to-talk-with-your-Raspberry-Pi/" target="_blank"&gt;Use Ssh to Talk With Your Raspberry Pi.&lt;/a&gt;   &lt;/p&gt;
&lt;p&gt;Once your Raspberry Pi is set up and you are ready to go, you can either ssh into the machine (as I did) or connect to it using a keyboard and mouse. If you choose SSH, you will have to enable that service first - see the link above if you are unsure how to do this.&lt;/p&gt;
&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Update the distribution&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;Always a good idea to update the box in case there are pending patches which weren't in the initial downloaded distribution. When I ran the commands below I got a welter of updates (which I've removed from the blow listing due to brevity reasons)
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;pi&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:~ $ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;apt-get update&lt;/span&gt;
pi&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:~ $ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;apt-get upgrade&lt;/span&gt;
pi&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:~ $ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;apt-get dist-upgrade&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Set a Static IP Address&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;The Raspberry Pi 3 does come with WifI so theoretically it is possible to set it up to have a DHCP dynamically assigned IP address. However that would be saving up problems should the IP address change due to rebooting or power interruptions. It would mean a whole load of settings would need to be changed in our system each time that happens. Most routers come with a built-in DHCP server and the range of IP addresses can be set - see below. I have already set my range to be 192.168.0.2 to 192.168.0.199 so anything 200 and above is reserved for devices that need a static address. &lt;/p&gt;
&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/Screen%20Shot%202017-09-02%20at%2011.12.20.png?itok=1kPwTZ-3 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/Screen%20Shot%202017-09-02%20at%2011.12.20.png?itok=xJbwD5Av 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/Screen%20Shot%202017-09-02%20at%2011.12.20.png?itok=B6ZPmrI8 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2017-09/Screen%20Shot%202017-09-02%20at%2011.12.20.png?itok=Xuhb6Cnm 1392w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/Screen%20Shot%202017-09-02%20at%2011.12.20.png?itok=1kPwTZ-3" alt="Router IP Range" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;I now start up the Raspberry Pi, connected to my LAN with a RJ45 cable, and it gets allocated a dynamic IP address by the DHCP server on my router. This can be checked through the router UI (see below) or by issuing &lt;em&gt;ifconfig&lt;/em&gt; when logged on to the Pi. &lt;/p&gt;
&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/PIIP.png?itok=OgTGJwqS 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/PIIP.png?itok=YscW2_4c 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/PIIP.png?itok=3XPbUqCn 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2017-09/PIIP.png?itok=VfRvutn1 1420w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/PIIP.png?itok=OgTGJwqS" alt="DHCP Allocated IP Address" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;Become the super user and edit the /etc/dhcpcd.conf file with vi or nano. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;pi&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:~ $ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;su&lt;/span&gt;
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;home&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;pi&lt;span style="color: #666666; font-style: italic;"&gt;# cd /etc/&lt;/span&gt;
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #666666; font-style: italic;"&gt;# vi dhcpcd.conf&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Now add the following text to the end of it. Note that I am just using the tail command to list the edits I have already made. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #666666; font-style: italic;"&gt;# tail -5 dhcpcd.conf&lt;/span&gt;
 
interface eth0
static &lt;span style="color: #007800;"&gt;ip_address&lt;/span&gt;=192.168.0.201&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;24&lt;/span&gt;        
static &lt;span style="color: #007800;"&gt;routers&lt;/span&gt;=192.168.0.1
static &lt;span style="color: #007800;"&gt;domain_name_servers&lt;/span&gt;=90.207.238.97
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #666666; font-style: italic;"&gt;# &lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
You will need to change the values according to your circumstances. I am using &lt;strong&gt;201&lt;/strong&gt; for my Pi server, &lt;strong&gt;1&lt;/strong&gt; is my router and the domain name server setting is pointing to my ISP's DNS address. Now reboot the Pi.
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #666666; font-style: italic;"&gt;# init 6&lt;/span&gt;
Connection to 192.168.0.12 closed by remote host.
Connection to 192.168.0.12 closed.&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Once the device has completed its startup sequence, go back to your router and check you've got an entry for your Pi - see screenshot below. My two servers can be seen highlighted - FreeNAS using &lt;strong&gt;200&lt;/strong&gt; and the Pi at &lt;strong&gt;201&lt;/strong&gt;. We are good to go!&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/PIIP2.png?itok=v48151Ev 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/PIIP2.png?itok=aduu_nWo 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/PIIP2.png?itok=mGuicyAw 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2017-09/PIIP2.png?itok=K6rdBwKZ 1384w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/PIIP2.png?itok=v48151Ev" alt="Static IP Address" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Install Squid&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;Ok let's install Squid
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;pi&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:~ $ &lt;span style="color: #c20cb9; font-weight: bold;"&gt;sudo&lt;/span&gt; &lt;span style="color: #c20cb9; font-weight: bold;"&gt;apt-get install&lt;/span&gt; squid3
Reading package lists... Done
Building dependency &lt;span style="color: #c20cb9; font-weight: bold;"&gt;tree&lt;/span&gt;       
Reading state information... Done
The following extra packages will be installed:
  libecap2 libmnl0 libnetfilter-conntrack3 squid-langpack squid3-common
Suggested packages:
  squidclient squid-cgi squid-purge smbclient ufw winbindd
The following NEW packages will be installed:
  libecap2 libmnl0 libnetfilter-conntrack3 squid-langpack squid3 squid3-common
&lt;span style="color: #000000;"&gt;0&lt;/span&gt; upgraded, &lt;span style="color: #000000;"&gt;6&lt;/span&gt; newly installed, &lt;span style="color: #000000;"&gt;0&lt;/span&gt; to remove and &lt;span style="color: #000000;"&gt;0&lt;/span&gt; not upgraded.
Need to get &lt;span style="color: #000000;"&gt;2&lt;/span&gt;,&lt;span style="color: #000000;"&gt;370&lt;/span&gt; kB of archives.
After this operation, &lt;span style="color: #000000;"&gt;8&lt;/span&gt;,&lt;span style="color: #000000;"&gt;372&lt;/span&gt; kB of additional disk space will be used.
Do you want to &lt;span style="color: #7a0874; font-weight: bold;"&gt;continue&lt;/span&gt;? &lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;Y&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;n&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt; Y
Get:&lt;span style="color: #000000;"&gt;1&lt;/span&gt; http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;mirrordirector.raspbian.org&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;raspbian&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; jessie&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;main libmnl0 armhf 1.0.3-&lt;span style="color: #000000;"&gt;5&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;&lt;span style="color: #000000;"&gt;10.9&lt;/span&gt; kB&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt;
Get:&lt;span style="color: #000000;"&gt;2&lt;/span&gt; http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;mirrordirector.raspbian.org&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;raspbian&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; jessie&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;main libnetfilter-conntrack3 armhf 1.0.4-&lt;span style="color: #000000;"&gt;1&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;&lt;span style="color: #000000;"&gt;40.0&lt;/span&gt; kB&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt;
Get:&lt;span style="color: #000000;"&gt;3&lt;/span&gt; http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;mirrordirector.raspbian.org&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;raspbian&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; jessie&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;main squid-langpack all &lt;span style="color: #000000;"&gt;20140506&lt;/span&gt;-&lt;span style="color: #000000;"&gt;1&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;&lt;span style="color: #000000;"&gt;150&lt;/span&gt; kB&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt;
Get:&lt;span style="color: #000000;"&gt;4&lt;/span&gt; http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;mirrordirector.raspbian.org&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;raspbian&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; jessie&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;main libecap2 armhf 0.2.0-&lt;span style="color: #000000;"&gt;3&lt;/span&gt; &lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;&lt;span style="color: #000000;"&gt;13.8&lt;/span&gt; kB&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt;
Get:&lt;span style="color: #000000;"&gt;5&lt;/span&gt; http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;mirrordirector.raspbian.org&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;raspbian&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; jessie&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;main squid3-common all 3.4.8-&lt;span style="color: #000000;"&gt;6&lt;/span&gt;+deb8u4 &lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;&lt;span style="color: #000000;"&gt;259&lt;/span&gt; kB&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt;
Get:&lt;span style="color: #000000;"&gt;6&lt;/span&gt; http:&lt;span style="color: #000000; font-weight: bold;"&gt;//&lt;/span&gt;mirrordirector.raspbian.org&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;raspbian&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt; jessie&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;main squid3 armhf 3.4.8-&lt;span style="color: #000000;"&gt;6&lt;/span&gt;+deb8u4 &lt;span style="color: #7a0874; font-weight: bold;"&gt;[&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;,&lt;span style="color: #000000;"&gt;897&lt;/span&gt; kB&lt;span style="color: #7a0874; font-weight: bold;"&gt;]&lt;/span&gt;
Fetched &lt;span style="color: #000000;"&gt;2&lt;/span&gt;,&lt;span style="color: #000000;"&gt;370&lt;/span&gt; kB &lt;span style="color: #000000; font-weight: bold;"&gt;in&lt;/span&gt; 3s &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;634&lt;/span&gt; kB&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;s&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;   
Selecting previously unselected package libmnl0:armhf.
&lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;Reading database ... &lt;span style="color: #000000;"&gt;115447&lt;/span&gt; files and directories currently installed.&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt;
Preparing to unpack ...&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;libmnl0_1.0.3-&lt;span style="color: #000000;"&gt;5&lt;/span&gt;_armhf.deb ...
Unpacking libmnl0:armhf &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;1.0.3-&lt;span style="color: #000000;"&gt;5&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Selecting previously unselected package libnetfilter-conntrack3:armhf.
Preparing to unpack ...&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;libnetfilter-conntrack3_1.0.4-&lt;span style="color: #000000;"&gt;1&lt;/span&gt;_armhf.deb ...
Unpacking libnetfilter-conntrack3:armhf &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;1.0.4-&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Selecting previously unselected package squid-langpack.
Preparing to unpack ...&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid-langpack_20140506-&lt;span style="color: #000000;"&gt;1&lt;/span&gt;_all.deb ...
Unpacking squid-langpack &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;20140506&lt;/span&gt;-&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Selecting previously unselected package libecap2.
Preparing to unpack ...&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;libecap2_0.2.0-&lt;span style="color: #000000;"&gt;3&lt;/span&gt;_armhf.deb ...
Unpacking libecap2 &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;0.2.0-&lt;span style="color: #000000;"&gt;3&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Selecting previously unselected package squid3-common.
Preparing to unpack ...&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3-common_3.4.8-&lt;span style="color: #000000;"&gt;6&lt;/span&gt;+deb8u4_all.deb ...
Unpacking squid3-common &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;3.4.8-&lt;span style="color: #000000;"&gt;6&lt;/span&gt;+deb8u4&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Selecting previously unselected package squid3.
Preparing to unpack ...&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3_3.4.8-&lt;span style="color: #000000;"&gt;6&lt;/span&gt;+deb8u4_armhf.deb ...
Unpacking squid3 &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;3.4.8-&lt;span style="color: #000000;"&gt;6&lt;/span&gt;+deb8u4&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Processing triggers &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; man-db &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;2.7.5-&lt;span style="color: #000000;"&gt;1&lt;/span&gt;~bpo8+&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Processing triggers &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; systemd &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;215&lt;/span&gt;-&lt;span style="color: #000000;"&gt;17&lt;/span&gt;+deb8u7&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Setting up libmnl0:armhf &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;1.0.3-&lt;span style="color: #000000;"&gt;5&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Setting up libnetfilter-conntrack3:armhf &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;1.0.4-&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Setting up squid-langpack &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;20140506&lt;/span&gt;-&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Setting up libecap2 &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;0.2.0-&lt;span style="color: #000000;"&gt;3&lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Setting up squid3-common &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;3.4.8-&lt;span style="color: #000000;"&gt;6&lt;/span&gt;+deb8u4&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Setting up squid3 &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;3.4.8-&lt;span style="color: #000000;"&gt;6&lt;/span&gt;+deb8u4&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Creating Squid HTTP proxy &lt;span style="color: #000000;"&gt;3&lt;/span&gt;.x spool directory structure
&lt;span style="color: #000000;"&gt;2017&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;07&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;30&lt;/span&gt; &lt;span style="color: #000000;"&gt;18&lt;/span&gt;:&lt;span style="color: #000000;"&gt;55&lt;/span&gt;:00 kid1&lt;span style="color: #000000; font-weight: bold;"&gt;|&lt;/span&gt; Set Current Directory to &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;var&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;spool&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3
&lt;span style="color: #000000;"&gt;2017&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;07&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;30&lt;/span&gt; &lt;span style="color: #000000;"&gt;18&lt;/span&gt;:&lt;span style="color: #000000;"&gt;55&lt;/span&gt;:00 kid1&lt;span style="color: #000000; font-weight: bold;"&gt;|&lt;/span&gt; Creating missing swap directories
&lt;span style="color: #000000;"&gt;2017&lt;/span&gt;&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;07&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;30&lt;/span&gt; &lt;span style="color: #000000;"&gt;18&lt;/span&gt;:&lt;span style="color: #000000;"&gt;55&lt;/span&gt;:00 kid1&lt;span style="color: #000000; font-weight: bold;"&gt;|&lt;/span&gt; No cache_dir stores are configured.
Processing triggers &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; libc-bin &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;2.19&lt;/span&gt;-&lt;span style="color: #000000;"&gt;18&lt;/span&gt;+deb8u10&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
Processing triggers &lt;span style="color: #000000; font-weight: bold;"&gt;for&lt;/span&gt; systemd &lt;span style="color: #7a0874; font-weight: bold;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;215&lt;/span&gt;-&lt;span style="color: #000000;"&gt;17&lt;/span&gt;+deb8u7&lt;span style="color: #7a0874; font-weight: bold;"&gt;)&lt;/span&gt; ...
pi&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:~ $ &lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Configuring Squid&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;First change directory to the squid configuration Squid directory and save the original configuration file just in case it needs to revered sometime.
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;&lt;span style="color: #666666;"&gt;root@raspberrypi:~# &lt;/span&gt;&lt;span style="color: #7a0874; font-weight: bold;"&gt;cd&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #666666; font-style: italic;"&gt;# cp squid.conf squid.conf.original&lt;/span&gt;
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #666666; font-style: italic;"&gt;#&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
By default Squid doesn't allow any access to the Internet so that will need fixing. Like most ACL based systems, once Squid finds a rule that applies to a particular URL then it stops looking for more rules. So early in the config file you need to tell Squid to allow all HTTP traffic. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;http_access allow all&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
You will also need to tell Squid about your local network. I am using the 192.168.0.0 range of IP addresses - find that in the configuration and uncomment it
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;acl localnet src 192.168.0.0&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;16&lt;/span&gt;	&lt;span style="color: #666666; font-style: italic;"&gt;# RFC1918 possible internal network&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Finally we don't want any caching since we will be using our Squid mainly for redirection purposes and when recent website changes need to be seen for testing purposes, so add this at the caching section
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;cache deny all&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Below is a list of the changes in a form of a diff file which some may find more useful than the separate settings I've mentioned above. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #666666; font-style: italic;"&gt;# diff -Naur  squid.conf.original squid.conf&lt;/span&gt;
&lt;span style="color: #660033;"&gt;---&lt;/span&gt; squid.conf.original	&lt;span style="color: #000000;"&gt;2017&lt;/span&gt;-09-02 &lt;span style="color: #000000;"&gt;19&lt;/span&gt;:&lt;span style="color: #000000;"&gt;22&lt;/span&gt;:&lt;span style="color: #000000;"&gt;23.804970154&lt;/span&gt; +0000
+++ squid.conf	&lt;span style="color: #000000;"&gt;2017&lt;/span&gt;-09-03 &lt;span style="color: #000000;"&gt;10&lt;/span&gt;:&lt;span style="color: #000000;"&gt;41&lt;/span&gt;:&lt;span style="color: #000000;"&gt;48.190318779&lt;/span&gt; +0000
&lt;span style="color: #000000; font-weight: bold;"&gt;@@&lt;/span&gt; -&lt;span style="color: #000000;"&gt;1037&lt;/span&gt;,&lt;span style="color: #000000;"&gt;10&lt;/span&gt; +&lt;span style="color: #000000;"&gt;1037&lt;/span&gt;,&lt;span style="color: #000000;"&gt;11&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;@@&lt;/span&gt;
 &lt;span style="color: #666666; font-style: italic;"&gt;# should be allowed&lt;/span&gt;
 &lt;span style="color: #666666; font-style: italic;"&gt;#acl localnet src 10.0.0.0/8	# RFC1918 possible internal network&lt;/span&gt;
 &lt;span style="color: #666666; font-style: italic;"&gt;#acl localnet src 172.16.0.0/12	# RFC1918 possible internal network&lt;/span&gt;
&lt;span style="color: #666666;"&gt;-#&lt;/span&gt;acl localnet src 192.168.0.0&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;16&lt;/span&gt;	&lt;span style="color: #666666; font-style: italic;"&gt;# RFC1918 possible internal network&lt;/span&gt;
+acl localnet src 192.168.0.0&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;&lt;span style="color: #000000;"&gt;16&lt;/span&gt;	&lt;span style="color: #666666; font-style: italic;"&gt;# RFC1918 possible internal network&lt;/span&gt;
 &lt;span style="color: #666666; font-style: italic;"&gt;#acl localnet src fc00::/7       # RFC 4193 local private network range&lt;/span&gt;
 &lt;span style="color: #666666; font-style: italic;"&gt;#acl localnet src fe80::/10      # RFC 4291 link-local (directly plugged) machines&lt;/span&gt;
 
+
 acl SSL_ports port &lt;span style="color: #000000;"&gt;443&lt;/span&gt;
 acl Safe_ports port &lt;span style="color: #000000;"&gt;80&lt;/span&gt;		&lt;span style="color: #666666; font-style: italic;"&gt;# http&lt;/span&gt;
 acl Safe_ports port &lt;span style="color: #000000;"&gt;21&lt;/span&gt;		&lt;span style="color: #666666; font-style: italic;"&gt;# ftp&lt;/span&gt;
&lt;span style="color: #000000; font-weight: bold;"&gt;@@&lt;/span&gt; -&lt;span style="color: #000000;"&gt;1180&lt;/span&gt;,&lt;span style="color: #000000;"&gt;6&lt;/span&gt; +&lt;span style="color: #000000;"&gt;1181&lt;/span&gt;,&lt;span style="color: #000000;"&gt;7&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;@@&lt;/span&gt;
 &lt;span style="color: #666666; font-style: italic;"&gt;#Default:&lt;/span&gt;
 &lt;span style="color: #666666; font-style: italic;"&gt;# Deny, unless rules exist in squid.conf.&lt;/span&gt;
 &lt;span style="color: #666666; font-style: italic;"&gt;#&lt;/span&gt;
+http_access allow all
 
 &lt;span style="color: #666666; font-style: italic;"&gt;#&lt;/span&gt;
 &lt;span style="color: #666666; font-style: italic;"&gt;# Recommended minimum Access Permission configuration:&lt;/span&gt;
&lt;span style="color: #000000; font-weight: bold;"&gt;@@&lt;/span&gt; -&lt;span style="color: #000000;"&gt;2999&lt;/span&gt;,&lt;span style="color: #000000;"&gt;6&lt;/span&gt; +&lt;span style="color: #000000;"&gt;3001&lt;/span&gt;,&lt;span style="color: #000000;"&gt;9&lt;/span&gt; &lt;span style="color: #000000; font-weight: bold;"&gt;@@&lt;/span&gt;
 &lt;span style="color: #666666; font-style: italic;"&gt;# DISK CACHE OPTIONS&lt;/span&gt;
 &lt;span style="color: #666666; font-style: italic;"&gt;# -----------------------------------------------------------------------------&lt;/span&gt;
 
+cache deny all
+
+
 &lt;span style="color: #666666; font-style: italic;"&gt;#  TAG: cache_replacement_policy&lt;/span&gt;
 &lt;span style="color: #666666; font-style: italic;"&gt;#	The cache replacement policy parameter determines which&lt;/span&gt;
 &lt;span style="color: #666666; font-style: italic;"&gt;#	objects are evicted (replaced) when disk space is needed.&lt;/span&gt;
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #666666; font-style: italic;"&gt;# &lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
We are now done with the configuration in the conf file so we can restart the Squid service so these changes take effect
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #666666; font-style: italic;"&gt;# service squid3 restart&lt;/span&gt;
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #666666; font-style: italic;"&gt;# &lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
Won't be the worst idea to copy the configuration just for safety. 
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #666666; font-style: italic;"&gt;# cp squid.conf squid.conf.local-vm&lt;/span&gt;
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #666666; font-style: italic;"&gt;# &lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
You are now probably wondering how does Squid possibly know where my Virtual Hosts in my Virtual Machine are!! This is the simple bit :) - you need to add all those sites you are working on into the &lt;strong&gt;/etc/hosts&lt;/strong&gt; file on your Pi. You will already have these listed in your Macbook hosts file so simply copy and paste. My file ended up looking like this below:
&lt;div class="geshifilter"&gt;&lt;div class="bash geshifilter-bash" style="font-family:monospace;"&gt;&lt;pre style="font-family: monospace; font-weight: normal; font-style: normal"&gt;root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #666666; font-style: italic;"&gt;# cat /etc/hosts&lt;/span&gt;
127.0.0.1	localhost
::&lt;span style="color: #000000;"&gt;1&lt;/span&gt;		localhost ip6-localhost ip6-loopback
ff02::&lt;span style="color: #000000;"&gt;1&lt;/span&gt;		ip6-allnodes
ff02::&lt;span style="color: #000000;"&gt;2&lt;/span&gt;		ip6-allrouters
 
127.0.1.1	raspberrypi
 
192.168.0.14 badzilla-d8.localhost
192.168.0.14 meedjum.localhost
root&lt;span style="color: #000000; font-weight: bold;"&gt;@&lt;/span&gt;raspberrypi:&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;etc&lt;span style="color: #000000; font-weight: bold;"&gt;/&lt;/span&gt;squid3&lt;span style="color: #666666; font-style: italic;"&gt;#&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt; 
The last two entries - badzilla-d8.localhost and meedjum.localhost are the two sites I am working on. The migration of Badzilla from D6 to D8. Yey!&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-heading field--type-string field--label-hidden field--item"&gt;Handheld Device Client Configuration&lt;/div&gt;
      
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;We are now ready to test our solution, and for this I'll use screenshots from Android and iOS.&lt;/p&gt;
&lt;h3&gt;Android&lt;/h3&gt;
&lt;p&gt;Go to Settings-&gt;WiFi, then long tap on your network and tap 'Modify network config', then tap 'Show advanced options' and add the configuration for the proxy, then tap save.&lt;/p&gt;
&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/Screenshot_2017-09-09-13-04-04-blur.png?itok=XKO50cBU 183w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/Screenshot_2017-09-09-13-04-04-blur.png?itok=0vyAfyIa 366w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/Screenshot_2017-09-09-13-04-04-blur.png?itok=GzycG_g_ 731w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2017-09/Screenshot_2017-09-09-13-04-04-blur.png?itok=W_xJiC6v 1080w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/Screenshot_2017-09-09-13-04-04-blur.png?itok=XKO50cBU" alt="Android Proxy Settings" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Now point a web browser to your web development domain&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/Screenshot_2017-09-09-13-07-23.png?itok=9nnC0tbr 183w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/Screenshot_2017-09-09-13-07-23.png?itok=l-Syy2jG 366w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/Screenshot_2017-09-09-13-07-23.png?itok=oaJ9a9UY 731w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2017-09/Screenshot_2017-09-09-13-07-23.png?itok=Kj-mk4cT 1080w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/Screenshot_2017-09-09-13-07-23.png?itok=9nnC0tbr" alt="Android Website" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;h3&gt;iOS&lt;/h3&gt;
&lt;p&gt;Go to settings, tap on your WiFi, tap on the information icon, tap on 'Manual' under HTTP Proxy, and enter the values.&lt;/p&gt;
&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/IMG_0001-blur.PNG?itok=IRZi4N5E 244w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/IMG_0001-blur.PNG?itok=Hlw0iLcq 488w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/IMG_0001-blur.PNG?itok=llgbp1dt 975w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2017-09/IMG_0001-blur.PNG?itok=9Surfa4H 1536w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/IMG_0001-blur.PNG?itok=IRZi4N5E" alt="iOS Proxy Settings" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Now point a web browser to your web development domain - this is very early in the process as you can see. Somehow two seach boxes are on this early build!&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/IMG_0002.PNG?itok=Jb7EOkP9 244w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/IMG_0002.PNG?itok=E_syylef 488w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/IMG_0002.PNG?itok=4aZshtFb 975w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2017-09/IMG_0002.PNG?itok=9k2duuq5 1536w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/IMG_0002.PNG?itok=Jb7EOkP9" alt="iOS Website" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
      &lt;/div&gt;
&lt;/div&gt;
          &lt;/div&gt;
  
  &lt;div class="field field--name-field-blog-terms field--type-entity-reference field--label-inline"&gt;
    &lt;div class="field--label"&gt;blog terms&lt;/div&gt;
          &lt;span class="field__items"&gt;
              &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/raspberrypi" hreflang="en"&gt;Raspberry Pi&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/squid" hreflang="en"&gt;Squid&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/linux" hreflang="en"&gt;Linux&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/drupal" hreflang="en"&gt;Drupal&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/development" hreflang="en"&gt;Development&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/virtualbox" hreflang="en"&gt;VirtualBox&lt;/a&gt;&lt;/span&gt;
              &lt;/span&gt;
      &lt;/div&gt;
</description>
  <pubDate>Sat, 09 Sep 2017 21:43:47 +0000</pubDate>
    <dc:creator>nigel</dc:creator>
    <guid isPermaLink="false">1 at http://badzilla.co.uk</guid>
    </item>
<item>
  <title>Evaluate Windows 8 in VirtualBox running on openSUSE Linux</title>
  <link>http://badzilla.co.uk/Evaluate-Windows-8-in-VirtualBox-running-on-openSUSE%2520Linux</link>
  <description>
&lt;span&gt;Evaluate Windows 8 in VirtualBox running on openSUSE Linux&lt;/span&gt;

&lt;span&gt;&lt;span lang="" about="http://badzilla.co.uk/user/1" typeof="schema:Person" property="schema:name" datatype="" xml:lang=""&gt;nigel&lt;/span&gt;&lt;/span&gt;

&lt;span&gt;Sun, 24/02/2013 - 11:24&lt;/span&gt;

      &lt;div class="field field--name-field-heading-image-text field--type-entity-reference-revisions field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Being a die-hard Linux user I have tried to eliminate Microsoft products from my life. Unfortunately I've not been totally successful, and I still have recourse to using a few software packages that are only available on the Windows platform. Therefore I have three options - (1) Use a second machine to run the Windows apps, (2) Reboot my Linux machine into a Windows partition, (3) Run a VirtualBox in Linux, and in that VirtualBox have a copy of Windows running. Clearly option (3) is the best solution, and this tutorial provides the steps required to install Windows 8 in a VirtualBox under openSUSE, my own particular favourite flavour of Linux.&lt;/p&gt;

&lt;p&gt;The beauty of VirtualBox is it quickly allows an evaluation of an operating system to check whether it matches requirements, and since Windows 8 costs real money it is not a decision I'll take lightly. So my requirements are Windows 8 in VirtualBox must be able to:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Connect to my local FreeNAS server which is my central repository for all my personal data. My own cloud computing in my spare room&lt;/li&gt;
	&lt;li&gt;Accept input from my USB barcode scanner for when I scan books into my BookCAT collection&lt;/li&gt;
	&lt;li&gt;Apropos the above, be able to run the Windows apps BookCAT (for my book collection) and Photoshop&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I have promised myself that should all those requirements be met, I'll invest in my own legal copy of MS Windows 8. So, on with the tutorial!&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox1.png?itok=xBSE9V8L 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/VirtualBox1.png?itok=XaHjfBXN 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/VirtualBox1.png?itok=0j36RyyQ 1204w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox1.png?itok=xBSE9V8L" alt="VirtualBox 1" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Firstly, you will need a copy of the GPL licensed VirtualBox on your machine. I am undertaking this tutorial using openSUSE, and one of the reasons for this is I like the very user friendly Yast utility for system administration. It is a breeze to install software and all its dependencies. The VirtualBox images are held in the standard openSUSE repositories. Couldn't be simpler!&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox2.png?itok=y6OJGNH4 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/VirtualBox2.png?itok=JXIc0mNc 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/VirtualBox2.png?itok=EGVkm04B 932w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox2.png?itok=y6OJGNH4" alt="VirtualBox 2" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;An evaluation copy of MS Windows 8 is available for 90 days before it expires. There are all sorts of restrictions to this, primarily the evaluation copy cannot be upgraded later and thus any post-installation configuration will be lost. No matter for me. Also worth noting is you will need a Microsoft account somewhere before you are allowed to download Windows. It can be downloaded from &lt;a href="http://msdn.microsoft.com/en-gb/evalcenter/jj554510.aspx"&gt;http://msdn.microsoft.com/en-gb/evalcenter/jj554510.aspx&lt;/a&gt;. Once you have downloaded it, the file (which is an iso image) will need to be burnt to DVD. I used the KDE application k2b for this, although there are many utilities to do this.&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox3.png?itok=oQbBGsub 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/VirtualBox3.png?itok=7QNUvb1j 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/VirtualBox3.png?itok=RS2-xrqv 854w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox3.png?itok=oQbBGsub" alt="VirtualBox3" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Next start up VirtualBox since we are ready to start the build, and you will see the screen above.&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox4.png?itok=VcWTl36m 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/VirtualBox4.png?itok=tGUz9Mh2 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/VirtualBox4.png?itok=m-mJMirq 711w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox4.png?itok=VcWTl36m" alt="VirtualBox 4" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Click on &lt;em&gt;New&lt;/em&gt; and add a name to your virtual machine. I tried &lt;em&gt;Windows 8&lt;/em&gt; and rather cleverly the selection boxes underneath selected the correct options for me&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox5.png?itok=yZjnzXEK 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/VirtualBox5.png?itok=yL7YSLhG 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/VirtualBox5.png?itok=-nL6eJl6 711w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox5.png?itok=yZjnzXEK" alt="VirtualBox 5" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;I adjusted the memory slider to share the available memory between Linux and Windows. I'm tempted to buy additional memory for my laptop now - maybe an upgrade to 8GB could be in order?&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox6.png?itok=N2ETEarh 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/VirtualBox6.png?itok=fUm5IUa3 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/VirtualBox6.png?itok=df5n2W_z 711w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox6.png?itok=N2ETEarh" alt="VirtualBox 6" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Here I am saying I would like to configure later an amount of disk space reserved for this installation.&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox7.png?itok=O-g2ER1v 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/VirtualBox7.png?itok=A42yqkzP 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/VirtualBox7.png?itok=1r91TOIl 763w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox7.png?itok=O-g2ER1v" alt="VirtualBox 7" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;The type of disk required may vary depending upon your circumstances, but I went for a &lt;em&gt;Virtual Hard Disk&lt;/em&gt;&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox8.png?itok=PWQgMnEq 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/VirtualBox8.png?itok=PMuPi4GV 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/VirtualBox8.png?itok=QAEa_uuo 763w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox8.png?itok=PWQgMnEq" alt="VirtualBox 8" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;I elected to set a precise amount of disk space.&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox9.png?itok=qWOv1QtH 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/VirtualBox9.png?itok=plwNyaPt 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/VirtualBox9.png?itok=sNGVBpcz 763w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox9.png?itok=qWOv1QtH" alt="VirtualBox 9" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Here you will need to specify the location of the disk drive and how much you want to allocate. Unless you are planning on installing loads of apps for your evaluation, there isn't much point in overstating the size. I went for 25GB which will be more than adequate.&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox10.png?itok=yOepQRCo 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/VirtualBox10.png?itok=jOnUfp_6 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/VirtualBox10.png?itok=PDWq-rBL 763w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox10.png?itok=yOepQRCo" alt="VirtualBox 10" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Here's the summary screen so be sure to check everything matches your needs before clicking &lt;em&gt;create&lt;/em&gt;&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox11.png?itok=qb4sgiSc 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/VirtualBox11.png?itok=D1s7UxIA 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/VirtualBox11.png?itok=n_w4pgSs 854w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox11.png?itok=qb4sgiSc" alt="VirtualBox 11" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;The VirtualBox instance will now be created and you'll see it listed down the lefthand side&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox12.png?itok=M4ekGWF_ 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/VirtualBox12.png?itok=4wtzcF38 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/VirtualBox12.png?itok=_XKMjRC0 719w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox12.png?itok=M4ekGWF_" alt="VirtualBox 12" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Click on &lt;em&gt;Start&lt;/em&gt; and the Windows installation is under way! The first time wizard dialog will be presented&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox13.png?itok=1jvSdXbl 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/VirtualBox13.png?itok=roRmJOFU 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/VirtualBox13.png?itok=agCNNtFD 719w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox13.png?itok=1jvSdXbl" alt="VirtualBox 13" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Select the drive which has your DVD iso image. In my case, there's a choice of one!&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox14.png?itok=FuXILz9x 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/VirtualBox14.png?itok=CHZ-URF- 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/VirtualBox14.png?itok=v6IE-cfY 719w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox14.png?itok=FuXILz9x" alt="VirtualBox 14" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;A pre-flight summary screen before you light the blue touch paper&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox16.png?itok=Re3w4ipA 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/VirtualBox16.png?itok=B9L6IIlZ 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/VirtualBox16.png?itok=GUGp-roR 1108w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox16.png?itok=Re3w4ipA" alt="VirtualBox 16" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;The Windows 8 installation starts and you will be presented with the country select options. As usual, there is no English (United Kingdom) language option. Shameful, Microsoft!&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox17.png?itok=U5m0AfaK 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/VirtualBox17.png?itok=6NjDfqnG 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/VirtualBox17.png?itok=4qaW0Wvd 1108w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox17.png?itok=U5m0AfaK" alt="VirtualBox 17" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;You can of course read all the Terms and Conditions before you accept&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox18.png?itok=j4GI5hiF 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/VirtualBox18.png?itok=_Jqa48m- 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/VirtualBox18.png?itok=7xesCiPY 1108w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox18.png?itok=j4GI5hiF" alt="VirtualBox 18" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Next you will see a compatibility report. Treat this as an aide memoire - you will need to remove the installation disk once the install process is completed or else it will attempt a second install over your previous one&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox20.png?itok=rtQwl4Ss 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/VirtualBox20.png?itok=D5_owJfn 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/VirtualBox20.png?itok=_4Uf0E2t 1108w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox20.png?itok=rtQwl4Ss" alt="VirtualBox 20" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Remember that 25GB we allocated for our hard disk? This is where we select it.&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox21.png?itok=kWINxJtP 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/VirtualBox21.png?itok=T6ocU2Dt 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/VirtualBox21.png?itok=bFVElYIf 1108w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox21.png?itok=kWINxJtP" alt="VirtualBox 21" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;The installation process commences and all the files are copied over to your hard disk. This will take some time so go and put the kettle on&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox23.png?itok=2UgF3eyR 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/VirtualBox23.png?itok=J0KhgvFs 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/VirtualBox23.png?itok=n5w5GIqI 1108w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox23.png?itok=2UgF3eyR" alt="VirtualBox 23" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Give your Windows 8 installation a name. It took me a couple of attempts to invent one that was valid and fitted in the character limits and restrictions&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox24.png?itok=Uh_-_Ofq 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/VirtualBox24.png?itok=7_v_vrLH 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/VirtualBox24.png?itok=UCyolVxj 1108w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox24.png?itok=Uh_-_Ofq" alt="VirtualBox 24" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;I couldn't see a compelling reason for doing anything other than &lt;em&gt;Use Express Settings&lt;/em&gt; here. Your mileage may vary, if so you may wish to experiment with . If you do and stuff up, you can always delete your virtual machine and go again&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox25.png?itok=iAJRvkf7 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/VirtualBox25.png?itok=g_1tf6C9 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/VirtualBox25.png?itok=NTmO815t 1108w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox25.png?itok=iAJRvkf7" alt="VirtualBox 25" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;I guess this is the way operating systems are going, but I can't say I'm particularly comfortable about it. I needed to sign in using my Microsoft account. I took a couple of goes to get it right as you can see&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox26.png?itok=8ilVQS_s 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/VirtualBox26.png?itok=hfeKhsma 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/VirtualBox26.png?itok=0Y3OxVI1 1108w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox26.png?itok=8ilVQS_s" alt="VirtualBox 26" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;A rather pleasing colour changing screen now appears as the apps are installed on the machine.&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox27.png?itok=lDE1BqJ7 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/VirtualBox27.png?itok=mFsGCZNh 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/VirtualBox27.png?itok=WoBMsPAu 1108w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox27.png?itok=lDE1BqJ7" alt="VirtualBox 27" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;And here we are - Windows 8 starts up. The odd thing is the system knows I am UK based and sets the contextual news correctly, but rather goes adrift with the weather!&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox28.png?itok=w0FT-9Vo 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/VirtualBox28.png?itok=RgRgkiCX 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/VirtualBox28.png?itok=oFGq9545 1108w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox28.png?itok=w0FT-9Vo" alt="VirtualBox 28" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Click on the &lt;em&gt;Desktop&lt;/em&gt; and you will duly arrive on the desktop!&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox33.png?itok=X5HqG8ml 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/VirtualBox33.png?itok=NtLLcBlQ 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/VirtualBox33.png?itok=zaQyzNIm 1108w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox33.png?itok=X5HqG8ml" alt="VirtualBox 33" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;For those following this tutorial with the intention of getting Windows up and running, you have succeeded! I however have other criteria - I need to connect to my FreeNAS server on my local network. To do this, click on the folder icon and once the files / folders come up and right click on the &lt;em&gt;Network&lt;/em&gt;and then click on &lt;em&gt;Map network drive&lt;/em&gt;&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox34.png?itok=FJe4LTi_ 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/VirtualBox34.png?itok=exXBnJSw 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/VirtualBox34.png?itok=s4GQFCRm 1108w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox34.png?itok=FJe4LTi_" alt="VirtualBox 34" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Empirically I noticed that no matter which configuration I went for, Windows 8 simply would not discover my FreeNAS server in the workgroup WORKGROUP and show a clickable icon. So I had to put the IP address and the share name in manually. If you don't have permissions to log onto this share, you will be presented (as I was) with a further dialog box requesting a user name and password.&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox35.png?itok=pfENUNn8 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/VirtualBox35.png?itok=61hSrrB7 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/VirtualBox35.png?itok=rp5Q8QWA 1108w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox35.png?itok=pfENUNn8" alt="VirtualBox 35" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;Yippee! I have now connected to my FreeNAS server and I can see my directory listing. So, one of my criteria has been met!&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox36.png?itok=nsHfQ01q 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/VirtualBox36.png?itok=wUycH9jf 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/VirtualBox36.png?itok=Xejtnpvw 1108w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox36.png?itok=nsHfQ01q" alt="VirtualBox 36" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;I now installed BookCAT - the Windows book cataloguing software and the primary driver for this entire exercise. The next test was to plug my USB barcode scanner and scan the barcode of a book into BookCAT. All being well it will recognise the code as a valid ISBN and download the book details from Amazon. This went very well with only a minor problem - the first scan from the device issued an addition '9' at the front of the ISBN. Subsequent scans were ok. I have no idea why this is the case, but it is such a trivial inconvenience I am more than happy to forget about it. No point in wasting time investigating.&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
              &lt;div class="field--item"&gt;  &lt;div class="paragraph paragraph--type--blog-heading-picture-text paragraph--view-mode--default"&gt;
          
      &lt;div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"&gt;
              &lt;div class="field--item"&gt;    &lt;img srcset="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox38.png?itok=Di69LRNX 325w, https://assets.badzilla.co.uk/s3fs-public/styles/max_650x650/public/2017-09/VirtualBox38.png?itok=Xt2AB3lO 650w, https://assets.badzilla.co.uk/s3fs-public/styles/max_1300x1300/public/2017-09/VirtualBox38.png?itok=zaC-dsjR 1300w, https://assets.badzilla.co.uk/s3fs-public/styles/max_2600x2600/public/2017-09/VirtualBox38.png?itok=pyA4bSAE 1600w" sizes="(min-width: 1290px) 1290px, 100vw" src="https://assets.badzilla.co.uk/s3fs-public/styles/max_325x325/public/2017-09/VirtualBox38.png?itok=Di69LRNX" alt="VirtualBox 38" typeof="foaf:Image" class="img-responsive" /&gt;


&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class="field field--name-field-blog-text field--type-text-long field--label-hidden field--item"&gt;&lt;p&gt;And here is the final image - Windows 8 happily sitting in its own window in a VirtualBox running under openSUSE Linux. It's Alchemy!! But it's also an excellent tool to enable for instance cross browser compatibility for web developers such as myself.&lt;/p&gt;&lt;/div&gt;
      
      &lt;/div&gt;
&lt;/div&gt;
          &lt;/div&gt;
  
  &lt;div class="field field--name-field-blog-terms field--type-entity-reference field--label-inline"&gt;
    &lt;div class="field--label"&gt;blog terms&lt;/div&gt;
          &lt;span class="field__items"&gt;
              &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/linux" hreflang="en"&gt;Linux&lt;/a&gt;&lt;/span&gt;
          &lt;span class="field--item"&gt;&lt;a href="http://badzilla.co.uk/virtualbox" hreflang="en"&gt;VirtualBox&lt;/a&gt;&lt;/span&gt;
              &lt;/span&gt;
      &lt;/div&gt;
</description>
  <pubDate>Sun, 24 Feb 2013 11:24:24 +0000</pubDate>
    <dc:creator>nigel</dc:creator>
    <guid isPermaLink="false">58 at http://badzilla.co.uk</guid>
    </item>

  </channel>
</rss>
