{"id":45909,"date":"2025-07-30T01:46:28","date_gmt":"2025-07-29T17:46:28","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/45909.html"},"modified":"2025-07-30T01:46:28","modified_gmt":"2025-07-29T17:46:28","slug":"%e6%97%a0%e7%bd%91%e7%bb%9c%e7%8e%af%e5%a2%83%e4%b8%8b-ragflow-%e7%a6%bb%e7%ba%bf%e9%83%a8%e7%bd%b2%e6%b5%81%e7%a8%8b%e8%ae%b0%e5%bd%95%ef%bc%88wsl2docker%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/45909.html","title":{"rendered":"\u65e0\u7f51\u7edc\u73af\u5883\u4e0b RAGFlow \u79bb\u7ebf\u90e8\u7f72\u6d41\u7a0b\u8bb0\u5f55\uff08WSL2+Docker\uff09"},"content":{"rendered":"<p>\u63d0\u793a&#xff1a;\u6587\u7ae0\u5199\u5b8c\u540e&#xff0c;\u76ee\u5f55\u53ef\u4ee5\u81ea\u52a8\u751f\u6210&#xff0c;\u5982\u4f55\u751f\u6210\u53ef\u53c2\u8003\u53f3\u8fb9\u7684\u5e2e\u52a9\u6587\u6863<\/p>\n<\/p>\n<h4>\u6587\u7ae0\u76ee\u5f55<\/h4>\n<ul>\n<li>\u524d\u8a00<\/li>\n<li>\u4e00\u3001\u73af\u5883\u51c6\u5907<\/li>\n<li>\u4e8c\u3001\u6e90\u673a\u5668\u64cd\u4f5c&#xff1a;\u955c\u50cf\u5bfc\u51fa &#043; \u914d\u7f6e\u6253\u5305<\/li>\n<li>\n<ul>\n<li>1.\u5206\u6279\u6b21\u5bfc\u51fa\u955c\u50cf&#xff0c;\u4e0d\u7136\u5bb9\u6613\u5361\u5d29&#xff08;PowerShell \u811a\u672c&#xff09;<\/li>\n<li>\u8bb0\u5f97\u5f88\u591a\u547d\u4ee4\u90fd\u662f\u5728RAGFlow\u7684docker\u6587\u4ef6\u5939\u91cc\u8fd0\u884c\u7684\u54e6<\/li>\n<li>2. \u786e\u8ba4\u5bfc\u51fa\u6587\u4ef6<\/li>\n<\/ul>\n<\/li>\n<li>\u4e09\u3001\u76ee\u6807\u673a\u5668\u90e8\u7f72&#xff1a;\u5168\u6d41\u7a0b\u64cd\u4f5c<\/li>\n<li>\n<ul>\n<li>1. \u73af\u5883\u521d\u59cb\u5316&#xff08;\u5fc5\u505a&#xff01;&#xff09;<\/li>\n<li>2. \u6587\u4ef6\u4f20\u8f93\u4e0e\u76ee\u5f55\u51c6\u5907<\/li>\n<li>3. \u6279\u91cf\u5bfc\u5165\u955c\u50cf&#xff08;\u6309\u5927\u5c0f\u987a\u5e8f&#xff09;<\/li>\n<\/ul>\n<\/li>\n<li>\u955c\u50cf\u5bfc\u5165\u6821\u9a8c&#xff08;\u5173\u952e&#xff01;\u4f46\u662f\u6211\u6ca1\u9a8c\u8bc1&#xff0c;\u5e94\u8be5\u6ca1\u5565\u6bdb\u75c5&#xff09;\u200b<\/li>\n<li>\n<ul>\n<li>4. \u914d\u7f6e\u6587\u4ef6\u5904\u7406<\/li>\n<li>5. \u542f\u52a8\u670d\u52a1\u4e0e\u9a8c\u8bc1<\/li>\n<\/ul>\n<\/li>\n<li>\u56db\u3001\u6545\u969c\u6392\u67e5\u4e0e\u89e3\u51b3\u65b9\u6848<\/li>\n<li>\u4e94\u3001\u957f\u671f\u7ef4\u62a4\u4e0e\u4f18\u5316(\u65e0\u4e86\u4e0d\u77e5\u9053\u5199\u5565&#xff0c;\u611f\u89c9\u6ca1\u4ec0\u4e48\u7528&#xff09;<\/li>\n<li>\u516d .\u603b\u7ed3<\/li>\n<\/ul>\n<hr \/>\n<h2>\u524d\u8a00<\/h2>\n<p>&#096; \u5728\u65e0\u7f51\u7edc \/ \u5185\u7f51\u73af\u5883\u4e2d\u90e8\u7f72 RAGFlow \u65f6&#xff0c;\u9700\u89e3\u51b3\u955c\u50cf\u65e0\u6cd5\u62c9\u53d6\u3001\u670d\u52a1\u4f9d\u8d56\u51b2\u7a81\u3001\u5185\u5b58\u4e0d\u8db3\u5d29\u6e83\u4e09\u5927\u6838\u5fc3\u95ee\u9898\u3002\u672c\u6587\u901a\u8fc7\u5206\u6279\u6b21\u955c\u50cf\u5904\u7406\u3001WSL \u8d44\u6e90\u9650\u5236\u3001\u914d\u7f6e\u56fa\u5316\u7b49\u65b9\u6848&#xff0c;\u5b9e\u73b0\u6807\u51c6\u5316\u79bb\u7ebf\u90e8\u7f72&#xff0c;\u6d41\u7a0b\u53ef\u590d\u7528\u3002<\/p>\n<hr \/>\n<p>\u63d0\u793a&#xff1a;\u4ee5\u4e0b\u662f\u672c\u7bc7\u6587\u7ae0\u6b63\u6587\u5185\u5bb9&#xff0c;\u4e0b\u9762\u6848\u4f8b\u53ef\u4f9b\u53c2\u8003<\/p>\n<h2>\u4e00\u3001\u73af\u5883\u51c6\u5907<\/h2>\n<li>\u6e90\u673a\u5668&#xff08;\u6709\u7f51\u7edc&#xff0c;\u5df2\u90e8\u7f72 RAGFlow&#xff09; \u5b89\u88c5 Docker Desktop \u548c WSL2&#xff08;\u5efa\u8bae Ubuntu \u5206\u53d1\u7248&#xff09;&#xff1b;\u200b \u786e\u4fdd RAGFlow \u53ca\u4f9d\u8d56\u670d\u52a1&#xff08;MySQL\u3001Elasticsearch\u3001MinIO\u3001Valkey&#xff09;\u5df2\u6b63\u5e38\u8fd0\u884c\u3002<\/li>\n<li>\u76ee\u6807\u673a\u5668&#xff08;\u65e0\u7f51\u7edc&#xff09; \u5b89\u88c5 Docker Desktop \u548c WSL2&#xff08;\u540c\u67b6\u6784&#xff0c;\u5982 x86_64&#xff09;&#xff1b;\u200b \u5173\u95ed\u9632\u706b\u5899\u3002<\/li>\n<h2>\u4e8c\u3001\u6e90\u673a\u5668\u64cd\u4f5c&#xff1a;\u955c\u50cf\u5bfc\u51fa &#043; \u914d\u7f6e\u6253\u5305<\/h2>\n<h3>1.\u5206\u6279\u6b21\u5bfc\u51fa\u955c\u50cf&#xff0c;\u4e0d\u7136\u5bb9\u6613\u5361\u5d29&#xff08;PowerShell \u811a\u672c&#xff09;<\/h3>\n<p>\u521b\u5efa export-ragflow.ps1 \u811a\u672c&#xff0c;\u6309\u5148\u5c0f\u540e\u5927\u987a\u5e8f\u5bfc\u51fa\u955c\u50cf&#xff08;\u51cf\u5c11\u5185\u5b58\u5360\u7528&#xff09;&#xff1a;<\/p>\n<h3>\u8bb0\u5f97\u5f88\u591a\u547d\u4ee4\u90fd\u662f\u5728RAGFlow\u7684docker\u6587\u4ef6\u5939\u91cc\u8fd0\u884c\u7684\u54e6<\/h3>\n<p>\u5982&#xff1a; PS C:\\\\Users\\\\32591&gt; cd \u201cF:\\\\AI\\\\0AImodle\\\\DeepSeek&#043;RagFlow\\\\ragflow-main\\\\docker\u201d<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250729174617-688908e9b28f1.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><span class=\"token number\">1.<\/span>\u5148\u8fdb\u5165\u9879\u76ee\u76ee\u5f55\u91cc   &#xff1a;<br \/>\n<span class=\"token macro property\"><span class=\"token directive-hash\">#<\/span><span class=\"token expression\">PS C<span class=\"token operator\">:<\/span>\\\\Users\\\\<span class=\"token number\">32591<\/span><span class=\"token operator\">&gt;<\/span> cd <\/span><span class=\"token string\">&#034;F:\\\\AI\\\\0AImodle\\\\DeepSeek&#043;RagFlow\\\\ragflow-main\\\\docker&#034;<\/span><\/span><\/p>\n<p>______________________________________________________________________________<br \/>\n<span class=\"token number\">2.<\/span>\u7136\u540e\u76f4\u63a5\u628a\u4e0b\u9762\u5185\u5bb9\u590d\u5236\u7c98\u8d34\u5230 export<span class=\"token operator\">&#8211;<\/span>ragflow<span class=\"token punctuation\">.<\/span>ps1 \u91cc\u4fdd\u5b58&#x1f447;<br \/>\n<span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;<\/span><\/p>\n<p># \u5206\u6279\u6b21\u5b9a\u4e49\u955c\u50cf&#xff08;\u5c0f\u955c\u50cf\u4f18\u5148&#xff09;<br \/>\n$smallImages <span class=\"token operator\">&#061;<\/span> &#064;<span class=\"token punctuation\">(<\/span><br \/>\n    <span class=\"token string\">&#034;valkey\/valkey:8&#034;<\/span><span class=\"token punctuation\">,<\/span>        # <span class=\"token number\">112<\/span>MB&#xff08;\u66ff\u4ee3Redis&#xff09;<br \/>\n    <span class=\"token string\">&#034;mysql:8.0.39&#034;<\/span><span class=\"token punctuation\">,<\/span>           # <span class=\"token number\">572<\/span>MB<br \/>\n    <span class=\"token string\">&#034;quay.io\/minio\/minio:RELEASE.2023-12-20T01-00-02Z&#034;<\/span>  # <span class=\"token number\">150<\/span>MB<br \/>\n<span class=\"token punctuation\">)<\/span><br \/>\n$bigImages <span class=\"token operator\">&#061;<\/span> &#064;<span class=\"token punctuation\">(<\/span><br \/>\n    <span class=\"token string\">&#034;elasticsearch:8.11.3&#034;<\/span><span class=\"token punctuation\">,<\/span>   # <span class=\"token number\">1.4<\/span>GB<br \/>\n    <span class=\"token string\">&#034;infiniflow\/ragflow:v0.19.1&#034;<\/span>  # <span class=\"token number\">14.8<\/span>GB&#xff08;\u5e26\u5d4c\u5165\u6a21\u578b&#xff09;<br \/>\n<span class=\"token punctuation\">)<\/span>  <\/p>\n<p># \u5bfc\u51fa\u51fd\u6570&#xff08;\u542b\u4f11\u7720&#xff0c;\u91ca\u653e\u7cfb\u7edf\u8d44\u6e90&#xff09;<br \/>\nfunction Export<span class=\"token operator\">&#8211;<\/span>Image <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token function\">param<\/span><span class=\"token punctuation\">(<\/span>$img<span class=\"token punctuation\">)<\/span><br \/>\n    $filename <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">(<\/span>$img <span class=\"token operator\">&#8211;<\/span>replace <span class=\"token string\">&#039;[\/:]&#039;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#039;_&#039;<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#043;<\/span> <span class=\"token string\">&#039;.tar&#039;<\/span>  # \u66ff\u6362\u7279\u6b8a\u5b57\u7b26&#xff0c;\u907f\u514d\u6587\u4ef6\u540d\u9519\u8bef<br \/>\n    Write<span class=\"token operator\">&#8211;<\/span>Host <span class=\"token string\">&#034;&#x1f504; \u5f00\u59cb\u5bfc\u51fa: $img&#034;<\/span><br \/>\n    docker save <span class=\"token operator\">&#8211;<\/span>o $filename $img  # \u6267\u884c\u5bfc\u51fa<br \/>\n    Start<span class=\"token operator\">&#8211;<\/span>Sleep <span class=\"token operator\">&#8211;<\/span>Seconds <span class=\"token number\">20<\/span>        # \u4f11\u7720<span class=\"token number\">20<\/span>\u79d2&#xff0c;\u964d\u4f4eCPU<span class=\"token operator\">\/<\/span>\u5185\u5b58\u538b\u529b<br \/>\n    Write<span class=\"token operator\">&#8211;<\/span>Host <span class=\"token string\">&#034;\u2705 \u5b8c\u6210\u5bfc\u51fa: $filename&#034;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span>  <\/p>\n<p># \u5148\u5bfc\u51fa\u5c0f\u955c\u50cf<br \/>\n<span class=\"token function\">foreach<\/span> <span class=\"token punctuation\">(<\/span>$img in $smallImages<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span> Export<span class=\"token operator\">&#8211;<\/span>Image $img <span class=\"token punctuation\">}<\/span>  <\/p>\n<p># \u6700\u540e\u5bfc\u51fa\u5927\u955c\u50cf&#xff08;\u5355\u72ec\u5904\u7406&#xff09;<br \/>\n<span class=\"token function\">foreach<\/span> <span class=\"token punctuation\">(<\/span>$img in $bigImages<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span> Export<span class=\"token operator\">&#8211;<\/span>Image $img <span class=\"token punctuation\">}<\/span>  <\/p>\n<p># \u6253\u5305\u914d\u7f6e\u6587\u4ef6&#xff08;\u4e0d\u542b\u955c\u50cf&#xff0c;\u907f\u514d\u4f53\u79ef\u8fc7\u5927&#xff09;<br \/>\n$configFiles <span class=\"token operator\">&#061;<\/span> Get<span class=\"token operator\">&#8211;<\/span>ChildItem <span class=\"token operator\">&#8211;<\/span>Exclude <span class=\"token string\">&#034;*.tar&#034;<\/span>  # \u5305\u542bdocker<span class=\"token operator\">&#8211;<\/span>compose<span class=\"token punctuation\">.<\/span>yml\u3001<span class=\"token punctuation\">.<\/span>env\u7b49<br \/>\nCompress<span class=\"token operator\">&#8211;<\/span>Archive <span class=\"token operator\">&#8211;<\/span>Path $configFiles <span class=\"token operator\">&#8211;<\/span>DestinationPath ragflow<span class=\"token operator\">&#8211;<\/span>config<span class=\"token punctuation\">.<\/span>zip <span class=\"token operator\">&#8211;<\/span>Force<br \/>\nWrite<span class=\"token operator\">&#8211;<\/span>Host <span class=\"token string\">&#034;\u2705 \u914d\u7f6e\u5305\u5df2\u751f\u6210: ragflow-config.zip&#034;<\/span>  <\/p>\n<p><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;<\/span><\/p>\n<p>\u6267\u884c\u811a\u672c\u5bfc\u51fa\u6587\u4ef6&#xff1a;<\/p>\n<p>.<span class=\"token punctuation\">\\\\<\/span>export-ragflow.ps1  <\/p>\n<p>\u6700\u540e\u8fd9\u51fa\u73b0\u516d\u4e2a\u5305&#xff1a;<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250729174618-688908ea32027.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>2. \u786e\u8ba4\u5bfc\u51fa\u6587\u4ef6<\/h3>\n<p>\u5bfc\u51fa\u540e\u5e94\u5305\u542b\u81f3\u5c11 6 \u4e2a\u6587\u4ef6&#xff1a;<\/p>\n<p><span class=\"token number\">5<\/span> \u4e2a\u955c\u50cf\u5305&#xff1a;valkey_valkey_8<span class=\"token punctuation\">.<\/span>tar\u3001 mysql_8<span class=\"token punctuation\">.<\/span><span class=\"token number\">0.39<\/span><span class=\"token punctuation\">.<\/span>tar\u3001quay<span class=\"token punctuation\">.<\/span>io_minio_minio_xxx<span class=\"token punctuation\">.<\/span>tar\u3001 elasticsearch_8<span class=\"token punctuation\">.<\/span><span class=\"token number\">11.3<\/span><span class=\"token punctuation\">.<\/span>tar\u3001 infiniflow_ragflow_v0<span class=\"token punctuation\">.<\/span><span class=\"token number\">19.1<\/span><span class=\"token punctuation\">.<\/span>tar&#xff1b;\u200b<br \/>\n<span class=\"token number\">1<\/span> \u4e2a\u914d\u7f6e\u5305&#xff1a;ragflow<span class=\"token operator\">&#8211;<\/span>config<span class=\"token punctuation\">.<\/span>zip&#xff08;\u542bdocker<span class=\"token operator\">&#8211;<\/span>compose<span class=\"token punctuation\">.<\/span>yml\u3001docker<span class=\"token operator\">&#8211;<\/span>compose<span class=\"token operator\">&#8211;<\/span>base<span class=\"token punctuation\">.<\/span>yml\u3001<span class=\"token punctuation\">.<\/span>env&#xff09;\u3002<\/p>\n<p>\u8be5\u5904\u4f7f\u7528\u7684url\u7f51\u7edc\u8bf7\u6c42\u7684\u6570\u636e\u3002<\/p>\n<hr \/>\n<h2>\u4e09\u3001\u76ee\u6807\u673a\u5668\u90e8\u7f72&#xff1a;\u5168\u6d41\u7a0b\u64cd\u4f5c<\/h2>\n<h3>1. \u73af\u5883\u521d\u59cb\u5316&#xff08;\u5fc5\u505a&#xff01;&#xff09;<\/h3>\n<p>&#xff08;1&#xff09;WSL2 \u8d44\u6e90\u914d\u7f6e&#xff08;\u907f\u514d\u5185\u5b58\u5d29\u6e83&#xff09; \u5728\u76ee\u6807\u673a\u5668 C:\\\\Users&lt;\u7528\u6237\u540d&gt;\\\\ \u4e2d\u65b0\u521b\u5efa\u4e00\u4e2a .wslconfig \u6587\u4ef6 \u5e76 \u5199\u5165&#xff1a;<\/p>\n<p><span class=\"token comment\"># .wslconfig<\/span><br \/>\n<span class=\"token comment\">#\u6839\u636e\u672c\u673a\u6027\u80fd\u81ea\u884c\u914d\u7f6e<\/span><\/p>\n<p><span class=\"token punctuation\">[<\/span>wsl2<span class=\"token punctuation\">]<\/span><br \/>\n<span class=\"token assign-left variable\">memory<\/span><span class=\"token operator\">&#061;<\/span>12GB        <span class=\"token comment\"># \u81f3\u5c1112GB&#xff0c;RAGFlow\u53ca\u4f9d\u8d56\u5185\u5b58\u9700\u6c42\u9ad8  <\/span><br \/>\n<span class=\"token assign-left variable\">processors<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token number\">8<\/span>       <span class=\"token comment\"># \u5efa\u8bae\u22654\u6838&#xff0c;\u6839\u636e\u4e3b\u673a\u914d\u7f6e\u8c03\u6574  <\/span><br \/>\n<span class=\"token assign-left variable\">swap<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token number\">0<\/span>             <span class=\"token comment\"># \u7981\u7528swap&#xff0c;\u51cf\u5c11\u78c1\u76d8IO\u538b\u529b  <\/span><br \/>\n<span class=\"token assign-left variable\">localhostForwarding<\/span><span class=\"token operator\">&#061;<\/span>true      <span class=\"token comment\"># \u786e\u4fddlocalhost\u7aef\u53e3\u8bbf\u95ee\u6b63\u5e38  <\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250729174619-688908eb23203.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u91cd\u542f WSL \u751f\u6548&#xff1a;<\/p>\n<p>wsl &#8211;shutdown<br \/>\nwsl &#8211;start  <\/p>\n<p>&#xff08;2&#xff09;Docker \u6743\u9650\u914d\u7f6e&#xff08;\u6211\u6ca1\u914d&#xff09;<\/p>\n<h3>2. \u6587\u4ef6\u4f20\u8f93\u4e0e\u76ee\u5f55\u51c6\u5907<\/h3>\n<p>\u5c06\u6e90\u673a\u5668\u7684 5 \u4e2a.tar \u955c\u50cf \u548c ragflow-config.zip \u590d\u5236\u5230\u76ee\u6807\u673a\u5668\u4efb\u610f\u76ee\u5f55&#xff08;\u5982 D:\\\\ragflow-offline&#xff09;&#xff1b;\u200b \u786e\u4fdd\u76ee\u5f55\u8def\u5f84 \u65e0\u4e2d\u6587 \/ \u7a7a\u683c&#xff08;\u907f\u514d PowerShell \u89e3\u6790\u9519\u8bef&#xff09;\u3002<\/p>\n<h3>3. \u6279\u91cf\u5bfc\u5165\u955c\u50cf&#xff08;\u6309\u5927\u5c0f\u987a\u5e8f&#xff09;<\/h3>\n<p>**1. \u65b9\u6cd5\u4e00&#xff08;\u4e00\u952e\u5bfc\u5165\u591a\u4e2a\u5305&#xff09;&#xff1a;**\u6253\u5f00 PowerShell 7&#xff08;\u7ba1\u7406\u5458&#xff09;&#xff0c;\u8fdb\u5165\u90e8\u7f72\u76ee\u5f55&#xff0c;\u6267\u884c\u5bfc\u5165&#xff1a;<\/p>\n<p><span class=\"token builtin class-name\">cd<\/span> D:<span class=\"token punctuation\">\\\\<\/span>ragflow-offline  <\/p>\n<p><span class=\"token comment\"># \u6279\u91cf\u5bfc\u5165&#xff08;\u5c0f\u955c\u50cf\u4f18\u5148\u52a0\u8f7d&#xff0c;\u51cf\u5c11\u5185\u5b58\u538b\u529b&#xff1b;\u6574\u4f53\u7b49\u5f85\u65f6\u95f4\u8f83\u957f&#xff0c;\u955c\u50cf\u8d8a\u5927\u65f6\u95f4\u8d8a\u957f&#xff09;  <\/span><br \/>\nGet-ChildItem -Filter <span class=\"token string\">&#034;*.tar&#034;<\/span> <span class=\"token operator\">|<\/span> ForEach-Object <span class=\"token punctuation\">{<\/span><br \/>\n    Write-Host <span class=\"token string\">&#034;&#x1f4e5; \u5bfc\u5165\u955c\u50cf: <span class=\"token variable\"><span class=\"token variable\">$(<\/span>$_.Name<span class=\"token variable\">)<\/span><\/span>&#034;<\/span><br \/>\n    docker load -i <span class=\"token variable\">$_<\/span>.FullName<br \/>\n    <span class=\"token comment\"># \u5927\u955c\u50cf\u5bfc\u5165\u540e\u989d\u5916\u4f11\u772030\u79d2&#xff08;\u53ef\u9009&#xff0c;\u964d\u4f4e\u7cfb\u7edf\u8d1f\u8f7d&#xff09;  <\/span><br \/>\n    <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token variable\">$_<\/span>.Name -match <span class=\"token string\">&#034;elasticsearch|infiniflow&#034;<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        Start-Sleep -Seconds <span class=\"token number\">30<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250729174620-688908ec40529.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> **2. \u65b9\u6cd5\u4e8c&#xff08;\u624b\u52a8\u5206\u6b65\u5bfc\u5165&#xff09;&#xff1a;**\u5177\u4f53\u547d\u4ee4&#xff08;\u5bf9\u5e94 5 \u4e2a\u6838\u5fc3\u955c\u50cf&#xff0c;\u6bcf\u6b21\u5355\u72ec\u6267\u884c&#xff09;&#xff0c;\u9002\u5408\u6279\u91cf\u547d\u4ee4\u51fa\u9519\u65f6\u9010\u6b21\u64cd\u4f5c&#xff08;\u56e0\u4e3a\u8fd9\u91cc\u7528\u8fd9\u4e2a\u811a\u672c\u5bfc\u5165\u7b49\u4e86\u534a\u5929-\u955c\u50cf\u592a\u5927&#xff0c;\u6240\u4ee5\u6211\u8fd8\u662f\u4e00\u4e2a\u4e00\u4e2a\u7684\u5bfc\u5165\u5427&#xff0c;\u4e0d\u8fc7\u8fd8\u662f\u7b49\u4e86\u597d\u4e45&#xff09;&#xff1a;<\/p>\n<p><span class=\"token comment\"># \u6267\u884c\u4e0b\u9762\u7684\u547d\u4ee4&#xff1a;<\/span><br \/>\n<span class=\"token comment\"># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><br \/>\n<span class=\"token comment\"># \u5206\u6b65\u5bfc\u5165\u955c\u50cf\u547d\u4ee4&#xff08;\u6309\u5b9e\u9645\u6267\u884c\u987a\u5e8f&#xff0c;\u6279\u91cf\u547d\u4ee4\u5931\u8d25\u65f6\u4f7f\u7528&#xff09;<\/span><br \/>\n<span class=\"token comment\"># \u9002\u7528\u573a\u666f&#xff1a;\u6279\u91cf\u5bfc\u5165\u56e0\u6587\u4ef6\u540d\u89e3\u6790\u3001\u8d44\u6e90\u5360\u7528\u8fc7\u9ad8\u5931\u8d25\u65f6&#xff0c;\u9010\u4e2a\u5bfc\u5165\u6392\u67e5\u95ee\u9898<\/span><br \/>\n<span class=\"token comment\"># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><br \/>\nPS C:<span class=\"token punctuation\">\\\\<\/span>11TheFile<span class=\"token punctuation\">\\\\<\/span>RAGFlow<span class=\"token punctuation\">\\\\<\/span>ragflow-offline<span class=\"token operator\">&gt;<\/span><br \/>\n<span class=\"token comment\"># 1. \u5bfc\u5165Elasticsearch\u955c\u50cf&#xff08;\u641c\u7d22\u5f15\u64ce&#xff0c;\u5927\u955c\u50cf&#xff09;<\/span><br \/>\n<span class=\"token comment\"># \u4f5c\u7528&#xff1a;\u52a0\u8f7dElasticsearch\u670d\u52a1\u955c\u50cf&#xff0c;\u7528\u4e8eRAGFlow\u7684\u5411\u91cf\u5b58\u50a8\u4e0e\u68c0\u7d22<\/span><br \/>\ndocker load -i elasticsearch_8.11.3.tar<br \/>\nStart-Sleep -Seconds <span class=\"token number\">30<\/span>  <span class=\"token comment\"># \u5927\u955c\u50cf\u5bfc\u5165\u540e\u4f11\u772030\u79d2&#xff0c;\u91ca\u653e\u7cfb\u7edf\u8d44\u6e90<\/span><\/p>\n<p><span class=\"token comment\"># 2. \u5bfc\u5165RAGFlow\u4e3b\u955c\u50cf&#xff08;\u6838\u5fc3\u670d\u52a1&#xff0c;\u6700\u5927\u955c\u50cf&#xff09;<\/span><br \/>\n<span class=\"token comment\"># \u4f5c\u7528&#xff1a;\u52a0\u8f7dRAGFlow\u4e3b\u7a0b\u5e8f\u955c\u50cf&#xff0c;\u5305\u542b\u6a21\u578b\u4e0e\u4e1a\u52a1\u903b\u8f91<\/span><br \/>\ndocker load -i infiniflow_ragflow_v0.19.1.tar<br \/>\nStart-Sleep -Seconds <span class=\"token number\">30<\/span>  <span class=\"token comment\"># \u8d85\u5927\u955c\u50cf\u5bfc\u5165\u540e\u5ef6\u957f\u4f11\u7720&#xff0c;\u907f\u514d\u7cfb\u7edf\u5361\u987f<\/span><\/p>\n<p><span class=\"token comment\"># 3. \u5bfc\u5165Valkey\u955c\u50cf&#xff08;\u66ff\u4ee3Redis&#xff0c;\u7f13\u5b58\u670d\u52a1&#xff0c;\u5c0f\u955c\u50cf&#xff09;<\/span><br \/>\n<span class=\"token comment\"># \u4f5c\u7528&#xff1a;\u52a0\u8f7dValkey\u955c\u50cf&#xff08;Redis\u517c\u5bb9\u66ff\u4ee3\u54c1&#xff09;&#xff0c;\u7528\u4e8e\u670d\u52a1\u7f13\u5b58\u4e0e\u4f1a\u8bdd\u7ba1\u7406<\/span><br \/>\ndocker load -i valkey_valkey_8.tar<\/p>\n<p><span class=\"token comment\"># 4. \u5bfc\u5165MySQL\u955c\u50cf&#xff08;\u6570\u636e\u5e93\u670d\u52a1&#xff0c;\u4e2d\u955c\u50cf&#xff09;<\/span><br \/>\n<span class=\"token comment\"># \u4f5c\u7528&#xff1a;\u52a0\u8f7dMySQL\u955c\u50cf&#xff0c;\u7528\u4e8eRAGFlow\u7684\u5143\u6570\u636e\u4e0e\u7ed3\u6784\u5316\u6570\u636e\u5b58\u50a8<\/span><br \/>\ndocker load -i mysql_8.0.39.tar<\/p>\n<p><span class=\"token comment\"># 5. \u5bfc\u5165MinIO\u955c\u50cf&#xff08;\u5bf9\u8c61\u5b58\u50a8\u670d\u52a1&#xff0c;\u5c0f\u955c\u50cf&#xff09;<\/span><br \/>\n<span class=\"token comment\"># \u4f5c\u7528&#xff1a;\u52a0\u8f7dMinIO\u955c\u50cf&#xff0c;\u7528\u4e8e\u5b58\u50a8\u6587\u6863\u3001\u56fe\u7247\u7b49\u975e\u7ed3\u6784\u5316\u6570\u636e<\/span><br \/>\n<span class=\"token comment\"># \u6ce8\u610f&#xff1a;\u6587\u4ef6\u540d\u4fdd\u7559&#034;quay.io&#034;\u4e2d\u7684&#034;.&#034;, \u4ec5\u5c06&#034;\/&#034;\u66ff\u6362\u4e3a&#034;_&#034;, \u4e0e\u5bfc\u51fa\u65f6\u4e00\u81f4<\/span><br \/>\ndocker load -i quay.io_minio_minio_RELEASE.2023-12-20T01-00-02Z.tar<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250729174621-688908edb35bb.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h2>\u955c\u50cf\u5bfc\u5165\u6821\u9a8c&#xff08;\u5173\u952e&#xff01;\u4f46\u662f\u6211\u6ca1\u9a8c\u8bc1&#xff0c;\u5e94\u8be5\u6ca1\u5565\u6bdb\u75c5&#xff09;\u200b<\/h2>\n<p>\u5bfc\u5165\u540e\u5fc5\u987b\u9a8c\u8bc1\u6240\u6709\u955c\u50cf\u5b58\u5728&#xff0c;\u907f\u514d\u9057\u6f0f&#xff1a; \u68c0\u67e5\u6838\u5fc3\u955c\u50cf&#xff08;\u7248\u672c\u5fc5\u987b\u5b8c\u5168\u5339\u914d&#xff0c;\u771f\u5b9e\u540d\u79f0\u8bf7\u67e5\u770b\u81ea\u5df1\u672c\u673aRAGFlow\u7684\u5b9e\u9645\u7248\u672c&#xff09; docker images | findstr \u201cinfiniflow\/ragflow:v0.19.1\u201d docker images | findstr \u201cmysql:8.0.39\u201d docker images | findstr \u201celasticsearch:8.11.3\u201d docker images | findstr \u201cvalkey\/valkey:8\u201d docker images | findstr \u201cquay.io\/minio\/minio:RELEASE.2023-12-20T01-00-02Z\u201d \u82e5\u6709\u7f3a\u5931&#xff0c;\u91cd\u65b0\u4f20\u8f93\u5e76\u5bfc\u5165\u5bf9\u5e94 .tar \u6587\u4ef6\u3002<\/p>\n<h3>4. \u914d\u7f6e\u6587\u4ef6\u5904\u7406<\/h3>\n<p>\u89e3\u538b\u914d\u7f6e\u5305\u5e76\u8986\u76d6\u5230\u90e8\u7f72\u76ee\u5f55&#xff1a;<\/p>\n<p><span class=\"token comment\"># \u89e3\u538b\u914d\u7f6e\u6587\u4ef6&#xff08;-Force\u786e\u4fdd\u8986\u76d6\u65e7\u6587\u4ef6&#xff09;  <\/span><br \/>\nExpand-Archive -Path .<span class=\"token punctuation\">\\\\<\/span>ragflow-config.zip -DestinationPath .<span class=\"token punctuation\">\\\\<\/span> -Force  <\/p>\n<p>\u5173\u952e\u914d\u7f6e\u68c0\u67e5&#xff0c;\u5bfc\u5165\u5931\u8d25\u5f3a\u5236\u6362\u6210\u5b9e\u9645\u7248\u672c&#xff08;\u4e0b\u9762\u662f\u793a\u4f8b&#xff09;&#xff1a; docker-compose.yml&#xff1a;<\/p>\n<p>services: ragflow: image: infiniflow\/ragflow:v0.19.1 # \u786c\u7f16\u7801\u672c\u5730\u955c\u50cf&#xff0c;\u7981\u7528\u8fdc\u7a0b\u62c9\u53d6 depends_on: mysql: condition: service_started # \u7ed5\u5f00MySQL\u5065\u5eb7\u68c0\u67e5\u8bef\u5224<\/p>\n<p>docker-compose-base.yml&#xff1a;<\/p>\n<p>services: mysql: image: mysql:8.0.39 # \u786c\u7f16\u7801\u672c\u5730\u955c\u50cf # \u6ce8\u91ca\u5065\u5eb7\u68c0\u67e5&#xff08;\u907f\u514d\u65e0\u7f51\u7edc\u73af\u5883\u8bef\u5224&#xff09; # healthcheck: # test: [\u201cCMD\u201d, \u201cmysqladmin\u201d, \u201cping\u201d, \u201c-uroot\u201d, \u201c-p${MYSQL_PASSWORD}\u201d]<\/p>\n<p>.env&#xff1a;\u786e\u8ba4\u7aef\u53e3\u3001\u5bc6\u7801\u4e0e\u672c\u5730\u73af\u5883\u5339\u914d&#xff08;\u6211\u6ca1\u770b&#xff0c;\u53ea\u5728\u8fd9\u4e2a\u6587\u4ef6\u5f00\u5934\u52a0\u5165\u4e86&#xff1a;&#xff09;\u3002<\/p>\n<p>RAGFLOW_IMAGE&#061;infiniflow\/ragflow:v0.19.1 VALKEY_IMAGE&#061;valkey\/valkey:8 MYSQL_IMAGE&#061;mysql:8.0.39 MINIO_IMAGE&#061;quay.io\/minio\/minio:RELEASE.2023-12-20T01-00-02Z ELASTICSEARCH_IMAGE&#061;elasticsearch:8.11.3<\/p>\n<h3>5. \u542f\u52a8\u670d\u52a1\u4e0e\u9a8c\u8bc1<\/h3>\n<p>&#xff08;1&#xff09;\u542f\u52a8\u670d\u52a1<\/p>\n<p><span class=\"token comment\"># \u517c\u5bb9docker compose\u548cdocker-compose\u4e24\u79cd\u547d\u4ee4\u683c\u5f0f  <\/span><br \/>\ntry <span class=\"token punctuation\">{<\/span> docker compose up -d <span class=\"token punctuation\">}<\/span> catch <span class=\"token punctuation\">{<\/span> docker-compose up -d <span class=\"token punctuation\">}<\/span>  <\/p>\n<p>\u8fd0\u884c\u5b8c\u5c31\u6210\u529f\u4e86&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250729174623-688908ef420f2.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u4e2d\u8fdb\u5165127.0.0.1\u5730\u5740\u5c31\u53ef\u4ee5\u4e86&#xff08;\u8fd8\u6ca1\u6253\u5f00\u5c31\u5360\u75287G\u8fd0\u5b58&#xff0c;\u5dee0.5G\u5c31\u53c8\u5d29\u6e83\u4e86\u2026\u2026&#xff09; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250729174624-688908f0df613.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>&#xff08;2&#xff09;\u90e8\u7f72\u9a8c\u8bc1<\/p>\n<p><span class=\"token comment\"># \u68c0\u67e5\u5bb9\u5668\u72b6\u6001&#xff08;\u6240\u6709\u670d\u52a1\u5e94\u4e3aUp&#xff09;  <\/span><br \/>\ndocker compose <span class=\"token function\">ps<\/span>  <\/p>\n<p><span class=\"token comment\"># \u9a8c\u8bc1RAGFlow API\u53ef\u7528\u6027&#xff08;\u8fd4\u56de200 OK&#xff09;  <\/span><br \/>\n<span class=\"token function\">curl<\/span> http:\/\/localhost:9380\/api\/v1\/health  <\/p>\n<h2>\u56db\u3001\u6545\u969c\u6392\u67e5\u4e0e\u89e3\u51b3\u65b9\u6848<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250729174626-688908f25c5f5.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h2>\u4e94\u3001\u957f\u671f\u7ef4\u62a4\u4e0e\u4f18\u5316(\u65e0\u4e86\u4e0d\u77e5\u9053\u5199\u5565&#xff0c;\u611f\u89c9\u6ca1\u4ec0\u4e48\u7528&#xff09;<\/h2>\n<h2>\u516d .\u603b\u7ed3<\/h2>\n<p>\u672c\u6d41\u7a0b\u901a\u8fc7 \u5206\u6279\u6b21\u955c\u50cf\u5904\u7406\u3001WSL \u8d44\u6e90\u9650\u5236\u3001\u914d\u7f6e\u56fa\u5316&#xff0c;\u89e3\u51b3\u4e86\u65e0\u7f51\u7edc\u73af\u5883\u4e0b RAGFlow \u90e8\u7f72\u7684\u6838\u5fc3\u75db\u70b9&#xff1a;\u200b \u955c\u50cf\u590d\u7528&#xff1a;\u4fee\u6539\u540e\u7684 docker-compose.yml\u3001docker-compose-base.yml\u3001.env \u53ef\u76f4\u63a5\u66ff\u6362\u5230\u538b\u7f29\u5305&#xff0c;\u5b9e\u73b0 \u201c\u89e3\u538b\u5373\u90e8\u7f72\u201d&#xff1b;\u200b \u7a33\u5b9a\u6027\u4fdd\u969c&#xff1a;WSL \u914d\u7f6e\u548c\u6743\u9650\u5904\u7406\u907f\u514d\u4e86\u5185\u5b58\u5d29\u6e83\u3001\u6743\u9650\u4e0d\u8db3\u7b49\u9690\u6027\u95ee\u9898&#xff1b;\u200b \u53ef\u7ef4\u62a4\u6027&#xff1a;\u6545\u969c\u6392\u67e5\u548c\u957f\u671f\u7ef4\u62a4\u65b9\u6848\u786e\u4fdd\u670d\u52a1\u6301\u7eed\u7a33\u5b9a\u8fd0\u884c\u3002\u200b \u5efa\u8bae\u5c06\u4fee\u6539\u540e\u7684\u914d\u7f6e\u6587\u4ef6\u6c38\u4e45\u5f52\u6863&#xff0c;\u4f5c\u4e3a\u79bb\u7ebf\u90e8\u7f72\u7684\u6807\u51c6\u5316\u6a21\u677f\u590d\u7528\u3002<\/p>\n<p>RR<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb657\u6b21\uff0c\u70b9\u8d5e15\u6b21\uff0c\u6536\u85cf13\u6b21\u3002\u672c\u6587\u8be6\u7ec6\u4ecb\u7ecd\u4e86RAGFlow\u5728\u5185\u7f51\/\u65e0\u7f51\u7edc\u73af\u5883\u4e2d\u7684\u79bb\u7ebf\u90e8\u7f72\u65b9\u6848\u3002\u901a\u8fc7\u5206\u6279\u6b21\u5bfc\u51fa\u955c\u50cf\uff08\u5c0f\u955c\u50cf\u4f18\u5148\uff09\u3001\u4f18\u5316WSL2\u8d44\u6e90\u914d\u7f6e\uff0812GB\u5185\u5b58+8\u6838CPU\uff09\u3001\u56fa\u5316\u914d\u7f6e\u6587\u4ef6\uff08\u786c\u7f16\u7801\u955c\u50cf\u7248\u672c\uff09\u4e09\u5927\u6838\u5fc3\u63aa\u65bd\uff0c\u89e3\u51b3\u4e86\u955c\u50cf\u62c9\u53d6\u5931\u8d25\u3001\u5185\u5b58\u4e0d\u8db3\u5d29\u6e83\u3001\u670d\u52a1\u4f9d\u8d56\u51b2\u7a81\u7b49\u75db\u70b9\u95ee\u9898\u3002\u90e8\u7f72\u6d41\u7a0b\u5305\u542b\uff1a\u6e90\u673a\u5668\u955c\u50cf\u5bfc\u51fa\u4e0e\u914d\u7f6e\u6253\u5305\u3001\u76ee\u6807\u673a\u5668\u73af\u5883\u521d\u59cb\u5316\u3001\u955c\u50cf\u6279\u91cf\u5bfc\u5165\u4e0e\u6821\u9a8c\u3001\u914d\u7f6e\u6587\u4ef6\u89e3\u538b\u8986\u76d6\u3001\u670d\u52a1\u542f\u52a8\u9a8c\u8bc1\u7b49\u6807\u51c6\u5316\u6b65\u9aa4\u3002\u8be5\u65b9\u6848\u7279\u522b\u5f3a\u8c03\u7248\u672c\u4e00\u81f4\u6027\u68c0\u67e5\u3001\u5185\u5b58\u8d44\u6e90\u9884\u5206\u914d\u548c\u7f51\u7edc\u9694\u79bb\u9002\u5e94\u6027\u914d\u7f6e\uff0c\u6700\u7ec8\u5f62\u6210\u53ef\u590d\u7528\u7684\u79bb\u7ebf\u90e8\u7f72\u6a21\u677f\uff0c\u786e\u4fddRAGFlow\u5728\u5185\u7f51\u73af\u5883\u4e2d\u7a33\u5b9a\u8fd0\u884c\u3002<\/p>\n","protected":false},"author":2,"featured_media":45901,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[27,149,323,121,78,44],"topic":[],"class_list":["post-45909","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-docker","tag-windows","tag-323","tag-121","tag-78","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u65e0\u7f51\u7edc\u73af\u5883\u4e0b RAGFlow \u79bb\u7ebf\u90e8\u7f72\u6d41\u7a0b\u8bb0\u5f55\uff08WSL2+Docker\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/45909.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u65e0\u7f51\u7edc\u73af\u5883\u4e0b RAGFlow \u79bb\u7ebf\u90e8\u7f72\u6d41\u7a0b\u8bb0\u5f55\uff08WSL2+Docker\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb657\u6b21\uff0c\u70b9\u8d5e15\u6b21\uff0c\u6536\u85cf13\u6b21\u3002\u672c\u6587\u8be6\u7ec6\u4ecb\u7ecd\u4e86RAGFlow\u5728\u5185\u7f51\/\u65e0\u7f51\u7edc\u73af\u5883\u4e2d\u7684\u79bb\u7ebf\u90e8\u7f72\u65b9\u6848\u3002\u901a\u8fc7\u5206\u6279\u6b21\u5bfc\u51fa\u955c\u50cf\uff08\u5c0f\u955c\u50cf\u4f18\u5148\uff09\u3001\u4f18\u5316WSL2\u8d44\u6e90\u914d\u7f6e\uff0812GB\u5185\u5b58+8\u6838CPU\uff09\u3001\u56fa\u5316\u914d\u7f6e\u6587\u4ef6\uff08\u786c\u7f16\u7801\u955c\u50cf\u7248\u672c\uff09\u4e09\u5927\u6838\u5fc3\u63aa\u65bd\uff0c\u89e3\u51b3\u4e86\u955c\u50cf\u62c9\u53d6\u5931\u8d25\u3001\u5185\u5b58\u4e0d\u8db3\u5d29\u6e83\u3001\u670d\u52a1\u4f9d\u8d56\u51b2\u7a81\u7b49\u75db\u70b9\u95ee\u9898\u3002\u90e8\u7f72\u6d41\u7a0b\u5305\u542b\uff1a\u6e90\u673a\u5668\u955c\u50cf\u5bfc\u51fa\u4e0e\u914d\u7f6e\u6253\u5305\u3001\u76ee\u6807\u673a\u5668\u73af\u5883\u521d\u59cb\u5316\u3001\u955c\u50cf\u6279\u91cf\u5bfc\u5165\u4e0e\u6821\u9a8c\u3001\u914d\u7f6e\u6587\u4ef6\u89e3\u538b\u8986\u76d6\u3001\u670d\u52a1\u542f\u52a8\u9a8c\u8bc1\u7b49\u6807\u51c6\u5316\u6b65\u9aa4\u3002\u8be5\u65b9\u6848\u7279\u522b\u5f3a\u8c03\u7248\u672c\u4e00\u81f4\u6027\u68c0\u67e5\u3001\u5185\u5b58\u8d44\u6e90\u9884\u5206\u914d\u548c\u7f51\u7edc\u9694\u79bb\u9002\u5e94\u6027\u914d\u7f6e\uff0c\u6700\u7ec8\u5f62\u6210\u53ef\u590d\u7528\u7684\u79bb\u7ebf\u90e8\u7f72\u6a21\u677f\uff0c\u786e\u4fddRAGFlow\u5728\u5185\u7f51\u73af\u5883\u4e2d\u7a33\u5b9a\u8fd0\u884c\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/45909.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-07-29T17:46:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250729174617-688908e9b28f1.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/45909.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/45909.html\",\"name\":\"\u65e0\u7f51\u7edc\u73af\u5883\u4e0b RAGFlow \u79bb\u7ebf\u90e8\u7f72\u6d41\u7a0b\u8bb0\u5f55\uff08WSL2+Docker\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-07-29T17:46:28+00:00\",\"dateModified\":\"2025-07-29T17:46:28+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/45909.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/45909.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/45909.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u65e0\u7f51\u7edc\u73af\u5883\u4e0b RAGFlow \u79bb\u7ebf\u90e8\u7f72\u6d41\u7a0b\u8bb0\u5f55\uff08WSL2+Docker\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u65e0\u7f51\u7edc\u73af\u5883\u4e0b RAGFlow \u79bb\u7ebf\u90e8\u7f72\u6d41\u7a0b\u8bb0\u5f55\uff08WSL2+Docker\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/45909.html","og_locale":"zh_CN","og_type":"article","og_title":"\u65e0\u7f51\u7edc\u73af\u5883\u4e0b RAGFlow \u79bb\u7ebf\u90e8\u7f72\u6d41\u7a0b\u8bb0\u5f55\uff08WSL2+Docker\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb657\u6b21\uff0c\u70b9\u8d5e15\u6b21\uff0c\u6536\u85cf13\u6b21\u3002\u672c\u6587\u8be6\u7ec6\u4ecb\u7ecd\u4e86RAGFlow\u5728\u5185\u7f51\/\u65e0\u7f51\u7edc\u73af\u5883\u4e2d\u7684\u79bb\u7ebf\u90e8\u7f72\u65b9\u6848\u3002\u901a\u8fc7\u5206\u6279\u6b21\u5bfc\u51fa\u955c\u50cf\uff08\u5c0f\u955c\u50cf\u4f18\u5148\uff09\u3001\u4f18\u5316WSL2\u8d44\u6e90\u914d\u7f6e\uff0812GB\u5185\u5b58+8\u6838CPU\uff09\u3001\u56fa\u5316\u914d\u7f6e\u6587\u4ef6\uff08\u786c\u7f16\u7801\u955c\u50cf\u7248\u672c\uff09\u4e09\u5927\u6838\u5fc3\u63aa\u65bd\uff0c\u89e3\u51b3\u4e86\u955c\u50cf\u62c9\u53d6\u5931\u8d25\u3001\u5185\u5b58\u4e0d\u8db3\u5d29\u6e83\u3001\u670d\u52a1\u4f9d\u8d56\u51b2\u7a81\u7b49\u75db\u70b9\u95ee\u9898\u3002\u90e8\u7f72\u6d41\u7a0b\u5305\u542b\uff1a\u6e90\u673a\u5668\u955c\u50cf\u5bfc\u51fa\u4e0e\u914d\u7f6e\u6253\u5305\u3001\u76ee\u6807\u673a\u5668\u73af\u5883\u521d\u59cb\u5316\u3001\u955c\u50cf\u6279\u91cf\u5bfc\u5165\u4e0e\u6821\u9a8c\u3001\u914d\u7f6e\u6587\u4ef6\u89e3\u538b\u8986\u76d6\u3001\u670d\u52a1\u542f\u52a8\u9a8c\u8bc1\u7b49\u6807\u51c6\u5316\u6b65\u9aa4\u3002\u8be5\u65b9\u6848\u7279\u522b\u5f3a\u8c03\u7248\u672c\u4e00\u81f4\u6027\u68c0\u67e5\u3001\u5185\u5b58\u8d44\u6e90\u9884\u5206\u914d\u548c\u7f51\u7edc\u9694\u79bb\u9002\u5e94\u6027\u914d\u7f6e\uff0c\u6700\u7ec8\u5f62\u6210\u53ef\u590d\u7528\u7684\u79bb\u7ebf\u90e8\u7f72\u6a21\u677f\uff0c\u786e\u4fddRAGFlow\u5728\u5185\u7f51\u73af\u5883\u4e2d\u7a33\u5b9a\u8fd0\u884c\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/45909.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-07-29T17:46:28+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250729174617-688908e9b28f1.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/45909.html","url":"https:\/\/www.wsisp.com\/helps\/45909.html","name":"\u65e0\u7f51\u7edc\u73af\u5883\u4e0b RAGFlow \u79bb\u7ebf\u90e8\u7f72\u6d41\u7a0b\u8bb0\u5f55\uff08WSL2+Docker\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-07-29T17:46:28+00:00","dateModified":"2025-07-29T17:46:28+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/45909.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/45909.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/45909.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u65e0\u7f51\u7edc\u73af\u5883\u4e0b RAGFlow \u79bb\u7ebf\u90e8\u7f72\u6d41\u7a0b\u8bb0\u5f55\uff08WSL2+Docker\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/45909","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=45909"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/45909\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/45901"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=45909"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=45909"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=45909"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=45909"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}