{"id":10,"date":"2026-09-14T22:00:21","date_gmt":"2026-09-14T14:00:21","guid":{"rendered":"https:\/\/www.mxiu.cc\/?p=10"},"modified":"2026-09-14T22:00:21","modified_gmt":"2026-09-14T14:00:21","slug":"openviking-deploy-guide","status":"publish","type":"post","link":"https:\/\/www.mxiu.cc\/index.php\/2026\/09\/14\/openviking-deploy-guide\/","title":{"rendered":"OpenViking \u90e8\u7f72\u5b9e\u5f55\uff1a\u4ece\u96f6\u8dd1\u901a AI \u8bb0\u5fc6\u5e93\u7684 HTTPS \u68c0\u7d22\u4e0e\u5bf9\u8bdd\u673a\u5668\u4eba"},"content":{"rendered":"<p><!-- OpenViking \u90e8\u7f72\u4fdd\u59c6\u7ea7\u6559\u7a0b \u2014\u2014 WordPress \u6b63\u6587\uff08HTML\uff09 --><br \/>\n<!-- \u56fe\u7247\u5360\u4f4d\uff1aIMG_COVER \/ IMG_ARCH \/ IMG_TROUBLE \/ IMG_OPS\uff0c\u53d1\u5e03\u65f6\u66ff\u6362\u4e3a\u5a92\u4f53\u5e93 URL --><\/p>\n<p><em>\u7528\u4e00\u53f0\u817e\u8baf\u4e91\u8f7b\u91cf\u670d\u52a1\u5668 + \u5b9d\u5854\u9762\u677f\uff0c\u628a\u5b57\u8282\u5f00\u6e90\u7684 AI Agent \u4e0a\u4e0b\u6587\u6570\u636e\u5e93 OpenViking \u90e8\u7f72\u4e0a\u7ebf\uff0c\u5e76\u901a\u8fc7\u81ea\u5df1\u7684\u57df\u540d\u8dd1\u901a HTTPS\u3001\u8bed\u4e49\u68c0\u7d22\u548c\u5bf9\u8bdd\u673a\u5668\u4eba\u3002\u5168\u6587\u8bb0\u5f55\u6bcf\u4e00\u6b65\u547d\u4ee4\u3001\u6bcf\u4e00\u5904\u62a5\u9519\u548c\u539f\u56e0\u3002<\/em><\/p>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/www.mxiu.cc\/wp-content\/uploads\/2026\/09\/openviking-cover.jpg\" alt=\"OpenViking \u90e8\u7f72\u6559\u7a0b\u5c01\u9762\" \/><\/figure>\n<hr \/>\n<h2>\u4e00\u3001\u8fd9\u4e1c\u897f\u662f\u5e72\u4ec0\u4e48\u7684\uff0c\u4e3a\u4ec0\u4e48\u503c\u5f97\u90e8\u7f72<\/h2>\n<p><strong>OpenViking<\/strong> \u662f\u706b\u5c71\u5f15\u64ce\u5f00\u6e90\u7684\u3001\u4e13\u95e8\u7ed9 AI Agent \u7528\u7684<strong>\u4e0a\u4e0b\u6587\u6570\u636e\u5e93<\/strong>\u3002\u5b83\u628a Agent \u9700\u8981\u7684\u4e09\u7c7b\u4e1c\u897f\u2014\u2014<strong>\u8bb0\u5fc6\uff08Memory\uff09\u3001\u8d44\u6e90\uff08Resource\uff09\u3001\u6280\u80fd\uff08Skill\uff09<\/strong>\u2014\u2014\u7edf\u4e00\u6210\u4e00\u5957\u865a\u62df\u6587\u4ef6\u7cfb\u7edf\uff0c\u7528 <code>viking:\/\/<\/code> \u534f\u8bae\u5bfb\u5740\u3002<\/p>\n<p>\u548c\u4f20\u7edf RAG \u6700\u5927\u7684\u533a\u522b\u6709\u4e24\u70b9\uff1a<\/p>\n<ul>\n<li><strong>\u5206\u5c42\u4f9b\u7ed9<\/strong>\uff1a\u5199\u5165\u65f6\u81ea\u52a8\u751f\u6210\u4e09\u5c42\u2014\u2014<code>L0 \u6458\u8981<\/code>\uff08256 \u5b57\u7b26\uff0c\u7528\u4e8e\u5411\u91cf\u53ec\u56de\uff09\u3001<code>L1 \u6982\u89c8<\/code>\uff084000 \u5b57\u7b26\uff0c\u7528\u4e8e\u7cbe\u6392\uff09\u3001<code>L2 \u5168\u6587<\/code>\uff08\u6309\u9700\u52a0\u8f7d\uff09\u3002\u4e0d\u7528\u4e00\u6b21\u6027\u628a\u6d77\u91cf\u5185\u5bb9\u585e\u8fdb\u63d0\u793a\u8bcd\u3002<\/li>\n<li><strong>\u76ee\u5f55\u9012\u5f52\u68c0\u7d22<\/strong>\uff1a\u5148\u5411\u91cf\u5b9a\u4f4d\u5230\u9ad8\u5206<em>\u76ee\u5f55<\/em>\uff0c\u518d\u5728\u76ee\u5f55\u91cc\u4e8c\u6b21\u68c0\u7d22\u3001\u9010\u5c42\u4e0b\u63a2\u3002\u6bd4\u5e73\u94fa\u5f0f\u5411\u91cf\u641c\u7d22\u66f4\u80fd\u7406\u89e3&#8221;\u8fd9\u53e5\u8bdd\u5728\u4ec0\u4e48\u8bed\u5883\u91cc\u8bf4&#8221;\u3002<\/li>\n<\/ul>\n<p>\u8bf4\u767d\u4e86\uff1a<strong>\u5b83\u8ba9\u4f60\u7684 AI \u52a9\u624b\u6709\u957f\u671f\u8bb0\u5fc6\uff0c\u800c\u4e14\u8fd9\u5957\u8bb0\u5fc6\u662f\u53ef\u4ee5\u7528 <code>ls<\/code>\u3001<code>find<\/code>\u3001<code>read<\/code> \u76f4\u63a5\u67e5\u770b\u548c\u8c03\u8bd5\u7684<\/strong>\uff0c\u4e0d\u662f\u9ed1\u7bb1\u3002<\/p>\n<h2>\u4e8c\u3001\u5f00\u5de5\u524d\u7684\u51c6\u5907<\/h2>\n<h3>2.1 \u4f60\u9700\u8981\u4ec0\u4e48<\/h3>\n<table>\n<thead>\n<tr>\n<th>\u9879\u76ee<\/th>\n<th>\u8bf4\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u4e00\u53f0\u4e91\u670d\u52a1\u5668<\/td>\n<td>\u672c\u6587\u7528\u817e\u8baf\u4e91 2 \u6838 3.5G \u8f7b\u91cf\u670d\u52a1\u5668\uff0c\u7cfb\u7edf <strong>OpenCloudOS 9.6<\/strong>\uff08RHEL \u7cfb\uff0c\u7528 <code>dnf<\/code>\uff09<\/td>\n<\/tr>\n<tr>\n<td>\u5b9d\u5854\u9762\u677f<\/td>\n<td>\u672c\u6587\u7528 <strong>\u5b9d\u5854 Linux \u9762\u677f 11.8 \u817e\u8baf\u4e91\u4e13\u4eab\u7248<\/strong>\uff0c\u7528\u6765\u505a\u53cd\u5411\u4ee3\u7406\u548c SSL<\/td>\n<\/tr>\n<tr>\n<td>\u4e00\u4e2a\u57df\u540d<\/td>\n<td>\u9700\u8981<strong>\u5df2\u5907\u6848<\/strong>\uff08\u56fd\u5185\u670d\u52a1\u5668\u5fc5\u987b\uff09<\/td>\n<\/tr>\n<tr>\n<td>\u6a21\u578b API Key<\/td>\n<td>\u9700\u8981<strong>\u4e24\u4e2a\u6a21\u578b<\/strong>\uff1a\u4e00\u4e2a Embedding\uff08\u5411\u91cf\u5316\uff09\u3001\u4e00\u4e2a VLM\uff08\u89c6\u89c9\u591a\u6a21\u6001\uff09\u3002\u672c\u6587\u7528 MiniMax<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<blockquote>\n<p><strong>\u5173\u952e\u8ba4\u77e5\uff1a\u4e3a\u4ec0\u4e48\u9700\u8981&#8221;\u4e24\u4e2a&#8221;\u6a21\u578b\uff1f<\/strong><\/p>\n<p>Embedding \u8d1f\u8d23\u628a\u6587\u672c\u53d8\u6210\u5411\u91cf\uff08\u68c0\u7d22\u7528\uff09\uff0cVLM \u8d1f\u8d23\u8bfb\u56fe\u548c\u7406\u89e3\u5185\u5bb9\uff08\u89e3\u6790\u7528\uff09\u3002\u8fd9\u4e24\u4e2a\u662f OpenViking \u7684\u786c\u4f9d\u8d56\uff0c\u7f3a\u4e00\u4e2a <code>doctor<\/code> \u5c31\u4e0d\u8fc7\u3002<\/p>\n<\/blockquote>\n<h3>2.2 \u5148\u505a\u73af\u5883\u4f53\u68c0<\/h3>\n<pre><code>cat \/etc\/os-release | head -3\nuname -m\npython3 -V\nfree -h\ndf -h \/\nss -lntp | grep 1933 || echo \"1933 \u7aef\u53e3\u7a7a\u95f2\"<\/code><\/pre>\n<p>\u672c\u6587\u73af\u5883\u7684\u5b9e\u6d4b\u7ed3\u679c\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th>\u68c0\u67e5\u9879<\/th>\n<th>\u5b9e\u6d4b\u503c<\/th>\n<th>\u7ed3\u8bba<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u7cfb\u7edf<\/td>\n<td>OpenCloudOS 9.6<\/td>\n<td>RHEL 9 \u517c\u5bb9\uff0c\u7528 <code>dnf<\/code>\uff0c<strong>\u4e0d\u8981\u7528 apt<\/strong><\/td>\n<\/tr>\n<tr>\n<td>\u67b6\u6784<\/td>\n<td>x86_64<\/td>\n<td>\u6709\u9884\u7f16\u8bd1\u5305\uff0c<strong>\u4e0d\u9700\u8981\u6e90\u7801\u7f16\u8bd1<\/strong><\/td>\n<\/tr>\n<tr>\n<td>Python<\/td>\n<td>3.11.6<\/td>\n<td>\u6ee1\u8db3 \u22653.10 \u8981\u6c42<\/td>\n<\/tr>\n<tr>\n<td>\u5185\u5b58<\/td>\n<td>3.5G \u603b\u91cf \/ 2.3G \u53ef\u7528<\/td>\n<td>\u8d85\u8fc7 2G \u53ca\u683c\u7ebf<\/td>\n<\/tr>\n<tr>\n<td>1933 \u7aef\u53e3<\/td>\n<td>\u7a7a\u95f2<\/td>\n<td>OpenViking \u9ed8\u8ba4\u7aef\u53e3\uff0c\u65e0\u51b2\u7a81<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u4e09\u3001\u5b89\u88c5<\/h2>\n<h3>3.1 \u88c5 uv\uff0c\u5efa\u72ec\u7acb\u865a\u62df\u73af\u5883<\/h3>\n<pre><code>curl -LsSf https:\/\/astral.sh\/uv\/install.sh | sh\nsource ~\/.bashrc\n\n# \u5efa\u4e00\u4e2a\u4e13\u7528\u865a\u62df\u73af\u5883\uff08\u4e0d\u8981\u88c5\u8fdb\u7cfb\u7edf Python\uff0c\u4e5f\u4e0d\u8981\u52a8\u5b9d\u5854\u81ea\u5df1\u7684 pyenv\uff09\nuv venv \/opt\/openviking\/venv --python 3.11<\/code><\/pre>\n<blockquote>\n<p><strong>\u4e3a\u4ec0\u4e48\u5fc5\u987b\u7528\u72ec\u7acb\u865a\u62df\u73af\u5883\uff1f<\/strong> \u5b9d\u5854\u9762\u677f\u81ea\u5df1\u7684 Python \u5728 <code>\/www\/server\/panel\/pyenv<\/code>\uff0c\u90a3\u662f\u9762\u677f\u7684\u547d\u6839\u5b50\uff0c\u88c5\u4efb\u4f55\u4e1c\u897f\u8fdb\u53bb\u90fd\u53ef\u80fd\u628a\u9762\u677f\u641e\u6302\u3002<\/p>\n<\/blockquote>\n<h3>3.2 \u5b89\u88c5 OpenViking<\/h3>\n<pre><code>source \/opt\/openviking\/venv\/bin\/activate\nuv pip install openviking\nopenviking-server --version   # \u672c\u6587\u5b9e\u6d4b 0.4.20\ndeactivate<\/code><\/pre>\n<h2>\u56db\u3001\u5199\u914d\u7f6e\u6587\u4ef6 ov.conf<\/h2>\n<p>\u914d\u7f6e\u6587\u4ef6\u653e\u5728 <code>\/etc\/openviking\/ov.conf<\/code>\uff1a<\/p>\n<pre><code>mkdir -p \/etc\/openviking\ncat &gt; \/etc\/openviking\/ov.conf &lt;&lt;'EOF'\n{\n  \"server\": {\n    \"host\": \"127.0.0.1\",\n    \"port\": 1933,\n    \"root_api_key\": \"CHANGE_ME_ROOT_KEY\"\n  },\n  \"storage\": {\n    \"workspace\": \".\/data\",\n    \"agfs\": { \"backend\": \"local\" },\n    \"vectordb\": { \"backend\": \"local\" }\n  },\n  \"embedding\": {\n    \"dense\": {\n      \"provider\": \"minimax\",\n      \"model\": \"embo-01\",\n      \"api_key\": \"CHANGE_ME_EMBEDDING_KEY\",\n      \"api_base\": \"https:\/\/api.minimax.cn\/v1\/embeddings\"\n    }\n  },\n  \"vlm\": {\n    \"provider\": \"openai\",\n    \"model\": \"MiniMax-M3\",\n    \"api_key\": \"CHANGE_ME_VLM_KEY\",\n    \"api_base\": \"https:\/\/api.minimax.cn\/v1\"\n  }\n}\nEOF\n\nchmod 600 \/etc\/openviking\/ov.conf\npython3 -m json.tool \/etc\/openviking\/ov.conf &gt; \/dev\/null &amp;&amp; echo \"JSON \u5408\u6cd5\"<\/code><\/pre>\n<h3>\u26a0\ufe0f \u5751 1\uff1aEmbedding \u7684 api_base \u5fc5\u987b\u5199\u5230 <code>\/embeddings<\/code> \u8fd9\u4e00\u7ea7<\/h3>\n<blockquote>\n<p>\u8fd9\u662f\u5168\u6587\u6700\u5bb9\u6613\u8e29\u3001\u4e5f\u6700\u96be\u67e5\u7684\u4e00\u4e2a\u5751\u3002<\/p>\n<p>MiniMax \u7684 Embedding \u7aef\u70b9\u662f <code>https:\/\/api.minimax.cn\/v1\/embeddings<\/code>\uff0c\u800c OpenViking \u6e90\u7801\u91cc\u662f<strong>\u76f4\u63a5 POST \u5230 <code>api_base<\/code> \u8fd9\u4e2a\u503c<\/strong>\uff0c\u4e0d\u4f1a\u81ea\u52a8\u5e2e\u4f60\u62fc <code>\/embeddings<\/code> \u8def\u5f84\u3002\u6240\u4ee5\u5982\u679c\u4f60\u53ea\u5199 <code>https:\/\/api.minimax.cn\/v1<\/code>\uff0c\u8bf7\u6c42\u4f1a 404\u3002<\/p>\n<p><strong>\u6b63\u786e\u5199\u6cd5\uff1a<code>api_base<\/code> \u4e00\u8def\u5199\u5230 <code>\/embeddings<\/code> \u4e3a\u6b62\u3002<\/strong><\/p>\n<p>\u53e6\u5916\uff0c\u7f51\u4e0a\u4e00\u4e9b\u8001\u6559\u7a0b\u4f1a\u8ba9\u4f60\u914d <code>GroupId<\/code> \/ <code>extra_headers<\/code>\u2014\u2014\u90a3\u662f\u9488\u5bf9 MiniMax \u8001\u5e73\u53f0\u7684\u3002\u65b0\u7248\u5e73\u53f0<strong>\u4e0d\u9700\u8981<\/strong>\uff0c\u52a0\u4e86\u53cd\u800c\u53ef\u80fd\u62a5 <code>token not match group<\/code>\u3002<\/p>\n<\/blockquote>\n<h2>\u4e94\u3001\u81ea\u68c0 doctor<\/h2>\n<pre><code>\/opt\/openviking\/venv\/bin\/openviking-server doctor<\/code><\/pre>\n<p>\u8dd1\u5b8c\u5e94\u8be5\u770b\u5230\u5404\u7ec4\u4ef6\u5168\u7eff\u3002\u5982\u679c embedding \u62a5\u9519\uff0c\u56de\u5230\u7b2c\u56db\u7ae0\u68c0\u67e5 <code>api_base<\/code>\u3002<\/p>\n<blockquote>\n<p><strong>\u4f60\u4f1a\u770b\u5230\u4e00\u6761 WARN\uff0c\u4e0d\u7528\u614c\uff1a<\/strong><\/p>\n<pre><code>VikingBot: WARN  bot.ov_server not configured and ovcli.conf api_key not configured<\/code><\/pre>\n<p>\u8fd9\u6761\u662f\u7ed9<strong>\u53ef\u9009\u7684\u5bf9\u8bdd\u673a\u5668\u4eba\u7ec4\u4ef6<\/strong> VikingBot \u7528\u7684\uff0c\u548c\u6838\u5fc3\u529f\u80fd\uff08\u6587\u4ef6\u7cfb\u7edf \/ \u68c0\u7d22 \/ \u4f1a\u8bdd\uff09\u5b8c\u5168\u65e0\u5173\u3002<strong>\u5b83\u662f&#8221;\u529f\u80fd\u5f00\u5173\u6ca1\u6253\u5f00&#8221;\uff0c\u4e0d\u662f&#8221;\u574f\u4e86&#8221;<\/strong>\u2014\u2014\u540e\u9762\u7b2c\u5341\u4e00\u7ae0\u6211\u4eec\u4f1a\u628a\u5b83\u6b63\u5f0f\u542f\u7528\u3002<\/p>\n<\/blockquote>\n<h2>\u516d\u3001\u7528 systemd \u505a\u6210\u5e38\u9a7b\u670d\u52a1<\/h2>\n<pre><code>cat &gt; \/etc\/systemd\/system\/openviking.service &lt;&lt;'EOF'\n[Unit]\nDescription=OpenViking HTTP Server\nAfter=network.target\n\n[Service]\nType=simple\nWorkingDirectory=\/opt\/openviking\nExecStart=\/opt\/openviking\/venv\/bin\/openviking-server\nRestart=always\nRestartSec=5\nEnvironment=\"OPENVIKING_CONFIG_FILE=\/etc\/openviking\/ov.conf\"\n\n[Install]\nWantedBy=multi-user.target\nEOF\n\nsystemctl daemon-reload\nsystemctl enable --now openviking\nsystemctl status openviking --no-pager | head -12\ncurl -s http:\/\/127.0.0.1:1933\/health; echo<\/code><\/pre>\n<blockquote>\n<p><strong>\u4e3a\u4ec0\u4e48 <code>ExecStart<\/code> \u8981\u5199\u7edd\u5bf9\u8def\u5f84\uff1f<\/strong> \u8fd9\u6837 systemd \u4e0d\u4f9d\u8d56\u4efb\u4f55 shell \u73af\u5883\u53d8\u91cf\uff0c\u4e5f\u4e0d\u9700\u8981\u9884\u5148 <code>activate<\/code> \u865a\u62df\u73af\u5883\uff0c\u66f4\u7a33\u3002<\/p>\n<\/blockquote>\n<h2>\u4e03\u3001\u5b9d\u5854\u53cd\u5411\u4ee3\u7406 + HTTPS<\/h2>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/www.mxiu.cc\/wp-content\/uploads\/2026\/09\/openviking-arch.jpg\" alt=\"\u8bf7\u6c42\u94fe\u8def\uff1a\u5ba2\u6237\u7aef \u2192 \u57df\u540d \u2192 nginx \u2192 OpenViking\" \/><\/figure>\n<h3>7.1 \u5efa\u7ad9 + \u52a0\u53cd\u5411\u4ee3\u7406<\/h3>\n<ol>\n<li>\u5b9d\u5854\u9762\u677f \u2192 \u7f51\u7ad9 \u2192 \u6dfb\u52a0\u7ad9\u70b9\uff0c\u57df\u540d\u586b\u4f60\u7684\uff08\u4f8b\u5982 <code>your-domain.com<\/code>\uff09<\/li>\n<li>\u7ad9\u70b9\u8bbe\u7f6e \u2192 <strong>\u53cd\u5411\u4ee3\u7406<\/strong> \u2192 \u6dfb\u52a0\uff0c\u76ee\u6807 URL \u586b <code>http:\/\/127.0.0.1:1933<\/code>\uff0c\u4ee3\u7406\u76ee\u5f55\u586b <code>\/<\/code>\uff08<strong>\u7ed3\u5c3e\u4e0d\u8981\u5e26\u659c\u6760<\/strong>\uff09<\/li>\n<\/ol>\n<blockquote>\n<p><strong>\u5b9d\u5854 11.8 \u7684\u53cd\u4ee3\u914d\u7f6e\u5728\u54ea\u513f\uff1f<\/strong> \u4e0d\u5728\u7ad9\u70b9\u4e3b\u914d\u7f6e\u91cc\uff0c\u800c\u5728<strong>\u72ec\u7acb\u76ee\u5f55<\/strong>\uff1a<code>\/www\/server\/panel\/vhost\/nginx\/proxy\/your-domain.com\/*.conf<\/code>\u3002\u7ad9\u70b9 conf \u53ea\u662f <code>include<\/code> \u4e86\u5b83\u3002\u6539\u53cd\u4ee3\u53c2\u6570\u8981\u6539\u8fd9\u4e2a\u76ee\u5f55\u91cc\u7684\u6587\u4ef6\u3002<\/p>\n<\/blockquote>\n<h3>7.2 \u8865\u8f6c\u53d1\u5934\u548c\u8d85\u65f6\uff08\u91cd\u8981\uff09<\/h3>\n<p>AI \u670d\u52a1\u54cd\u5e94\u6162\uff0c\u800c\u4e14\u9700\u8981\u77e5\u9053\u771f\u5b9e\u7684\u534f\u8bae\u548c\u57df\u540d\u3002\u628a\u4e0b\u9762\u8fd9\u51e0\u884c\u52a0\u8fdb\u53cd\u4ee3\u914d\u7f6e\u7684 <code>location<\/code> \u5757<strong>\u91cc\u9762<\/strong>\uff1a<\/p>\n<pre><code>proxy_read_timeout 600s;\nproxy_send_timeout 600s;\nproxy_buffering off;\nproxy_set_header X-Forwarded-Proto $schema;\nproxy_set_header X-Forwarded-Host $host;<\/code><\/pre>\n<h3>\u26a0\ufe0f \u5751 2\uff1a\u8f6c\u53d1\u5934\u5fc5\u987b\u5199\u5728 <code>location<\/code> \u5185\u90e8\uff0c\u4e0d\u80fd\u5199\u5728 server \u7ea7<\/h3>\n<blockquote>\n<p>nginx \u7684 <code>proxy_set_header<\/code> \/ <code>add_header<\/code> \u7ee7\u627f\u89c4\u5219\u662f<strong>\u5168\u6709\u6216\u5168\u65e0<\/strong>\uff1a\u672c\u5c42\u53ea\u8981\u51fa\u73b0\u4efb\u610f\u4e00\u6761\uff0c\u5c31\u4f1a<strong>\u5b8c\u5168\u8986\u76d6<\/strong>\u4e0a\u5c42\u7684\u5168\u90e8\uff0c\u800c\u4e0d\u662f\u9010\u6761\u5408\u5e76\u3002<\/p>\n<p>\u5b9d\u5854\u4f1a\u5728 server \u7ea7\u9884\u7f6e\u4e00\u6279\u8f6c\u53d1\u5934\u3002\u5982\u679c\u4f60\u5728 server \u7ea7\u518d\u8865\u4e00\u6761\uff0c\u53cd\u800c\u4f1a\u628a\u5b9d\u5854\u90a3\u6279\u5168\u90e8\u9876\u6389\u3002\u6240\u4ee5\uff1a<strong>\u8981\u52a0\u5c31\u52a0\u5728 location \u91cc\u3002<\/strong><\/p>\n<p>\u53e6\u5916 <code>proxy_buffering off<\/code> \u5bf9 SSE \u6d41\u5f0f\u8f93\u51fa\u662f\u5fc5\u987b\u7684\uff0c\u5426\u5219\u4f60\u4f1a\u770b\u5230&#8221;\u56de\u7b54\u5361\u4f4f\u4e0d\u5410\u5b57&#8221;\u3002<\/p>\n<\/blockquote>\n<h3>7.3 \u7533\u8bf7 SSL \u8bc1\u4e66<\/h3>\n<p>\u5b9d\u5854\u7ad9\u70b9\u8bbe\u7f6e \u2192 SSL \u2192 Let&#8217;s Encrypt \u2192 \u7533\u8bf7\uff08\u52fe\u9009\u81ea\u52a8\u7eed\u7b7e\uff09\u3002<\/p>\n<h3>\u26a0\ufe0f \u5751 3\uff1a\u5148\u7533\u8bf7\u8bc1\u4e66\uff0c\u518d\u5f00&#8221;\u5f3a\u5236 HTTPS&#8221;<\/h3>\n<blockquote>\n<p>Let&#8217;s Encrypt \u7684 HTTP-01 \u6821\u9a8c\u662f<strong>\u901a\u8fc7 80 \u7aef\u53e3<\/strong>\u6765\u9a8c\u8bc1\u57df\u540d\u6240\u6709\u6743\u7684\u3002\u5982\u679c\u4f60\u5148\u5f00\u4e86\u5f3a\u5236 HTTPS\uff0c80 \u7684\u8bf7\u6c42\u4f1a\u88ab 301 \u8df3\u5230 443\u2014\u2014\u800c\u8fd9\u65f6\u5019\u8bc1\u4e66\u8fd8\u6ca1\u7b7e\u4e0b\u6765\uff0c443 \u7528\u4e0d\u4e86\uff0c<strong>\u6821\u9a8c\u5fc5\u7136\u5931\u8d25\uff0c\u6b7b\u9501<\/strong>\u3002<\/p>\n<p><strong>\u6b63\u786e\u987a\u5e8f\uff1a\u7533\u8bf7\u8bc1\u4e66 \u2192 \u9a8c\u8bc1 <code>https:\/\/<\/code> \u80fd\u901a \u2192 \u518d\u5f00\u5f3a\u5236 HTTPS\u3002<\/strong><\/p>\n<\/blockquote>\n<h3>7.4 \u9a8c\u8bc1<\/h3>\n<pre><code>curl -s https:\/\/your-domain.com\/health\n# {\"status\":\"ok\",\"healthy\":true,\"version\":\"0.4.20\",\"auth_mode\":\"api_key\"}<\/code><\/pre>\n<h2>\u516b\u3001\u5efa\u79df\u6237\uff0c\u62ff API Key<\/h2>\n<p>\u56e0\u4e3a\u914d\u7f6e\u91cc\u8bbe\u4e86 <code>root_api_key<\/code>\uff0c\u7cfb\u7edf\u5904\u4e8e\u591a\u79df\u6237\u6a21\u5f0f\u3002\u5148\u5efa\u4e00\u4e2a\u79df\u6237\uff1a<\/p>\n<pre><code>export OV=\/opt\/openviking\/venv\/bin\/ov\n\ncurl -s -X POST https:\/\/your-domain.com\/api\/v1\/admin\/accounts \\\n  -H \"X-API-Key: YOUR_ROOT_KEY\" \\\n  -H \"Content-Type: application\/json\" \\\n  -d '{\"account_id\":\"myteam\",\"admin_user_id\":\"admin\"}' \\\n  | python3 -m json.tool<\/code><\/pre>\n<p>\u8fd4\u56de\u91cc\u4f1a\u5e26\u4e00\u4e2a <code>user_key<\/code>\uff08\u4e00\u957f\u4e32\uff09\uff0c<strong>\u8fd9\u5c31\u662f\u65e5\u5e38\u4f7f\u7528\u7684\u51ed\u636e<\/strong>\u3002<\/p>\n<blockquote>\n<p><strong>\ud83d\udd12 \u5b89\u5168\u4e09\u539f\u5219\uff1a<\/strong><\/p>\n<ol>\n<li><code>user_key<\/code> \/ <code>root_api_key<\/code> <strong>\u7edd\u4e0d\u8981<\/strong>\u8d34\u8fdb\u804a\u5929\u3001\u622a\u56fe\u3001\u65e5\u5fd7\u3001Git \u4ed3\u5e93\uff1b<\/li>\n<li>\u53ea\u628a key \u8f93\u51fa\u5230\u4e00\u4e2a 600 \u6743\u9650\u7684\u6587\u4ef6\u91cc\uff0c\u5c4f\u5e55\u4e0a\u53ea\u6253\u5370\u957f\u5ea6\u786e\u8ba4\uff1b<\/li>\n<li>\u7ec8\u7aef\u91cc\u7684\u660e\u6587 key \u8bb0\u5f97\u6e05\u7406\uff0c\u6d4f\u89c8\u5668\u767b\u5f55\u6846\u91cc\u7684\u4e5f\u522b\u5fd8\u4e86\u3002<\/li>\n<\/ol>\n<p>\u53e6\u5916\u6ce8\u610f\uff1a<code>...\/users\/{user_id}\/key<\/code> \u8fd9\u4e2a\u63a5\u53e3\u662f <strong>POST = \u91cd\u65b0\u751f\u6210\uff08\u8f6e\u6362\uff09<\/strong>\uff0c\u4e0d\u662f&#8221;\u8bfb\u53d6&#8221;\u3002\u8c03\u4e00\u6b21\u65e7 key \u5c31\u5931\u6548\u4e86\uff0c\u522b\u4e71\u8bd5\u3002<\/p>\n<\/blockquote>\n<h2>\u4e5d\u3001\u547d\u4ee4\u884c\u9a8c\u8bc1<\/h2>\n<pre><code># \u914d\u7f6e\uff08\u975e\u4ea4\u4e92\uff0ckey \u4ece stdin \u8bfb\uff0c\u4e0d\u8fdb shell \u5386\u53f2\uff09\nov config add custom --name myblog \\\n  --url https:\/\/your-domain.com \\\n  --api-key-stdin --activate\n\n# \u770b\u5168\u5c40\u72b6\u6001\nov status\n\n# \u8bed\u4e49\u68c0\u7d22\uff08\u8fd9\u662f\"\u80fd\u7528\"\u800c\u4e0d\u662f\"\u6d3b\u7740\"\u7684\u8bc1\u636e\uff09\nov find \"\u4f60\u7684\u95ee\u9898\"<\/code><\/pre>\n<p>\u5f53 <code>ov find<\/code> \u8fd4\u56de<strong>\u5e26\u76f8\u5173\u6027\u5206\u6570\u6392\u5e8f\u3001\u5e26 L0\/L1\/L2 \u5206\u5c42\u6807\u8bb0\u3001\u5e26\u5185\u5bb9\u6458\u8981<\/strong>\u7684\u7ed3\u679c\u65f6\uff0c\u8bf4\u660e<strong>\u5411\u91cf\u5e93\u3001Embedding \u6a21\u578b\u3001\u68c0\u7d22\u6392\u5e8f\u3001\u5206\u5c42\u9605\u8bfb\u8fd9\u6574\u6761 AI \u80fd\u529b\u94fe\u8def\u5168\u90e8\u53ef\u7528<\/strong>\u3002<\/p>\n<blockquote>\n<p><strong>\u5173\u4e8e <code>add-resource<\/code> \u6293\u53d6\u5931\u8d25\uff1a<\/strong> \u5982\u679c\u4f60\u704c\u5165\u7684\u662f GitHub \u4e4b\u7c7b\u7684\u5883\u5916 URL\uff0c\u53ef\u80fd\u4f1a\u9047\u5230 <code>PROCESSING_ERROR: Parse error: HTTP request failed: timeout<\/code>\u3002<\/p>\n<p>\u6ce8\u610f\u9519\u8bef\u7801\u662f <code>PROCESSING_ERROR<\/code>\u2014\u2014\u8bf4\u660e<strong>\u8bf7\u6c42\u5df2\u7ecf\u5230\u4e86 OpenViking\u3001\u4e5f\u5f00\u59cb\u5904\u7406\u4e86<\/strong>\uff0c\u662f\u5b83\u53bb\u4e0b\u8f7d\u90a3\u4e2a URL \u65f6\u8d85\u65f6\u3002\u8fd9<strong>\u4e0d\u662f\u90e8\u7f72\u95ee\u9898<\/strong>\uff0c\u662f\u670d\u52a1\u5668\u8bbf\u95ee\u5883\u5916\u7f51\u7edc\u7684\u95ee\u9898\u3002<\/p>\n<p>\u5bf9\u7b56\uff1a\u4f18\u5148\u7528\u56fd\u5185\u53ef\u8fbe\u7684\u6e90\uff0c\u6216\u5148\u628a\u6587\u4ef6 <code>wget<\/code> \u5230\u672c\u5730\u518d\u7528\u672c\u5730\u8def\u5f84\u5bfc\u5165\u3002<\/p>\n<\/blockquote>\n<h2>\u5341\u3001\u9a8c\u8bc1\uff1a\u770b\u6574\u4f53\u5065\u5eb7<\/h2>\n<pre><code>ov status<\/code><\/pre>\n<p>\u5168\u7ec4\u4ef6\u5065\u5eb7 + \u8bed\u4e49\u68c0\u7d22\u6709\u7ed3\u679c = \u90e8\u7f72\u6210\u529f\u3002<strong>\u8fd9\u65f6\u5019\u6d4f\u89c8\u5668\u6253\u5f00 <code>https:\/\/your-domain.com\/studio<\/code> \u5c31\u80fd\u770b\u5230 Web \u7ba1\u7406\u754c\u9762\u4e86\u3002<\/strong><\/p>\n<h2>\u5341\u4e00\u3001\u542f\u7528 VikingBot\uff08\u5bf9\u8bdd\u673a\u5668\u4eba\uff09<\/h2>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/www.mxiu.cc\/wp-content\/uploads\/2026\/09\/openviking-bot.jpg\" alt=\"VikingBot \u5bf9\u8bdd\u673a\u5668\u4eba\" \/><\/figure>\n<p>\u6253\u5f00\u7ba1\u7406\u540e\u53f0\u7684 <code>\/studio\/monitoring<\/code>\uff0c\u4f60\u4f1a\u770b\u5230\u4e00\u6761\u63d0\u793a\uff1a<\/p>\n<blockquote>\n<p><strong>\u8bf7\u542f\u7528 VikingBot<\/strong><br \/>\n\u5f53\u524d\u670d\u52a1\u672a\u542f\u7528 Agent \u5bf9\u8bdd\u529f\u80fd\u3002\u8bf7\u4f7f\u7528\u4ee5\u4e0b\u53c2\u6570\u542f\u52a8\u670d\u52a1\u540e\u91cd\u8bd5\u3002<br \/>\n<code>openviking-server --with-bot<\/code><\/p>\n<\/blockquote>\n<p>\u6838\u5fc3\u5c31\u4e00\u53e5\u8bdd\uff1a<strong>\u8ba9\u670d\u52a1\u5e26 <code>--with-bot<\/code> \u542f\u52a8\u3002<\/strong> \u4f60\u662f systemd \u6258\u7ba1\u7684\uff0c\u6240\u4ee5\u628a\u5b83\u5199\u8fdb\u670d\u52a1\u6587\u4ef6\uff1a<\/p>\n<pre><code># 1) \u5148\u5907\u4efd\uff0c\u65b9\u4fbf\u4e00\u6761\u547d\u4ee4\u56de\u6eda\ncp \/etc\/systemd\/system\/openviking.service \/root\/openviking.service.bak\n\n# 2) \u7ed9\u542f\u52a8\u547d\u4ee4\u52a0\u4e0a --with-bot\nsed -i '\/^ExecStart=\/ s|$| --with-bot|' \/etc\/systemd\/system\/openviking.service\ngrep '^ExecStart' \/etc\/systemd\/system\/openviking.service\n\n# 3) \u751f\u6548\nsystemctl daemon-reload &amp;&amp; systemctl restart openviking<\/code><\/pre>\n<h3>\u26a0\ufe0f \u5751 4\uff1aVikingBot \u662f&#8221;\u53ef\u9009\u4f9d\u8d56&#8221;\uff0c\u57fa\u7840\u7248\u5b89\u88c5\u4e0d\u5e26\u5b83<\/h3>\n<blockquote>\n<p>\u52a0\u5b8c <code>--with-bot<\/code> \u91cd\u542f\uff0c\u65e5\u5fd7\u91cc\u51fa\u73b0\uff1a<\/p>\n<pre><code>Warning: vikingbot not found. Please install vikingbot first.\nError: --with-bot was requested, but VikingBot could not be started.<\/code><\/pre>\n<p>\u800c\u4e14\u56e0\u4e3a <code>Restart=always<\/code>\uff0c\u670d\u52a1\u5f00\u59cb<strong>\u5d29\u6e83\u5faa\u73af<\/strong>\uff08<code>systemctl is-active<\/code> \u663e\u793a <code>activating<\/code>\uff09\uff0c\u7f51\u7ad9\u76f4\u63a5 502\u3002<strong>\u5148\u6b62\u8840\uff1a<\/strong><\/p>\n<pre><code>systemctl stop openviking<\/code><\/pre>\n<p>\u7136\u540e\u6392\u67e5\u3002<code>vikingbot not found<\/code> \u6709\u4e24\u4e2a\u5b8c\u5168\u4e0d\u540c\u7684\u539f\u56e0\uff0c<strong>\u5fc5\u987b\u770b\u8be6\u7ec6\u62a5\u9519\u624d\u80fd\u533a\u5206<\/strong>\uff1a<\/p>\n<\/blockquote>\n<h3>\u5751 4-A\uff1asystemd \u7684 PATH \u91cc\u6ca1\u6709\u865a\u62df\u73af\u5883\u7684 bin<\/h3>\n<blockquote>\n<p><code>ExecStart<\/code> \u5199\u7684\u662f\u7edd\u5bf9\u8def\u5f84\uff0c\u6240\u4ee5 server \u672c\u8eab\u80fd\u542f\u52a8\uff1b\u4f46\u5b83\u53bb\u542f\u52a8 <code>vikingbot<\/code> \u5b50\u8fdb\u7a0b\u65f6\u662f<strong>\u6309\u540d\u5b57\u627e<\/strong>\u7684\uff0c\u8d70 PATH\u2014\u2014\u800c systemd \u670d\u52a1\u7684 PATH \u91cc<strong>\u6ca1\u6709<\/strong> <code>\/opt\/openviking\/venv\/bin<\/code>\uff0c\u4e8e\u662f&#8221;\u627e\u4e0d\u5230&#8221;\u3002<\/p>\n<p>\u9a8c\u8bc1\uff1a<code>ls -l \/opt\/openviking\/venv\/bin\/vikingbot<\/code>\u2014\u2014\u6587\u4ef6\u660e\u660e\u5728\uff0c\u5c31\u662f\u627e\u4e0d\u7740\u3002<\/p>\n<p><strong>\u4fee\u590d\uff1a\u7ed9 unit \u8865\u4e00\u884c PATH\u3002<\/strong><\/p>\n<pre><code>Environment=\"PATH=\/opt\/openviking\/venv\/bin:\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin\"<\/code><\/pre>\n<\/blockquote>\n<h3>\u5751 4-B\uff1a\u4f9d\u8d56\u6ca1\u88c5\u5168\uff08\u672c\u6b21\u771f\u6b63\u7684\u6839\u56e0\uff09<\/h3>\n<blockquote>\n<p>\u8865\u5b8c PATH \u540e\u4ecd\u7136\u5931\u8d25\uff0c\u65e5\u5fd7\u7ed9\u51fa\u4e86\u8be6\u7ec6\u539f\u56e0\uff1a<\/p>\n<pre><code>File \"\/opt\/openviking\/venv\/bin\/vikingbot\", line 4, in &lt;module&gt;\n    from vikingbot.cli.commands import app\nModuleNotFoundError: No module named 'prompt_toolkit'\nError: vikingbot gateway exited early (code 1)<\/code><\/pre>\n<p>\u811a\u672c\u5728\u3001\u5305\u5728\uff0c\u4f46<strong>\u8fd0\u884c\u65f6\u4f9d\u8d56\u7f3a\u5931<\/strong>\u3002\u5b89\u88c5\u65f6\u7528\u4e86\u57fa\u7840\u5305 <code>openviking<\/code>\uff0c\u6ca1\u6709\u88c5\u53ef\u9009\u4f9d\u8d56 <code>openviking[bot]<\/code>\u3002<\/p>\n<p><strong>\u4fee\u590d\uff08\u6ce8\u610f\u9489\u4f4f\u7248\u672c\uff0c\u907f\u514d\u987a\u5e26\u628a OpenViking \u5347\u7ea7\uff09\uff1a<\/strong><\/p>\n<pre><code>source \/opt\/openviking\/venv\/bin\/activate\nuv pip install \"openviking[bot]==0.4.20\"\nvikingbot --version\ndeactivate\n\nsystemctl restart openviking<\/code><\/pre>\n<\/blockquote>\n<blockquote>\n<p><strong>\u6ce8\u610f\u65e5\u5fd7\u91cc\u7684\u5efa\u8bae\u547d\u4ee4\u662f&#8221;\u6e90\u7801\u5b89\u88c5&#8221;\u5199\u6cd5\u3002<\/strong> \u62a5\u9519\u4f1a\u544a\u8bc9\u4f60 <code>uv pip install -e \".[bot,dev]\"<\/code>\uff0c\u4f46\u90a3\u662f\u7ed9 <code>git clone<\/code> \u6e90\u7801\u88c5\u7684\u4eba\u7528\u7684\u3002\u4f60\u662f PyPI \u5b89\u88c5\uff0c\u7167\u6284\u4f1a\u5931\u8d25\u2014\u2014\u6b63\u786e\u5199\u6cd5\u662f <code>openviking[bot]<\/code>\u3002<\/p>\n<\/blockquote>\n<h3>\u9a8c\u8bc1 Bot \u8d77\u6765\u4e86<\/h3>\n<pre><code>systemctl is-active openviking\ncurl -s http:\/\/127.0.0.1:1933\/bot\/v1\/health; echo\nss -lntp | grep 18790\njournalctl -u openviking -n 30 --no-pager | grep -iE 'vikingbot|gateway'<\/code><\/pre>\n<p>\u7136\u540e\u56de\u7ba1\u7406\u540e\u53f0\u70b9\u300c\u91cd\u65b0\u68c0\u6d4b\u300d\uff0c\u72b6\u6001\u4ece&#8221;\u672a\u542f\u7528&#8221;\u53d8\u4e3a\u8fd0\u884c\u4e2d\uff1b\u63a7\u5236\u53f0\u91cc <code>ov chat -m \"\u4f60\u597d\"<\/code> \u80fd\u6b63\u5e38\u56de\u590d\uff0c\u5c31\u6210\u529f\u4e86\u3002<\/p>\n<blockquote>\n<p><strong>\u4e00\u4e2a\u5bb9\u6613\u8bef\u5224\u7684\u7ec6\u8282\uff1a<\/strong> <code>grep -i error<\/code> \u4f1a\u547d\u4e2d <code>uvicorn.error<\/code> \u8fd9\u6837\u7684<strong>\u65e5\u5fd7\u5668\u540d\u5b57<\/strong>\uff0c\u770b\u8d77\u6765\u50cf\u62a5\u9519\u5176\u5b9e\u4e0d\u662f\u3002\u5224\u65ad\u8981\u770b\u5185\u5bb9\uff0c\u522b\u53ea\u770b\u5173\u952e\u8bcd\u3002<\/p>\n<\/blockquote>\n<h2>\u5341\u4e8c\u3001\u65e5\u5e38\u8fd0\u7ef4<\/h2>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/www.mxiu.cc\/wp-content\/uploads\/2026\/09\/openviking-ops.jpg\" alt=\"\u65e5\u5e38\u8fd0\u7ef4\uff1a\u5907\u4efd\u3001\u5347\u7ea7\u4e0e\u81ea\u52a8\u5316\" \/><\/figure>\n<h3>12.1 \u5907\u4efd<\/h3>\n<pre><code>tar -czf \/root\/ov-backup-$(date +%F).tar.gz \\\n  -C \/opt\/openviking data \/etc\/openviking\/ov.conf<\/code><\/pre>\n<p>\u5efa\u8bae\u52a0\u8fdb crontab \u6bcf\u5929\u51cc\u6668\u8dd1\u4e00\u6b21\uff0c\u4fdd\u7559\u6700\u8fd1 7 \u4efd\u3002<\/p>\n<h3>12.2 \u5347\u7ea7<\/h3>\n<pre><code>source \/opt\/openviking\/venv\/bin\/activate\nuv pip install openviking --upgrade\nsystemctl restart openviking\ncurl -s http:\/\/127.0.0.1:1933\/ready<\/code><\/pre>\n<blockquote>\n<p>\u5347\u7ea7\u524d\u5148\u5907\u4efd\u3002<strong>\u5411\u91cf\u5e93\u7684 schema \u8de8\u7248\u672c\u53ef\u80fd\u6709\u53d8\u66f4<\/strong>\uff0c\u8fd9\u4e00\u6b65\u4e0d\u80fd\u7701\u3002<\/p>\n<\/blockquote>\n<h3>12.3 \u8ba9\u77e5\u8bc6\u5e93\u81ea\u52a8\u66f4\u65b0<\/h3>\n<p>OpenViking \u652f\u6301\u7ed9\u8d44\u6e90\u8bbe\u5b9a<strong>\u81ea\u52a8\u91cd\u6293\u5468\u671f<\/strong>\u3002\u5bf9\u505a\u7535\u5546\u8fd0\u8425\u7684\u4eba\u6765\u8bf4\uff0c\u8fd9\u76f8\u5f53\u4e8e\u628a\u4f60\u7684&#8221;\u5e73\u53f0\u89c4\u5219\u9875 \/ \u7c7b\u76ee\u653f\u7b56 \/ \u7ade\u54c1\u9875\u9762&#8221;\u53d8\u6210\u4f1a\u81ea\u52a8\u5237\u65b0\u7684\u77e5\u8bc6\u6e90\uff1a<\/p>\n<pre><code>ov add-resource https:\/\/example.com\/\u7c7b\u76ee\u89c4\u5219\u9875 \\\n  -p viking:\/\/resources\/\u5e73\u53f0\u89c4\u5219 --watch-interval 1440<\/code><\/pre>\n<p><code>--watch-interval<\/code> \u5355\u4f4d\u662f\u5206\u949f\uff0c1440 \u5c31\u662f\u6bcf\u5929\u91cd\u6293\u4e00\u6b21\u3002<\/p>\n<h3>12.4 \u8c03\u7528\u91cf\u5bf9\u8d26<\/h3>\n<pre><code>curl -s https:\/\/your-domain.com\/api\/v1\/console\/tokens \\\n  -H \"X-API-Key: YOUR_USER_KEY\" | python3 -m json.tool<\/code><\/pre>\n<p>\u5efa\u8bae\u6bcf\u5468\u770b\u4e00\u6b21\uff0c\u786e\u8ba4\u8c03\u7528\u91cf\u548c\u5b9e\u9645\u4f7f\u7528\u884c\u4e3a\u76f8\u7b26\u2014\u2014\u8fd9\u662f\u53d1\u73b0 key \u6cc4\u9732\u6700\u76f4\u63a5\u7684\u529e\u6cd5\u3002<\/p>\n<h3>12.5 \u5e38\u7528\u6392\u969c<\/h3>\n<pre><code>systemctl status openviking --no-pager\njournalctl -u openviking -n 200 --no-pager\nss -lntp | grep -E '1933|18790'<\/code><\/pre>\n<blockquote>\n<p><strong>\u5b9e\u6d4b\u66f4\u6b63\uff1a<\/strong> \u7f51\u4e0a\u4e00\u4e9b\u65e7\u6587\u6863\u63d0\u5230\u8981\u624b\u52a8 <code>pkill agfs<\/code> \u6e05\u7406\u5b50\u8fdb\u7a0b\u3002\u5728 0.4.20 \u4e0a<strong>\u4e0d\u9700\u8981<\/strong>\u2014\u2014\u65e5\u5fd7\u91cc\u7684 <code>Loaded RAGFS Rust binding<\/code> \u8bf4\u660e AGFS \u662f\u4ee5<strong>\u8fdb\u7a0b\u5185 Rust \u7ed1\u5b9a<\/strong>\u8fd0\u884c\u7684\uff0c\u548c\u4e3b\u8fdb\u7a0b\u540c\u751f\u5171\u6b7b\u3002<code>systemctl stop<\/code> \u4e00\u6b21\u5c31\u6536\u5e72\u51c0\uff0c\u6b63\u5e38\u53ea\u6709 1 \u4e2a\u8fdb\u7a0b\u3002<\/p>\n<\/blockquote>\n<h2>\u5341\u4e09\u3001\u8e29\u5751\u603b\u6e05\u5355<\/h2>\n<table>\n<thead>\n<tr>\n<th>#<\/th>\n<th>\u73b0\u8c61<\/th>\n<th>\u539f\u56e0<\/th>\n<th>\u5bf9\u7b56<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>Embedding 404<\/td>\n<td>\u6e90\u7801\u76f4\u63a5 POST <code>api_base<\/code>\uff0c\u4e0d\u62fc\u8def\u5f84<\/td>\n<td><code>api_base<\/code> \u5199\u5230 <code>\/embeddings<\/code> \u8fd9\u4e00\u7ea7<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>\u8f6c\u53d1\u5934\u4e0d\u751f\u6548<\/td>\n<td><code>proxy_set_header<\/code> \u7ee7\u627f\u662f&#8221;\u5168\u6709\u6216\u5168\u65e0&#8221;<\/td>\n<td>\u5199\u5728 <code>location<\/code> \u5185\uff0c\u4e0d\u8981\u5199 server \u7ea7<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>SSL \u7533\u8bf7\u5931\u8d25<\/td>\n<td>\u5148\u5f00\u4e86\u5f3a\u5236 HTTPS\uff0c80 \u88ab 301 \u8d70<\/td>\n<td>\u5148\u7b7e\u8bc1\u4e66\uff0c\u9a8c\u8bc1 https \u901a\uff0c\u518d\u5f00\u5f3a\u5236\u8df3\u8f6c<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>Bot \u542f\u7528\u540e\u670d\u52a1\u5d29\u6e83\u5faa\u73af + 502<\/td>\n<td>\u670d\u52a1\u627e\u4e0d\u5230 <code>vikingbot<\/code><\/td>\n<td>\u5148 <code>stop<\/code> \u6b62\u8840\uff1b\u7ed9 unit \u8865 <code>PATH<\/code><\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>\u8865 PATH \u540e\u4ecd\u5931\u8d25<\/td>\n<td>\u7f3a\u53ef\u9009\u4f9d\u8d56 <code>prompt_toolkit<\/code><\/td>\n<td><code>uv pip install \"openviking[bot]==\u7248\u672c\u53f7\"<\/code><\/td>\n<\/tr>\n<tr>\n<td>6<\/td>\n<td>\u56de\u7b54&#8221;\u5361\u4f4f\u4e0d\u5410\u5b57&#8221;<\/td>\n<td>nginx \u7f13\u51b2\u4e86 SSE<\/td>\n<td>\u52a0 <code>proxy_buffering off<\/code><\/td>\n<\/tr>\n<tr>\n<td>7<\/td>\n<td>\u5bfc\u5165\u5883\u5916 URL \u8d85\u65f6<\/td>\n<td>\u670d\u52a1\u5668\u8bbf\u95ee\u5883\u5916\u7f51\u7edc\u4e0d\u7a33<\/td>\n<td>\u6362\u56fd\u5185\u6e90\uff0c\u6216\u5148\u4e0b\u5230\u672c\u5730\u518d\u5bfc\u5165<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u5341\u56db\u3001\u5c0f\u7ed3<\/h2>\n<p>\u6574\u5957\u6d41\u7a0b\u8dd1\u4e0b\u6765\u8bf4\u5b9e\u8bdd\u5e76\u4e0d\u590d\u6742\uff0c<strong>\u771f\u6b63\u82b1\u65f6\u95f4\u7684\u662f\u56db\u5904&#8221;\u770b\u8d77\u6765\u4e00\u6837\u3001\u539f\u56e0\u5b8c\u5168\u4e0d\u540c&#8221;\u7684\u62a5\u9519<\/strong>\u3002<\/p>\n<p>\u56de\u5934\u770b\uff0c\u6700\u6709\u4ef7\u503c\u7684\u4e00\u6761\u7ecf\u9a8c\u662f\uff1a<\/p>\n<blockquote>\n<p><strong>\u7ed9 systemd \u6258\u7ba1\u7684 Python \u670d\u52a1\u542f\u7528&#8221;\u53ef\u9009\u5b50\u7ec4\u4ef6&#8221;\u65f6\uff0c\u6309\u8fd9\u4e2a\u987a\u5e8f\u67e5\uff1a<\/strong><\/p>\n<ol>\n<li><strong>\u5b50\u7ec4\u4ef6\u53ef\u6267\u884c\u6587\u4ef6\u5728\u4e0d\u5728<\/strong>\uff08<code>ls -l ...\/bin\/xxx<\/code>\uff09<\/li>\n<li><strong>service \u7684 PATH \u6709\u6ca1\u6709\u542b\u865a\u62df\u73af\u5883\u7684 bin<\/strong>\u2014\u2014<code>ExecStart<\/code> \u7528\u7edd\u5bf9\u8def\u5f84\u80fd\u542f\u52a8\uff0c\u4e0d\u7b49\u4e8e\u5b50\u8fdb\u7a0b\u4e5f\u80fd\u6309\u540d\u5b57\u627e\u5230<\/li>\n<li><strong>\u4f9d\u8d56\u88c5\u5168\u4e86\u6ca1<\/strong>\u2014\u2014\u5fc5\u987b\u770b\u8be6\u7ec6\u62a5\u9519\uff0c\u5b98\u65b9\u5efa\u8bae\u7684\u547d\u4ee4\u53ef\u80fd\u662f\u6e90\u7801\u5b89\u88c5\u5199\u6cd5\uff0c\u4e0e\u4f60\u65e0\u5173<\/li>\n<li><strong>\u4e07\u4e00\u8fdb\u4e86\u5d29\u6e83\u5faa\u73af<\/strong>\u2014\u2014\u5148 <code>systemctl stop<\/code> \u6b62\u8840\uff0c\u6539 unit \u524d\u5148\u5907\u4efd\uff0c\u4e00\u6761\u547d\u4ee4\u5c31\u80fd\u56de\u6eda<\/li>\n<\/ol>\n<\/blockquote>\n<p>\u8fd8\u6709\u4e00\u6761\u5fc3\u5f97\uff1a<strong>\u6bcf\u6b21\u52a8\u751f\u4ea7\u914d\u7f6e\u4e4b\u524d\uff0c\u82b1 10 \u79d2\u786e\u8ba4&#8221;\u96f6\u4ef6\u5728\u4e0d\u5728&#8221;<\/strong>\u3002\u8fd9\u6b21\u5c31\u662f\u6f0f\u4e86 <code>vikingbot --version<\/code> \u8fd9\u4e00\u53e5\u68c0\u67e5\uff0c\u4ee3\u4ef7\u662f\u4e00\u8f6e\u5d29\u6e83\u5faa\u73af\u52a0\u4e00\u6b21 502\u3002<strong>\u5b83\u4e0d\u662f\u591a\u4f59\u7684\u6b65\u9aa4\uff0c\u5b83\u662f\u4fdd\u9669\u3002<\/strong><\/p>\n<hr \/>\n<p><em>\u672c\u6587\u8bb0\u5f55\u4e8e 2026 \u5e74 9 \u6708\uff0cOpenViking v0.4.20\u3002\u8f6f\u4ef6\u7248\u672c\u8fed\u4ee3\u8f83\u5feb\uff0c\u547d\u4ee4\u4e0e\u914d\u7f6e\u9879\u8bf7\u4ee5\u5b98\u65b9\u6587\u6863\u4e3a\u51c6\u3002<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7528\u4e00\u53f0\u817e\u8baf\u4e91\u670d\u52a1\u5668 + \u5b9d\u5854\u9762\u677f\uff0c\u628a\u5f00\u6e90\u7684 AI Agent \u4e0a\u4e0b\u6587\u6570\u636e\u5e93 OpenViking \u90e8\u7f72\u4e0a\u7ebf\uff0c\u5e76\u8dd1\u901a HTTPS\u3001\u8bed\u4e49\u68c0\u7d22\u548c\u5bf9\u8bdd\u673a\u5668\u4eba\u3002\u5168\u6587\u8bb0\u5f55\u6bcf\u4e00\u6b65\u547d\u4ee4\u3001\u6bcf\u4e00\u5904\u62a5\u9519\u548c\u539f\u56e0\u3002<\/p>\n","protected":false},"author":1,"featured_media":6,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-10","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.mxiu.cc\/index.php\/wp-json\/wp\/v2\/posts\/10","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mxiu.cc\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mxiu.cc\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mxiu.cc\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mxiu.cc\/index.php\/wp-json\/wp\/v2\/comments?post=10"}],"version-history":[{"count":1,"href":"https:\/\/www.mxiu.cc\/index.php\/wp-json\/wp\/v2\/posts\/10\/revisions"}],"predecessor-version":[{"id":12,"href":"https:\/\/www.mxiu.cc\/index.php\/wp-json\/wp\/v2\/posts\/10\/revisions\/12"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mxiu.cc\/index.php\/wp-json\/wp\/v2\/media\/6"}],"wp:attachment":[{"href":"https:\/\/www.mxiu.cc\/index.php\/wp-json\/wp\/v2\/media?parent=10"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mxiu.cc\/index.php\/wp-json\/wp\/v2\/categories?post=10"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mxiu.cc\/index.php\/wp-json\/wp\/v2\/tags?post=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}