跳至内容
龙讯旷腾 pwmat Wiki
用户工具
注册
登录
站点工具
搜索
工具
显示页面
过去修订
全部折叠/展开
反向链接
最近更改
媒体管理器
网站地图
注册
登录
>
中文
最近更改
媒体管理器
网站地图
您的足迹:
•
Installing the PWstudio GPU version on Windows 11 (WSL2)
•
PWstudio CPU version - Windows 11 (WSL2) installation guide
en:pwstudio:new
本页面只读。您可以查看源文件,但不能更改它。如果您觉得这是系统错误,请联系管理员。
{{htmlmetatags>metatag-robots=(index, follow)}} ====== New images pwstudiocpu pwstudiogpu ====== <WRAP center round todo 10%> The new images do not support CentOS 7.9 </WRAP> **Must read for this chapter:** To use the new images, simply replace qflow with pwstudio in the image-import step and the container-start step of the corresponding tutorial. For example, replace qflowgpu:latest with pwstudiogpu:latest, and qflowcpu:latest with pwstudiocpu:latest ---- ===== Check the PWmat version ===== <code bash> docker run ccr.ccs.tencentyun.com/lxkt/pwstudiocpu PWmat -v </code> ===== Linux: start the pwstudiogpu container ===== <code bash> docker run -d --name pwstudiogpu \ -v /var/tmp/pwmat_host_secret:/var/tmp/pwmat_host_secret:ro \ --ulimit memlock=-1:-1 --ulimit stack=-1:-1 \ --gpus all --shm-size=128G --privileged -e SELINUX=disabled \ -p 80:80 -p 81:81 -p 2297:2297 -p 5010:5010 --hostname=mstation \ ccr.ccs.tencentyun.com/lxkt/pwstudiogpu:latest </code> ===== Linux: start the pwstudiocpu container ===== <code bash> docker run -d --name pwstudiocpu \ -v /var/tmp/pwmat_host_secret:/var/tmp/pwmat_host_secret:ro \ --ulimit memlock=-1:-1 --ulimit stack=-1:-1 \ --shm-size=128G --privileged -e SELINUX=disabled -p 80:80 -p 81:81 -p 2297:2297 -p 5010:5010 \ --hostname=mstation ccr.ccs.tencentyun.com/lxkt/pwstudiocpu:latest </code> ===== Linux: start the pwstudiogpu container, keeping data (including qflow) ===== <code bash> docker run -d --name pwstudiogpu \ -v /var/tmp/pwmat_host_secret:/var/tmp/pwmat_host_secret:ro \ -v /root/vol/pwmat:/share/home/pwmat \ -v /root/vol/mysql:/var/lib/mysql \ --ulimit memlock=-1:-1 --ulimit stack=-1:-1 \ --gpus all --shm-size=128G --privileged -e SELINUX=disabled \ -p 80:80 -p 81:81 -p 2297:2297 -p 5010:5010 --hostname=mstation \ ccr.ccs.tencentyun.com/lxkt/pwstudiogpu:latest </code> ===== Host machine, user user01, keeping data (including qflow) ===== > The pwmat user inside the container has uid/gid 1000/1000 > The user01 user on the host machine has uid/gid 1001/1001 (not 1000/1000) > /home/user01/vol/pwmat is the directory to mount, extracted from pwmat.tgz: the pwmat home directory inside the container > /home/user01/vol/mysql is the directory to mount, extracted from mysql.tgz: the database > > user01 can also be left without read/write permission to pwmat (pure qflow, no modifications needed) <code bash> # Grant user01 the permission directly setfacl -R -m u:1001:rwx /home/user01/vol/pwmat ls -ln /home/user01/vol/ drwxr-xr-x 7 27 27 4096 Aug 17 17:11 mysql drwx------ 4 1000 1000 91 Aug 17 14:48 pwmat docker run -d --name pwstudiogpu \ -v /var/tmp/pwmat_host_secret:/var/tmp/pwmat_host_secret:ro \ -v $HOME/vol/pwmat:/share/home/pwmat \ -v $HOME/vol/mysql:/var/lib/mysql \ --ulimit memlock=-1:-1 --ulimit stack=-1:-1 \ --gpus all --shm-size=128G --privileged -e SELINUX=disabled \ -p 80:80 -p 81:81 -p 2297:2297 -p 5010:5010 --hostname=mstation \ ccr.ccs.tencentyun.com/lxkt/pwstudiogpu:latest </code> ~~DISCUSSION:off~~
en/pwstudio/new.txt
· 最后更改: 2026/09/11 02:25 由
127.0.0.1
页面工具
显示页面
过去修订
反向链接
全部折叠/展开
回到顶部