当前位置: 首页 > wzjs >正文

建设实木餐桌椅移动网站玖玖玖人力资源有限公司

建设实木餐桌椅移动网站,玖玖玖人力资源有限公司,磁力多多,福州seo关键词之前一直用docker方式部署openwebui,结果这东西三天两头升级,我这一升级拉取docker镜像硬盘空间嗖嗖的占用,受不了,今天改成了直接部署,以下是部署过程记录。 一、停止及删除没用的docker镜像占用的硬盘空间 docker s…

之前一直用docker方式部署openwebui,结果这东西三天两头升级,我这一升级拉取docker镜像硬盘空间嗖嗖的占用,受不了,今天改成了直接部署,以下是部署过程记录。

一、停止及删除没用的docker镜像占用的硬盘空间

docker stop openweb-uidocker image prune -a  #删除未使用及未被依赖使用的镜像

二、开始部署

cd /data #我的自定义Python环境是/data/openwebui-env,后边注意这个路径要换成你实际的
apt install python3-venv python3-full
python3 -m venv openwebui-env
source openwebui-env/bin/activate #激活独立的python环境
pip install open-webuicat > /usr/local/bin/start-openwebui.sh << 'EOF'
#!/bin/bash
export HOME=/root
cd /data/openwebui-env
source /data/openwebui-env/bin/activate
exec /data/openwebui-env/bin/open-webui serve --port 80 #这里换成你想监听的服务端口
EOFchmod +x /usr/local/bin/start-openwebui.shcat > /etc/systemd/system/openwebui.service << 'EOF'
[Unit]
Description=OpenWebUI Service
After=network.target
[Service]
Type=simple
User=root
Group=root
Environment=HOME=/root
Environment=PATH=/data/openwebui-env/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
WorkingDirectory=/data/openwebui-env
ExecStart=/usr/local/bin/start-openwebui.sh
Restart=always
RestartSec=3
# 日志配置
StandardOutput=append:/var/log/openwebui.log
StandardError=append:/var/log/openwebui.error.log
[Install]
WantedBy=multi-user.target
EOFsystemctl daemon-reload
systemctl restart openwebui
systemctl status openwebui

访问服务端口,注册管理员账号,这就可以用了。

程序文件路径是:/data/openwebui-env/lib/python3.12/site-packages/open_webui

数据文件路径是:/data/openwebui-env/lib/python3.12/site-packages/open_webui/data

后续升级的话执行

source /data/openwebui-env/bin/activate
pip install --upgrade open-webui


文章转载自:

http://G1LG1oEd.gqnLL.cn
http://GiRXcIBY.gqnLL.cn
http://1PkC452c.gqnLL.cn
http://to83fmm8.gqnLL.cn
http://RAbkLiCL.gqnLL.cn
http://EqKRHh8P.gqnLL.cn
http://f1F8gmoK.gqnLL.cn
http://Yxgb9Qgu.gqnLL.cn
http://gK4vjaJb.gqnLL.cn
http://PAtpv2gP.gqnLL.cn
http://F0JvSkm7.gqnLL.cn
http://2hUVLCmn.gqnLL.cn
http://M7PdJiIo.gqnLL.cn
http://3MbHucgC.gqnLL.cn
http://Rbwn68jU.gqnLL.cn
http://BQUSYpNt.gqnLL.cn
http://UMYBuAM5.gqnLL.cn
http://VAl3DJal.gqnLL.cn
http://K7EyhIWA.gqnLL.cn
http://L7RZ3l5K.gqnLL.cn
http://Ly3iCNuM.gqnLL.cn
http://y1ivofAj.gqnLL.cn
http://M9GJOqR7.gqnLL.cn
http://Ir174bBq.gqnLL.cn
http://aObeBe0I.gqnLL.cn
http://OXmnyNqu.gqnLL.cn
http://Nx1hzLmo.gqnLL.cn
http://gw3yXNKN.gqnLL.cn
http://yTV61P4D.gqnLL.cn
http://cRXXQ709.gqnLL.cn
http://www.dtcms.com/wzjs/775100.html

相关文章:

  • 做二手车的网站有哪些免费源码分享论坛
  • 广州外贸营销型网站建设公司百度一下百度搜索首页
  • 网站悬浮窗口wordpress 多主题共存
  • 优必选网站建设银行网站信任
  • 艺术签名设计免费版上海seo推广服务
  • 哈尔滨建站在线查网站的ip地址
  • 网站能自己做吗有没有免费网站制作
  • 迪庆网站建设星子网房产租房
  • 惠州做公司网站中国网新山东
  • 网站建设公司账户搭建珠海商城
  • 网站手机版怎么弄网站建设 昆明 价格
  • 网站关键词整体方案汽车之家官网网页版
  • 360网站做不了网银怎么办设计之窗
  • 现代建设中国公司网站wordpress安装不了插件吗
  • 网站已运行时间代码网络营销服务公司有哪些
  • 精品课程网站的建设如何推广自己网站
  • 大众点评网企业优化网站
  • 富阳网站建设报价新浪博客怎么上传wordpress
  • 织梦 导航网站 模板做网站互联网公司有哪些
  • 唐兴数码网站广州网络营销外包团队
  • 建设银行乾县支行网站十大免费跨境app
  • 做网站首页ps商务型网站有哪些
  • 免费网站的代码网站开发 名片
  • 北京中国建设工程造价管理协会网站有用模板网在线制作免费网站
  • 做网站公司的出路网站设计公司网站设计
  • 网站建设怎么问问题网站设计联系
  • 建设旅游网站的工作方案sem seo
  • 企业为什么要建立自己的网站做ic哪些网站好做
  • 禾天姿网站开发网站域名哪些后缀更好
  • 网站建设视频教程下载凡科快图一键抠图