3.2 KiB
3.2 KiB
#领域/未知
#复盘/0 #临时/备忘 #状态/待处理
20260312-备忘-主题名-文件内容
一句话描述
[________]
Ubuntu
sudo apt update && sudo apt upgrade
sudo apt install openssh-server
服务器配置 静态IP 192.168.0.151 用户名 nyt 密码: 123456
1Panel
在线文档: 在线安装
# 安装 1Panel
sudo apt install curl -y
sudo bash -c "$(curl -sSL https://resource.fit2cloud.com/1panel/package/v2/quick_start.sh)"
配置信息
安装路径: /opt
1Panel 端口: 8000
安全入口: cyfx
用户名:admin 密码:admin123456 内部地址:http://192.168.0.151:8000/cyfx
NVIDIA 驱动
# 检测 GPU 硬件
lspci | grep -i nvidia
sudo apt install ubuntu-drivers-common -y
# 查看推荐驱动版本
ubuntu-drivers devices
# driver : nvidia-driver-580-open - distro non-free recommended
sudo apt install nvidia-driver-580-open -y
reboot
nvidia-smi
nyt@nyt-LEGION-REN7000K-26IRX:~/workspace$ nvidia-smi
Thu Mar 12 16:44:04 2026
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.126.09 Driver Version: 580.126.09 CUDA Version: 13.0 |
+-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce RTX 3060 Off | 00000000:01:00.0 Off | N/A |
| 0% 35C P8 10W / 170W | 152MiB / 12288MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 1386 G /usr/lib/xorg/Xorg 52MiB |
| 0 N/A N/A 1655 G /usr/bin/gnome-shell 76MiB |
+-----------------------------------------------------------------------------------------+
Ollama
端口:8001
拉取:qwen3.5:0.8b