how to install pool server environmet to Windows PC

back

  1. install Windows 10 version 22H2 or later (check : right click windows menu -> Run -> winver, install : Settings -> Update)
  2. install CUDA toolkit for windows (https://developer.nvidia.com/cuda-downloads)
  3. check virtual mode ( right click tack bar -> task manager -> performance -> virtualization(‰¼‘z‰»): enable or disable)
  4. if disable, enable virtualization mode from bios
    reboot - > bios -> "Adbanced" and/or "CPU settings" .. or somewhere (depends on your motherboard chipset)
    enable following option (depends on your motherboard chipset again)
    (Intel) Virtuallization (Technology, Extensions, etc..), or
    VT-X, or
    Vandarpool, or
    VMX, or
    SVM, or
    AMD-V, or something like that,

    and also enable (if exists)
    Vritualization for Direct-IO, or
    VT-d
  5. Windows -> "control panel" -> "Program and feature" -> "Turn Windows features..." -> turn on "Hyper-V" or "hyper-viser"
  6. install Linux kernel for Windows@(https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi, or https://aka.ms/wsl2kernel)
  7. Windows power shell -> put "wsl --install -d Ubuntu-20.04"
  8. install Docker Desktop (https://docs.docker.com/desktop/install/windows-install/), and reboot
  9. auto-Launch Docker Desktop ("accept" subscription agreement, user recommend condition, start without logging in)
  10. Docker desktop -> General -> "Start Docker Desktop when you sign in your computer" -> Apply & Restart
  11. download pool2-sever environment : Windows power shell -> put "docker pull uesugim/pool2-mobile:latest"
  12. start pool2 environment : windows power shell - > put (replace XXXXX to your user name) "docker run --gpus all --name pool2-mobile -v "C:\Users\XXXXX\Desktop\:/mnt" -h pool2-mobile -u bl20xu -w "/home/bl20xu/" --rm -it "uesugim/pool2-mobile:latest" /usr/bin/tcsh "
  13. after start up of Ubuntu, check GPU by typing "nvidia-smi"
  14. put folder which includes .img files on Windows desktop, and goto the directory by
    "cd /mnt/(folder in windows desktop) ",
    you can use pool2 server commands.
  15. finish ubuntu by typing "exit"
  16. you can start pool2 environment by step 12.