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

做网站要注意哪一点百度一下首页设为主页

做网站要注意哪一点,百度一下首页设为主页,福清seo,域名备案关闭网站本地部署 RAGFlow 0. RAGFlow 是什么?1. 安装 wsl-ubuntu2. (可选)配置清华大学软件源3. 系统更新和安装构建工具4. 安装 Miniconda35. 安装 CUDA Toolkit6. 安装 git lfs7. 配置 Hugging Face 的缓存路径8. 配置 vm.max_map_count9. 安装 Docker Engine10. 安装 nginx11. 本地…

本地部署 RAGFlow

  • 0. RAGFlow 是什么?
  • 1. 安装 wsl-ubuntu
  • 2. (可选)配置清华大学软件源
  • 3. 系统更新和安装构建工具
  • 4. 安装 Miniconda3
  • 5. 安装 CUDA Toolkit
  • 6. 安装 git lfs
  • 7. 配置 Hugging Face 的缓存路径
  • 8. 配置 vm.max_map_count
  • 9. 安装 Docker Engine
  • 10. 安装 nginx
  • 11. 本地部署 RAGFlow

0. RAGFlow 是什么?

RAGFlow 是一款基于深度文档理解构建的开源 RAG(Retrieval-Augmented Generation)引擎。RAGFlow 可以为各种规模的企业及个人提供一套精简的 RAG 工作流程,结合大语言模型(LLM)针对用户各类不同的复杂格式数据提供可靠的问答以及有理有据的引用。

1. 安装 wsl-ubuntu

  1. 安装 Ubuntu-24.04,默认会安装在 C 盘,
wsl.exe --install -d Ubuntu-24.04
  1. 导出 Ubuntu-24.04,
wsl --export Ubuntu-24.04 D:\tmp\Ubuntu-24.04.tar
  1. 删除 Ubuntu-24.04,
wsl --unregister Ubuntu-24.04
  1. 导入 Ubuntu-24.04,导入到 F:\VirtualPCs\Ubuntu-24.04 目录,
wsl --import Ubuntu-24.04 F:\VirtualPCs\Ubuntu-24.04 D:\tmp\Ubuntu-24.04.tar
  1. 访问 Ubuntu-24.04,
wsl
  1. 退出 Ubuntu-24.04,
exit
  1. (可选)关闭 Ubuntu-24.04,
wsl --shutdown

2. (可选)配置清华大学软件源

  1. 为了加速软件安装速度,配置清华大学软件源,
mv /etc/apt/sources.list /etc/apt/sources.list.bak
cat << EOF > /etc/apt/sources.list
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-updates main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-backports main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-backports main restricted universe multiverse# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
deb http://security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse# 预发布软件源,不建议启用
# deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-proposed main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-proposed main restricted universe multiverse
EOF

reference: https://mirror.tuna.tsinghua.edu.cn/help/ubuntu/

3. 系统更新和安装构建工具

系统更新,

sudo apt update && sudo apt upgrade

安装构建工具,

sudo apt install build-essential checkinstall
sudo apt install libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev

4. 安装 Miniconda3

  1. 下载 Conda 安装脚本,
cd /tmp
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
  1. 运行安装脚本,按提示操作,当提示是否初始化 Conda 时,输入 “yes”,
bash Miniconda3-latest-Linux-x86_64.sh---
Please, press ENTER to continue
>>> yesDo you accept the license terms? [yes|no]
[no] >>> yesMiniconda3 will now be installed into this location:
/root/miniconda3- Press ENTER to confirm the location- Press CTRL-C to abort the installation- Or specify a different location below[/root/miniconda3] >>> ENTERDo you wish the installer to initialize Miniconda3
by running conda init? [yes|no]
[no] >>> yes
---
  1. 安装完成后,激活一下 Conda,
sudo su - root
  1. 更新 Conda 至最新版本,
conda update conda
  1. 配置用户
http://www.dt0577.cn/news/44088.html

相关文章:

  • 校园网站建设与应用广点通投放平台登录
  • 做网站 360的好不好win优化大师有免费版吗
  • 苏州代办营业执照的正规公司seo实训报告
  • bing 网站管理员厦门seo测试
  • 自做头像的网站今天最新军事新闻视频
  • 怎么做外贸个人网站网红推广
  • wordpress网站响应速度插件北京网站seo费用
  • 营销网站建设苏州最近新闻大事件
  • 网站创意文案怎么做怎么用网络推广业务
  • 兴扬汽车网站谁做的网站推广名词解释
  • 建设银行信用卡积分兑换话费网站温州seo博客
  • 商业网站的基本构成百度广告代理
  • wordpress本地网站搭建整套课程百度电话客服24小时
  • 做app网站建设建立网站的几个步骤
  • 网站二次开发是什么意思百度云引擎搜索
  • 中国网库企业黄页网站推广优化之八大方法
  • 装修公司报价如何计算网站首页排名seo搜索优化
  • 武汉h5建站模板媒体代发布
  • 免费建站好不好谷歌搜索引擎官网
  • 英文服装商城网站建设广州网站到首页排名
  • 个人做网站设计百度推广运营
  • 为什么网站建设需要每年续费武汉百度推广公司
  • 济南建网站送400电话白帽seo公司
  • 有什么网站可以做一起作业百度搜索高级搜索
  • 有哪些做问卷调查给钱的网站哈尔滨最新今日头条新闻
  • 建设通相似网站自动app优化最新版
  • 做不锈钢网站网络广告创意
  • 做业务在那几个网站上找客户端怎么做推广比较成功
  • 深圳罗湖区网站建设公司网站推广要点
  • 网站嵌套代码如何进行关键词优化工作