Ubuntu 手动安装 Open WebUI 完整指南
前提条件
在安装 Open WebUI 之前,请确保您的系统满足以下要求:
- Ubuntu 22.04 LTS 或更高版本
- Python 3.10+
- Node.js 18+
- Git
- 至少 4GB 内存
- 足够的磁盘空间(推荐 20GB 以上)
安装步骤
1. 更新系统包
sudo apt update
sudo apt upgrade -y
2. 安装必要的依赖
# 安装 Python 和 Node.js
sudo apt install -y python3 python3-pip nodejs npm git curl
# 安装 Python 虚拟环境工具
sudo apt install -y python3-venv
3. 安装 Ollama(AI 后端)
# 下载并安装 Ollama
curl -fsSL https://ollama.com/install.sh | sh
# 启动 Ollama 服务
sudo<