{"id":80806,"date":"2026-03-06T04:17:38","date_gmt":"2026-03-05T20:17:38","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/80806.html"},"modified":"2026-03-06T04:17:38","modified_gmt":"2026-03-05T20:17:38","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e6%90%ad%e5%bb%barocket-chat%e5%9b%a2%e9%98%9f%e5%8d%8f%e4%bd%9c%e5%b9%b3%e5%8f%b0","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/80806.html","title":{"rendered":"\u5982\u4f55\u5728\u670d\u52a1\u5668\u4e0a\u642d\u5efaRocket.Chat\u56e2\u961f\u534f\u4f5c\u5e73\u53f0"},"content":{"rendered":"<h4 id=\"1.-%E7%AE%80%E4%BB%8B\">1. \u7b80\u4ecb<\/h4>\n<p>\u4f60\u662f\u4e0d\u662f\u5728\u5bfb\u627e\u4e00\u4e2a\u65e2\u5f00\u6e90\u53c8\u5b8c\u5168\u514d\u8d39\u7684WEB\u804a\u5929\u7cfb\u7edf&#xff1f;\u5982\u679c\u662f&#xff0c;\u90a3Rocket.Chat\u6216\u8bb8\u5c31\u662f\u4f60\u8981\u627e\u7684\u7406\u60f3\u5de5\u5177\u3002\u5b83\u7684\u6838\u5fc3\u90e8\u5206\u57fa\u4e8eWEB&#xff0c;\u652f\u6301\u8de8\u5e73\u53f0\u5ba2\u6237\u7aef\u2014\u2014\u65e0\u8bba\u4f60\u4f7f\u7528Windows\u3001macOS\u8fd8\u662fLinux&#xff0c;\u90fd\u80fd\u8f7b\u677e\u627e\u5230\u76f8\u5e94\u7684\u684c\u9762\u5ba2\u6237\u7aef\u3002\u800c\u5bf9\u4e8e\u5b89\u5353\u548ciOS\u7528\u6237&#xff0c;\u4e5f\u80fd\u5728Google Play\u548cApp Store\u4e2d\u8f7b\u677e\u627e\u5230\u76f8\u5e94\u7684\u79fb\u52a8\u7aef\u7248\u672c\u3002<\/p>\n<p>\u4f60\u53ef\u80fd\u4f1a\u89c9\u5f97&#xff0c;Rocket.Chat\u53ea\u662f\u4e00\u4e2a\u666e\u901a\u7684\u804a\u5929\u5de5\u5177&#xff0c;\u4f46\u5b83\u8fdc\u4e0d\u6b62\u6b64\u3002\u66f4\u51c6\u786e\u5730\u8bf4&#xff0c;\u5b83\u662f\u4e00\u4e2a\u529f\u80fd\u5f3a\u5927\u7684\u56e2\u961f\u534f\u4f5c\u5e73\u53f0&#xff0c;\u80fd\u5728\u591a\u79cd\u573a\u666f\u4e2d\u52a9\u529b\u56e2\u961f\u6c9f\u901a\u3002\u5b83\u4e0d\u4ec5\u652f\u6301\u5404\u79cd\u804a\u5929\u529f\u80fd&#xff0c;\u8fd8\u80fd\u8f7b\u677e\u878d\u5165\u5230\u4f60\u56e2\u961f\u7684\u5de5\u4f5c\u6d41\u4e2d&#xff0c;\u8ba9\u6bcf\u4e2a\u6210\u5458\u90fd\u80fd\u4fdd\u6301\u7d27\u5bc6\u8054\u7cfb\u3002<\/p>\n<h4 id=\"1.1-%E4%B8%BB%E8%A6%81%E7%89%B9%E7%82%B9\">1.1 \u4e3b\u8981\u7279\u70b9<\/h4>\n<p>\u5728\u6df1\u5165\u8bb2\u89e3\u5982\u4f55\u642d\u5efaRocket.Chat\u4e4b\u524d&#xff0c;\u6211\u5148\u7ed9\u5927\u5bb6\u5206\u4eab\u4e00\u4e0b\u8fd9\u4e2a\u5de5\u5177\u7684\u4e00\u4e9b\u4eae\u70b9\u529f\u80fd\u3002\u8bf4\u5b9e\u8bdd&#xff0c;\u5b83\u7684\u529f\u80fd\u5b9e\u5728\u662f\u591a\u5230\u8ba9\u4eba\u773c\u82b1\u7f2d\u4e71\u3002\u4ee5\u4e0b\u662f\u6211\u6574\u7406\u7684\u51e0\u4e2a\u5173\u952e\u7279\u70b9&#xff0c;\u5927\u5bb6\u53ef\u4ee5\u53c2\u8003\u4e00\u4e0b&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u516c\u5171\u9891\u9053\u804a\u5929&#xff1a;\u60f3\u8c61\u4e00\u4e0bQQ\u7fa4\u6216Telegram\u7fa4\u7ec4&#xff0c;\u4f60\u53ef\u4ee5\u81ea\u7531\u521b\u5efa\u591a\u4e2a\u9891\u9053&#xff0c;\u7ec4\u7ec7\u4e0d\u540c\u7684\u8bdd\u9898\u8ba8\u8bba&#xff0c;\u65b9\u4fbf\u56e2\u961f\u534f\u4f5c\u3002<\/p>\n<\/li>\n<li>\n<p>\u9891\u9053\u53ea\u8bfb\u529f\u80fd&#xff1a;\u7c7b\u4f3c\u4e8eTelegram\u7684\u9891\u9053\u7cfb\u7edf&#xff0c;\u53ef\u4ee5\u8ba9\u9891\u9053\u4e2d\u53ea\u6709\u521b\u5efa\u8005\u53d1\u8a00&#xff0c;\u9002\u5408\u4e00\u4e9b\u5b98\u65b9\u901a\u77e5\u6216\u91cd\u8981\u4fe1\u606f\u53d1\u5e03\u3002<\/p>\n<\/li>\n<li>\n<p>\u79c1\u4eba\u5bf9\u8bdd&#xff1a;\u60f3\u8981\u8fdb\u884c\u79c1\u5bc6\u7684\u804a\u5929&#xff1f;\u5c31\u50cfQQ\u597d\u53cb\u4e4b\u95f4\u7684\u79c1\u4fe1\u4e00\u6837&#xff0c;\u4fdd\u5bc6\u6027\u66f4\u5f3a\u3002<\/p>\n<\/li>\n<li>\n<p>\u65e0\u8bb0\u5f55\u5bf9\u8bdd&#xff1a;\u8fd9\u9879\u529f\u80fd\u5c31\u50cf\u201c\u9605\u540e\u5373\u711a\u201d&#xff0c;\u9002\u5408\u8ba8\u8bba\u4e00\u4e9b\u654f\u611f\u5185\u5bb9&#xff0c;\u786e\u4fdd\u4fe1\u606f\u5728\u9605\u8bfb\u540e\u4e0d\u518d\u7559\u5b58\u3002<\/p>\n<\/li>\n<li>\n<p>&#064;\u529f\u80fd&#xff1a;\u5728\u7fa4\u7ec4\u6216\u9891\u9053\u4e2d\u63d0\u5230\u67d0\u4e2a\u4eba\u65f6&#xff0c;\u4f7f\u7528\u201c&#064;\u7528\u6237\u540d\u201d\u529f\u80fd\u53ef\u4ee5\u63d0\u9192\u5bf9\u65b9\u67e5\u770b\u4fe1\u606f\u3002<\/p>\n<\/li>\n<li>\n<p>\u8bed\u97f3\u548c\u89c6\u9891\u901a\u8bdd&#xff1a;\u652f\u6301\u8bed\u97f3\u548c\u89c6\u9891\u804a\u5929&#xff0c;\u4e0d\u7ba1\u662f\u8fdc\u7a0b\u4f1a\u8bae\u8fd8\u662f\u56e2\u961f\u8ba8\u8bba&#xff0c;\u90fd\u80fd\u8f7b\u677e\u5e94\u5bf9\u3002<\/p>\n<\/li>\n<li>\n<p>\u94fe\u63a5\u9884\u89c8&#xff1a;\u53d1\u9001\u7f51\u5740\u65f6&#xff0c;Rocket.Chat\u80fd\u591f\u81ea\u52a8\u8bfb\u53d6\u7f51\u7ad9\u7684\u6807\u9898\u548c\u63cf\u8ff0&#xff0c;\u7c7b\u4f3c\u4e8eTelegram\u7684\u94fe\u63a5\u9884\u89c8\u529f\u80fd\u3002<\/p>\n<\/li>\n<li>\n<p>\u6587\u4ef6\u5171\u4eab&#xff1a;\u652f\u6301\u6587\u4ef6\u4e0a\u4f20\u3001\u4e0b\u8f7d\u548c\u5171\u4eab&#xff0c;\u534f\u4f5c\u8fc7\u7a0b\u4e2d&#xff0c;\u6587\u4ef6\u4ea4\u6362\u4e0d\u518d\u56f0\u96be\u3002<\/p>\n<\/li>\n<li>\n<p>\u5f3a\u5927\u7684\u641c\u7d22\u529f\u80fd&#xff1a;\u65e0\u8bba\u662f\u7528\u6237\u3001\u7fa4\u7ec4&#xff0c;\u8fd8\u662f\u5386\u53f2\u6d88\u606f&#xff0c;\u90fd\u80fd\u901a\u8fc7\u641c\u7d22\u529f\u80fd\u5feb\u901f\u627e\u5230\u3002<\/p>\n<\/li>\n<li>\n<p>\u81ea\u5b9a\u4e49\u8868\u60c5&#xff1a;\u7ba1\u7406\u5458\u53ef\u4ee5\u8bbe\u7f6e\u81ea\u5b9a\u4e49\u804a\u5929\u8868\u60c5&#xff0c;\u589e\u5f3a\u56e2\u961f\u6c1b\u56f4\u3002<\/p>\n<\/li>\n<li>\n<p>\u7ec6\u81f4\u7684\u7528\u6237\u6743\u9650\u8bbe\u7f6e&#xff1a;\u7ba1\u7406\u5458\u53ef\u4ee5\u6839\u636e\u4e0d\u540c\u7528\u6237\u7ec4\u8bbe\u7f6e\u4e0d\u540c\u6743\u9650&#xff0c;\u786e\u4fdd\u56e2\u961f\u6210\u5458\u53ea\u80fd\u8bbf\u95ee\u4ed6\u4eec\u9700\u8981\u7684\u4fe1\u606f\u3002<\/p>\n<\/li>\n<li>\n<p>\u5b8c\u5168\u81ea\u5b9a\u4e49\u529f\u80fd&#xff1a;\u4eceCSS\u5230\u7ad9\u70b9LOGO\u3001\u63cf\u8ff0\u751a\u81f3\u6ce8\u518c\u529f\u80fd&#xff0c;\u90fd\u53ef\u4ee5\u6839\u636e\u9700\u6c42\u8fdb\u884c\u81ea\u5b9a\u4e49\u8bbe\u7f6e\u3002<\/p>\n<\/li>\n<li>\n<p>\u989d\u5916\u652f\u6301&#xff1a;\u5982OAUTH\u7b2c\u4e09\u65b9\u767b\u5f55\u3001\u5916\u90e8\u804a\u5929\u7a97\u53e3\u7b49&#xff0c;\u8fdb\u4e00\u6b65\u6269\u5c55\u4e86\u7cfb\u7edf\u7684\u529f\u80fd\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u8fd9\u4e9b\u529f\u80fd\u542c\u8d77\u6765\u662f\u4e0d\u662f\u633a\u5438\u5f15\u4eba\u7684&#xff1f;\u5982\u679c\u4f60\u4e5f\u5fc3\u52a8\u4e86&#xff0c;\u4f55\u4e0d\u4eb2\u81ea\u52a8\u624b\u642d\u5efa\u4e00\u4e0b&#xff0c;\u4f53\u9a8c\u4e00\u4e0b\u5b83\u5e26\u6765\u7684\u4fbf\u5229&#xff1f;<\/p>\n<h3 id=\"2.-%E9%A1%B9%E7%9B%AE%E5%B1%95%E7%A4%BA\">2. \u9879\u76ee\u5c55\u793a<\/h3>\n<ul>\n<li>\n<p>GitHub\u539f\u9879\u76ee\u5730\u5740&#xff1a;Rocket.Chat GitHub<\/p>\n<\/li>\n<li>\n<p>\u5b98\u7f51\u5730\u5740&#xff1a;Rocket.Chat\u5b98\u7f51<\/p>\n<\/li>\n<li>\n<p>\u6587\u6863\u5730\u5740&#xff1a;Rocket.Chat\u6587\u6863<\/p>\n<\/li>\n<\/ul>\n<p>\u4e3a\u4e86\u7ed9\u5927\u5bb6\u66f4\u76f4\u89c2\u7684\u611f\u53d7&#xff0c;\u4ee5\u4e0b\u662f\u51e0\u5f20Rocket.Chat\u754c\u9762\u7684\u622a\u56fe\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"285\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/03\/20260305201735-69a9e4dfebf3b.png\" width=\"791\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"300\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/03\/20260305201736-69a9e4e026c04.png\" width=\"789\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"360\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/03\/20260305201736-69a9e4e03db5b.png\" width=\"789\" \/><\/p>\n<h3 id=\"3.-%E6%90%AD%E5%BB%BA%E7%8E%AF%E5%A2%83\">3. \u642d\u5efa\u73af\u5883<\/h3>\n<p>\u4e3a\u4e86\u987a\u5229\u642d\u5efaRocket.Chat&#xff0c;\u9996\u5148\u9700\u8981\u51c6\u5907\u597d\u5408\u9002\u7684\u670d\u52a1\u5668\u73af\u5883\u3002\u4ee5\u4e0b\u662f\u6211\u4e3a\u5927\u5bb6\u63d0\u4f9b\u7684\u4e00\u4e9b\u642d\u5efa\u73af\u5883\u5efa\u8bae&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u670d\u52a1\u5668&#xff1a;\u6839\u636e\u9700\u6c42\u9009\u62e9\u5176\u5b83\u670d\u52a1\u5668&#xff0c;\u9009\u62e9\u975e\u5927\u9646\u7684\u670d\u52a1\u5668&#xff0c;\u907f\u514d\u4e00\u4e9b\u4e0d\u5fc5\u8981\u7684\u8bbf\u95ee\u95ee\u9898\u3002<\/p>\n<\/li>\n<li>\n<p>\u64cd\u4f5c\u7cfb\u7edf&#xff1a;\u672c\u6559\u7a0b\u4ee5Debian 10\u4e3a\u4f8b&#xff0c;\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u4f1a\u7528\u5230\u4e00\u4e9b\u57fa\u672c\u7684\u811a\u672c\u548c\u5de5\u5177\u3002\u5927\u5bb6\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u9009\u62e9\u4e0d\u540c\u7684\u7cfb\u7edf&#xff0c;Debian\u662f\u4e00\u6b3e\u975e\u5e38\u5e72\u51c0\u7684\u7cfb\u7edf&#xff0c;\u5b89\u88c5\u8fc7\u7a0b\u7b80\u5355\u3002<\/p>\n<\/li>\n<li>\n<p>\u57df\u540d&#xff1a;\u5982\u679c\u4f60\u5e0c\u671b\u901a\u8fc7\u57df\u540d\u8bbf\u95eeRocket.Chat&#xff0c;\u90a3\u4e48\u4f60\u9700\u8981\u8d2d\u4e70\u4e00\u4e2a\u57df\u540d&#xff0c;\u5e76\u5c06\u5176\u89e3\u6790\u5230\u4f60\u670d\u52a1\u5668\u7684IP\u5730\u5740\u3002<\/p>\n<\/li>\n<li>\n<p>\u8f6f\u4ef6&#xff1a;\u786e\u4fdd\u670d\u52a1\u5668\u5df2\u7ecf\u5b89\u88c5\u597dDocker\u548cDocker-compose&#xff0c;\u867d\u7136\u5b89\u88c5\u8fc7\u7a0b\u53ef\u80fd\u7565\u663e\u7e41\u7410&#xff0c;\u4f46\u5b8c\u6210\u540e\u4f1a\u4e3a\u540e\u7eed\u7684\u64cd\u4f5c\u5e26\u6765\u5f88\u5927\u7684\u4fbf\u5229\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u6b64\u5916&#xff0c;\u5982\u679c\u4f60\u6253\u7b97\u4f7f\u7528Nginx\u53cd\u5411\u4ee3\u7406&#xff0c;\u8fd8\u9700\u8981\u63d0\u524d\u5b89\u88c5\u597dNginx\u6216\u8005Nginx Proxy Manager\u3002\u8fd9\u662f\u53ef\u9009\u7684&#xff0c;\u53d6\u51b3\u4e8e\u4f60\u7684\u9700\u6c42\u3002<\/p>\n<h3 id=\"4.-%E6%90%AD%E5%BB%BA%E6%AD%A5%E9%AA%A4\">4. \u642d\u5efa\u6b65\u9aa4<\/h3>\n<p>\u63a5\u4e0b\u6765&#xff0c;\u8ba9\u6211\u4eec\u6b63\u5f0f\u8fdb\u5165\u642d\u5efa\u6b65\u9aa4\u3002\u9996\u5148&#xff0c;\u6211\u4eec\u9700\u8981\u5b8c\u6210\u670d\u52a1\u5668\u7684\u521d\u59cb\u8bbe\u7f6e\u3002\u4ee5\u4e0b\u662f\u6211\u4e3a\u5927\u5bb6\u603b\u7ed3\u7684\u4e00\u4e9b\u5e38\u89c1\u64cd\u4f5c&#xff1a;<\/p>\n<li>\n<p>\u5207\u6362\u5230root\u7528\u6237&#xff1a;<\/p>\n<p> sudo -i\n <\/li>\n<li>\n<p>\u66f4\u65b0\u7cfb\u7edf\u5305&#xff1a;<\/p>\n<p> apt update -y\n <\/li>\n<li>\n<p>\u5b89\u88c5\u5e38\u7528\u8f6f\u4ef6&#xff1a;<\/p>\n<p> apt install wget curl sudo vim git\n <\/li>\n<li>\n<p>\u521b\u5efa\u5b89\u88c5\u76ee\u5f55\u5e76\u8fdb\u5165\u8be5\u76ee\u5f55&#xff1a;<\/p>\n<p> mkdir -p \/root\/data\/docker_data\/rocketchat<br \/>\ncd \/root\/data\/docker_data\/rocketchat\n <\/li>\n<li>\n<p>\u7f16\u5199docker-compose.yml\u6587\u4ef6&#xff1a; \u5728\/root\/data\/docker_data\/rocketchat\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2adocker-compose.yml\u6587\u4ef6&#xff0c;\u5185\u5bb9\u5982\u4e0b&#xff1a;<\/p>\n<p> version: &#039;2&#039;<br \/>\nservices:<br \/>\n  rocketchat:<br \/>\n    image: rocketchat\/rocket.chat:latest<br \/>\n    command: &gt;<br \/>\n      bash -c &#034;for i in &#096;seq 1 30&#096;; do<br \/>\n        node main.js &amp;&amp;<br \/>\n        s&#061;$$? &amp;&amp; break || s&#061;$$?;<br \/>\n        echo \\\\&#034;Tried $$i times. Waiting 5 secs&#8230;\\\\&#034;;<br \/>\n        sleep 5;<br \/>\n      done; (exit $$s)&#034;<br \/>\n    restart: unless-stopped<br \/>\n    volumes:<br \/>\n      &#8211; .\/uploads:\/app\/uploads<br \/>\n    environment:<br \/>\n      &#8211; PORT&#061;3000<br \/>\n      &#8211; ROOT_URL&#061;http:\/\/localhost:3000<br \/>\n      &#8211; MONGO_URL&#061;mongodb:\/\/mongo:27017\/rocketchat<br \/>\n      &#8211; MONGO_OPLOG_URL&#061;mongodb:\/\/mongo:27017\/local<br \/>\n      &#8211; MAIL_URL&#061;smtp:\/\/smtp.email<br \/>\n    depends_on:<br \/>\n      &#8211; mongo<br \/>\n    ports:<br \/>\n      &#8211; 3000:3000<\/p>\n<p>  mongo:<br \/>\n    image: mongo:4.0<br \/>\n    restart: unless-stopped<br \/>\n    volumes:<br \/>\n      &#8211; .\/data\/db:\/data\/db<br \/>\n    command: mongod &#8211;smallfiles &#8211;oplogSize 128 &#8211;replSet rs0 &#8211;storageEngine&#061;mmapv1<\/p>\n<p>  mongo-init-replica:<br \/>\n    image: mongo:4.0<br \/>\n    command: &gt;<br \/>\n      bash -c &#034;for i in &#096;seq 1 30&#096;; do<br \/>\n        mongo mongo\/rocketchat &#8211;eval \\\\&#034;rs.initiate({<br \/>\n          _id: &#039;rs0&#039;,<br \/>\n          members: [ { _id: 0, host: &#039;localhost:27017&#039; } ]<br \/>\n        })\\\\&#034; &amp;&amp;<br \/>\n        s&#061;$$? &amp;&amp; break || s&#061;$$?;<br \/>\n        echo \\\\&#034;Tried $$i times. Waiting 5 secs&#8230;\\\\&#034;;<br \/>\n        sleep 5;<br \/>\n      done; (exit $$s)&#034;<br \/>\n    depends_on:<br \/>\n      &#8211; mongo\n <\/li>\n<li>\n<p>\u542f\u52a8Rocket.Chat\u670d\u52a1&#xff1a; \u5728\u5b8c\u6210\u914d\u7f6e\u540e&#xff0c;\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u542f\u52a8\u670d\u52a1&#xff1a;<\/p>\n<p> docker-compose up -d\n <\/li>\n<li>\n<p>\u8bbf\u95eeRocket.Chat&#xff1a; \u901a\u8fc7\u6d4f\u89c8\u5668\u8bbf\u95eehttp:\/\/\u670d\u52a1\u5668IP:3000&#xff0c;\u5373\u53ef\u8fdb\u5165Rocket.Chat\u7684\u5b89\u88c5\u754c\u9762\u3002<\/p>\n<\/li>\n<h3 id=\"5.-%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98%E4%B8%8E%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88\">5. \u5e38\u89c1\u95ee\u9898\u4e0e\u89e3\u51b3\u65b9\u6848<\/h3>\n<h5 id=\"5.1-%E6%9B%B4%E6%96%B0rocket.chat\">5.1 \u66f4\u65b0Rocket.Chat<\/h5>\n<p>\u5982\u679c\u4f60\u9700\u8981\u66f4\u65b0Rocket.Chat&#xff0c;\u6b65\u9aa4\u5982\u4e0b&#xff1a;<\/p>\n<li>\n<p>\u5907\u4efd\u5f53\u524d\u7684\u6587\u4ef6&#xff1a;<\/p>\n<p> cp -r \/root\/data\/docker_data\/rocketchat \/root\/data\/docker_data\/rocketchat.archive\n <\/li>\n<li>\n<p>\u62c9\u53d6\u6700\u65b0\u955c\u50cf&#xff1a;<\/p>\n<p> cd \/root\/data\/docker_data\/rocketchat<br \/>\ndocker-compose pull\n <\/li>\n<li>\n<p>\u542f\u52a8\u66f4\u65b0\u540e\u7684\u5bb9\u5668&#xff1a;<\/p>\n<p> docker-compose up -d\n <\/li>\n<h5 id=\"5.2-%E5%8D%B8%E8%BD%BDrocket.chat\">5.2 \u5378\u8f7dRocket.Chat<\/h5>\n<p>\u5982\u679c\u4f60\u9700\u8981\u5378\u8f7dRocket.Chat&#xff0c;\u6267\u884c\u4ee5\u4e0b\u6b65\u9aa4&#xff1a;<\/p>\n<li>\n<p>\u505c\u6b62\u5bb9\u5668&#xff1a;<\/p>\n<p> cd \/root\/data\/docker_data\/rocketchat<br \/>\ndocker-compose down\n <\/li>\n<li>\n<p>\u5220\u9664\u6587\u4ef6&#xff1a;<\/p>\n<p> rm -rf \/root\/data\/docker_data\/rocketchat\n <\/li>\n<h3 id=\"6.-%E5%8F%8D%E5%90%91%E4%BB%A3%E7%90%86\">6. \u53cd\u5411\u4ee3\u7406<\/h3>\n<p>\u5728\u53cd\u5411\u4ee3\u7406\u8fc7\u7a0b\u4e2d&#xff0c;\u6211\u9047\u5230\u4e86\u4e00\u4e9b\u95ee\u9898&#xff0c;\u5c24\u5176\u662f\u5728\u4f7f\u7528Nginx Proxy Manager\u65f6&#xff0c;\u53d1\u73b0\u5b83\u65e0\u6cd5\u6210\u529f\u8fde\u63a5\u5230\u8fdc\u7a0b\u4e91\u7aef\u3002\u5982\u679c\u4f60\u6709\u7c7b\u4f3c\u7684\u6210\u529f\u7ecf\u9a8c&#xff0c;\u6b22\u8fce\u5728\u8bc4\u8bba\u533a\u4e0e\u5927\u5bb6\u5206\u4eab\u3002<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"449\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/03\/20260305201736-69a9e4e0611b4.png\" width=\"2297\" \/><\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"422\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/03\/20260305201736-69a9e4e0cfe1f.png\" width=\"560\" \/><\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"452\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/03\/20260305201736-69a9e4e0e91d4.png\" width=\"621\" \/><\/p>\n<h3 id=\"7.-%E7%BB%93%E5%B0%BE\">7. \u7ed3\u5c3e<\/h3>\n<p>\u4ee5\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d&#xff0c;\u6211\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u5982\u4f55\u5728VPS\u4e0a\u901a\u8fc7Docker\u642d\u5efaRocket.Chat&#xff0c;\u4ece\u73af\u5883\u914d\u7f6e\u5230\u670d\u52a1\u542f\u52a8&#xff0c;\u6db5\u76d6\u4e86\u6bcf\u4e2a\u5173\u952e\u6b65\u9aa4\u3002Rocket.Chat\u4e0d\u4ec5\u662f\u4e00\u4e2a\u529f\u80fd\u4e30\u5bcc\u7684\u5373\u65f6\u901a\u8baf\u5de5\u5177&#xff0c;\u5b83\u8fd8\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u56e2\u961f\u534f\u4f5c\u5e73\u53f0&#xff0c;\u63d0\u4f9b\u4e86\u516c\u5171\u9891\u9053\u3001\u79c1\u4eba\u5bf9\u8bdd\u3001\u8bed\u97f3\u548c\u89c6\u9891\u804a\u5929\u3001\u6587\u4ef6\u5171\u4eab\u7b49\u591a\u79cd\u4fbf\u6377\u7684\u6c9f\u901a\u65b9\u5f0f\u3002\u901a\u8fc7\u6b64\u6559\u7a0b&#xff0c;\u4f60\u53ef\u4ee5\u8f7b\u677e\u642d\u5efa\u81ea\u5df1\u7684\u804a\u5929\u7cfb\u7edf&#xff0c;\u63d0\u5347\u56e2\u961f\u534f\u4f5c\u6548\u7387\u3002<\/p>\n<p>\u5728\u642d\u5efa\u8fc7\u7a0b\u4e2d&#xff0c;\u6211\u5206\u4eab\u4e86\u9047\u5230\u7684\u4e00\u4e9b\u5e38\u89c1\u95ee\u9898\u4ee5\u53ca\u89e3\u51b3\u65b9\u6848&#xff0c;\u5e2e\u52a9\u4f60\u987a\u5229\u5b8c\u6210\u5b89\u88c5\u3002\u5982\u679c\u4f60\u6709\u4efb\u4f55\u7591\u95ee&#xff0c;\u6b22\u8fce\u5728\u8bc4\u8bba\u533a\u7559\u8a00&#xff0c;\u6211\u4eec\u53ef\u4ee5\u4e00\u8d77\u8ba8\u8bba\u5e76\u5206\u4eab\u7ecf\u9a8c\u3002\u5e0c\u671b\u8fd9\u7bc7\u6559\u7a0b\u80fd\u5e2e\u5230\u4f60&#xff0c;\u795d\u4f60\u4f7f\u7528Rocket.Chat\u6109\u5feb&#xff01;<\/p>\n<p>\u672c\u6587\u539f\u53d1\u4e8e\u6211\u7684\u535a\u5ba2&#xff1a;\u7ad9\u957f\u7834\u58c1\u8005<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \u7b80\u4ecb<br \/>\n\u4f60\u662f\u4e0d\u662f\u5728\u5bfb\u627e\u4e00\u4e2a\u65e2\u5f00\u6e90\u53c8\u5b8c\u5168\u514d\u8d39\u7684WEB\u804a\u5929\u7cfb\u7edf&#xff1f;\u5982\u679c\u662f&#xff0c;\u90a3Rocket.Chat\u6216\u8bb8\u5c31\u662f\u4f60\u8981\u627e\u7684\u7406\u60f3\u5de5\u5177\u3002\u5b83\u7684\u6838\u5fc3\u90e8\u5206\u57fa\u4e8eWEB&#xff0c;\u652f\u6301\u8de8\u5e73\u53f0\u5ba2\u6237\u7aef\u2014\u2014\u65e0\u8bba\u4f60\u4f7f\u7528Windows\u3001macOS\u8fd8\u662fLinux&#xff0c;\u90fd\u80fd\u8f7b\u677e\u627e\u5230\u76f8\u5e94\u7684\u684c\u9762\u5ba2\u6237\u7aef\u3002\u800c\u5bf9\u4e8e\u5b89\u5353\u548ciOS\u7528\u6237&#xff0c;\u4e5f\u80fd\u5728Google Play\u548cApp Store\u4e2d\u8f7b\u677e\u627e\u5230\u76f8\u5e94\u7684\u79fb\u52a8\u7aef\u7248\u672c\u3002<br \/>\n\u4f60\u53ef\u80fd\u4f1a\u89c9\u5f97&#xff0c;Rocket.Chat\u53ea\u662f\u4e00<\/p>\n","protected":false},"author":2,"featured_media":80800,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,43],"topic":[],"class_list":["post-80806","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-linux","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5982\u4f55\u5728\u670d\u52a1\u5668\u4e0a\u642d\u5efaRocket.Chat\u56e2\u961f\u534f\u4f5c\u5e73\u53f0 - \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\/80806.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5982\u4f55\u5728\u670d\u52a1\u5668\u4e0a\u642d\u5efaRocket.Chat\u56e2\u961f\u534f\u4f5c\u5e73\u53f0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"1. \u7b80\u4ecb \u4f60\u662f\u4e0d\u662f\u5728\u5bfb\u627e\u4e00\u4e2a\u65e2\u5f00\u6e90\u53c8\u5b8c\u5168\u514d\u8d39\u7684WEB\u804a\u5929\u7cfb\u7edf&#xff1f;\u5982\u679c\u662f&#xff0c;\u90a3Rocket.Chat\u6216\u8bb8\u5c31\u662f\u4f60\u8981\u627e\u7684\u7406\u60f3\u5de5\u5177\u3002\u5b83\u7684\u6838\u5fc3\u90e8\u5206\u57fa\u4e8eWEB&#xff0c;\u652f\u6301\u8de8\u5e73\u53f0\u5ba2\u6237\u7aef\u2014\u2014\u65e0\u8bba\u4f60\u4f7f\u7528Windows\u3001macOS\u8fd8\u662fLinux&#xff0c;\u90fd\u80fd\u8f7b\u677e\u627e\u5230\u76f8\u5e94\u7684\u684c\u9762\u5ba2\u6237\u7aef\u3002\u800c\u5bf9\u4e8e\u5b89\u5353\u548ciOS\u7528\u6237&#xff0c;\u4e5f\u80fd\u5728Google Play\u548cApp Store\u4e2d\u8f7b\u677e\u627e\u5230\u76f8\u5e94\u7684\u79fb\u52a8\u7aef\u7248\u672c\u3002 \u4f60\u53ef\u80fd\u4f1a\u89c9\u5f97&#xff0c;Rocket.Chat\u53ea\u662f\u4e00\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/80806.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-03-05T20:17:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/03\/20260305201735-69a9e4dfebf3b.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/80806.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/80806.html\",\"name\":\"\u5982\u4f55\u5728\u670d\u52a1\u5668\u4e0a\u642d\u5efaRocket.Chat\u56e2\u961f\u534f\u4f5c\u5e73\u53f0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-03-05T20:17:38+00:00\",\"dateModified\":\"2026-03-05T20:17:38+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/80806.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/80806.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/80806.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5982\u4f55\u5728\u670d\u52a1\u5668\u4e0a\u642d\u5efaRocket.Chat\u56e2\u961f\u534f\u4f5c\u5e73\u53f0\"}]},{\"@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":"\u5982\u4f55\u5728\u670d\u52a1\u5668\u4e0a\u642d\u5efaRocket.Chat\u56e2\u961f\u534f\u4f5c\u5e73\u53f0 - \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\/80806.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5982\u4f55\u5728\u670d\u52a1\u5668\u4e0a\u642d\u5efaRocket.Chat\u56e2\u961f\u534f\u4f5c\u5e73\u53f0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"1. \u7b80\u4ecb \u4f60\u662f\u4e0d\u662f\u5728\u5bfb\u627e\u4e00\u4e2a\u65e2\u5f00\u6e90\u53c8\u5b8c\u5168\u514d\u8d39\u7684WEB\u804a\u5929\u7cfb\u7edf&#xff1f;\u5982\u679c\u662f&#xff0c;\u90a3Rocket.Chat\u6216\u8bb8\u5c31\u662f\u4f60\u8981\u627e\u7684\u7406\u60f3\u5de5\u5177\u3002\u5b83\u7684\u6838\u5fc3\u90e8\u5206\u57fa\u4e8eWEB&#xff0c;\u652f\u6301\u8de8\u5e73\u53f0\u5ba2\u6237\u7aef\u2014\u2014\u65e0\u8bba\u4f60\u4f7f\u7528Windows\u3001macOS\u8fd8\u662fLinux&#xff0c;\u90fd\u80fd\u8f7b\u677e\u627e\u5230\u76f8\u5e94\u7684\u684c\u9762\u5ba2\u6237\u7aef\u3002\u800c\u5bf9\u4e8e\u5b89\u5353\u548ciOS\u7528\u6237&#xff0c;\u4e5f\u80fd\u5728Google Play\u548cApp Store\u4e2d\u8f7b\u677e\u627e\u5230\u76f8\u5e94\u7684\u79fb\u52a8\u7aef\u7248\u672c\u3002 \u4f60\u53ef\u80fd\u4f1a\u89c9\u5f97&#xff0c;Rocket.Chat\u53ea\u662f\u4e00","og_url":"https:\/\/www.wsisp.com\/helps\/80806.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-03-05T20:17:38+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/03\/20260305201735-69a9e4dfebf3b.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/80806.html","url":"https:\/\/www.wsisp.com\/helps\/80806.html","name":"\u5982\u4f55\u5728\u670d\u52a1\u5668\u4e0a\u642d\u5efaRocket.Chat\u56e2\u961f\u534f\u4f5c\u5e73\u53f0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-03-05T20:17:38+00:00","dateModified":"2026-03-05T20:17:38+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/80806.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/80806.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/80806.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5982\u4f55\u5728\u670d\u52a1\u5668\u4e0a\u642d\u5efaRocket.Chat\u56e2\u961f\u534f\u4f5c\u5e73\u53f0"}]},{"@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\/80806","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=80806"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/80806\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/80800"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=80806"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=80806"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=80806"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=80806"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}