Skip to content
mrseanryan edited this page Jan 8, 2019 · 16 revisions

Home

notes

Config of the Ubuntu Hyper-V VM on Windows

  • Created 'manually' not using the Quick option, so can configure hard drive size

    • Network Adapter: Default Switch
    • [after VM created] Secure Boot disabled (so Ubuntu ISO can boot)
  • memory:

    • basic VM: 3 Gb seems enough
    • with large site and containers: 10 Gb so docker containers in Ubuntu don't cause VM to freeze up
      • (maybe less memory would work, but 4 Gb also froze)
    • dynamic memory OFF as tends to grow too much
  • CPU:

    • set 4 virtual processors (I think total on my laptop was 8 physical cores)
  • Hard drive:

    • basic VM: 10 Gb is fine (5 Gb free)
    • large site and containers: 20 Gb in size
    • Hosted on SSD

Stackoverflow about setting up a VNC server so can RDP from Windows (or Unix)

https://askubuntu.com/questions/234856/unable-to-do-remote-desktop-using-xrdp

Article about using the docker on the HOST machine

(I could not get this to connect)

Article about using (NOT running) docker inside a VM hosted on Windows:

https://medium.com/@sebagomez/installing-the-docker-client-on-ubuntus-windows-subsystem-for-linux-612b392a44c4

Also has another way of installing docker, that could avoid issue with hard-coding docker-compose version ?

references

similar project

https://github.com/snwh/ubuntu-post-install

preseeding Ubuntu install

https://www.google.com/url?sa=t&source=web&rct=j&url=https://help.ubuntu.com/lts/installation-guide/example-preseed.txt&ved=2ahUKEwjgkInxks7fAhVFYlAKHcXOCTMQFjADegQIChAB&usg=AOvVaw2hMxoDlC6bBQNpChX_ySHd

Terraform or Ansible or puppet or chef

Clone this wiki locally