Building Ubuntu Servers in Hyper-V

  1. Download Ubuntu server Ubuntu Server 14.04 LTS ISO from http://www.ubuntu.com/download/server
  2. In Hyper-V Manager select New / Virtual Machine
  3. Before You Begin
    • Click Next
  4. Specify Name and Location
    • Name: <Stage> i.e. Dev, QA, Prod
    • Click Next
  5. Specify Generation
    • Select Generation 1.  If you don't you will not be able to mount the ISO for Ubuntu
    • Click Next
  6. Assign Memory
    • Startup memory: 512
    • Click Next
  7. Configure Networking
    • Connect to the same external network with internet access used for your Windows VM
    • Click Next
  8. Connect Virtual Hard Disk
    • Select Create a virtual hard disk
    • Click Next
  9. Installation Options
    • Select Install an operating system from bootable CD/DVD-ROM
    • Select Image file (.iso) and browse to Ubuntu Server iso.
    • Click Next
  10. Summary
    • Click Finish
  11. Start VM and connect to it.
  12. Language
    • Select English
    • Press Enter
  13. Ubuntu
    • Select Install Ubuntu Server
    • Press Enter
  14. Select a language
    • Select English
    • Press Enter
  15. Select your location
    • Select United States
    • Press Enter
  16. Configure the Keyboard (1)
    • Select No
    • Press Enter
  17. Configure the Keyboard (2)
    • Select English (US)
    • Press Enter
  18. Configure the Keyboard (3)
    • Select English (US)
    • Press Enter
  19. Configure the network
    • Hostname: <serverName>
    • Press Enter
  20. Set up users and passwords (1)
    • Full name for the new user: <your name>
    • Press Enter
  21. Set up users and passwords (2)
    • Username for your account: <username>
    • Press Enter
  22. Set up users and passwords (3)
    • Choose a password for the new user: P2ssw0rd
    • Press Enter
  23. Set up users and passwords (4)
    • Re-enter password to verify: P2ssw0rd
    • Press Enter
  24. Set up users and passwords (5)
    • Encrypt your home directory: No
    • Press Enter
  25. Configure the clock
    • Is this time zone correct: Yes
    • Press Enter
  26. Partition disks (1)
    • Partitioning method: Guided - user entire disk and set up LVM
    • Press Enter
  27. Partition disks (2)
    • Press Enter
  28. Partition disks (3)
    • Select Yes
    • Press Enter
  29. Partition disks (4)
    • Press Enter
  30. Partition disks (5)
    • Select Yes
    • Press Enter
  31. Configure the package manager
    • HTTP proxy information: <leave blank>
    • Press Enter
  32. Configuring tasksel
    • Select No automatic updates
    • Press Enter
  33. Software selection
    • Select OpenSSH server
    • Select Samba file server
    • Select Tomcat Java server
    • Press Enter
  34. Install the GRUB boot loader on hard disk
    • Select Yes
    • Press Enter
  35. Finish Installation
    • Press Enter
  36. Login to server
  37. Type
    • sudo apt-get update

Your server is now installed and up to date. 

Pingbacks and trackbacks (1)+

Comments are closed