➡️引言
使用dockers部署openwebui,下载速度太慢了。改用pip安装open-webui;
通过python安装目录位置(0.5.10)
/usr/local/lib/python3.12/dist-packages/open_webui
0.5.11版本目录(这个版本特么神经病,特么改什么目录)
/root/.pyenv/versions/3.12.0/lib/python3.12/site-packages/open_webui
openwebui英文官网⬇️
🏡 Home | Open WebUI
Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform designed to operate entirely offline. It supports various LLM runners like Ollama and OpenAI-compatible APIs, with built-in inference engine for RAG, making it a powerful AI deployment solution.
中文文档⬇️
⏱️ 快速上手 | Open WebUI
- 管理员创建: Open WebUI 上创建的第一个账户将获得管理员权限,可以控制用户管理和系统设置。
➡️安装openwebui
pip install open-webui --break-system-packages --ignore-installed
➡️运行openwebui
open-webui serve
如果端口8080已经被其他服务占用,可以在后面添加--port 9999;
open-webui serve --port 9999
在浏览器里输入,http://IP:9999访问;
➡️更新openwebui
pip install --upgrade open-webui
如果更新失败执行下面的命令行
pip install --upgrade open-webui --break-system-packages
➡️其他
⬇️问题一:启动时报错
2月 03 20:12:01 My-System open-webui[25241]: warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
2月 03 20:12:01 My-System open-webui[25241]: WARNI [langchain_community.utils.user_agent] USER_AGENT environment variable not set, consider setting>
✔️解决方法:
apt-get install ffmpeg
⬇️问题二:解决登录后白屏很久一段时间,才显示的问题
设置👉管理员设置👉外部连接👉关闭OpenAI API

⬇️问题三:开启联网
设置👉管理员设置👉联网搜索
搜索引擎选择duckduckgo,这个是免费使用;其他的要配置;

微信扫描下方的二维码阅读本文
本作品采用知识共享署名-相同方式共享 4.0 国际许可协议进行许可。
暂无评论
要发表评论,您必须先 登录