how to install pool server environmet to Windows PC
back
- install Windows 10 version 22H2 or later (check : right click windows menu -> Run -> winver, install : Settings -> Update)
- install CUDA toolkit for windows (https://developer.nvidia.com/cuda-downloads)
- check virtual mode ( right click tack bar -> task manager -> performance -> virtualization(¼z»): enable or disable)
- 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
- Windows -> "control panel" -> "Program and feature" -> "Turn Windows features..." -> turn on "Hyper-V" or "hyper-viser"
- install Linux kernel for Windows@(https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi, or https://aka.ms/wsl2kernel)
- Windows power shell -> put "wsl --install -d Ubuntu-20.04"
- install Docker Desktop (https://docs.docker.com/desktop/install/windows-install/), and reboot
- auto-Launch Docker Desktop ("accept" subscription agreement, user recommend condition, start without logging in)
- Docker desktop -> General -> "Start Docker Desktop when you sign in your computer" -> Apply & Restart
- download pool2-sever environment : Windows power shell -> put "docker pull uesugim/pool2-mobile:latest"
- 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 "
- after start up of Ubuntu, check GPU by typing "nvidia-smi"
- 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.
- finish ubuntu by typing "exit"
- you can start pool2 environment by step 12.