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

阿里网站导航怎么做的福清市百度seo

阿里网站导航怎么做的,福清市百度seo,邮箱官网登录入口,贵阳网站建设贵阳网站建设哪家好Ubuntu20.04部署Ragflow(Docker方式) Ubuntu20.04 RagflowRunning RagflowRunning Ollama 由于写这篇博客的时候电脑还没装输入法,所以先用半吊子英文顶着了…关于最后运行ollama的部分可以无视,因为我修改了端口所以才需要这么运…

Ubuntu20.04部署Ragflow(Docker方式)

  • Ubuntu20.04 Ragflow
    • Running Ragflow
    • Running Ollama

由于写这篇博客的时候电脑还没装输入法,所以先用半吊子英文顶着了…关于最后运行ollama的部分可以无视,因为我修改了端口所以才需要这么运行

Ubuntu20.04 Ragflow

Running Ragflow

git clone https://github.com/infiniflow/ragflow.git
# check the value of vm.max_map_count
sysctl vm.max_map_count
# Reset vm.max_map_count to a value at least 262144 if it is not.
sudo sysctl -w vm.max_map_count=262144
cd ragflow/docker
docker compose -f docker-compose.yml up -d

problem:

WARN[0000] The "HF_ENDPOINT" variable is not set. Defaulting to a blank string. 
WARN[0000] The "MACOS" variable is not set. Defaulting to a blank string. 
unable to get image 'infiniflow/ragflow:v0.17.2-slim': permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.48/images/infiniflow/ragflow:v0.17.2-slim/json": dial unix /var/run/docker.sock: connect: permission denied

solution:
modify the .env file

RAGFLOW_IMAGE=registry.cn-hangzhou.aliyuncs.com/infiniflow/ragflow:nightly-slim

but I found it should be add sudo to the command docker compose -f docker-compose.yml up -d
and another problem:

Error response from daemon: failed to set up container networking: driver failed programming external connectivity on endpoint ragflow-server (a3b939ad7640ae72035b928e912fcae6dddf16255151ca80a62d22d8760a0e49): Bind for 0.0.0.0:80 failed: port is already allocated

it maybe i run dify docker…?

solution: modify ragflow-main\docker\docker-compose.yml about ports

# from
ports:- ${SVR_HTTP_PORT}:9380- 80:80- 443:443
# to
ports:- ${SVR_HTTP_PORT}:9380- 8880:80- 4443:443

url: http://localhost:8880/login

Running Ollama

I changed the port and found something…
this is my ollama service config file:

[Unit]
Description=Ollama Service
After=network-online.target[Service]
ExecStart=/usr/bin/ollama serve
User=ollama
Group=ollama
Restart=always
RestartSec=3
Environment="PATH=$PATH"
Environment="OLLAMA_HOST=0.0.0.0:11451"
OLLAMA_SCHED_SPREAD=1[Install]
WantedBy=default.target

I need to run ollama like this:OLLAMA_HOST=127.0.0.1:11451 ollama run qwq, it works, but why???

It also need a embedding model:

OLLAMA_HOST=127.0.0.1:11451 ollama pull shaw/dmeta-embedding-zh

but still can not config embedding model in ragflow page.

try: modify .env

# from 
RAGFLOW_IMAGE=registry.cn-hangzhou.aliyuncs.com/infiniflow/ragflow:v0.17.2-slim
# to
RAGFLOW_IMAGE=registry.cn-hangzhou.aliyuncs.com/infiniflow/ragflow:v0.17.2

Reference:

  • RagFlow 部署指南 - 直接拉取镜像
http://www.dtcms.com/wzjs/362379.html

相关文章:

  • 做网站建设的网络公司经营范围怎样填网站排名优化多少钱
  • 网站做关键词排名西宁网站seo
  • 织梦园模板网站seo系统源码
  • 网站开发说明seo赚钱项目
  • 不懂技术与产品怎样做网站真正的免费建站在这里
  • 网站制作应用网站关键词有哪些
  • 网站做加QQ群链接营销方式和渠道有哪些
  • 怎么做网站海报新东方烹饪学校学费价目表
  • 网站推广公司哎奶茶西安今日头条新闻
  • 石家庄百度关键词优化南宁百度seo公司
  • 网件路由器无法登录seo培训学院
  • 自己怎样做网站湖北网络营销网站
  • 动态网站开发技术有哪些黄山seo公司
  • 企业为什么做网站素材2023免费推广入口
  • 企业网站自己可以做网站建设报价明细表
  • wordpress菜单二级目录网站关键词排名优化价格
  • 做网站的p什么2003著名的网络营销案例
  • 什么样的公司开做网站快速收录域名
  • 腾博会的网站是什么黑马培训是正规学校吗
  • 女装网站欣赏无锡百度快照优化排名
  • 深圳网站开发的公司电话小红书推广平台
  • 手机怎样创建网站郑州网站建设用户
  • 自己怎么样做网站矿产网站建设价格
  • 邵阳网站建设网络营销都有哪些形式
  • 腾讯服务器做网站电商网站项目
  • 网络服务器配置与管理实训小结福建seo学校
  • 网站建设案例资料网站建设网络营销
  • 哪个网站可以做图片seo推广有哪些方式
  • 用easyui做的网站百度浏览器打开
  • wordpress进入站点百度引擎