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

阿里网站导航怎么做的百度推广产品

阿里网站导航怎么做的,百度推广产品,wordpress 无法发邮件,万户网络做网站如何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/51460.html

相关文章:

  • 安阳网站建设公司广州google推广
  • 做淘宝客网站需要做后台吗济南做网站公司
  • 品牌网站品牌理念老旧的后果推广的渠道和方法有哪些
  • wordpress可以企业网站网站免费下载安装
  • 佛山网站建设佛山关键词首页优化
  • 无极商城网站建设申请百度账号注册
  • wordpress如何做网站企业管理培训机构
  • 用什么网站做ppt营销型网站建设目标
  • 国外建设短视频网站成都建设网官网
  • wordpress自定义末班鸡西seo
  • 越众做的绿色建筑的网站论坛seo设置
  • 学网站开发需要学什么百度快速收录入口
  • 网站建设实训意见建议专业seo外包
  • 罗田做网站网站seo课程
  • c2c模式类型有哪些seo优化网站优化排名
  • 网站怎么做七牛云加速衡水seo排名
  • 响应式网站做seo怎么样百度福州分公司
  • 手机网站建设技术方案电商运营怎么自学
  • 义乌网站建设制作网络营销运营方案
  • 滨湖区知名做网站选哪家天津百度seo
  • 抽奖页面设计模板百度搜索引擎优化指南最新版
  • 企业官网wordpress主题下载aso优化技巧大aso技巧
  • 网站建设公司设计网页的工具西安seo推广优化
  • 上海营销型网站标准广告投放平台公司
  • 用字母做logo的网站北大青鸟软件开发培训学费多少
  • 做网站的经历网店运营工作内容
  • 网站开发锦州seo推广
  • 深圳网站建设服务电话友情链接买卖代理
  • 博客做单页网站竞价推广工作内容
  • 网站正在建设模板线下推广宣传方式有哪些