{"id":66995,"date":"2026-01-27T23:41:17","date_gmt":"2026-01-27T15:41:17","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/66995.html"},"modified":"2026-01-27T23:41:17","modified_gmt":"2026-01-27T15:41:17","slug":"%e3%80%90%e5%8a%9e%e5%85%ac%e5%b9%b3%e5%8f%b0%e3%80%91%e5%9c%a8-ubuntu-%e4%b8%8a%e9%83%a8%e7%bd%b2-synapse-matrix-%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%88%e6%9c%ac%e5%9c%b0%e7%bd%91%e7%bb%9c%e7%89%88","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/66995.html","title":{"rendered":"\u3010\u529e\u516c\u5e73\u53f0\u3011\u5728 Ubuntu \u4e0a\u90e8\u7f72 Synapse Matrix \u670d\u52a1\u5668\uff08\u672c\u5730\u7f51\u7edc\u7248\uff09"},"content":{"rendered":"<h3>\u4e00\u3001\u9879\u76ee\u76ee\u6807\u4e0e\u73af\u5883<\/h3>\n<ul>\n<li>\u76ee\u6807&#xff1a;\u5728\u672c\u5730\u7f51\u7edc\u4e2d\u4e3a\u56e2\u961f\u642d\u5efa Matrix \u901a\u4fe1\u670d\u52a1\u5668&#xff0c;\u4f18\u5148\u6ee1\u8db3\u6587\u4ef6\u4f20\u8f93\u9700\u6c42\u3002<\/li>\n<li>\u670d\u52a1\u5668&#xff1a;Ubuntu \u684c\u9762\u7248&#xff08;\u5e26\u6709\u56fe\u5f62\u754c\u9762&#xff09;\u3002<\/li>\n<li>\u5b58\u50a8&#xff1a;\u4e00\u5757\u5df2\u683c\u5f0f\u5316\u4f46\u9700\u6539\u4e3a Ext4 \u6587\u4ef6\u7cfb\u7edf\u7684\u65e7\u786c\u76d8&#xff08;1TB&#xff09;&#xff0c;\u7528\u4e8e\u6c38\u4e45\u4fdd\u5b58\u670d\u52a1\u5668\u6570\u636e\u3002<\/li>\n<li>\u7f51\u7edc&#xff1a;\u76f4\u63a5\u4f7f\u7528\u672c\u5730 IP \u5730\u5740\u8bbf\u95ee&#xff0c;\u907f\u514d\u57df\u540d\u89e3\u6790\u7684\u590d\u6742\u6027\u3002<\/li>\n<li>\u8b66\u544a&#xff1a;\u4ee5\u4e0b\u683c\u5f0f\u5316\u64cd\u4f5c\u5c06\u6c38\u4e45\u6e05\u9664\u786c\u76d8\u4e0a\u6240\u6709\u6570\u636e\u3002\u8bf7\u518d\u6b21\u786e\u8ba4\u786c\u76d8\u5185\u6ca1\u6709\u91cd\u8981\u6587\u4ef6\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3>\u4e8c\u3001\u91cd\u65b0\u683c\u5f0f\u5316\u5e76\u6302\u8f7d 1TB \u6570\u636e\u76d8<\/h3>\n<p>\u6211\u4eec\u5c06\u4f7f\u7528\u56fe\u5f62\u754c\u9762\u5de5\u5177\u5c06\u786c\u76d8\u91cd\u65b0\u683c\u5f0f\u5316\u4e3a Ext4 \u683c\u5f0f\u5e76\u6302\u8f7d\u3002<\/p>\n<h4>1. \u6253\u5f00\u78c1\u76d8\u7ba1\u7406\u5de5\u5177<\/h4>\n<li>\u5728 Ubuntu \u684c\u9762\u5de6\u4fa7\u7684 Dock \u680f\u4e2d&#xff0c;\u70b9\u51fb \u201c\u663e\u793a\u5e94\u7528\u7a0b\u5e8f\u201d \u56fe\u6807&#xff08;9\u4e2a\u70b9\u7684\u56fe\u6807&#xff09;\u3002<\/li>\n<li>\u5728\u641c\u7d22\u6846\u4e2d\u8f93\u5165 \u201c\u78c1\u76d8\u201d\u3002<\/li>\n<li>\u70b9\u51fb\u6253\u5f00 \u201c\u78c1\u76d8\u201d \u5e94\u7528&#xff08;GNOME Disks&#xff09;\u3002<\/li>\n<h4>2. \u8bc6\u522b\u76ee\u6807\u786c\u76d8<\/h4>\n<li>\u5728\u201c\u78c1\u76d8\u201d\u5e94\u7528\u7684\u5de6\u4fa7\u7a97\u683c\u4e2d&#xff0c;\u975e\u5e38\u4ed4\u7ec6\u5730\u627e\u5230\u4f60\u7684 1TB \u786c\u76d8\u3002\n<ul>\n<li>\u8bc6\u522b\u4f9d\u636e&#xff1a;\u6839\u636e\u5bb9\u91cf&#xff08;\u7ea6 1.0 TB&#xff09;\u3001\u54c1\u724c\u6216\u578b\u53f7&#xff0c;\u5207\u52ff\u9009\u9519\u3002<\/li>\n<li>\u6570\u636e\u5b89\u5168&#xff1a;\u518d\u6b21\u786e\u8ba4\u6b64\u786c\u76d8\u5185\u65e0\u9700\u8981\u4fdd\u7559\u7684\u6570\u636e\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\u70b9\u51fb\u9009\u4e2d\u8be5\u786c\u76d8\u3002\u5728\u53f3\u4fa7\u7a97\u683c\u4e2d&#xff0c;\u4f60\u53ef\u4ee5\u770b\u5230\u5176\u5f53\u524d\u7684\u5206\u533a\u8868\u548c\u6587\u4ef6\u7cfb\u7edf\u683c\u5f0f\u3002<\/li>\n<h4>3. \u5220\u9664\u73b0\u6709\u5206\u533a&#xff08;\u6e05\u9664\u65e7\u683c\u5f0f&#xff09;<\/h4>\n<li>\u5728\u53f3\u4fa7\u5206\u533a\u56fe\u5f62\u4e0b\u65b9&#xff0c;\u70b9\u51fb \u201c\u2014\u201d \u6309\u94ae&#xff08;\u5220\u9664\u6240\u9009\u5206\u533a&#xff09;\u3002<\/li>\n<li>\u7cfb\u7edf\u4f1a\u5f39\u51fa\u8b66\u544a&#xff0c;\u63d0\u793a\u6b64\u64cd\u4f5c\u5c06\u5220\u9664\u6240\u6709\u6570\u636e\u3002\u786e\u8ba4\u65e0\u8bef\u540e&#xff0c;\u70b9\u51fb \u201c\u5220\u9664\u201d\u3002<\/li>\n<li>\u64cd\u4f5c\u540e&#xff0c;\u786c\u76d8\u7a7a\u95f4\u5c06\u663e\u793a\u4e3a\u201c\u7a7a\u95f2\u201d\u3002<\/li>\n<h4>4. \u521b\u5efa\u65b0\u5206\u533a\u5e76\u683c\u5f0f\u5316\u4e3a Ext4<\/h4>\n<li>\u5728\u201c\u7a7a\u95f2\u201d\u7a7a\u95f4\u4e0a&#xff0c;\u70b9\u51fb \u201c&#043;\u201d \u6309\u94ae&#xff08;\u521b\u5efa\u65b0\u5206\u533a&#xff09;\u3002<\/li>\n<li>\u5728\u5f39\u51fa\u7684\u7a97\u53e3\u4e2d&#xff1a;\n<ul>\n<li>\u5927\u5c0f&#xff1a;\u4f7f\u7528\u9ed8\u8ba4\u7684\u5b8c\u6574\u5927\u5c0f&#xff08;\u7ea6 1TB&#xff09;\u3002<\/li>\n<li>\u7c7b\u578b&#xff1a;\u9009\u62e9\u201cExt4\u201d\u3002<\/li>\n<li>\u540d\u79f0&#xff1a;\u53ef\u4ee5\u586b\u5199\u4e00\u4e2a\u6613\u4e8e\u8bc6\u522b\u7684\u5377\u6807&#xff0c;\u4f8b\u5982 MatrixData\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\u70b9\u51fb \u201c\u4e0b\u4e00\u6b65\u201d&#xff0c;\u7136\u540e\u70b9\u51fb \u201c\u521b\u5efa\u201d\u3002\u7cfb\u7edf\u4f1a\u518d\u6b21\u8b66\u544a\u6570\u636e\u4e22\u5931&#xff0c;\u786e\u8ba4\u540e\u5f00\u59cb\u683c\u5f0f\u5316\u3002<\/li>\n<h4>5. \u6302\u8f7d\u65b0\u683c\u5f0f\u5316\u7684\u786c\u76d8<\/h4>\n<li>\u683c\u5f0f\u5316\u5b8c\u6210\u540e&#xff0c;\u70b9\u51fb\u65b0\u521b\u5efa\u5206\u533a\u4e0b\u65b9\u7684 \u4e09\u89d2\u5f62\u64ad\u653e\u6309\u94ae \u6216 \u201c\u6302\u8f7d\u201d \u6309\u94ae\u3002<\/li>\n<li>\u7cfb\u7edf\u4f1a\u8981\u6c42\u8f93\u5165\u5bc6\u7801\u3002\u6302\u8f7d\u6210\u529f\u540e&#xff0c;\u8bb0\u4e0b \u201c\u5185\u5bb9\u201d \u4e0b\u65b9\u663e\u793a\u7684 \u6302\u8f7d\u70b9\u8def\u5f84\u3002\u901a\u5e38\u4e3a \/media\/\u4f60\u7684\u7528\u6237\u540d\/Data \u7684\u683c\u5f0f\u3002<\/li>\n<h4>6. \u521b\u5efa\u4e13\u7528\u6570\u636e\u76ee\u5f55\u5e76\u8bbe\u7f6e\u6743\u9650<\/h4>\n<p>\u6253\u5f00\u7ec8\u7aef&#xff08;Ctrl&#043;Alt&#043;T&#xff09;&#xff0c;\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4&#xff08;\u8bf7\u5c06 \/media\/\u4f60\u7684\u7528\u6237\u540d\/Data \u66ff\u6362\u4e3a\u4f60\u5b9e\u9645\u7684\u6302\u8f7d\u70b9&#xff09;&#xff1a;<\/p>\n<p><span class=\"token comment\"># 1. \u5728\u6302\u8f7d\u7684\u786c\u76d8\u4e0a&#xff0c;\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a \u201cmatrix-synapse\u201d \u7684\u4e13\u5c5e\u76ee\u5f55\u3002<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">mkdir<\/span> -p \/media\/\u4f60\u7684\u7528\u6237\u540d\/Data\/matrix-synapse<\/p>\n<p><span class=\"token comment\"># 2. \u5c06\u8be5\u76ee\u5f55\u7684\u6240\u6709\u6743\u66f4\u6539\u4e3a\u5f53\u524d\u7528\u6237&#xff0c;\u65b9\u4fbf\u64cd\u4f5c\u3002<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">chown<\/span> -R <span class=\"token environment constant\">$USER<\/span><span class=\"token builtin class-name\">:<\/span><span class=\"token environment constant\">$USER<\/span> \/media\/\u4f60\u7684\u7528\u6237\u540d\/Data\/matrix-synapse<\/p>\n<p><span class=\"token comment\"># 3. \u68c0\u67e5\u76ee\u5f55\u662f\u5426\u521b\u5efa\u6210\u529f\u5e76\u786e\u8ba4\u6743\u9650\u3002<\/span><br \/>\n<span class=\"token function\">ls<\/span> -ld \/media\/\u4f60\u7684\u7528\u6237\u540d\/MatrixData\/matrix-synapse<\/p>\n<p>\u9884\u671f\u8f93\u51fa&#xff1a;\u5e94\u663e\u793a\u76ee\u5f55\u4fe1\u606f&#xff0c;\u4e14\u6240\u6709\u8005\u4e3a\u4f60\u7684\u7528\u6237\u540d\u3002<\/p>\n<h4>7. \u8bbe\u7f6e\u5f00\u673a\u81ea\u52a8\u6302\u8f7d&#xff08;\u56fe\u5f62\u754c\u9762\u64cd\u4f5c&#xff09;<\/h4>\n<li>\u56de\u5230 \u201c\u78c1\u76d8\u201d \u5e94\u7528\u3002<\/li>\n<li>\u70b9\u51fb\u65b0\u5206\u533a\u4e0b\u65b9\u7684 \u201c\u6302\u8f7d\u9009\u9879\u201d&#xff08;\u9f7f\u8f6e\u56fe\u6807 \u2699\ufe0f\u83dc\u5355\u9009\u9879&#xff09;\u3002<\/li>\n<li>\u5728\u5f39\u51fa\u7a97\u53e3\u4e2d&#xff1a;\n<ul>\n<li>\u5173\u95ed \u201c\u7528\u6237\u4f1a\u8bdd\u9ed8\u8ba4\u503c\u201d \u7684\u5f00\u5173\u3002<\/li>\n<li>\u52fe\u9009 \u201c\u7cfb\u7edf\u542f\u52a8\u65f6\u6302\u8f7d\u201d\u3002<\/li>\n<li>\u5728 \u201c\u663e\u793a\u8eab\u4efd\u201d \u4e0b\u62c9\u83dc\u5355\u4e2d&#xff0c;\u786e\u4fdd\u9009\u62e9\u7684\u662f\u4f60\u7684\u7528\u6237\u540d\u3002<\/li>\n<li>\u6302\u8f7d\u70b9&#xff1a;\u53ef\u4ee5\u4fdd\u6301\u9ed8\u8ba4&#xff08;\u81ea\u52a8\u751f\u6210&#xff09;&#xff0c;\u6216\u4e3a\u4e86\u56fa\u5b9a\u8def\u5f84&#xff0c;\u624b\u52a8\u8bbe\u7f6e\u4e3a \/media\/\u4f60\u7684\u7528\u6237\u540d\/Data\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\u70b9\u51fb \u201c\u786e\u5b9a\u201d \u5e76\u8f93\u5165\u5bc6\u7801\u3002<\/li>\n<li>&#xff08;\u53ef\u9009&#xff09;\u521b\u5efa\u4e00\u4e2a\u7cfb\u7edf\u7ea7\u7684\u8f6f\u94fe\u63a5&#xff0c;\u65b9\u4fbf\u5728\u914d\u7f6e\u4e2d\u5f15\u7528&#xff1a;<\/li>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">ln<\/span> -s \/media\/\u4f60\u7684\u7528\u6237\u540d\/Data\/matrix-synapse \/matrix-data<\/p>\n<p>\u73b0\u5728&#xff0c;\u4f60\u7684\u786c\u76d8\u5df2\u51c6\u5907\u5c31\u7eea\u3002\u6570\u636e\u5c06\u6700\u7ec8\u5b58\u50a8\u5728 \/media\/\u4f60\u7684\u7528\u6237\u540d\/Data\/matrix-synapse \u76ee\u5f55\u4e2d\u3002<\/p>\n<hr \/>\n<h3>\u4e09\u3001\u5b89\u88c5 Docker \u4e0e Docker Compose<\/h3>\n<p>\u8fd9\u662f\u8fd0\u884c Synapse \u5bb9\u5668\u7684\u57fa\u7840\u73af\u5883\u3002<\/p>\n<p><span class=\"token comment\"># 1. \u66f4\u65b0\u7cfb\u7edf\u5305\u5217\u8868<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> update <span class=\"token operator\">&amp;&amp;<\/span> <span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> upgrade -y<br \/>\n<span class=\"token comment\"># 2. \u5b89\u88c5 Docker<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> docker.io -y<br \/>\n<span class=\"token comment\"># 3. \u5b89\u88c5 Docker Compose \u63d2\u4ef6<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> <span class=\"token function\">docker-compose<\/span> -y<br \/>\n<span class=\"token comment\"># 4. \u5c06\u5f53\u524d\u7528\u6237\u6dfb\u52a0\u5230 docker \u7ec4&#xff0c;\u4ee5\u4fbf\u65e0\u9700 sudo \u8fd0\u884c&#xff08;\u9700\u91cd\u65b0\u767b\u5f55\u751f\u6548&#xff09;<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">usermod<\/span> -aG <span class=\"token function\">docker<\/span> <span class=\"token environment constant\">$USER<\/span><br \/>\n<span class=\"token comment\"># 5. \u8bbe\u7f6e Docker \u5f00\u673a\u81ea\u542f<\/span><br \/>\n<span class=\"token function\">sudo<\/span> systemctl <span class=\"token builtin class-name\">enable<\/span> &#8211;now <span class=\"token function\">docker<\/span><\/p>\n<p>\u91cd\u8981\u63d0\u793a&#xff1a;\u7528\u6237\u7ec4\u66f4\u6539\u5728\u5f53\u524d\u767b\u5f55\u4f1a\u8bdd\u4e2d\u4e0d\u4f1a\u7acb\u5373\u751f\u6548\u3002\u8bf7\u6267\u884c\u4ee5\u4e0b\u64cd\u4f5c\u4e4b\u4e00&#xff1a;<\/p>\n<ul>\n<li>\u6700\u7b80\u5355\u7684\u65b9\u6cd5&#xff1a;\u5b8c\u5168\u6ce8\u9500 Ubuntu \u684c\u9762&#xff0c;\u7136\u540e\u91cd\u65b0\u767b\u5f55\u3002<\/li>\n<li>\u6216\u8005&#xff0c;\u5728\u7ec8\u7aef\u8f93\u5165 newgrp docker&#xff0c;\u4f46\u8fd9\u53ea\u5bf9\u5f53\u524d\u7ec8\u7aef\u7a97\u53e3\u6709\u6548\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3>\u56db\u3001\u90e8\u7f72\u4e0e\u914d\u7f6e Synapse<\/h3>\n<h4>1. \u521b\u5efa\u9879\u76ee\u5de5\u4f5c\u76ee\u5f55<\/h4>\n<p>\u6211\u4eec\u5728\u7528\u6237\u4e3b\u76ee\u5f55\u4e0b\u521b\u5efa\u7528\u4e8e\u7ba1\u7406\u914d\u7f6e\u7684\u6587\u4ef6\u5939&#xff0c;\u5e76\u8fde\u63a5\u5230\u6570\u636e\u76d8\u3002<\/p>\n<p><span class=\"token comment\"># 1. \u5728\u4e3b\u76ee\u5f55\u521b\u5efa synapse \u914d\u7f6e\u76ee\u5f55<\/span><br \/>\n<span class=\"token function\">mkdir<\/span> -p ~\/synapse<br \/>\n<span class=\"token comment\"># 2. \u8fdb\u5165\u5de5\u4f5c\u76ee\u5f55<\/span><br \/>\n<span class=\"token builtin class-name\">cd<\/span> ~\/synapse<\/p>\n<h4>2.  Docker Compose \u914d\u7f6e\u6587\u4ef6<\/h4>\n<p><span class=\"token comment\"># \u4e0b\u8f7d\u5b98\u65b9\u63d0\u4f9b\u7684 docker-compose \u793a\u4f8b\u6587\u4ef6<\/span><br \/>\n<span class=\"token function\">wget<\/span> -O docker-compose.yml https:\/\/raw.githubusercontent.com\/matrix-org\/synapse\/develop\/docker\/contrib\/docker-compose.yml<\/p>\n<p>\u6216<\/p>\n<p><span class=\"token function\">cat<\/span> <span class=\"token operator\">&gt;<\/span> docker-compose.yml <span class=\"token operator\">&lt;&lt;<\/span> <span class=\"token string\">&#039;EOF&#039;<br \/>\nversion: &#039;3.8&#039;<\/p>\n<p>services:<br \/>\n  synapse:<br \/>\n    image: matrixdotorg\/synapse:latest<br \/>\n    container_name: synapse<br \/>\n    restart: unless-stopped<br \/>\n    ports:<br \/>\n      &#8211; &#034;8008:8008&#034;<br \/>\n    volumes:<br \/>\n      &#8211; \/media\/ubuntu\/MatrixData\/matrix-synapse:\/data<br \/>\n    environment:<br \/>\n      &#8211; SYNAPSE_CONFIG_PATH&#061;\/data\/homeserver.yaml<br \/>\n      &#8211; SYNAPSE_CONFIG_DIR&#061;\/data<br \/>\n      &#8211; UID&#061;1000<br \/>\n      &#8211; GID&#061;1000<br \/>\n    user: &#034;1000:1000&#034;<br \/>\nEOF<\/span><\/p>\n<h4>3. \u751f\u6210 Synapse \u4e3b\u914d\u7f6e\u6587\u4ef6<\/h4>\n<p>\u6211\u4eec\u9700\u8981\u751f\u6210\u4e00\u4e2a\u914d\u7f6e\u6587\u4ef6\u3002\u8bf7\u5c06 YOUR_LOCAL_IP \u66ff\u6362\u4e3a\u4f60 Ubuntu \u7535\u8111\u7684\u672c\u5730 IP \u5730\u5740&#xff08;\u53ef\u901a\u8fc7\u5728\u7ec8\u7aef\u8f93\u5165 hostname -I \u547d\u4ee4\u67e5\u8be2&#xff0c;\u901a\u5e38\u7b2c\u4e00\u4e2a\u5730\u5740\u5c31\u662f&#xff09;\u3002<\/p>\n<p><span class=\"token comment\"># \u751f\u6210\u914d\u7f6e\u3002\u6ce8\u610f&#xff1a;-v \u53c2\u6570\u5c06\u5bb9\u5668\u7684 \/data \u76ee\u5f55\u6620\u5c04\u5230\u4e86\u6211\u4eec\u786c\u76d8\u4e0a\u7684\u76ee\u5f55\u3002<\/span><br \/>\n<span class=\"token function\">docker<\/span> run -it &#8211;rm <span class=\"token punctuation\">\\\\<\/span><br \/>\n  -v \/media\/ubuntu\/MatrixData\/matrix-synapse:\/data <span class=\"token punctuation\">\\\\<\/span><br \/>\n  -e <span class=\"token assign-left variable\">SYNAPSE_SERVER_NAME<\/span><span class=\"token operator\">&#061;<\/span>YOUR_LOCAL_IP <span class=\"token punctuation\">\\\\<\/span><br \/>\n  -e <span class=\"token assign-left variable\">SYNAPSE_REPORT_STATS<\/span><span class=\"token operator\">&#061;<\/span>no <span class=\"token punctuation\">\\\\<\/span><br \/>\n  matrixdotorg\/synapse:latest generate<\/p>\n<p>\u5173\u952e\u6b65\u9aa4&#xff1a;<\/p>\n<li>\u547d\u4ee4\u4e2d YOUR_LOCAL_IP \u9700\u66ff\u6362&#xff0c;\u4f8b\u5982 -e SYNAPSE_SERVER_NAME&#061;192.168.31.100\u3002<\/li>\n<li>\u547d\u4ee4\u6267\u884c\u540e&#xff0c;\u7ec8\u7aef\u4f1a\u663e\u793a\u4e00\u4e2a Registration shared secret&#xff08;\u4e00\u4e32\u5f88\u957f\u7684\u968f\u673a\u5b57\u7b26&#xff09;\u3002\u8bf7\u52a1\u5fc5\u5c06\u5176\u590d\u5236\u5e76\u4fdd\u5b58\u5230\u5b89\u5168\u7684\u5730\u65b9&#xff0c;\u5b83\u662f\u521b\u5efa\u7ba1\u7406\u5458\u8d26\u6237\u7684\u552f\u4e00\u51ed\u8bc1\u3002<\/li>\n<h4>4. \u4fee\u6539\u914d\u7f6e\u6587\u4ef6\u4ee5\u9002\u5e94\u672c\u5730 IP \u8bbf\u95ee<\/h4>\n<p>\u7f16\u8f91\u751f\u6210\u7684\u914d\u7f6e\u6587\u4ef6 \/media\/ubuntu\/MatrixData\/matrix-synapse\/homeserver.yaml&#xff08;\u8def\u5f84\u8bf7\u6839\u636e\u4f60\u7684\u5b9e\u9645\u6302\u8f7d\u70b9\u8c03\u6574&#xff09;\u3002<\/p>\n<p><span class=\"token comment\"># \u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668\u6253\u5f00\u914d\u7f6e\u6587\u4ef6&#xff08;\u4f8b\u5982\u4f7f\u7528 nano&#xff09;<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">nano<\/span> \/media\/ubuntu\/MatrixData\/matrix-synapse\/homeserver.yaml<\/p>\n<p>\u627e\u5230\u5e76\u4fee\u6539\/\u786e\u8ba4\u4ee5\u4e0b\u4e09\u5904\u5173\u952e\u914d\u7f6e&#xff08;\u53ef\u4f7f\u7528 Ctrl&#043;W \u8fdb\u884c\u641c\u7d22&#xff09;&#xff1a;<\/p>\n<ul>\n<li>server_name&#xff1a;\u5e94\u5df2\u662f\u4f60\u8bbe\u7f6e\u7684 IP \u5730\u5740&#xff0c;\u6838\u5bf9\u5373\u53ef\u3002<\/li>\n<li>public_baseurl&#xff1a;\u53d6\u6d88\u6ce8\u91ca&#xff08;\u5220\u9664\u884c\u9996\u7684 #&#xff09;&#xff0c;\u5e76\u5c06\u5176\u503c\u8bbe\u7f6e\u4e3a http:\/\/YOUR_LOCAL_IP:8008\u3002<\/li>\n<li>max_upload_size&#xff1a;\u53d6\u6d88\u6ce8\u91ca&#xff0c;\u5c06\u5176\u503c\u4fee\u6539\u4e3a\u4f8b\u5982 &#034;1024M&#034;&#xff08;\u53731GB&#xff09;&#xff0c;\u4ee5\u652f\u6301\u5927\u6587\u4ef6\u4e0a\u4f20\u3002<br \/>\n\u6309 Ctrl&#043;X&#xff0c;\u7136\u540e\u6309 Y \u548c \u56de\u8f66 \u4fdd\u5b58\u9000\u51fa\u3002<\/li>\n<\/ul>\n<h4>5. \u4fee\u6539 Docker Compose \u6587\u4ef6\u4ee5\u56fa\u5b9a\u6570\u636e\u8def\u5f84<\/h4>\n<p>\u7f16\u8f91 ~\/synapse\/docker-compose.yml&#xff0c;\u786e\u4fdd\u6570\u636e\u5377\u6620\u5c04\u6b63\u786e\u6307\u5411\u786c\u76d8\u76ee\u5f55\u3002<\/p>\n<p><span class=\"token function\">nano<\/span> ~\/synapse\/docker-compose.yml<\/p>\n<p>\u627e\u5230 volumes: \u90e8\u5206&#xff0c;\u5c06\u5176\u4fee\u6539\u4e3a&#xff08;\u8def\u5f84\u8bf7\u6839\u636e\u4f60\u7684\u5b9e\u9645\u6302\u8f7d\u70b9\u8c03\u6574&#xff09;&#xff1a;<\/p>\n<p><span class=\"token key atrule\">volumes<\/span><span class=\"token punctuation\">:<\/span><br \/>\n  <span class=\"token punctuation\">&#8211;<\/span> \/media\/ubuntu\/MatrixData\/matrix<span class=\"token punctuation\">&#8211;<\/span>synapse<span class=\"token punctuation\">:<\/span>\/data<\/p>\n<p>\u4fdd\u5b58\u5e76\u9000\u51fa\u3002<\/p>\n<h4>6. \u542f\u52a8 Synapse \u670d\u52a1\u5668<\/h4>\n<p><span class=\"token comment\"># \u786e\u4fdd\u5728 ~\/synapse \u76ee\u5f55\u4e0b\u6267\u884c<\/span><br \/>\n<span class=\"token builtin class-name\">cd<\/span> ~\/synapse<br \/>\n<span class=\"token function\">docker<\/span> compose up -d<br \/>\n<span class=\"token comment\"># \u67e5\u770b\u5bb9\u5668\u8fd0\u884c\u72b6\u6001&#xff0c;\u5e94\u4e3a \u201crunning\u201d<\/span><br \/>\n<span class=\"token function\">docker<\/span> compose <span class=\"token function\">ps<\/span><\/p>\n<hr \/>\n<h3>\u4e94\u3001\u521b\u5efa\u7ba1\u7406\u5458\u8d26\u6237\u5e76\u6d4b\u8bd5<\/h3>\n<h4>1. \u521b\u5efa\u7ba1\u7406\u5458\u7528\u6237<\/h4>\n<p>\u5728 ~\/synapse \u76ee\u5f55\u4e0b\u6267\u884c&#xff1a;<\/p>\n<p><span class=\"token function\">docker<\/span> compose <span class=\"token builtin class-name\">exec<\/span> synapse register_new_matrix_user http:\/\/localhost:8008 -c \/data\/homeserver.yaml<\/p>\n<ul>\n<li>\u6839\u636e\u63d0\u793a\u8f93\u5165\u7528\u6237\u540d&#xff08;\u5982 admin&#xff09;\u3001\u5bc6\u7801\u3002<\/li>\n<li>\u5f53\u8be2\u95ee \u201cMake admin?\u201d \u65f6&#xff0c;\u5fc5\u987b\u8f93\u5165 yes\u3002<\/li>\n<\/ul>\n<h4>2. \u6d4b\u8bd5\u670d\u52a1\u5668<\/h4>\n<li>\u5728 Ubuntu \u672c\u673a\u7684\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee&#xff1a;http:\/\/YOUR_LOCAL_IP:8008\u3002<\/li>\n<li>\u5982\u679c\u770b\u5230\u5305\u542b \u201cSynapse is running\u201d \u5b57\u6837\u7684\u9875\u9762&#xff0c;\u8bf4\u660e\u6838\u5fc3\u670d\u52a1\u6b63\u5e38\u3002<\/li>\n<h4>3. \u5ba2\u6237\u7aef\u767b\u5f55&#xff08;\u4ee5 Element \u4e3a\u4f8b&#xff09;<\/h4>\n<li>\u5728\u56e2\u961f\u6210\u5458\u7684\u7535\u8111\u6216\u624b\u673a\u4e0a\u4e0b\u8f7d\u5b89\u88c5 Element \u5ba2\u6237\u7aef&#xff08;\u53ef\u4ece element.io \u4e0b\u8f7d&#xff09;\u3002<\/li>\n<li>\u6253\u5f00 Element&#xff0c;\u5728\u767b\u5f55\u9875\u9762&#xff0c;\u70b9\u51fb \u201cEdit\u201d \u6216 \u201c\u66f4\u6539\u201d\u3002<\/li>\n<li>\u5728 \u201cHome server\u201d \u5b57\u6bb5\u4e2d&#xff0c;\u76f4\u63a5\u8f93\u5165 http:\/\/YOUR_LOCAL_IP:8008\u3002<\/li>\n<li>\u7136\u540e\u4f7f\u7528\u4e0a\u9762\u521b\u5efa\u7684\u8d26\u6237&#xff08;\u683c\u5f0f\u4e3a &#064;admin:YOUR_LOCAL_IP&#xff09;\u548c\u5bc6\u7801\u767b\u5f55\u3002<\/li>\n<hr \/>\n<h3>\u516d\u3001\u7ef4\u62a4\u4e0e\u6545\u969c\u6392\u67e5\u8981\u70b9<\/h3>\n<ul>\n<li>\u6570\u636e\u4f4d\u7f6e&#xff1a;\u6240\u6709\u6570\u636e&#xff08;\u6570\u636e\u5e93\u3001\u4e0a\u4f20\u7684\u6587\u4ef6&#xff09;\u5747\u4fdd\u5b58\u5728 \/media\/\u4f60\u7684\u7528\u6237\u540d\/MatrixData\/matrix-synapse \u76ee\u5f55\u4e0b\u3002<\/li>\n<li>\u670d\u52a1\u7ba1\u7406&#xff1a;\n<ul>\n<li>\u505c\u6b62&#xff1a;docker compose down<\/li>\n<li>\u91cd\u542f&#xff1a;docker compose restart<\/li>\n<li>\u67e5\u770b\u5b9e\u65f6\u65e5\u5fd7&#xff1a;docker compose logs -f synapse<\/li>\n<\/ul>\n<\/li>\n<li>\u6587\u4ef6\u4e0a\u4f20\u5931\u8d25&#xff1a;\n<li>\u68c0\u67e5 homeserver.yaml \u4e2d max_upload_size \u548c public_baseurl \u7684\u8bbe\u7f6e\u3002<\/li>\n<li>\u68c0\u67e5\u5ba2\u6237\u7aef\u8f93\u5165\u7684\u670d\u52a1\u5668\u5730\u5740\u662f\u5426\u4e0e public_baseurl \u5b8c\u5168\u4e00\u81f4&#xff08;IP\u548c\u7aef\u53e3&#xff09;\u3002<\/li>\n<\/li>\n<li>\u5907\u4efd&#xff1a;\u5b9a\u671f\u5907\u4efd\u6574\u4e2a \/media\/\u4f60\u7684\u7528\u6237\u540d\/MatrixData\/matrix-synapse \u76ee\u5f55\u5373\u53ef\u3002<\/li>\n<\/ul>\n<p>\u90e8\u7f72\u5b8c\u6210\u3002\u73b0\u5728\u53ef\u4ee5\u521b\u5efa\u623f\u95f4&#xff0c;\u9080\u8bf7\u56e2\u961f\u6210\u5458\u52a0\u5165&#xff0c;\u5f00\u59cb\u4f7f\u7528\u6587\u4ef6\u4f20\u8f93\u548c\u56e2\u961f\u804a\u5929\u529f\u80fd\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u9879\u76ee\u76ee\u6807\u4e0e\u73af\u5883<br \/>\n\u76ee\u6807&#xff1a;\u5728\u672c\u5730\u7f51\u7edc\u4e2d\u4e3a\u56e2\u961f\u642d\u5efa Matrix \u901a\u4fe1\u670d\u52a1\u5668&#xff0c;\u4f18\u5148\u6ee1\u8db3\u6587\u4ef6\u4f20\u8f93\u9700\u6c42\u3002\u670d\u52a1\u5668&#xff1a;Ubuntu \u684c\u9762\u7248&#xff08;\u5e26\u6709\u56fe\u5f62\u754c\u9762&#xff09;\u3002\u5b58\u50a8&#xff1a;\u4e00\u5757\u5df2\u683c\u5f0f\u5316\u4f46\u9700\u6539\u4e3a Ext4 \u6587\u4ef6\u7cfb\u7edf\u7684\u65e7\u786c\u76d8&#xff08;1TB&#xff09;&#xff0c;\u7528\u4e8e\u6c38\u4e45\u4fdd\u5b58\u670d\u52a1\u5668\u6570\u636e\u3002\u7f51\u7edc&#xff1a;\u76f4\u63a5\u4f7f\u7528\u672c\u5730 IP \u5730\u5740\u8bbf\u95ee&#xff0c;\u907f\u514d\u57df\u540d\u89e3\u6790\u7684\u590d\u6742\u6027\u3002\u8b66\u544a&#xff1a;\u4ee5\u4e0b\u683c\u5f0f\u5316\u64cd\u4f5c<\/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":[103,43],"topic":[],"class_list":["post-66995","post","type-post","status-publish","format-standard","hentry","category-server","tag-ubuntu","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010\u529e\u516c\u5e73\u53f0\u3011\u5728 Ubuntu \u4e0a\u90e8\u7f72 Synapse Matrix \u670d\u52a1\u5668\uff08\u672c\u5730\u7f51\u7edc\u7248\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/66995.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010\u529e\u516c\u5e73\u53f0\u3011\u5728 Ubuntu \u4e0a\u90e8\u7f72 Synapse Matrix \u670d\u52a1\u5668\uff08\u672c\u5730\u7f51\u7edc\u7248\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u4e00\u3001\u9879\u76ee\u76ee\u6807\u4e0e\u73af\u5883 \u76ee\u6807&#xff1a;\u5728\u672c\u5730\u7f51\u7edc\u4e2d\u4e3a\u56e2\u961f\u642d\u5efa Matrix \u901a\u4fe1\u670d\u52a1\u5668&#xff0c;\u4f18\u5148\u6ee1\u8db3\u6587\u4ef6\u4f20\u8f93\u9700\u6c42\u3002\u670d\u52a1\u5668&#xff1a;Ubuntu \u684c\u9762\u7248&#xff08;\u5e26\u6709\u56fe\u5f62\u754c\u9762&#xff09;\u3002\u5b58\u50a8&#xff1a;\u4e00\u5757\u5df2\u683c\u5f0f\u5316\u4f46\u9700\u6539\u4e3a Ext4 \u6587\u4ef6\u7cfb\u7edf\u7684\u65e7\u786c\u76d8&#xff08;1TB&#xff09;&#xff0c;\u7528\u4e8e\u6c38\u4e45\u4fdd\u5b58\u670d\u52a1\u5668\u6570\u636e\u3002\u7f51\u7edc&#xff1a;\u76f4\u63a5\u4f7f\u7528\u672c\u5730 IP \u5730\u5740\u8bbf\u95ee&#xff0c;\u907f\u514d\u57df\u540d\u89e3\u6790\u7684\u590d\u6742\u6027\u3002\u8b66\u544a&#xff1a;\u4ee5\u4e0b\u683c\u5f0f\u5316\u64cd\u4f5c\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/66995.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-27T15:41:17+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=\"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\/66995.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/66995.html\",\"name\":\"\u3010\u529e\u516c\u5e73\u53f0\u3011\u5728 Ubuntu \u4e0a\u90e8\u7f72 Synapse Matrix \u670d\u52a1\u5668\uff08\u672c\u5730\u7f51\u7edc\u7248\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-01-27T15:41:17+00:00\",\"dateModified\":\"2026-01-27T15:41:17+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/66995.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/66995.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/66995.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010\u529e\u516c\u5e73\u53f0\u3011\u5728 Ubuntu \u4e0a\u90e8\u7f72 Synapse Matrix \u670d\u52a1\u5668\uff08\u672c\u5730\u7f51\u7edc\u7248\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010\u529e\u516c\u5e73\u53f0\u3011\u5728 Ubuntu \u4e0a\u90e8\u7f72 Synapse Matrix \u670d\u52a1\u5668\uff08\u672c\u5730\u7f51\u7edc\u7248\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/66995.html","og_locale":"zh_CN","og_type":"article","og_title":"\u3010\u529e\u516c\u5e73\u53f0\u3011\u5728 Ubuntu \u4e0a\u90e8\u7f72 Synapse Matrix \u670d\u52a1\u5668\uff08\u672c\u5730\u7f51\u7edc\u7248\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u4e00\u3001\u9879\u76ee\u76ee\u6807\u4e0e\u73af\u5883 \u76ee\u6807&#xff1a;\u5728\u672c\u5730\u7f51\u7edc\u4e2d\u4e3a\u56e2\u961f\u642d\u5efa Matrix \u901a\u4fe1\u670d\u52a1\u5668&#xff0c;\u4f18\u5148\u6ee1\u8db3\u6587\u4ef6\u4f20\u8f93\u9700\u6c42\u3002\u670d\u52a1\u5668&#xff1a;Ubuntu \u684c\u9762\u7248&#xff08;\u5e26\u6709\u56fe\u5f62\u754c\u9762&#xff09;\u3002\u5b58\u50a8&#xff1a;\u4e00\u5757\u5df2\u683c\u5f0f\u5316\u4f46\u9700\u6539\u4e3a Ext4 \u6587\u4ef6\u7cfb\u7edf\u7684\u65e7\u786c\u76d8&#xff08;1TB&#xff09;&#xff0c;\u7528\u4e8e\u6c38\u4e45\u4fdd\u5b58\u670d\u52a1\u5668\u6570\u636e\u3002\u7f51\u7edc&#xff1a;\u76f4\u63a5\u4f7f\u7528\u672c\u5730 IP \u5730\u5740\u8bbf\u95ee&#xff0c;\u907f\u514d\u57df\u540d\u89e3\u6790\u7684\u590d\u6742\u6027\u3002\u8b66\u544a&#xff1a;\u4ee5\u4e0b\u683c\u5f0f\u5316\u64cd\u4f5c","og_url":"https:\/\/www.wsisp.com\/helps\/66995.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-01-27T15:41:17+00:00","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\/66995.html","url":"https:\/\/www.wsisp.com\/helps\/66995.html","name":"\u3010\u529e\u516c\u5e73\u53f0\u3011\u5728 Ubuntu \u4e0a\u90e8\u7f72 Synapse Matrix \u670d\u52a1\u5668\uff08\u672c\u5730\u7f51\u7edc\u7248\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-01-27T15:41:17+00:00","dateModified":"2026-01-27T15:41:17+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/66995.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/66995.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/66995.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u3010\u529e\u516c\u5e73\u53f0\u3011\u5728 Ubuntu \u4e0a\u90e8\u7f72 Synapse Matrix \u670d\u52a1\u5668\uff08\u672c\u5730\u7f51\u7edc\u7248\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/66995","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=66995"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/66995\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=66995"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=66995"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=66995"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=66995"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}