Tuesday, October 6, 2015

Vmware. Эталонный образ сервера Windows Server


  1. Create virtual machine
    • 4 CPU cores (default)
    • 4 GB RAM (default)
    • 40GB HDD SCSI (0;0) Thin Provision
    • SCSI controller LSI Logic SAS. For VM with high IO load use VMware Paravirtualization (VM PVSCSI)
    • Virtual Machine version 8 (default)
    • use VMXNET3 network adapter
    • Use EFI boot firmware
  2. Install Windows Server 2012
  3. Windows settings
    • install VMware Tools
    • open Control Panel
      • check Date and Time settings
      • check Language Settings (ENG - UKR - RUS)
      • Power Options
        • set High Performance
        • set Turn off the display - Never
      • Region settings
        • check settings
        • Advanced - Copy Settings... - copy settings to welcome screen and New  user account
      • System - Change settings
        • Allow remote connections to this computer
        • set computer name
        • temporary join to Active Directory domain for Windows Update. After updating Windows - remove server form Active Directory
        • Advanced - Startup and Recovery settings - use Small memory dump
    • open cmd with Admin rights and run (it disables hibernation): powercfg -h off
    • select disk C: properties - uncheck Allow files on this drive to have contents indexed in addition to file properties - Apply to C:\ only
    • enable File and Printer Sharing in Windows Firewall for Domain network
    • after installing all Windows Updates
      • cleanup system
        to analyze system run
        dism /Online /Cleanup-Image /AnalyzeComponentStore

        to cleanup system run
        dism /Online /Cleanup-Image /StartComponentCleanup
    • after cleanup system
      • disable swap file and reboot
      • defragment system disk C:
      • enable swap file and reboot
  4. В конце можно финализировать образ
    sysprep /generalize /oobe /shutdown

http://blog.solori.net/2010/09/30/in-the-lab-windows-server-2008-r2-template-for-vmware/
http://www.mikes.eu/index.php/how-to/284-how-to-build-a-windows-2008-r2-vmware-template-2.html
http://willcode4foodblog.wordpress.com/2013/03/22/creating-a-server-2012-golden-image-with-sysprep-and-vmware-workstation-part-2-of-2/

No comments:

Post a Comment