GPU服务器使用说明
Last updated
Last updated
ssh [email protected]
# 密码
[email protected]'s password:
=====Welcome!
We need to get sudo permission first. Enter the password for `addu`.
# 输入addu的密码,获取sudo权限
[sudo] password for addu:
=====Let's setup a new account and create a container now.
# 输入用户名,接下来自动创建用户并新建虚拟机
Enter your username: test
Creating user...
Allocating container for test...
Creating test
Allocating ssh port... 10020
Device sshproxy added to test
# 设置用户密码
set password for test now (host only).
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Login this host via `ssh <username>@<host-ip>` to manage your container.
Done!# 使用新建的用户登陆并管理虚拟机
ssh [email protected]
[email protected]'s password:
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-54-generic x86_64)
……
Hi, test
You're using the GPU Server in Vision Group.
==========About your container:
Your container is not running.
Transfer data to your container using scp or sftp;
File sharing is encouraged, access datasets at shared/datasets, access download files at shared/downloads, etc
See GPU load: nvidia-smi.
memory usage: free -h.
disk usage: df -h.
===== main menu =====
[1] start your container # 开机
[2] enter your container # 切换至虚拟机
[3] stop your container # 关机(也可以直接在虚拟机中执行shutdown now)
[4] change your password # 更改密码(如果需要改虚拟机密码,进入虚拟机后执行passwd)
[5] allocate ports # 进行端口映射
[6] release ports # 释放申请的端口
[0] show info # 显示虚拟机运行状态
[x] exit # 退出管理
# 启动虚拟机
Enter your choice: 1
========== Starting your container...
Press any key to continue...# 检查显卡驱动和运行状况
(base) root@test:~# nvidia-smi
Mon Jul 1 14:07:26 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 410.48 Driver Version: 410.48 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce RTX 208... Off | 00000000:19:00.0 Off | N/A |
| 30% 41C P0 67W / 250W | 0MiB / 10989MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
| 1 GeForce RTX 208... Off | 00000000:1A:00.0 Off | N/A |
| 30% 51C P0 61W / 250W | 0MiB / 10989MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
| 2 GeForce RTX 208... Off | 00000000:67:00.0 Off | N/A |
| 31% 51C P0 64W / 250W | 0MiB / 10989MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
| 3 GeForce RTX 208... Off | 00000000:68:00.0 Off | N/A |
| 30% 51C P0 1W / 250W | 0MiB / 10986MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+