{"id":70697,"date":"2026-02-02T08:50:36","date_gmt":"2026-02-02T00:50:36","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/70697.html"},"modified":"2026-02-02T08:50:36","modified_gmt":"2026-02-02T00:50:36","slug":"%e6%9c%8d%e5%8a%a1%e5%99%a8%e6%97%a0%e6%b3%95%e8%ae%bf%e9%97%aewebui%ef%bc%9f%e8%bf%99%e5%87%a0%e4%b8%aa%e6%8e%92%e6%9f%a5%e6%ad%a5%e9%aa%a4%e5%bf%85%e7%9c%8b","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/70697.html","title":{"rendered":"\u670d\u52a1\u5668\u65e0\u6cd5\u8bbf\u95eeWebUI\uff1f\u8fd9\u51e0\u4e2a\u6392\u67e5\u6b65\u9aa4\u5fc5\u770b"},"content":{"rendered":"<h2>\u670d\u52a1\u5668\u65e0\u6cd5\u8bbf\u95eeWebUI&#xff1f;\u8fd9\u51e0\u4e2a\u6392\u67e5\u6b65\u9aa4\u5fc5\u770b<\/h2>\n<p>\u5f53\u4f60\u5174\u51b2\u51b2\u5730\u6267\u884c\u5b8c bash start_app.sh&#xff0c;\u7ec8\u7aef\u4e0a\u4e5f\u6e05\u6670\u5730\u6253\u5370\u51fa&#xff1a;<\/p>\n<p>&#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;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<br \/>\nWebUI \u670d\u52a1\u5730\u5740: http:\/\/0.0.0.0:7860<br \/>\n&#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;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/p>\n<p>\u53ef\u4e00\u6253\u5f00\u6d4f\u89c8\u5668\u8f93\u5165 http:\/\/\u4f60\u7684\u670d\u52a1\u5668IP:7860&#xff0c;\u5374\u53ea\u770b\u5230\u201c\u65e0\u6cd5\u8bbf\u95ee\u6b64\u7f51\u7ad9\u201d\u201c\u8fde\u63a5\u88ab\u62d2\u7edd\u201d\u6216\u201c\u8be5\u7f51\u9875\u65e0\u6cd5\u6b63\u5e38\u8fd0\u4f5c\u201d\u2026\u2026\u522b\u6025&#xff0c;\u8fd9\u7edd\u4e0d\u662f\u6a21\u578b\u672c\u8eab\u51fa\u4e86\u95ee\u9898&#xff0c;\u800c\u662f\u5178\u578b\u7684\u670d\u52a1\u53ef\u8fbe\u6027\u6545\u969c\u2014\u2014\u5b83\u53d1\u751f\u5728\u6a21\u578b\u542f\u52a8\u4e4b\u540e\u3001\u7528\u6237\u8bbf\u95ee\u4e4b\u524d\u90a3\u4e2a\u5173\u952e\u7684\u201c\u4e2d\u95f4\u5c42\u201d\u3002<\/p>\n<p>\u672c\u6587\u4e0d\u8bb2OCR\u539f\u7406&#xff0c;\u4e0d\u804aResNet18\u7ed3\u6784&#xff0c;\u4e5f\u4e0d\u5c55\u5f00ONNX\u5bfc\u51fa\u7ec6\u8282\u3002\u6211\u4eec\u805a\u7126\u4e00\u4e2a\u6700\u5b9e\u9645\u3001\u6700\u9ad8\u9891\u3001\u6700\u8ba9\u4eba\u6293\u72c2\u7684\u95ee\u9898&#xff1a;WebUI\u660e\u660e\u542f\u52a8\u4e86&#xff0c;\u4e3a\u4ec0\u4e48\u5c31\u662f\u6253\u4e0d\u5f00&#xff1f; \u9488\u5bf9 cv_resnet18_ocr-detection OCR\u6587\u5b57\u68c0\u6d4b\u6a21\u578b&#xff08;\u6784\u5efaby\u79d1\u54e5&#xff09; \u8fd9\u4e00\u955c\u50cf&#xff0c;\u6211\u5c06\u5e26\u4f60\u6309\u771f\u5b9e\u8fd0\u7ef4\u8282\u594f&#xff0c;\u9010\u5c42\u7a7f\u900f\u7f51\u7edc\u3001\u7cfb\u7edf\u3001\u670d\u52a1\u3001\u5e94\u7528\u56db\u5c42\u969c\u788d&#xff0c;\u7ed9\u51fa\u53ef\u7acb\u5373\u6267\u884c\u3001\u6709\u660e\u786e\u53cd\u9988\u3001\u80fd\u95ed\u73af\u9a8c\u8bc1\u7684\u6392\u67e5\u8def\u5f84\u3002<\/p>\n<p>\u6240\u6709\u6b65\u9aa4\u5747\u57fa\u4e8e\u8be5\u955c\u50cf\u9ed8\u8ba4\u914d\u7f6e&#xff08;\u7aef\u53e37860\u3001Python FastAPI\u540e\u7aef\u3001Gradio\u524d\u7aef&#xff09;&#xff0c;\u65e0\u9700\u989d\u5916\u5b89\u88c5\u5de5\u5177&#xff0c;\u4ec5\u7528\u670d\u52a1\u5668\u81ea\u5e26\u547d\u4ee4\u5373\u53ef\u5b8c\u6210\u3002<\/p>\n<hr \/>\n<h3>1. \u786e\u8ba4\u670d\u52a1\u8fdb\u7a0b\u662f\u5426\u771f\u6b63\u5728\u8fd0\u884c<\/h3>\n<p>\u5f88\u591a\u201c\u6253\u4e0d\u5f00\u201d\u7684\u5047\u8c61&#xff0c;\u5176\u5b9e\u6e90\u4e8e\u670d\u52a1\u538b\u6839\u6ca1\u8d77\u6765&#xff0c;\u6216\u8005\u542f\u52a8\u4e2d\u9014\u5d29\u6e83\u4e86\u3002\u522b\u4fe1\u7ec8\u7aef\u6700\u540e\u4e00\u884c\u8f93\u51fa&#xff0c;\u8981\u4eb2\u624b\u9a8c\u8bc1\u3002<\/p>\n<h4>1.1 \u67e5\u770bPython\u8fdb\u7a0b\u662f\u5426\u5b58\u5728<\/h4>\n<p>\u5728\u670d\u52a1\u5668\u7ec8\u7aef\u4e2d\u6267\u884c&#xff1a;<\/p>\n<p>ps aux | grep -E &#039;gradio|fastapi|python.*7860&#039; | grep -v grep<\/p>\n<p>\u6b63\u5e38\u5e94\u770b\u5230\u7c7b\u4f3c\u8f93\u51fa&#xff1a;<\/p>\n<p>root     12345  0.8  8.2 2456789 167890 ?  Sl   10:22   0:15 python3 app.py &#8211;server-port 7860<\/p>\n<p>\u274c \u82e5\u65e0\u4efb\u4f55\u8f93\u51fa&#xff0c;\u8bf4\u660e\u670d\u52a1\u672a\u8fd0\u884c\u3002\u6b64\u65f6\u76f4\u63a5\u6267\u884c\u542f\u52a8\u811a\u672c\u91cd\u8bd5&#xff1a;<\/p>\n<p>cd \/root\/cv_resnet18_ocr-detection &amp;&amp; bash start_app.sh<\/p>\n<p>\u6ce8\u610f&#xff1a;\u8be5\u955c\u50cf\u7684 start_app.sh \u811a\u672c\u5185\u90e8\u8c03\u7528\u7684\u662f python app.py &#8211;server-port 7860&#xff0c;\u800c\u975e\u540e\u53f0\u5b88\u62a4\u6a21\u5f0f\u3002\u8fd9\u610f\u5473\u7740&#xff1a;<\/p>\n<ul>\n<li>\u5982\u679c\u4f60\u5173\u95ed\u4e86SSH\u7ec8\u7aef&#xff0c;\u8fdb\u7a0b\u4f1a\u968f\u4f1a\u8bdd\u7ed3\u675f\u800c\u7ec8\u6b62&#xff1b;<\/li>\n<li>\u82e5\u811a\u672c\u6267\u884c\u540e\u7acb\u5373\u8fd4\u56de\u547d\u4ee4\u884c&#xff0c;\u4e0d\u4ee3\u8868\u670d\u52a1\u5df2\u5c31\u7eea\u2014\u2014\u5b83\u53ef\u80fd\u8fd8\u5728\u52a0\u8f7d\u6a21\u578b&#xff08;\u5c24\u5176\u9996\u6b21\u542f\u52a8\u9700\u52a0\u8f7dResNet18\u6743\u91cd&#xff0c;\u8017\u65f63\u20138\u79d2&#xff09;\u3002<\/li>\n<\/ul>\n<h4>1.2 \u68c0\u67e5\u8fdb\u7a0b\u662f\u5426\u5361\u5728\u201c\u52a0\u8f7d\u4e2d\u201d<\/h4>\n<p>\u5373\u4f7f\u8fdb\u7a0b\u5b58\u5728&#xff0c;\u4e5f\u53ef\u80fd\u505c\u6ede\u5728\u6a21\u578b\u521d\u59cb\u5316\u9636\u6bb5\u3002\u89c2\u5bdf\u5176CPU\u548c\u5185\u5b58\u5360\u7528&#xff1a;<\/p>\n<p>ps aux &#8211;sort&#061;-%cpu | head -n 10<\/p>\n<ul>\n<li>\u82e5 python \u8fdb\u7a0bCPU\u957f\u671f\u4e3a0%&#xff0c;\u5185\u5b58\u5360\u7528\u7a33\u5b9a\u5728200MB\u4ee5\u4e0b \u2192 \u5f88\u53ef\u80fd\u5361\u6b7b&#xff0c;\u9700\u5f3a\u5236\u7ec8\u6b62\u540e\u91cd\u542f&#xff1b;<\/li>\n<li>\u82e5CPU\u6301\u7eed\u9ad8\u4e8e80%\u4e14\u5185\u5b58\u7f13\u6162\u4e0a\u6da8 \u2192 \u6b63\u5728\u52a0\u8f7d&#xff0c;\u8010\u5fc3\u7b49\u5f8510\u201315\u79d2\u518d\u6d4b\u8bd5\u8bbf\u95ee\u3002<\/li>\n<\/ul>\n<p>\u5c0f\u6280\u5de7&#xff1a;\u8be5\u955c\u50cf\u65e5\u5fd7\u9ed8\u8ba4\u8f93\u51fa\u5230\u63a7\u5236\u53f0\u3002\u542f\u52a8\u540e\u82e5\u957f\u65f6\u95f4\u65e0\u54cd\u5e94&#xff0c;\u53ef\u53e6\u5f00\u4e00\u4e2aSSH\u7a97\u53e3&#xff0c;\u6267\u884c tail -f \/root\/cv_resnet18_ocr-detection\/nohup.out&#xff08;\u5982\u4f7f\u7528nohup&#xff09;\u6216\u76f4\u63a5\u67e5\u770b app.py \u6253\u5370\u7684\u5b9e\u65f6\u65e5\u5fd7&#xff0c;\u5bfb\u627e Model loaded successfully \u6216 Starting Gradio app on http:\/\/0.0.0.0:7860 \u7b49\u5173\u952e\u53e5\u3002<\/p>\n<hr \/>\n<h3>2. \u9a8c\u8bc1\u672c\u5730\u7aef\u53e3\u76d1\u542c\u72b6\u6001<\/h3>\n<p>\u8fdb\u7a0b\u5728\u8dd1 \u2260 \u7aef\u53e3\u5728\u542c\u3002\u8fd9\u662f\u65b0\u624b\u6700\u5bb9\u6613\u5ffd\u7565\u7684\u4e00\u73af&#xff1a;\u670d\u52a1\u53ef\u80fd\u7ed1\u5b9a\u4e86\u9519\u8bef\u5730\u5740&#xff0c;\u6216\u88ab\u9632\u706b\u5899\u9759\u9ed8\u62e6\u622a\u3002<\/p>\n<h4>2.1 \u68c0\u67e57860\u7aef\u53e3\u662f\u5426\u88ab\u76d1\u542c<\/h4>\n<p>\u6267\u884c\u4ee5\u4e0b\u4efb\u4e00\u547d\u4ee4&#xff08;\u6548\u679c\u76f8\u540c&#xff09;&#xff1a;<\/p>\n<p># \u65b9\u6cd51&#xff1a;\u4f7f\u7528 lsof&#xff08;\u63a8\u8350&#xff0c;\u4fe1\u606f\u6700\u5168&#xff09;<br \/>\nlsof -ti:7860<\/p>\n<p># \u65b9\u6cd52&#xff1a;\u4f7f\u7528 netstat<br \/>\nnetstat -tuln | grep :7860<\/p>\n<p># \u65b9\u6cd53&#xff1a;\u4f7f\u7528 ss&#xff08;\u73b0\u4ee3\u66ff\u4ee3&#xff09;<br \/>\nss -tuln | grep :7860<\/p>\n<p>\u6b63\u5e38\u5e94\u8fd4\u56de\u8fdb\u7a0bPID&#xff08;\u5982 12345&#xff09;\u6216\u7c7b\u4f3c\u8f93\u51fa&#xff1a;<\/p>\n<p>tcp6 0 0 :::7860 :::* LISTEN<\/p>\n<p>\u274c \u82e5\u65e0\u4efb\u4f55\u8f93\u51fa&#xff0c;\u8bf4\u660e\u670d\u52a1\u672a\u6210\u529f\u7ed1\u5b9a\u7aef\u53e3\u3002\u5e38\u89c1\u539f\u56e0&#xff1a;<\/p>\n<ul>\n<li>app.py \u4e2d\u786c\u7f16\u7801\u4e86 &#8211;server-host 127.0.0.1&#xff08;\u4ec5\u9650\u672c\u5730\u8bbf\u95ee&#xff09;&#xff0c;\u9700\u6539\u4e3a 0.0.0.0&#xff1b;<\/li>\n<li>\u542f\u52a8\u811a\u672c start_app.sh \u672b\u5c3e\u7f3a\u5c11 &#8211;server-host 0.0.0.0 \u53c2\u6570\u3002<\/li>\n<\/ul>\n<p>\u5feb\u901f\u4fee\u590d&#xff1a; \u7f16\u8f91\u542f\u52a8\u811a\u672c&#xff0c;\u786e\u4fdd\u6700\u540e\u4e00\u884c\u7c7b\u4f3c&#xff1a;<\/p>\n<p>python app.py &#8211;server-port 7860 &#8211;server-host 0.0.0.0 &#8211;share False<\/p>\n<p>\u7136\u540e\u91cd\u542f\u670d\u52a1\u3002<\/p>\n<h4>2.2 \u786e\u8ba4\u76d1\u542c\u5730\u5740\u662f 0.0.0.0 \u800c\u975e 127.0.0.1<\/h4>\n<p>\u4ec5\u9760 lsof -ti:7860 \u8fd4\u56dePID\u8fd8\u4e0d\u591f\u3002\u5fc5\u987b\u786e\u8ba4\u76d1\u542c\u7684\u662f\u901a\u914d\u5730\u5740&#xff1a;<\/p>\n<p>lsof -i :7860 | grep LISTEN<\/p>\n<p>\u6b63\u786e\u8f93\u51fa\u793a\u4f8b&#xff1a;<\/p>\n<p>python  12345 root   10u  IPv6 1234567      0t0  TCP *:7860 (LISTEN)<\/p>\n<p>\u5176\u4e2d * \u8868\u793a\u76d1\u542c\u6240\u6709IPv6\u5730\u5740&#xff08;\u7b49\u6548\u4e8e 0.0.0.0&#xff09;\u3002<\/p>\n<p>\u274c \u9519\u8bef\u8f93\u51fa\u793a\u4f8b&#xff1a;<\/p>\n<p>python  12345 root   10u  IPv4 1234567      0t0  TCP localhost:7860 (LISTEN)<\/p>\n<p>\u8fd9\u8868\u793a\u53ea\u76d1\u542c\u672c\u673a\u56de\u73af&#xff0c;\u5916\u90e8\u65e0\u6cd5\u8bbf\u95ee\u3002\u5fc5\u987b\u4fee\u6539\u542f\u52a8\u53c2\u6570\u3002<\/p>\n<hr \/>\n<h3>3. \u6d4b\u8bd5\u672c\u5730\u56de\u73af\u8bbf\u95ee&#xff08;\u7ed5\u8fc7\u7f51\u7edc\u5c42&#xff09;<\/h3>\n<p>\u5982\u679c\u524d\u4e24\u6b65\u90fd\u901a\u8fc7&#xff0c;\u4f46\u6d4f\u89c8\u5668\u4ecd\u6253\u4e0d\u5f00&#xff0c;\u5148\u6392\u9664\u201c\u6d4f\u89c8\u5668\u2192\u670d\u52a1\u5668\u201d\u8fd9\u6bb5\u7f51\u7edc\u94fe\u8def\u95ee\u9898\u3002\u6211\u4eec\u7528\u6700\u539f\u59cb\u7684\u65b9\u5f0f&#xff1a;\u5728\u670d\u52a1\u5668\u672c\u673a\u53d1\u8d77HTTP\u8bf7\u6c42\u3002<\/p>\n<h4>3.1 \u4f7f\u7528curl\u6d4b\u8bd5\u672c\u5730\u8bbf\u95ee<\/h4>\n<p>curl -I http:\/\/127.0.0.1:7860<br \/>\n# \u6216<br \/>\ncurl -I http:\/\/localhost:7860<\/p>\n<p>\u6210\u529f\u54cd\u5e94\u5e94\u5305\u542b&#xff1a;<\/p>\n<p>HTTP\/1.1 200 OK<br \/>\nContent-Type: text\/html; charset&#061;utf-8<br \/>\n&#8230;<\/p>\n<p>\u82e5\u8fd4\u56de HTTP\/1.1 307 Temporary Redirect \u6216 HTTP\/1.1 200 &#043; HTML\u5185\u5bb9&#xff0c;\u8bf4\u660eWebUI\u670d\u52a1\u672c\u8eab\u5b8c\u5168\u5065\u5eb7&#xff0c;\u95ee\u9898100%\u51fa\u5728\u7f51\u7edc\u53ef\u8fbe\u6027\u4e0a\u3002<\/p>\n<p>\u274c \u82e5\u8fd4\u56de curl: (7) Failed to connect to 127.0.0.1 port 7860: Connection refused&#xff0c;\u5219\u95ee\u9898\u4ecd\u5728\u670d\u52a1\u5c42&#xff1a;\u8fdb\u7a0b\u867d\u5728&#xff0c;\u4f46\u672a\u771f\u6b63\u76d1\u542c\u6216\u5df2\u5d29\u6e83\u3002\u56de\u5230\u7b2c1\u6b65\u6df1\u6316\u65e5\u5fd7\u3002<\/p>\n<h4>3.2 \u4f7f\u7528wget\u83b7\u53d6\u9996\u9875HTML&#xff08;\u9a8c\u8bc1\u5b8c\u6574\u54cd\u5e94&#xff09;<\/h4>\n<p>wget -qO- http:\/\/127.0.0.1:7860 | head -n 20<\/p>\n<p>\u4f60\u4f1a\u770b\u5230Gradio\u751f\u6210\u7684HTML\u4ee3\u7801\u7247\u6bb5&#xff0c;\u4f8b\u5982&#xff1a;<\/p>\n<p>&lt;!DOCTYPE html&gt;<br \/>\n&lt;html lang&#061;&#034;en&#034;&gt;<br \/>\n&lt;head&gt;<br \/>\n    &lt;meta charset&#061;&#034;UTF-8&#034;&gt;<br \/>\n    &lt;title&gt;OCR \u6587\u5b57\u68c0\u6d4b\u670d\u52a1&lt;\/title&gt;<br \/>\n    &#8230;<\/p>\n<p>\u8fd9\u8bc1\u660e&#xff1a;\u540e\u7aefAPI\u3001\u524d\u7aef\u9875\u9762\u3001\u9759\u6001\u8d44\u6e90\u5168\u90e8\u5c31\u7eea\u3002\u6b64\u523b&#xff0c;\u4f60\u53ea\u9700\u89e3\u51b3\u201c\u5982\u4f55\u8ba9\u5916\u90e8\u6d4f\u89c8\u5668\u5230\u8fbe\u8fd9\u53f0\u673a\u5668\u76847860\u7aef\u53e3\u201d\u3002<\/p>\n<hr \/>\n<h3>4. \u6392\u67e5\u7f51\u7edc\u4e0e\u5b89\u5168\u7ec4\u7b56\u7565<\/h3>\n<p>\u5f53 curl http:\/\/127.0.0.1:7860 \u6210\u529f&#xff0c;\u4f46 http:\/\/\u4f60\u7684\u516c\u7f51IP:7860 \u5931\u8d25&#xff0c;\u95ee\u9898\u9501\u5b9a\u5728\u7f51\u7edc\u901a\u9053\u3002\u8fd9\u662f\u4e91\u670d\u52a1\u5668&#xff08;\u963f\u91cc\u4e91\u3001\u817e\u8baf\u4e91\u3001AWS\u7b49&#xff09;\u6700\u5178\u578b\u7684\u914d\u7f6e\u9677\u9631\u3002<\/p>\n<h4>4.1 \u68c0\u67e5\u670d\u52a1\u5668\u672c\u5730\u9632\u706b\u5899&#xff08;iptables\/ufw&#xff09;<\/h4>\n<p>\u5927\u591a\u6570Linux\u53d1\u884c\u7248\u9ed8\u8ba4\u542f\u7528\u9632\u706b\u5899\u3002\u5373\u4f7f\u7aef\u53e3\u5728\u76d1\u542c&#xff0c;\u9632\u706b\u5899\u4e5f\u53ef\u80fd\u4e22\u5f03\u5916\u90e8\u8bf7\u6c42\u3002<\/p>\n<h5>Ubuntu\/Debian&#xff08;ufw&#xff09;&#xff1a;<\/h5>\n<p>sudo ufw status verbose<\/p>\n<p>\u6b63\u5e38\u5e94\u663e\u793a&#xff1a;<\/p>\n<p>Status: active<br \/>\nRules:<br \/>\n7860\/tcp (v6)              ALLOW IN    Anywhere (v6)<br \/>\n7860\/tcp                   ALLOW IN    Anywhere<\/p>\n<p>\u274c \u82e5\u672a\u5217\u51fa7860\u7aef\u53e3&#xff0c;\u6267\u884c&#xff1a;<\/p>\n<p>sudo ufw allow 7860<br \/>\nsudo ufw reload<\/p>\n<h5>CentOS\/RHEL&#xff08;firewalld&#xff09;&#xff1a;<\/h5>\n<p>sudo firewall-cmd &#8211;list-ports<br \/>\n# \u6216<br \/>\nsudo firewall-cmd &#8211;list-all | grep 7860<\/p>\n<p>\u5e94\u770b\u5230 7860\/tcp\u3002\u82e5\u65e0&#xff0c;\u6267\u884c&#xff1a;<\/p>\n<p>sudo firewall-cmd &#8211;permanent &#8211;add-port&#061;7860\/tcp<br \/>\nsudo firewall-cmd &#8211;reload<\/p>\n<h4>4.2 \u68c0\u67e5\u4e91\u5e73\u53f0\u5b89\u5168\u7ec4&#xff08;\u91cd\u4e2d\u4e4b\u91cd&#xff01;&#xff09;<\/h4>\n<p>90%\u7684\u201c\u65e0\u6cd5\u8bbf\u95ee\u201d\u95ee\u9898\u6839\u6e90\u5728\u6b64\u3002\u4e91\u5382\u5546\u7684\u5b89\u5168\u7ec4\u662f\u72ec\u7acb\u4e8e\u7cfb\u7edf\u9632\u706b\u5899\u7684\u7b2c\u4e00\u9053\u7f51\u5173\u3002<\/p>\n<p>\u8bf7\u767b\u5f55\u4f60\u7684\u4e91\u63a7\u5236\u53f0&#xff0c;\u627e\u5230\u8be5\u670d\u52a1\u5668\u5b9e\u4f8b&#xff0c;\u8fdb\u5165 \u5b89\u5168\u7ec4\u89c4\u5219 \u2192 \u5165\u65b9\u5411&#xff0c;\u786e\u8ba4\u5b58\u5728\u4e00\u6761\u653e\u884c\u89c4\u5219&#xff1a;<\/p>\n<table>\n<tr>\u534f\u8bae\u7c7b\u578b\u7aef\u53e3\u8303\u56f4\u6388\u6743\u5bf9\u8c61\u8bf4\u660e<\/tr>\n<tbody>\n<tr>\n<td>TCP<\/td>\n<td>7860<\/td>\n<td>0.0.0.0\/0 \u6216\u4f60\u7684IP<\/td>\n<td>\u5141\u8bb8\u4efb\u610fIP\u8bbf\u95ee7860\u7aef\u53e3<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5e38\u89c1\u9519\u8bef&#xff1a;<\/p>\n<ul>\n<li>\u89c4\u5219\u5199\u6210 80\/tcp \u6216 443\/tcp&#xff08;\u53ea\u653e\u884c\u4e86HTTP\/HTTPS&#xff09;&#xff1b;<\/li>\n<li>\u6388\u6743\u5bf9\u8c61\u586b\u4e86 127.0.0.1 \u6216\u5185\u7f51\u6bb5&#xff08;\u5982 172.16.0.0\/12&#xff09;&#xff0c;\u800c\u975e 0.0.0.0\/0&#xff1b;<\/li>\n<li>\u89c4\u5219\u672a\u751f\u6548&#xff08;\u65b0\u5efa\u540e\u5fd8\u8bb0\u70b9\u51fb\u201c\u4fdd\u5b58\u201d\u6216\u201c\u5e94\u7528\u201d&#xff09;\u3002<\/li>\n<\/ul>\n<p>\u9a8c\u8bc1\u65b9\u6cd5&#xff1a;\u4e34\u65f6\u5c06\u6388\u6743\u5bf9\u8c61\u8bbe\u4e3a 0.0.0.0\/0&#xff0c;\u4fdd\u5b58\u540e\u7acb\u523b\u6d4b\u8bd5\u6d4f\u89c8\u5668\u8bbf\u95ee\u3002\u82e5\u6210\u529f&#xff0c;\u8bf4\u660e\u539f\u89c4\u5219\u914d\u7f6e\u6709\u8bef\u3002<\/p>\n<hr \/>\n<h3>5. \u9a8c\u8bc1DNS\u4e0e\u57df\u540d\u89e3\u6790&#xff08;\u5982\u4f7f\u7528\u57df\u540d\u8bbf\u95ee&#xff09;<\/h3>\n<p>\u5982\u679c\u4f60\u662f\u901a\u8fc7 http:\/\/your-domain.com:7860 \u8bbf\u95ee&#xff0c;\u800c\u975e\u76f4\u63a5IP&#xff0c;\u8bf7\u989d\u5916\u68c0\u67e5&#xff1a;<\/p>\n<h4>5.1 \u57df\u540d\u662f\u5426\u6b63\u786e\u89e3\u6790\u5230\u670d\u52a1\u5668IP<\/h4>\n<p>\u5728\u672c\u5730\u7535\u8111&#xff08;\u975e\u670d\u52a1\u5668&#xff09;\u6267\u884c&#xff1a;<\/p>\n<p>ping your-domain.com<br \/>\n# \u6216<br \/>\nnslookup your-domain.com<\/p>\n<p>\u5e94\u8fd4\u56de\u4f60\u7684\u670d\u52a1\u5668\u516c\u7f51IP\u3002<\/p>\n<p>\u274c \u82e5\u8fd4\u56de\u9519\u8befIP\u3001\u8d85\u65f6\u6216NXDOMAIN&#xff0c;\u8bf4\u660eDNS\u672a\u914d\u7f6e\u6216\u7f13\u5b58\u672a\u66f4\u65b0\u3002\u6b64\u65f6\u8bf7\u6539\u7528 http:\/\/\u4f60\u7684\u670d\u52a1\u5668IP:7860 \u76f4\u63a5\u6d4b\u8bd5&#xff0c;\u7ed5\u8fc7DNS\u73af\u8282\u3002<\/p>\n<h4>5.2 \u68c0\u67e5\u53cd\u5411\u4ee3\u7406\u914d\u7f6e&#xff08;Nginx\/Apache&#xff09;<\/h4>\n<p>\u82e5\u4f60\u7528Nginx\u505a\u4e86\u53cd\u5411\u4ee3\u7406&#xff08;\u4f8b\u5982\u60f3\u7528 https:\/\/ocr.your-domain.com \u4ee3\u66ff :7860&#xff09;&#xff0c;\u8bf7\u68c0\u67e5Nginx\u914d\u7f6e\u4e2d proxy_pass \u662f\u5426\u6307\u5411 http:\/\/127.0.0.1:7860&#xff0c;\u4e14 proxy_set_header \u6b63\u786e\u4f20\u9012Host\u5934\u3002<\/p>\n<p>\u63d0\u793a&#xff1a;\u8be5\u955c\u50cf\u9ed8\u8ba4\u4e0d\u4f9d\u8d56Nginx\u3002\u9664\u975e\u4f60\u4e3b\u52a8\u914d\u7f6e&#xff0c;\u5426\u5219\u6b64\u6b65\u53ef\u8df3\u8fc7\u3002\u9996\u6b21\u6392\u67e5\u8bf7\u4e00\u5f8b\u4f7f\u7528 http:\/\/\u670d\u52a1\u5668IP:7860 \u76f4\u8fde\u3002<\/p>\n<hr \/>\n<h3>6. \u7ec8\u6781\u9a8c\u8bc1&#xff1a;\u4ece\u5916\u90e8\u7f51\u7edc\u53d1\u8d77\u7aef\u53e3\u63a2\u6d4b<\/h3>\n<p>\u5f53\u6240\u6709\u672c\u5730\u68c0\u67e5\u90fd\u901a\u8fc7&#xff0c;\u4f46\u5916\u90e8\u4ecd\u65e0\u6cd5\u8bbf\u95ee&#xff0c;\u6267\u884c\u4e00\u6b21\u201c\u4e0a\u5e1d\u89c6\u89d2\u201d\u63a2\u6d4b&#xff1a;<\/p>\n<h4>6.1 \u4f7f\u7528\u5728\u7ebf\u7aef\u53e3\u68c0\u6d4b\u5de5\u5177<\/h4>\n<p>\u8bbf\u95ee https:\/\/www.yougetsignal.com\/tools\/open-ports\/&#xff08;\u6216\u5176\u4ed6\u53ef\u4fe1\u7aef\u53e3\u626b\u63cf\u7ad9&#xff09;&#xff0c;\u8f93\u5165\u4f60\u7684\u670d\u52a1\u5668IP\u548c\u7aef\u53e3 7860&#xff0c;\u70b9\u51fb\u68c0\u6d4b\u3002<\/p>\n<p>\u663e\u793a Open \u2192 \u8bc1\u660e\u7aef\u53e3\u5bf9\u5916\u53ef\u8fbe&#xff0c;\u95ee\u9898\u53ef\u80fd\u51fa\u5728\u6d4f\u89c8\u5668\u7f13\u5b58\u3001\u4ee3\u7406\u8bbe\u7f6e\u6216\u672c\u5730\u7f51\u7edc\u9650\u5236&#xff08;\u5982\u516c\u53f8\u9632\u706b\u5899\u5c4f\u853d\u975e\u6807\u7aef\u53e3&#xff09;\u3002<\/p>\n<p>\u274c \u663e\u793a Closed \u6216 Filtered \u2192 100%\u786e\u8ba4\u662f\u4e91\u5b89\u5168\u7ec4\u6216\u672c\u5730\u9632\u706b\u5899\u62e6\u622a&#xff0c;\u56de\u5230\u7b2c4\u6b65\u9010\u9879\u590d\u6838\u3002<\/p>\n<h4>6.2 \u4ece\u53e6\u4e00\u53f0\u4e91\u670d\u52a1\u5668\u6d4b\u8bd5&#xff08;\u8de8\u673a\u623f\u9a8c\u8bc1&#xff09;<\/h4>\n<p>\u82e5\u6761\u4ef6\u5141\u8bb8&#xff0c;\u8d77\u4e00\u53f0\u540c\u533a\u57df\u7684\u4e34\u65f6\u4e91\u670d\u52a1\u5668&#xff08;\u54ea\u6015\u6700\u4f4e\u914d&#xff09;&#xff0c;\u5728\u5176\u7ec8\u7aef\u6267\u884c&#xff1a;<\/p>\n<p>curl -I http:\/\/\u4f60\u7684\u670d\u52a1\u5668IP:7860<\/p>\n<p>\u6210\u529f \u2192 \u8bc1\u660e\u4f60\u7684\u670d\u52a1\u5668\u7f51\u7edc\u51fa\u53e3\u6b63\u5e38&#xff0c;\u95ee\u9898\u5728\u5ba2\u6237\u7aef\u4fa7&#xff08;\u6d4f\u89c8\u5668\/\u672c\u5730\u7f51\u7edc&#xff09;&#xff1b; \u274c \u5931\u8d25 \u2192 100%\u786e\u8ba4\u662f\u4f60\u7684\u670d\u52a1\u5668\u5165\u65b9\u5411\u7b56\u7565\u95ee\u9898&#xff08;\u5b89\u5168\u7ec4\/\u9632\u706b\u5899&#xff09;\u3002<\/p>\n<hr \/>\n<h3>7. \u5e38\u89c1\u8bef\u533a\u4e0e\u907f\u5751\u6307\u5357<\/h3>\n<p>\u4ee5\u4e0b\u8fd9\u4e9b\u201c\u770b\u4f3c\u5408\u7406\u201d\u7684\u64cd\u4f5c&#xff0c;\u6070\u6070\u662f\u5bfc\u81f4WebUI\u65e0\u6cd5\u8bbf\u95ee\u7684\u9690\u5f62\u6740\u624b&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u8bef\u533a1&#xff1a;\u201c\u6211\u5df2\u7ecf\u5f00\u4e8680\u7aef\u53e3&#xff0c;7860\u5e94\u8be5\u4e5f\u901a\u201d \u274c \u5b89\u5168\u7ec4\/\u9632\u706b\u5899\u5fc5\u987b\u663e\u5f0f\u653e\u884c\u6bcf\u4e2a\u7aef\u53e3\u3002\u5f0080\u2260\u5f007860\u3002<\/p>\n<\/li>\n<li>\n<p>\u8bef\u533a2&#xff1a;\u201c\u6211\u7528root\u542f\u52a8\u4e86&#xff0c;\u80af\u5b9a\u6ca1\u95ee\u9898\u201d \u8be5\u955c\u50cf start_app.sh \u9ed8\u8ba4\u4ee5root\u8fd0\u884c&#xff0c;\u4f46\u82e5\u4f60\u66fe\u624b\u52a8 chmod -R 777 \/root\/cv_resnet18_ocr-detection&#xff0c;\u53ef\u80fd\u5bfc\u81f4Gradio\u56e0\u6743\u9650\u8fc7\u9ad8\u62d2\u7edd\u542f\u52a8&#xff08;\u90e8\u5206\u7248\u672c\u884c\u4e3a&#xff09;\u3002\u5efa\u8bae\u4fdd\u6301\u76ee\u5f55\u6743\u9650\u4e3a 755\u3002<\/p>\n<\/li>\n<li>\n<p>\u8bef\u533a3&#xff1a;\u201c\u6211\u91cd\u542f\u4e86\u670d\u52a1\u5668&#xff0c;\u670d\u52a1\u5c31\u81ea\u52a8\u8d77\u6765\u4e86\u201d \u274c start_app.sh \u662f\u624b\u52a8\u811a\u672c&#xff0c;\u4e0d\u4f1a\u5f00\u673a\u81ea\u542f\u3002\u5982\u9700\u6301\u4e45\u5316&#xff0c;\u8bf7\u81ea\u884c\u914d\u7f6esystemd\u670d\u52a1\u6216\u6dfb\u52a0\u5230 \/etc\/rc.local\u3002<\/p>\n<\/li>\n<li>\n<p>\u8bef\u533a4&#xff1a;\u201c\u6211\u6539\u4e86app.py\u91cc\u7684\u7aef\u53e3\u4e3a8080&#xff0c;\u7136\u540e\u8bbf\u95ee:8080\u201d \u5fc5\u987b\u540c\u6b65\u4fee\u6539 start_app.sh \u4e2d\u7684\u542f\u52a8\u53c2\u6570&#xff0c;\u5426\u5219\u811a\u672c\u4ecd\u8c03\u7528 :7860&#xff0c;\u9020\u6210\u7aef\u53e3\u9519\u4f4d\u3002<\/p>\n<\/li>\n<li>\n<p>\u8bef\u533a5&#xff1a;\u201c\u6211\u7528\u624b\u673a4G\u7f51\u7edc\u8bbf\u95ee\u4e0d\u4e86&#xff0c;\u4e00\u5b9a\u662f\u670d\u52a1\u5668\u95ee\u9898\u201d \u5148\u7528\u540c\u4e00WiFi\u4e0b\u7684\u7b14\u8bb0\u672c\u6d4b\u8bd5\u3002\u5f88\u591a\u5bb6\u5ead\u8def\u7531\u5668\u9ed8\u8ba4\u7981\u6b62\u5185\u7f51\u8bbe\u5907\u8bbf\u95ee\u672c\u7f51\u7edc\u7684\u516c\u7f51IP&#xff08;NAT\u56de\u6d41\u95ee\u9898&#xff09;&#xff0c;\u8fd9\u662f\u8def\u7531\u5668\u9650\u5236&#xff0c;\u4e0e\u670d\u52a1\u5668\u65e0\u5173\u3002<\/p>\n<\/li>\n<\/ul>\n<hr \/>\n<h3>8. \u9644&#xff1a;\u4e00\u952e\u8bca\u65ad\u811a\u672c&#xff08;\u590d\u5236\u5373\u7528&#xff09;<\/h3>\n<p>\u4e3a\u8282\u7701\u4f60\u53cd\u590d\u8f93\u5165\u547d\u4ee4\u7684\u65f6\u95f4&#xff0c;\u6211\u4e3a\u4f60\u51c6\u5907\u4e86\u4e00\u4e2a5\u884c\u8bca\u65ad\u811a\u672c\u3002\u590d\u5236\u7c98\u8d34\u5230\u670d\u52a1\u5668\u7ec8\u7aef&#xff0c;\u56de\u8f66\u8fd0\u884c&#xff0c;\u5b83\u4f1a\u81ea\u52a8\u6267\u884c\u6838\u5fc3\u68c0\u67e5\u5e76\u7ed9\u51fa\u7ed3\u8bba&#xff1a;<\/p>\n<p>echo &#034;&#061;&#061;&#061; cv_resnet18_ocr-detection WebUI \u8fde\u901a\u6027\u8bca\u65ad &#061;&#061;&#061;&#034;; \\\\<br \/>\necho &#034;1. \u8fdb\u7a0b\u68c0\u67e5:&#034;; ps aux | grep -E &#039;gradio|app\\\\.py&#039; | grep -v grep; \\\\<br \/>\necho &#034;2. \u7aef\u53e3\u76d1\u542c:&#034;; lsof -ti:7860 2&gt;\/dev\/null || echo &#034;  \u672a\u76d1\u542c&#034;; \\\\<br \/>\necho &#034;3. \u672c\u5730\u8bbf\u95ee:&#034;; curl -s -o \/dev\/null -w &#034;%{http_code}\\\\n&#034; http:\/\/127.0.0.1:7860 || echo &#034;  \u8fde\u63a5\u5931\u8d25&#034;; \\\\<br \/>\necho &#034;4. \u9632\u706b\u5899\u72b6\u6001:&#034;; sudo ufw status 2&gt;\/dev\/null | grep -E &#034;(Status|7860)&#034; | head -n 5 || echo &#034;  \u975eUbuntu\u7cfb\u7edf&#xff0c;\u8df3\u8fc7&#034;<\/p>\n<p>\u6b63\u5e38\u8f93\u51fa\u793a\u4f8b&#xff1a;<\/p>\n<p>&#061;&#061;&#061; cv_resnet18_ocr-detection WebUI \u8fde\u901a\u6027\u8bca\u65ad &#061;&#061;&#061;<br \/>\n1. \u8fdb\u7a0b\u68c0\u67e5:<br \/>\nroot     12345  0.8  8.2 2456789 167890 ?  Sl   10:22   0:15 python3 app.py &#8211;server-port 7860<br \/>\n2. \u7aef\u53e3\u76d1\u542c:<br \/>\n12345<br \/>\n3. \u672c\u5730\u8bbf\u95ee:<br \/>\n200<br \/>\n4. \u9632\u706b\u5899\u72b6\u6001:<br \/>\nStatus: active<br \/>\n7860\/tcp                   ALLOW IN    Anywhere<\/p>\n<hr \/>\n<p>\u83b7\u53d6\u66f4\u591aAI\u955c\u50cf<\/p>\n<p>\u60f3\u63a2\u7d22\u66f4\u591aAI\u955c\u50cf\u548c\u5e94\u7528\u573a\u666f&#xff1f;\u8bbf\u95ee CSDN\u661f\u56fe\u955c\u50cf\u5e7f\u573a&#xff0c;\u63d0\u4f9b\u4e30\u5bcc\u7684\u9884\u7f6e\u955c\u50cf&#xff0c;\u8986\u76d6\u5927\u6a21\u578b\u63a8\u7406\u3001\u56fe\u50cf\u751f\u6210\u3001\u89c6\u9891\u751f\u6210\u3001\u6a21\u578b\u5fae\u8c03\u7b49\u591a\u4e2a\u9886\u57df&#xff0c;\u652f\u6301\u4e00\u952e\u90e8\u7f72\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u670d\u52a1\u5668\u65e0\u6cd5\u8bbf\u95eeWebUI&#xff1f;\u8fd9\u51e0\u4e2a\u6392\u67e5\u6b65\u9aa4\u5fc5\u770b<br \/>\n\u5f53\u4f60\u5174\u51b2\u51b2\u5730\u6267\u884c\u5b8c bash start_app.sh&#xff0c;\u7ec8\u7aef\u4e0a\u4e5f\u6e05\u6670\u5730\u6253\u5370\u51fa&#xff1a; <\/p>\n<p>WebUI \u670d\u52a1\u5730\u5740: http:\/\/0.0.0.0:7860<br \/>\n\u53ef\u4e00\u6253\u5f00\u6d4f\u89c8\u5668\u8f93\u5165 http:\/\/\u4f60\u7684\u670d\u52a1\u5668IP:7860&#xff0c;\u5374\u53ea\u770b\u5230\u201c\u65e0\u6cd5\u8bbf\u95ee\u6b64\u7f51\u7ad9\u201d\u201c\u8fde\u63a5\u88ab\u62d2\u7edd\u201d\u6216\u201c\u8be5\u7f51\u9875\u65e0\u6cd5\u6b63\u5e38\u8fd0\u4f5c\u201d\u2026\u2026\u522b\u6025&#xff0c;\u8fd9\u7edd\u4e0d\u662f\u6a21\u578b\u672c\u8eab\u51fa\u4e86\u95ee\u9898&#xff0c;\u800c\u662f\u5178\u578b\u7684\u670d\u52a1\u53ef\u8fbe\u6027\u6545\u969c\u2014\u2014\u5b83\u53d1\u751f\u5728\u6a21\u578b<\/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":[7425,6851,756,523],"topic":[],"class_list":["post-70697","post","type-post","status-publish","format-standard","hentry","category-server","tag-7425","tag-gpu","tag-ocr","tag-523"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u670d\u52a1\u5668\u65e0\u6cd5\u8bbf\u95eeWebUI\uff1f\u8fd9\u51e0\u4e2a\u6392\u67e5\u6b65\u9aa4\u5fc5\u770b - \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\/70697.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u670d\u52a1\u5668\u65e0\u6cd5\u8bbf\u95eeWebUI\uff1f\u8fd9\u51e0\u4e2a\u6392\u67e5\u6b65\u9aa4\u5fc5\u770b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u670d\u52a1\u5668\u65e0\u6cd5\u8bbf\u95eeWebUI&#xff1f;\u8fd9\u51e0\u4e2a\u6392\u67e5\u6b65\u9aa4\u5fc5\u770b \u5f53\u4f60\u5174\u51b2\u51b2\u5730\u6267\u884c\u5b8c bash start_app.sh&#xff0c;\u7ec8\u7aef\u4e0a\u4e5f\u6e05\u6670\u5730\u6253\u5370\u51fa&#xff1a;  WebUI \u670d\u52a1\u5730\u5740: http:\/\/0.0.0.0:7860 \u53ef\u4e00\u6253\u5f00\u6d4f\u89c8\u5668\u8f93\u5165 http:\/\/\u4f60\u7684\u670d\u52a1\u5668IP:7860&#xff0c;\u5374\u53ea\u770b\u5230\u201c\u65e0\u6cd5\u8bbf\u95ee\u6b64\u7f51\u7ad9\u201d\u201c\u8fde\u63a5\u88ab\u62d2\u7edd\u201d\u6216\u201c\u8be5\u7f51\u9875\u65e0\u6cd5\u6b63\u5e38\u8fd0\u4f5c\u201d\u2026\u2026\u522b\u6025&#xff0c;\u8fd9\u7edd\u4e0d\u662f\u6a21\u578b\u672c\u8eab\u51fa\u4e86\u95ee\u9898&#xff0c;\u800c\u662f\u5178\u578b\u7684\u670d\u52a1\u53ef\u8fbe\u6027\u6545\u969c\u2014\u2014\u5b83\u53d1\u751f\u5728\u6a21\u578b\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/70697.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-02-02T00:50:36+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\/70697.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/70697.html\",\"name\":\"\u670d\u52a1\u5668\u65e0\u6cd5\u8bbf\u95eeWebUI\uff1f\u8fd9\u51e0\u4e2a\u6392\u67e5\u6b65\u9aa4\u5fc5\u770b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-02-02T00:50:36+00:00\",\"dateModified\":\"2026-02-02T00:50:36+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/70697.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/70697.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/70697.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u670d\u52a1\u5668\u65e0\u6cd5\u8bbf\u95eeWebUI\uff1f\u8fd9\u51e0\u4e2a\u6392\u67e5\u6b65\u9aa4\u5fc5\u770b\"}]},{\"@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":"\u670d\u52a1\u5668\u65e0\u6cd5\u8bbf\u95eeWebUI\uff1f\u8fd9\u51e0\u4e2a\u6392\u67e5\u6b65\u9aa4\u5fc5\u770b - \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\/70697.html","og_locale":"zh_CN","og_type":"article","og_title":"\u670d\u52a1\u5668\u65e0\u6cd5\u8bbf\u95eeWebUI\uff1f\u8fd9\u51e0\u4e2a\u6392\u67e5\u6b65\u9aa4\u5fc5\u770b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u670d\u52a1\u5668\u65e0\u6cd5\u8bbf\u95eeWebUI&#xff1f;\u8fd9\u51e0\u4e2a\u6392\u67e5\u6b65\u9aa4\u5fc5\u770b \u5f53\u4f60\u5174\u51b2\u51b2\u5730\u6267\u884c\u5b8c bash start_app.sh&#xff0c;\u7ec8\u7aef\u4e0a\u4e5f\u6e05\u6670\u5730\u6253\u5370\u51fa&#xff1a;  WebUI \u670d\u52a1\u5730\u5740: http:\/\/0.0.0.0:7860 \u53ef\u4e00\u6253\u5f00\u6d4f\u89c8\u5668\u8f93\u5165 http:\/\/\u4f60\u7684\u670d\u52a1\u5668IP:7860&#xff0c;\u5374\u53ea\u770b\u5230\u201c\u65e0\u6cd5\u8bbf\u95ee\u6b64\u7f51\u7ad9\u201d\u201c\u8fde\u63a5\u88ab\u62d2\u7edd\u201d\u6216\u201c\u8be5\u7f51\u9875\u65e0\u6cd5\u6b63\u5e38\u8fd0\u4f5c\u201d\u2026\u2026\u522b\u6025&#xff0c;\u8fd9\u7edd\u4e0d\u662f\u6a21\u578b\u672c\u8eab\u51fa\u4e86\u95ee\u9898&#xff0c;\u800c\u662f\u5178\u578b\u7684\u670d\u52a1\u53ef\u8fbe\u6027\u6545\u969c\u2014\u2014\u5b83\u53d1\u751f\u5728\u6a21\u578b","og_url":"https:\/\/www.wsisp.com\/helps\/70697.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-02-02T00:50:36+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\/70697.html","url":"https:\/\/www.wsisp.com\/helps\/70697.html","name":"\u670d\u52a1\u5668\u65e0\u6cd5\u8bbf\u95eeWebUI\uff1f\u8fd9\u51e0\u4e2a\u6392\u67e5\u6b65\u9aa4\u5fc5\u770b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-02-02T00:50:36+00:00","dateModified":"2026-02-02T00:50:36+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/70697.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/70697.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/70697.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u670d\u52a1\u5668\u65e0\u6cd5\u8bbf\u95eeWebUI\uff1f\u8fd9\u51e0\u4e2a\u6392\u67e5\u6b65\u9aa4\u5fc5\u770b"}]},{"@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\/70697","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=70697"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/70697\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=70697"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=70697"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=70697"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=70697"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}