{"id":97746,"date":"2026-08-30T06:48:46","date_gmt":"2026-08-29T22:48:46","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/97746.html"},"modified":"2026-08-30T06:48:46","modified_gmt":"2026-08-29T22:48:46","slug":"deepseek-harness-%e9%83%a8%e7%bd%b2%e6%8c%87%e5%8d%97%ef%bc%9a%e4%bb%8e%e4%b8%80%e8%a1%8c%e5%91%bd%e4%bb%a4%e5%88%b0-linux-%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e7%ba%bf","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/97746.html","title":{"rendered":"DeepSeek Harness \u90e8\u7f72\u6307\u5357\uff1a\u4ece\u4e00\u884c\u547d\u4ee4\u5230 Linux \u670d\u52a1\u5668\u4e0a\u7ebf"},"content":{"rendered":"<\/p>\n<h4>\u6587\u7ae0\u76ee\u5f55<\/h4>\n<ul>\n<li>DeepSeek Harness \u90e8\u7f72\u6307\u5357&#xff1a;\u4ece\u4e00\u884c\u547d\u4ee4\u5230 Linux \u670d\u52a1\u5668\u4e0a\u7ebf<\/li>\n<li>\n<ul>\n<li>\u4e00\u3001\u90e8\u7f72\u524d\u51c6\u5907<\/li>\n<li>\u4e8c\u3001\u6700\u5feb\u8def\u5f84&#xff1a;npx \u542f\u52a8 Web UI<\/li>\n<li>\u4e09\u3001\u6e90\u7801\u90e8\u7f72&#xff1a;\u9002\u5408\u4e8c\u6b21\u5f00\u53d1\u548c\u63d2\u4ef6\u5f00\u53d1<\/li>\n<li>\u56db\u3001\u65e0\u5934\u6a21\u5f0f&#xff1a;\u4e00\u6761\u547d\u4ee4\u8dd1\u4efb\u52a1<\/li>\n<li>\u4e94\u3001Linux \u670d\u52a1\u5668\u4e0a\u7ebf<\/li>\n<li>\n<ul>\n<li>1. \u521b\u5efa\u4e13\u7528\u7528\u6237\u548c\u76ee\u5f55<\/li>\n<li>2. \u5b89\u88c5\u5e76\u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/li>\n<li>3. systemd \u6258\u7ba1<\/li>\n<li>4. Nginx \u53cd\u5411\u4ee3\u7406<\/li>\n<\/ul>\n<\/li>\n<li>\u516d\u3001\u4e0a\u7ebf\u524d\u7684\u5907\u4efd\u548c\u66f4\u65b0<\/li>\n<li>\u4e03\u3001\u5e38\u7528\u73af\u5883\u53d8\u91cf<\/li>\n<li>\u516b\u3001\u90e8\u7f72\u6e05\u5355<\/li>\n<li>\u4e5d\u3001\u5e38\u89c1\u95ee\u9898<\/li>\n<li>\n<ul>\n<li>\u542f\u52a8\u540e\u6253\u4e0d\u5f00\u9875\u9762&#xff1f;<\/li>\n<li>\u6a21\u578b\u63d0\u793a &#096;MISSING_CREDENTIAL&#096;&#xff1f;<\/li>\n<li>\u63d0\u793a &#096;UNKNOWN_MODEL&#096;&#xff1f;<\/li>\n<li>\u80fd\u7528\u5176\u4ed6\u6a21\u578b\u5417&#xff1f;<\/li>\n<li>\u4e3a\u4ec0\u4e48\u4e0d\u80fd &#096;&#8211;host 0.0.0.0&#096;&#xff1f;<\/li>\n<\/ul>\n<\/li>\n<li>\u53c2\u8003\u8d44\u6599<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>DeepSeek Harness \u90e8\u7f72\u6307\u5357&#xff1a;\u4ece\u4e00\u884c\u547d\u4ee4\u5230 Linux \u670d\u52a1\u5668\u4e0a\u7ebf<\/h2>\n<p>DeepSeek Harness&#xff08;dsh&#xff09;\u662f DeepSeek AI \u5b98\u65b9\u5f00\u6e90\u7684 agent harness&#xff0c;\u4e3b\u6253\u201c\u4e00\u5207\u7686\u63d2\u4ef6\u201d\u7684\u67b6\u6784&#xff0c;\u5e95\u5c42\u7531 Cordis \u9a71\u52a8&#xff0c;\u91c7\u7528 MIT \u534f\u8bae\u3002\u5b83\u76ee\u524d\u5904\u4e8e\u5f00\u53d1\u8005\u9884\u89c8\u9636\u6bb5&#xff0c;\u7248\u672c\u8fed\u4ee3\u5f88\u5feb&#xff0c;\u5b98\u65b9\u660e\u786e\u63d0\u793a\u540e\u7eed\u4f1a\u6709\u7834\u574f\u517c\u5bb9\u6027\u7684\u53d8\u66f4\u3002<\/p>\n<p>\u8fd9\u7bc7\u6587\u7ae0\u6309\u56db\u6761\u8def\u5f84\u5199&#xff1a;npx \u5feb\u901f\u4f53\u9a8c\u3001\u6e90\u7801\u90e8\u7f72\u3001\u65e0\u5934\u4efb\u52a1\u6a21\u5f0f\u3001Linux \u670d\u52a1\u5668\u4e0a\u7ebf&#xff0c;\u6700\u540e\u7ed9\u90e8\u7f72\u6e05\u5355\u548c\u5e38\u89c1\u95ee\u9898\u3002<\/p>\n<h3>\u4e00\u3001\u90e8\u7f72\u524d\u51c6\u5907<\/h3>\n<p>\u5148\u786e\u8ba4\u672c\u673a\u73af\u5883&#xff1a;<\/p>\n<table>\n<tr>\u9879\u76ee\u8981\u6c42<\/tr>\n<tbody>\n<tr>\n<td>Node.js<\/td>\n<td>^22.19.0 \u6216 &gt;&#061;24.0.0<\/td>\n<\/tr>\n<tr>\n<td>\u5305\u7ba1\u7406\u5668<\/td>\n<td>\u5feb\u901f\u4f53\u9a8c\u53ea\u9700 npm&#xff1b;\u6e90\u7801\u90e8\u7f72\u9700\u8981 pnpm&#064;11.7.0<\/td>\n<\/tr>\n<tr>\n<td>DeepSeek API Key<\/td>\n<td>DeepSeek \u5f00\u653e\u5e73\u53f0\u751f\u6210<\/td>\n<\/tr>\n<tr>\n<td>\u8fd0\u884c\u76ee\u5f55<\/td>\n<td>\u5efa\u8bae\u7528\u72ec\u7acb workspace&#xff0c;\u4e0d\u8981\u8ba9 agent \u76f4\u63a5\u64cd\u4f5c\u7cfb\u7edf\u6839\u76ee\u5f55<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u68c0\u67e5\u7248\u672c&#xff1a;<\/p>\n<p><span class=\"token function\">node<\/span> <span class=\"token parameter variable\">-v<\/span><br \/>\n<span class=\"token function\">npm<\/span> <span class=\"token parameter variable\">-v<\/span><\/p>\n<p>\u5982\u679c\u4f60\u8981\u8dd1\u6e90\u7801\u6216\u5f00\u53d1\u63d2\u4ef6&#xff0c;\u518d\u68c0\u67e5&#xff1a;<\/p>\n<p>corepack <span class=\"token builtin class-name\">enable<\/span><br \/>\ncorepack prepare pnpm&#064;11.7.0 <span class=\"token parameter variable\">&#8211;activate<\/span><br \/>\n<span class=\"token function\">pnpm<\/span> <span class=\"token parameter variable\">-v<\/span><\/p>\n<h3>\u4e8c\u3001\u6700\u5feb\u8def\u5f84&#xff1a;npx \u542f\u52a8 Web UI<\/h3>\n<p>\u5b98\u65b9\u63a8\u8350\u7684\u7b2c\u4e00\u6761\u547d\u4ee4&#xff1a;<\/p>\n<p>npx &#064;deepseek-ai\/dsh web<\/p>\n<p>\u9996\u6b21\u8fd0\u884c\u4f1a\u901a\u8fc7 npm \u4e0b\u8f7d &#064;deepseek-ai\/dsh&#xff0c;\u5e76\u81ea\u52a8\u521d\u59cb\u5316 web profile\u3002\u9ed8\u8ba4\u76d1\u542c\u5730\u5740\u662f&#xff1a;<\/p>\n<p>http:\/\/127.0.0.1:3080<\/p>\n<p>\u6d4f\u89c8\u5668\u6253\u5f00\u540e&#xff0c;\u5b8c\u6210\u4e09\u6b65\u5373\u53ef\u8dd1\u7b2c\u4e00\u4e2a\u4efb\u52a1&#xff1a;<\/p>\n<li>\u6253\u5f00\u201c\u8bbe\u7f6e \u2192 \u6a21\u578b\u201d&#xff0c;\u586b\u5165 DeepSeek API Key \u5e76\u4fdd\u5b58\u3002<\/li>\n<li>\u70b9\u51fb\u201c\u9009\u62e9\u5de5\u4f5c\u533a\u201d&#xff0c;\u6dfb\u52a0\u4f60\u542f\u52a8 dsh \u65f6\u6240\u5728\u7684\u76ee\u5f55\u3002<\/li>\n<li>\u65b0\u5efa\u4f1a\u8bdd&#xff0c;\u53d1\u4e00\u6761\u4efb\u52a1&#xff0c;\u4f8b\u5982\u201cSummarize this repository and identify its main packages\u201d\u3002<\/li>\n<p>\u6a21\u578b\u5bc6\u94a5\u4fdd\u5b58\u5728 $DSH_HOME\/.credentials.yaml \u4e2d&#xff0c;Web UI \u53ea\u5c55\u793a\u8131\u654f\u63cf\u8ff0\u7b26&#xff0c;\u4e0d\u4f1a\u56de\u663e\u660e\u6587\u3002\u5bc6\u94a5\u4fdd\u5b58\u540e\u4e0d\u9700\u8981\u91cd\u542f\u670d\u52a1\u3002<\/p>\n<p>\u5982\u679c 3080 \u7aef\u53e3\u88ab\u5360\u7528&#xff0c;\u6362\u4e00\u4e2a\u7aef\u53e3&#xff1a;<\/p>\n<p>npx &#064;deepseek-ai\/dsh web <span class=\"token parameter variable\">&#8211;port<\/span> <span class=\"token number\">8080<\/span><\/p>\n<p>\u957f\u671f\u4f7f\u7528\u5efa\u8bae\u5168\u5c40\u5b89\u88c5&#xff0c;\u907f\u514d\u6bcf\u6b21\u8d70 npx&#xff1a;<\/p>\n<p><span class=\"token function\">npm<\/span> <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-g<\/span> &#064;deepseek-ai\/dsh<br \/>\ndsh <span class=\"token parameter variable\">&#8211;version<\/span><br \/>\ndsh web<\/p>\n<h3>\u4e09\u3001\u6e90\u7801\u90e8\u7f72&#xff1a;\u9002\u5408\u4e8c\u6b21\u5f00\u53d1\u548c\u63d2\u4ef6\u5f00\u53d1<\/h3>\n<p>\u5982\u679c\u4f60\u8981\u8bfb\u6e90\u7801\u3001\u6539\u63d2\u4ef6\u6216\u8c03\u8bd5&#xff0c;\u4ece\u4ed3\u5e93\u8fd0\u884c&#xff1a;<\/p>\n<p><span class=\"token function\">git<\/span> clone https:\/\/github.com\/deepseek-ai\/deepseek-harness.git<br \/>\n<span class=\"token builtin class-name\">cd<\/span> deepseek-harness<br \/>\n<span class=\"token function\">pnpm<\/span> <span class=\"token function\">install<\/span><br \/>\n<span class=\"token function\">pnpm<\/span> run build<br \/>\n<span class=\"token function\">pnpm<\/span> dsh web<\/p>\n<p>\u6ce8\u610f\u4e24\u70b9&#xff1a;<\/p>\n<ul>\n<li>\u6e90\u7801\u8fd0\u884c\u5fc5\u987b\u5148\u6267\u884c pnpm run build&#xff0c;\u4ed3\u5e93\u4e0d\u4f1a\u5728\u542f\u52a8\u65f6\u81ea\u52a8\u6784\u5efa\u524d\u7aef\u4ea7\u7269\u3002<\/li>\n<li>package.json \u91cc\u7684 pnpm dsh \u662f\u6e90\u7801\u5165\u53e3&#xff0c;\u4e0d\u662f\u7f16\u8bd1\u540e\u7684\u4e8c\u8fdb\u5236\u3002<\/li>\n<\/ul>\n<p>\u6e90\u7801\u90e8\u7f72\u540e\u540c\u6837\u53ef\u4ee5\u6307\u5b9a\u7aef\u53e3&#xff1a;<\/p>\n<p><span class=\"token function\">pnpm<\/span> dsh web <span class=\"token parameter variable\">&#8211;port<\/span> <span class=\"token number\">8080<\/span><\/p>\n<p>\u67e5\u770b Web UI \u652f\u6301\u54ea\u4e9b\u542f\u52a8\u53c2\u6570&#xff1a;<\/p>\n<p><span class=\"token function\">pnpm<\/span> dsh web <span class=\"token parameter variable\">&#8211;help<\/span><\/p>\n<h3>\u56db\u3001\u65e0\u5934\u6a21\u5f0f&#xff1a;\u4e00\u6761\u547d\u4ee4\u8dd1\u4efb\u52a1<\/h3>\n<p>\u4e0d\u9700\u8981\u6d4f\u89c8\u5668\u65f6&#xff0c;\u7528 headless profile \u8dd1\u4e00\u6b21\u6027\u4efb\u52a1\u3002\u5b83\u4e0d\u4f1a\u76d1\u542c\u7aef\u53e3&#xff0c;\u628a\u6700\u7ec8\u7b54\u6848\u6253\u5230 stdout&#xff0c;\u4efb\u52a1\u6b63\u5e38\u5b8c\u6210\u4ee5 0 \u9000\u51fa&#xff0c;\u5426\u5219\u4ee5 1 \u9000\u51fa&#xff0c;\u9002\u5408\u63a5 CI&#xff1a;<\/p>\n<p><span class=\"token builtin class-name\">export<\/span> <span class=\"token assign-left variable\">DEEPSEEK_API_KEY<\/span><span class=\"token operator\">&#061;<\/span>sk-your-key-here<br \/>\ndsh <span class=\"token parameter variable\">&#8211;profile<\/span> headless <span class=\"token string\">&#034;run the tests&#034;<\/span><\/p>\n<p>\u4efb\u52a1\u6587\u672c\u5fc5\u987b\u4f5c\u4e3a\u4f4d\u7f6e\u53c2\u6570\u76f4\u63a5\u8ddf\u5728\u547d\u4ee4\u540e\u9762&#xff0c;headless profile \u4e0d\u63a5\u53d7 Web UI \u7684 &#8211;port \u7b49\u53c2\u6570&#xff1a;<\/p>\n<p>dsh <span class=\"token parameter variable\">&#8211;profile<\/span> headless <span class=\"token string\">&#034;Inspect the repository and fix the failing tests.&#034;<\/span><\/p>\n<p>\u6392\u67e5\u7ec4\u5408\u914d\u7f6e\u65f6\u4e0d\u542f\u52a8\u670d\u52a1&#xff0c;\u53ef\u4ee5\u6253\u5370\u914d\u7f6e\u6811&#xff1a;<\/p>\n<p>dsh <span class=\"token parameter variable\">&#8211;profile<\/span> web &#8211;dump-default-config<br \/>\ndsh <span class=\"token parameter variable\">&#8211;profile<\/span> web <span class=\"token parameter variable\">&#8211;patch<\/span> .\/extra.yml &#8211;dump-config<\/p>\n<p>\u5b89\u88c5\u7b2c\u4e09\u65b9\u63d2\u4ef6\u4e5f\u8d70 CLI&#xff1a;<\/p>\n<p>dsh plugin <span class=\"token parameter variable\">&#8211;profile<\/span> web <span class=\"token function\">add<\/span> <span class=\"token operator\">&lt;<\/span>package-or-git-spec<span class=\"token operator\">&gt;<\/span><\/p>\n<p>\u63d2\u4ef6\u7ba1\u7406\u547d\u4ee4\u4f1a\u628a\u53c2\u6570\u8f6c\u53d1\u7ed9 pnpm&#xff0c;\u56e0\u6b64\u673a\u5668\u4e0a\u9700\u8981\u5b89\u88c5 pnpm\u3002Git \u6258\u7ba1\u7684\u63d2\u4ef6\u5982\u679c\u5e26 prepare \u6784\u5efa\u811a\u672c&#xff0c;\u7b2c\u4e00\u6b21\u5b89\u88c5\u53ef\u80fd\u9700\u8981\u6309\u63d0\u793a\u5728 pnpm-workspace.yaml \u4e2d\u5141\u8bb8\u5bf9\u5e94\u6784\u5efa\u811a\u672c\u3002<\/p>\n<h3>\u4e94\u3001Linux \u670d\u52a1\u5668\u4e0a\u7ebf<\/h3>\n<p>DeepSeek Harness \u7684 Web \u670d\u52a1\u5668\u672c\u8eab\u4e0d\u63d0\u4f9b TLS\u3001\u8ba4\u8bc1\u6216\u6765\u6e90\u7b56\u7565\u3002\u5b98\u65b9\u5728 CLI \u5c42\u6545\u610f\u62d2\u7edd &#8211;host 0.0.0.0&#xff0c;\u5c31\u662f\u4e3a\u4e86\u907f\u514d\u628a\u8fdc\u7a0b\u4ee3\u7801\u6267\u884c\u80fd\u529b\u76f4\u63a5\u66b4\u9732\u5230\u7f51\u7edc\u3002\u751f\u4ea7\u90e8\u7f72\u7684\u6b63\u786e\u59ff\u52bf\u662f&#xff1a;\u670d\u52a1\u53ea\u76d1\u542c\u56de\u73af\u5730\u5740&#xff0c;\u524d\u9762\u653e HTTPS \u53cd\u5411\u4ee3\u7406&#xff0c;\u518d\u52a0\u4e00\u5c42\u8ba4\u8bc1\u3002<\/p>\n<h4>1. \u521b\u5efa\u4e13\u7528\u7528\u6237\u548c\u76ee\u5f55<\/h4>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">useradd<\/span> <span class=\"token parameter variable\">&#8211;system<\/span> &#8211;create-home &#8211;home-dir \/var\/lib\/dsh dsh<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">mkdir<\/span> <span class=\"token parameter variable\">-p<\/span> \/srv\/dsh-workspace<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">chown<\/span> <span class=\"token parameter variable\">-R<\/span> dsh:dsh \/srv\/dsh-workspace \/var\/lib\/dsh<\/p>\n<h4>2. \u5b89\u88c5\u5e76\u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/h4>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">npm<\/span> <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-g<\/span> &#064;deepseek-ai\/dsh<br \/>\n<span class=\"token function\">which<\/span> dsh<\/p>\n<p>\u628a\u5bc6\u94a5\u548c\u914d\u7f6e\u76ee\u5f55\u5199\u8fdb environment file&#xff0c;\u6743\u9650\u6536\u7d27&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">tee<\/span> \/etc\/dsh.env <span class=\"token operator\">&gt;<\/span> \/dev\/null <span class=\"token operator\">&lt;&lt;<\/span><span class=\"token string\">&#039;EOF&#039;<br \/>\nDSH_HOME&#061;\/var\/lib\/dsh<br \/>\nDEEPSEEK_API_KEY&#061;sk-your-key-here<br \/>\nEOF<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">chmod<\/span> <span class=\"token number\">600<\/span> \/etc\/dsh.env<\/p>\n<p>\u5982\u679c\u8d70 OpenAI \u517c\u5bb9\u7f51\u5173&#xff0c;\u518d\u52a0&#xff1a;<\/p>\n<p>DEEPSEEK_BASE_URL&#061;https:\/\/your-gateway.example\/v1<\/p>\n<h4>3. systemd \u6258\u7ba1<\/h4>\n<p>\u5047\u8bbe dsh \u5b89\u88c5\u5728 \/usr\/local\/bin\/dsh&#xff0c;&#8211;trusted-host \u586b\u4f60\u7684\u8bbf\u95ee\u57df\u540d&#xff1a;<\/p>\n<p>[Unit]<br \/>\nDescription&#061;DeepSeek Harness Web<br \/>\nAfter&#061;network-online.target<\/p>\n<p>[Service]<br \/>\nUser&#061;dsh<br \/>\nGroup&#061;dsh<br \/>\nWorkingDirectory&#061;\/srv\/dsh-workspace<br \/>\nEnvironmentFile&#061;\/etc\/dsh.env<br \/>\nExecStart&#061;\/usr\/local\/bin\/dsh web &#8211;port 3080 &#8211;trusted-host dsh.example.com<br \/>\nRestart&#061;on-failure<br \/>\nRestartSec&#061;5<br \/>\nTimeoutStopSec&#061;10<br \/>\nNoNewPrivileges&#061;true<br \/>\nPrivateTmp&#061;true<\/p>\n<p>[Install]<br \/>\nWantedBy&#061;multi-user.target<\/p>\n<p>\u5199\u5165\u5e76\u542f\u52a8&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">nano<\/span> \/etc\/systemd\/system\/dsh-web.service<br \/>\n<span class=\"token comment\"># \u4fdd\u5b58\u4e0a\u9762\u7684 systemd \u914d\u7f6e\u540e\u6267\u884c&#xff1a;<\/span><br \/>\n<span class=\"token function\">sudo<\/span> systemctl daemon-reload<br \/>\n<span class=\"token function\">sudo<\/span> systemctl <span class=\"token builtin class-name\">enable<\/span> <span class=\"token parameter variable\">&#8211;now<\/span> dsh-web<br \/>\n<span class=\"token function\">sudo<\/span> systemctl status dsh-web<\/p>\n<p>\u8bf4\u660e&#xff1a;<\/p>\n<ul>\n<li>&#8211;trusted-host \u7528\u4e8e\u628a\u6d4f\u89c8\u5668\u8bbf\u95ee\u7684\u57df\u540d\u52a0\u5165 \/api \u4fe1\u4efb\u56f4\u680f&#xff0c;\u53ef\u91cd\u590d\u4f20\u5165&#xff0c;\u4f8b\u5982 &#8211;trusted-host dsh.example.com\u3002<\/li>\n<li>\u4e0d\u8981\u6539\u6210 &#8211;host 0.0.0.0&#xff0c;CLI \u4f1a\u62d2\u7edd&#xff0c;\u8fd9\u662f\u5b89\u5168\u8bbe\u8ba1\u3002<\/li>\n<li>WorkingDirectory \u662f agent \u7684\u9ed8\u8ba4 workspace&#xff0c;\u52a1\u5fc5\u662f\u4e13\u95e8\u76ee\u5f55\u3002<\/li>\n<\/ul>\n<h4>4. Nginx \u53cd\u5411\u4ee3\u7406<\/h4>\n<p>server {<br \/>\n    listen 443 ssl http2;<br \/>\n    server_name dsh.example.com;<\/p>\n<p>    ssl_certificate     \/etc\/letsencrypt\/live\/dsh.example.com\/fullchain.pem;<br \/>\n    ssl_certificate_key \/etc\/letsencrypt\/live\/dsh.example.com\/privkey.pem;<\/p>\n<p>    auth_basic &#034;dsh&#034;;<br \/>\n    auth_basic_user_file \/etc\/nginx\/.dsh_htpasswd;<\/p>\n<p>    location \/ {<br \/>\n        proxy_pass http:\/\/127.0.0.1:3080;<br \/>\n        proxy_http_version 1.1;<br \/>\n        proxy_set_header Host $host;<br \/>\n        proxy_set_header Upgrade $http_upgrade;<br \/>\n        proxy_set_header Connection &#034;upgrade&#034;;<br \/>\n        proxy_set_header X-Forwarded-Proto $scheme;<br \/>\n    }<br \/>\n}<\/p>\n<p>\u8981\u70b9&#xff1a;<\/p>\n<ul>\n<li>Web UI \u9700\u8981 WebSocket\/Upgrade&#xff0c;\u53cd\u5411\u4ee3\u7406\u5fc5\u987b\u8f6c\u53d1 Upgrade \u548c Connection\u3002<\/li>\n<li>\u6ca1\u6709\u5185\u7f6e\u8ba4\u8bc1&#xff0c;\u52a1\u5fc5\u5728\u4ee3\u7406\u5c42\u52a0 Basic Auth\u3001SSO \u6216\u53ea\u5141\u8bb8\u5185\u7f51 IP\u3002<\/li>\n<li>\u8bc1\u4e66\u7533\u8bf7\u63a8\u8350 certbot&#xff0c;\u8fd9\u91cc\u53ea\u5c55\u793a Nginx \u914d\u7f6e\u9aa8\u67b6\u3002<\/li>\n<\/ul>\n<h3>\u516d\u3001\u4e0a\u7ebf\u524d\u7684\u5907\u4efd\u548c\u66f4\u65b0<\/h3>\n<p>\u81f3\u5c11\u5907\u4efd\u6574\u4e2a $DSH_HOME&#xff0c;\u91cc\u9762\u5305\u542b\u5bc6\u94a5\u6587\u4ef6\u3001settings\u3001profiles \u548c\u4f1a\u8bdd\u6570\u636e&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">tar<\/span> czf \/backup\/dsh-<span class=\"token variable\"><span class=\"token variable\">$(<\/span><span class=\"token function\">date<\/span> &#043;%F<span class=\"token variable\">)<\/span><\/span>.tar.gz \/var\/lib\/dsh<\/p>\n<p>\u66f4\u65b0\u7b56\u7565&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">npm<\/span> update <span class=\"token parameter variable\">-g<\/span> &#064;deepseek-ai\/dsh<br \/>\n<span class=\"token function\">sudo<\/span> systemctl restart dsh-web<\/p>\n<p>\u6e90\u7801\u90e8\u7f72\u5219\u6267\u884c&#xff1a;<\/p>\n<p><span class=\"token function\">git<\/span> pull<br \/>\n<span class=\"token function\">pnpm<\/span> <span class=\"token function\">install<\/span><br \/>\n<span class=\"token function\">pnpm<\/span> run build<br \/>\n<span class=\"token function\">sudo<\/span> systemctl restart dsh-web<\/p>\n<p>\u56e0\u4e3a\u5f53\u524d\u662f\u5f00\u53d1\u8005\u9884\u89c8&#xff0c;\u5347\u7ea7\u524d\u5148\u770b\u5b98\u65b9\u53d1\u5e03\u8bf4\u660e\u548c Discussions&#xff0c;\u786e\u8ba4\u6ca1\u6709\u7834\u574f\u6027\u53d8\u66f4\u540e\u518d\u66f4\u65b0&#xff1b;\u66f4\u65b0\u524d\u5148\u5907\u4efd\u3002<\/p>\n<h3>\u4e03\u3001\u5e38\u7528\u73af\u5883\u53d8\u91cf<\/h3>\n<table>\n<tr>\u53d8\u91cf\u4f5c\u7528<\/tr>\n<tbody>\n<tr>\n<td>DEEPSEEK_API_KEY<\/td>\n<td>DeepSeek API \u5bc6\u94a5<\/td>\n<\/tr>\n<tr>\n<td>DEEPSEEK_BASE_URL<\/td>\n<td>\u53ef\u9009&#xff0c;\u8986\u76d6\u9ed8\u8ba4 https:\/\/api.deepseek.com<\/td>\n<\/tr>\n<tr>\n<td>DSH_HOME<\/td>\n<td>Harness \u914d\u7f6e\u6839\u76ee\u5f55&#xff0c;\u9ed8\u8ba4 ~\/.dsh<\/td>\n<\/tr>\n<tr>\n<td>DSH_MODEL<\/td>\n<td>Python SDK \u7684\u9ed8\u8ba4\u6a21\u578b<\/td>\n<\/tr>\n<tr>\n<td>DSH_PERMISSION_MODE<\/td>\n<td>\u8fdb\u7a0b\u7ea7\u6743\u9650\u9884\u8bbe&#xff0c;\u9ed8\u8ba4\u65b0\u4f1a\u8bdd\u4e3a workspace-write<\/td>\n<\/tr>\n<tr>\n<td>DSH_TELEMETRY_MODE<\/td>\n<td>\u9065\u6d4b\u6a21\u5f0f&#xff0c;\u9ed8\u8ba4\u672c\u5730\u4fdd\u7559&#xff0c;\u4e0d\u4e3b\u52a8\u4e0a\u62a5<\/td>\n<\/tr>\n<tr>\n<td>NODE_USE_ENV_PROXY&#061;1<\/td>\n<td>\u9700\u8981\u8d70 HTTP_PROXY\/HTTPS_PROXY \u65f6\u8bbe\u7f6e<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\u516b\u3001\u90e8\u7f72\u6e05\u5355<\/h3>\n<ul>\n<li class=\"task-list-item\"> Node.js \u7248\u672c\u7b26\u5408 ^22.19.0 \u6216 &gt;&#061;24.0.0<\/li>\n<li class=\"task-list-item\"> \u6709 DeepSeek API Key<\/li>\n<li class=\"task-list-item\"> \u4f7f\u7528\u72ec\u7acb workspace \u76ee\u5f55<\/li>\n<li class=\"task-list-item\"> dsh web \u80fd\u542f\u52a8&#xff0c;\u9ed8\u8ba4\u5730\u5740\u53ef\u8bbf\u95ee<\/li>\n<li class=\"task-list-item\"> \u6a21\u578b\u5bc6\u94a5\u5df2\u914d\u7f6e&#xff0c;\u80fd\u8dd1\u901a\u4e00\u4e2a\u4efb\u52a1<\/li>\n<li class=\"task-list-item\"> \u751f\u4ea7\u73af\u5883\u53ea\u76d1\u542c 127.0.0.1<\/li>\n<li class=\"task-list-item\"> \u53cd\u5411\u4ee3\u7406\u5df2\u542f\u7528 HTTPS<\/li>\n<li class=\"task-list-item\"> \u4ee3\u7406\u5c42\u6709\u8ba4\u8bc1\u6216\u8bbf\u95ee\u9650\u5236<\/li>\n<li class=\"task-list-item\"> &#8211;trusted-host \u5df2\u914d\u7f6e\u8bbf\u95ee\u57df\u540d<\/li>\n<li class=\"task-list-item\"> systemd \u5f00\u673a\u81ea\u542f\u548c\u5931\u8d25\u91cd\u542f\u6b63\u5e38<\/li>\n<li class=\"task-list-item\"> $DSH_HOME \u5df2\u52a0\u5165\u5907\u4efd<\/li>\n<li class=\"task-list-item\"> \u5347\u7ea7\u524d\u9605\u8bfb\u53d1\u5e03\u8bf4\u660e<\/li>\n<\/ul>\n<h3>\u4e5d\u3001\u5e38\u89c1\u95ee\u9898<\/h3>\n<h4>\u542f\u52a8\u540e\u6253\u4e0d\u5f00\u9875\u9762&#xff1f;<\/h4>\n<p>\u9ed8\u8ba4\u5730\u5740\u662f http:\/\/127.0.0.1:3080\u3002\u786e\u8ba4\u8fdb\u7a0b\u8fd8\u5728\u8fd0\u884c&#xff0c;\u7aef\u53e3\u6ca1\u88ab\u5360\u7528&#xff1b;\u7aef\u53e3\u51b2\u7a81\u65f6\u7528 dsh web &#8211;port 8080\u3002<\/p>\n<h4>\u6a21\u578b\u63d0\u793a MISSING_CREDENTIAL&#xff1f;<\/h4>\n<p>\u5230\u201c\u8bbe\u7f6e \u2192 \u6a21\u578b\u201d\u4fdd\u5b58 API Key&#xff0c;\u6216\u786e\u8ba4 DEEPSEEK_API_KEY \u73af\u5883\u53d8\u91cf\u5df2\u8bbe\u7f6e\u3002\u5bc6\u94a5\u89e3\u6790\u987a\u5e8f\u662f\u73af\u5883\u53d8\u91cf\u3001$DSH_HOME\/.credentials.yaml\u3001\u8c03\u7528\u76ee\u5f55 .env\u3001$DSH_HOME\/.env\u3002<\/p>\n<h4>\u63d0\u793a UNKNOWN_MODEL&#xff1f;<\/h4>\n<p>\u5728\u6a21\u578b\u8bbe\u7f6e\u91cc\u9009\u62e9\u5df2\u914d\u7f6e\u7684\u6a21\u578b&#xff1b;\u81ea\u5b9a\u4e49 OpenAI \u517c\u5bb9\u7aef\u70b9\u9700\u8981\u624b\u52a8\u8865\u4e0a\u6a21\u578b id\u3002<\/p>\n<h4>\u80fd\u7528\u5176\u4ed6\u6a21\u578b\u5417&#xff1f;<\/h4>\n<p>\u53ef\u4ee5\u3002Web UI \u7684\u201c\u6dfb\u52a0\u63d0\u4f9b\u65b9\u201d\u652f\u6301 Anthropic\u3001OpenAI \u7b49\u5df2\u5b89\u88c5\u76ee\u5f55&#xff0c;\u201c\u6dfb\u52a0\u81ea\u5b9a\u4e49\u63d0\u4f9b\u65b9\u201d\u652f\u6301\u4efb\u610f OpenAI \u517c\u5bb9\u7aef\u70b9\u3002Bedrock\u3001Vertex\u3001Azure\u3001Codex \u9700\u8981\u5404\u81ea\u7684\u539f\u751f\u51ed\u636e\u3002<\/p>\n<h4>\u4e3a\u4ec0\u4e48\u4e0d\u80fd &#8211;host 0.0.0.0&#xff1f;<\/h4>\n<p>CLI \u6709\u610f\u62d2\u7edd&#xff0c;\u56e0\u4e3a Web UI \u4f1a\u6267\u884c\u4ee3\u7801\u3001\u6539\u6587\u4ef6\u3001\u8dd1\u547d\u4ee4&#xff0c;\u76f4\u63a5\u7ed1\u5168\u7f51\u5361\u7b49\u4e8e\u628a\u8fdc\u7a0b\u4ee3\u7801\u6267\u884c\u66b4\u9732\u5230\u7f51\u7edc\u3002\u751f\u4ea7\u73af\u5883\u5e94\u4fdd\u6301\u56de\u73af\u76d1\u542c&#xff0c;\u7528\u53cd\u5411\u4ee3\u7406\u8f6c\u53d1\u3002<\/p>\n<h3>\u53c2\u8003\u8d44\u6599<\/h3>\n<ul>\n<li>\u5b98\u65b9\u4ed3\u5e93&#xff1a;https:\/\/github.com\/deepseek-ai\/deepseek-harness<\/li>\n<li>\u4e2d\u6587 README&#xff1a;https:\/\/github.com\/deepseek-ai\/deepseek-harness\/blob\/master\/README.zh.md<\/li>\n<li>Web UI \u6307\u5357&#xff1a;https:\/\/github.com\/deepseek-ai\/deepseek-harness\/blob\/master\/docs\/user\/guide\/index.zh.md<\/li>\n<li>\u6a21\u578b\u914d\u7f6e\u6307\u5357&#xff1a;https:\/\/github.com\/deepseek-ai\/deepseek-harness\/blob\/master\/docs\/user\/guide\/providers.zh.md<\/li>\n<li>CLI \u884c\u4e3a\u53c2\u8003&#xff1a;https:\/\/github.com\/deepseek-ai\/deepseek-harness\/blob\/master\/apps\/cli\/reference\/README.zh.md<\/li>\n<\/ul>\n<p>\u672c\u6587\u57fa\u4e8e DeepSeek Harness 0.1.0-rc.x \u5b98\u65b9\u6587\u6863\u6574\u7406&#xff0c;\u6574\u7406\u65e5\u671f 2026-08-15\u3002\u9879\u76ee\u5904\u4e8e\u5f00\u53d1\u8005\u9884\u89c8&#xff0c;\u547d\u4ee4\u548c\u914d\u7f6e\u53ef\u80fd\u968f\u7248\u672c\u53d8\u5316\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u76ee\u5f55DeepSeek Harness \u90e8\u7f72\u6307\u5357&#xff1a;\u4ece\u4e00\u884c\u547d\u4ee4\u5230 Linux \u670d\u52a1\u5668\u4e0a\u7ebf\u4e00\u3001\u90e8\u7f72\u524d\u51c6\u5907\u4e8c\u3001\u6700\u5feb\u8def\u5f84&#xff1a;npx \u542f\u52a8 Web UI\u4e09\u3001\u6e90\u7801\u90e8\u7f72&#xff1a;\u9002\u5408\u4e8c\u6b21\u5f00\u53d1\u548c\u63d2\u4ef6\u5f00\u53d1\u56db\u3001\u65e0\u5934\u6a21\u5f0f&#xff1a;\u4e00\u6761\u547d\u4ee4\u8dd1\u4efb\u52a1\u4e94\u3001Linux \u670d\u52a1\u5668\u4e0a\u7ebf1. \u521b\u5efa\u4e13\u7528\u7528\u6237\u548c\u76ee\u5f552. \u5b89\u88c5\u5e76\u914d\u7f6e\u73af\u5883\u53d8\u91cf3. systemd \u6258\u7ba14. Nginx \u53cd\u5411\u4ee3\u7406\u516d\u3001\u4e0a\u7ebf\u524d\u7684\u5907\u4efd\u548c\u66f4\u65b0\u4e03\u3001\u5e38\u7528\u73af\u5883\u53d8\u91cf\u516b\u3001\u90e8\u7f72\u6e05\u5355\u4e5d\u3001\u5e38\u89c1\u95ee\u9898\u542f\u52a8\u540e\u6253\u4e0d\u5f00\u9875\u9762&amp;#xff1f<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[11203,58,50,43,44],"topic":[],"class_list":["post-97746","post","type-post","status-publish","format-standard","hentry","category-server","tag-deepseekharness","tag-linux","tag-50","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>DeepSeek Harness \u90e8\u7f72\u6307\u5357\uff1a\u4ece\u4e00\u884c\u547d\u4ee4\u5230 Linux \u670d\u52a1\u5668\u4e0a\u7ebf - \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\/97746.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"DeepSeek Harness \u90e8\u7f72\u6307\u5357\uff1a\u4ece\u4e00\u884c\u547d\u4ee4\u5230 Linux \u670d\u52a1\u5668\u4e0a\u7ebf - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u76ee\u5f55DeepSeek Harness \u90e8\u7f72\u6307\u5357&#xff1a;\u4ece\u4e00\u884c\u547d\u4ee4\u5230 Linux \u670d\u52a1\u5668\u4e0a\u7ebf\u4e00\u3001\u90e8\u7f72\u524d\u51c6\u5907\u4e8c\u3001\u6700\u5feb\u8def\u5f84&#xff1a;npx \u542f\u52a8 Web UI\u4e09\u3001\u6e90\u7801\u90e8\u7f72&#xff1a;\u9002\u5408\u4e8c\u6b21\u5f00\u53d1\u548c\u63d2\u4ef6\u5f00\u53d1\u56db\u3001\u65e0\u5934\u6a21\u5f0f&#xff1a;\u4e00\u6761\u547d\u4ee4\u8dd1\u4efb\u52a1\u4e94\u3001Linux \u670d\u52a1\u5668\u4e0a\u7ebf1. \u521b\u5efa\u4e13\u7528\u7528\u6237\u548c\u76ee\u5f552. \u5b89\u88c5\u5e76\u914d\u7f6e\u73af\u5883\u53d8\u91cf3. systemd \u6258\u7ba14. Nginx \u53cd\u5411\u4ee3\u7406\u516d\u3001\u4e0a\u7ebf\u524d\u7684\u5907\u4efd\u548c\u66f4\u65b0\u4e03\u3001\u5e38\u7528\u73af\u5883\u53d8\u91cf\u516b\u3001\u90e8\u7f72\u6e05\u5355\u4e5d\u3001\u5e38\u89c1\u95ee\u9898\u542f\u52a8\u540e\u6253\u4e0d\u5f00\u9875\u9762&amp;#xff1f\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/97746.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-29T22:48:46+00:00\" \/>\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\/97746.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/97746.html\",\"name\":\"DeepSeek Harness \u90e8\u7f72\u6307\u5357\uff1a\u4ece\u4e00\u884c\u547d\u4ee4\u5230 Linux \u670d\u52a1\u5668\u4e0a\u7ebf - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-29T22:48:46+00:00\",\"dateModified\":\"2026-08-29T22:48:46+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/97746.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/97746.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/97746.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DeepSeek Harness \u90e8\u7f72\u6307\u5357\uff1a\u4ece\u4e00\u884c\u547d\u4ee4\u5230 Linux \u670d\u52a1\u5668\u4e0a\u7ebf\"}]},{\"@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":"DeepSeek Harness \u90e8\u7f72\u6307\u5357\uff1a\u4ece\u4e00\u884c\u547d\u4ee4\u5230 Linux \u670d\u52a1\u5668\u4e0a\u7ebf - \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\/97746.html","og_locale":"zh_CN","og_type":"article","og_title":"DeepSeek Harness \u90e8\u7f72\u6307\u5357\uff1a\u4ece\u4e00\u884c\u547d\u4ee4\u5230 Linux \u670d\u52a1\u5668\u4e0a\u7ebf - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u76ee\u5f55DeepSeek Harness \u90e8\u7f72\u6307\u5357&#xff1a;\u4ece\u4e00\u884c\u547d\u4ee4\u5230 Linux \u670d\u52a1\u5668\u4e0a\u7ebf\u4e00\u3001\u90e8\u7f72\u524d\u51c6\u5907\u4e8c\u3001\u6700\u5feb\u8def\u5f84&#xff1a;npx \u542f\u52a8 Web UI\u4e09\u3001\u6e90\u7801\u90e8\u7f72&#xff1a;\u9002\u5408\u4e8c\u6b21\u5f00\u53d1\u548c\u63d2\u4ef6\u5f00\u53d1\u56db\u3001\u65e0\u5934\u6a21\u5f0f&#xff1a;\u4e00\u6761\u547d\u4ee4\u8dd1\u4efb\u52a1\u4e94\u3001Linux \u670d\u52a1\u5668\u4e0a\u7ebf1. \u521b\u5efa\u4e13\u7528\u7528\u6237\u548c\u76ee\u5f552. \u5b89\u88c5\u5e76\u914d\u7f6e\u73af\u5883\u53d8\u91cf3. systemd \u6258\u7ba14. Nginx \u53cd\u5411\u4ee3\u7406\u516d\u3001\u4e0a\u7ebf\u524d\u7684\u5907\u4efd\u548c\u66f4\u65b0\u4e03\u3001\u5e38\u7528\u73af\u5883\u53d8\u91cf\u516b\u3001\u90e8\u7f72\u6e05\u5355\u4e5d\u3001\u5e38\u89c1\u95ee\u9898\u542f\u52a8\u540e\u6253\u4e0d\u5f00\u9875\u9762&amp;#xff1f","og_url":"https:\/\/www.wsisp.com\/helps\/97746.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-29T22:48:46+00:00","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\/97746.html","url":"https:\/\/www.wsisp.com\/helps\/97746.html","name":"DeepSeek Harness \u90e8\u7f72\u6307\u5357\uff1a\u4ece\u4e00\u884c\u547d\u4ee4\u5230 Linux \u670d\u52a1\u5668\u4e0a\u7ebf - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-29T22:48:46+00:00","dateModified":"2026-08-29T22:48:46+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/97746.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/97746.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/97746.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"DeepSeek Harness \u90e8\u7f72\u6307\u5357\uff1a\u4ece\u4e00\u884c\u547d\u4ee4\u5230 Linux \u670d\u52a1\u5668\u4e0a\u7ebf"}]},{"@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\/97746","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=97746"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/97746\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=97746"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=97746"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=97746"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=97746"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}