{"id":26831,"date":"2025-04-19T17:26:12","date_gmt":"2025-04-19T09:26:12","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/26831.html"},"modified":"2025-04-19T17:26:12","modified_gmt":"2025-04-19T09:26:12","slug":"%e6%90%ad%e5%bb%barustdesk%e4%b8%ad%e7%bb%a7%e6%9c%8d%e5%8a%a1%e5%99%a8_","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/26831.html","title":{"rendered":"\u642d\u5efaRustDesk\u4e2d\u7ee7\u670d\u52a1\u5668_"},"content":{"rendered":"<h4>RustDesk&#xff1a;\u5f00\u6e90\u8fdc\u7a0b\u684c\u9762\u8f6f\u4ef6<\/h4>\n<p>RustDesk\u662f\u4e00\u6b3e\u652f\u6301Windows\u3001macOS\u548cLinux\u7b49\u64cd\u4f5c\u7cfb\u7edf\u7684\u5f00\u6e90\u8fdc\u7a0b\u684c\u9762\u8f6f\u4ef6\u3002\u4f60\u53ef\u4ee5\u4ece\u4ee5\u4e0b\u94fe\u63a5\u4e0b\u8f7d&#xff1a;RustDesk\u4e0b\u8f7d<\/p>\n<h5>\u4e3a\u4ec0\u4e48\u9700\u8981\u4e2d\u7ee7\u670d\u52a1\u5668&#xff1f;<\/h5>\n<p>\u7531\u4e8eRustDesk\u7684\u5b98\u65b9\u670d\u52a1\u5668\u4f4d\u4e8e\u6d77\u5916&#xff0c;\u56fd\u5185\u7528\u6237\u5728\u8fde\u63a5\u65f6\u53ef\u80fd\u4f1a\u7ecf\u5386\u901f\u5ea6\u6162\u548c\u4e0d\u7a33\u5b9a\u7684\u95ee\u9898\u3002\u56e0\u6b64&#xff0c;\u5efa\u7acb\u4e00\u4e2a\u672c\u5730\u4e2d\u7ee7\u670d\u52a1\u5668\u53d8\u5f97\u5341\u5206\u5fc5\u8981&#xff0c;\u4ee5\u63d0\u5347\u8fde\u63a5\u7684\u901f\u5ea6\u548c\u7a33\u5b9a\u6027\u3002<\/p>\n<h5>\u5982\u4f55\u642d\u5efaRustDesk\u4e2d\u7ee7\u670d\u52a1\u5668<\/h5>\n<li>\n<p>\u5b89\u88c5\u5fc5\u9700\u7684\u8f6f\u4ef6\u5305<\/p>\n<p> <span class=\"token function\">apt<\/span> update<br \/>\n<span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> <span class=\"token function\">git<\/span> <span class=\"token function\">curl<\/span> build-essential <span class=\"token parameter variable\">-y<\/span>\n <\/li>\n<li>\n<p>\u4e0b\u8f7d\u5e76\u5b89\u88c5Rust<\/p>\n<p> <span class=\"token function\">curl<\/span> <span class=\"token parameter variable\">&#8211;proto<\/span> <span class=\"token string\">&#039;&#061;https&#039;<\/span> <span class=\"token parameter variable\">&#8211;tlsv1.2<\/span> <span class=\"token parameter variable\">-sSf<\/span> https:\/\/sh.rustup.rs <span class=\"token operator\">|<\/span> <span class=\"token function\">sh<\/span><br \/>\n<span class=\"token builtin class-name\">source<\/span> <span class=\"token environment constant\">$HOME<\/span>\/.cargo\/env\n <\/li>\n<li>\n<p>\u83b7\u53d6\u5e76\u8fdb\u5165RustDesk\u670d\u52a1\u5668\u7684\u4ee3\u7801\u5e93<\/p>\n<p> <span class=\"token function\">git<\/span> clone https:\/\/github.com\/rustdesk\/rustdesk-server<br \/>\n<span class=\"token builtin class-name\">cd<\/span> rustdesk-server\n <\/li>\n<li>\n<p>\u7f16\u8bd1\u670d\u52a1\u5668 \u521b\u5efa\u5e76\u914d\u7f6e\u670d\u52a1\u5668\u76ee\u5f55&#xff0c;\u7136\u540e\u79fb\u52a8\u7f16\u8bd1\u540e\u7684\u6587\u4ef6\u5230\u6307\u5b9a\u76ee\u5f55&#xff1a;<\/p>\n<p> <span class=\"token function\">mkdir<\/span> <span class=\"token parameter variable\">-p<\/span> \/etc\/rustdesk-server\/<br \/>\n<span class=\"token function\">cp<\/span> \/root\/rustdesk-server\/target\/release\/hbbs \/etc\/rustdesk-server\/<br \/>\n<span class=\"token function\">cp<\/span> \/root\/rustdesk-server\/target\/release\/hbbr \/etc\/rustdesk-server\/\n <\/li>\n<li>\n<p>\u8bbe\u7f6e\u7cfb\u7edf\u670d\u52a1 \u5728 \/etc\/systemd\/system \u76ee\u5f55\u4e0b\u521b\u5efa\u5e76\u914d\u7f6e systemd \u670d\u52a1\u6587\u4ef6&#xff0c;\u7136\u540e\u91cd\u65b0\u52a0\u8f7d systemd \u914d\u7f6e&#xff1a;<\/p>\n<p> <span class=\"token function\">touch<\/span> rustdesk-hbbs.service<br \/>\n<span class=\"token function\">touch<\/span> rustdesk-hbbr.service<br \/>\n<span class=\"token function\">chmod<\/span> <span class=\"token number\">644<\/span> \/etc\/systemd\/system\/*.service<br \/>\nsystemctl daemon-reload\n <\/li>\n<li>\n<p>\u914d\u7f6e\u548c\u542f\u52a8\u670d\u52a1 \u7f16\u8f91 rustdesk-hbbs.service \u548c rustdesk-hbbr.service \u6587\u4ef6&#xff0c;\u8bbe\u7f6e\u670d\u52a1\u53c2\u6570\u540e\u542f\u52a8\u670d\u52a1&#xff1a;<\/p>\n<p> systemctl <span class=\"token builtin class-name\">enable<\/span> rustdesk-hbbs.service<br \/>\nsystemctl <span class=\"token builtin class-name\">enable<\/span> rustdesk-hbbr.service<br \/>\nsystemctl start rustdesk-hbbs.service<br \/>\nsystemctl start rustdesk-hbbr.service\n <\/li>\n<li>\n<p>\u68c0\u67e5\u548c\u7ba1\u7406\u670d\u52a1 \u786e\u8ba4\u670d\u52a1\u72b6\u6001\u5e76\u6839\u636e\u9700\u8981\u91cd\u542f\u670d\u52a1&#xff1a;<\/p>\n<p> systemctl status rustdesk-hbbs.service<br \/>\nsystemctl restart rustdesk-hbbs<br \/>\nsystemctl restart rustdesk-hbbr\n <\/li>\n<li>\n<p>\u7f51\u7edc\u914d\u7f6e \u5f00\u653e\u5fc5\u8981\u7684\u9632\u706b\u5899\u7aef\u53e3\u4ee5\u786e\u4fdd\u901a\u4fe1&#xff1a;<\/p>\n<p> ufw allow <span class=\"token number\">21116<\/span>\/tcp<br \/>\nufw allow <span class=\"token number\">21117<\/span>\/tcp<br \/>\n<span class=\"token comment\"># \u5176\u4ed6\u7aef\u53e3\u6839\u636e\u9700\u6c42\u5f00\u653e<\/span>\n <\/li>\n<h5>\u914d\u7f6e\u57df\u540d<\/h5>\n<p>\u4e3aRustDesk\u670d\u52a1\u5668\u8bbe\u7f6e\u57df\u540d&#xff0c;\u5982\u4f7f\u7528 rd.abc.cc&#xff0c;\u9996\u5148\u5728Cloudflare\u6dfb\u52a0A\u8bb0\u5f55\u6307\u5411\u670d\u52a1\u5668IP&#xff0c;\u7136\u540e\u914d\u7f6e\u53cd\u5411\u4ee3\u7406\u4ee5\u786e\u4fdd\u8fde\u63a5\u3002<\/p>\n<h5>\u9047\u5230\u7684\u95ee\u9898\u53ca\u89e3\u51b3\u65b9\u6848<\/h5>\n<li>\n<p>\u5173\u95edCloudflare\u4ee3\u7406 Cloudflare\u4e0d\u652f\u6301RustDesk\u6240\u9700\u7684\u7aef\u53e3&#xff0c;\u9700\u8981\u5173\u95ed\u4ee3\u7406\u4ee5\u786e\u4fdd\u8fde\u63a5\u3002<\/p>\n<\/li>\n<li>\n<p>\u56fd\u5185\u8bbf\u95ee\u95ee\u9898 \u56fd\u5185\u670d\u52a1\u5668\u901a\u8fc7IP\u8fde\u63a5&#xff0c;\u5173\u95edCloudflare\u4ee3\u7406&#xff0c;\u76f4\u63a5\u8bbf\u95ee\u3002<\/p>\n<\/li>\n<p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4&#xff0c;\u4f60\u53ef\u4ee5\u6210\u529f\u642d\u5efa\u5e76\u8fd0\u884c\u4e00\u4e2aRustDesk\u4e2d\u7ee7\u670d\u52a1\u5668&#xff0c;\u63d0\u5347\u8fdc\u7a0b\u684c\u9762\u8fde\u63a5\u7684\u6548\u7387\u548c\u7a33\u5b9a\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.4k\u6b21\uff0c\u70b9\u8d5e18\u6b21\uff0c\u6536\u85cf13\u6b21\u3002\u8fd9\u7bc7\u535a\u5ba2\u6587\u7ae0\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528\u548c\u8bbe\u7f6eRustDesk\u8fdc\u7a0b\u684c\u9762\u8f6f\u4ef6\uff0c\u5305\u62ec\u5b89\u88c5\u548c\u914d\u7f6e\u4e2d\u7ee7\u670d\u52a1\u5668\u3002_rustdesk \u4e2d\u7ee7\u670d\u52a1\u5668<\/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":[2146,2145,2144,43,78,191,44],"topic":[],"class_list":["post-26831","post","type-post","status-publish","format-standard","hentry","category-server","tag-cisco","tag-2145","tag-2144","tag-43","tag-78","tag-191","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u642d\u5efaRustDesk\u4e2d\u7ee7\u670d\u52a1\u5668_ - \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\/26831.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u642d\u5efaRustDesk\u4e2d\u7ee7\u670d\u52a1\u5668_ - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.4k\u6b21\uff0c\u70b9\u8d5e18\u6b21\uff0c\u6536\u85cf13\u6b21\u3002\u8fd9\u7bc7\u535a\u5ba2\u6587\u7ae0\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528\u548c\u8bbe\u7f6eRustDesk\u8fdc\u7a0b\u684c\u9762\u8f6f\u4ef6\uff0c\u5305\u62ec\u5b89\u88c5\u548c\u914d\u7f6e\u4e2d\u7ee7\u670d\u52a1\u5668\u3002_rustdesk \u4e2d\u7ee7\u670d\u52a1\u5668\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/26831.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-19T09:26:12+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=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/26831.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/26831.html\",\"name\":\"\u642d\u5efaRustDesk\u4e2d\u7ee7\u670d\u52a1\u5668_ - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-19T09:26:12+00:00\",\"dateModified\":\"2025-04-19T09:26:12+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/26831.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/26831.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/26831.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u642d\u5efaRustDesk\u4e2d\u7ee7\u670d\u52a1\u5668_\"}]},{\"@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":"\u642d\u5efaRustDesk\u4e2d\u7ee7\u670d\u52a1\u5668_ - \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\/26831.html","og_locale":"zh_CN","og_type":"article","og_title":"\u642d\u5efaRustDesk\u4e2d\u7ee7\u670d\u52a1\u5668_ - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.4k\u6b21\uff0c\u70b9\u8d5e18\u6b21\uff0c\u6536\u85cf13\u6b21\u3002\u8fd9\u7bc7\u535a\u5ba2\u6587\u7ae0\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528\u548c\u8bbe\u7f6eRustDesk\u8fdc\u7a0b\u684c\u9762\u8f6f\u4ef6\uff0c\u5305\u62ec\u5b89\u88c5\u548c\u914d\u7f6e\u4e2d\u7ee7\u670d\u52a1\u5668\u3002_rustdesk \u4e2d\u7ee7\u670d\u52a1\u5668","og_url":"https:\/\/www.wsisp.com\/helps\/26831.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-19T09:26:12+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/26831.html","url":"https:\/\/www.wsisp.com\/helps\/26831.html","name":"\u642d\u5efaRustDesk\u4e2d\u7ee7\u670d\u52a1\u5668_ - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-19T09:26:12+00:00","dateModified":"2025-04-19T09:26:12+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/26831.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/26831.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/26831.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u642d\u5efaRustDesk\u4e2d\u7ee7\u670d\u52a1\u5668_"}]},{"@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\/26831","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=26831"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/26831\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=26831"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=26831"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=26831"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=26831"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}