{"id":28531,"date":"2025-04-20T00:51:30","date_gmt":"2025-04-19T16:51:30","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/28531.html"},"modified":"2025-04-20T00:51:30","modified_gmt":"2025-04-19T16:51:30","slug":"%e6%9c%8d%e5%8a%a1%e5%99%a8%e9%85%8d%e7%bd%ae-%e4%bb%8e0%e5%88%b0%e5%88%86%e6%9e%902%ef%bc%9a%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%9f%ba%e6%9c%ac%e8%ae%be%e7%bd%ae","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/28531.html","title":{"rendered":"\u670d\u52a1\u5668\u914d\u7f6e-\u4ece0\u5230\u5206\u67902\uff1a\u670d\u52a1\u5668\u57fa\u672c\u8bbe\u7f6e"},"content":{"rendered":"<p>\u6700\u57fa\u7840\u7684&#xff1a;<\/p>\n<p>zerotier\u7ec4\u5efa\u865a\u62df\u5c40\u57df\u7f51&#xff0c;\u518d\u5185\u7f51\u7a7f\u900f<\/p>\n<p>\u5728vscode&#xff08;coding&#xff09;\u3001mobaxterm&#xff08;normal pc&#xff09;\u3001termius&#xff08;normal Android&#xff09;\u7aef\u914d\u7f6eclient&#xff0c;\u80fd\u591fremote-ssh\u518d\u770b\u4e0b\u9762<\/p>\n<p>\u4ee5\u53ca\u57fa\u672c\u7684\u6587\u4ef6\u8bfb\u5199\u6743\u9650&#xff1a;<\/p>\n<p>sudo chown -R your_username:your_username \/data1<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419165124-6803d48ce5f8a.png\" alt=\"\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419165125-6803d48d1c3b0.png\" alt=\"\" \/><\/p>\n<p>sudo chmod 755 #\u8fd93\u4e2a\u6587\u4ef6\u5939<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419165125-6803d48d47747.png\" alt=\"\" \/><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419165125-6803d48d825ff.png\" alt=\"\" \/><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419165125-6803d48db99c6.png\" alt=\"\" \/><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419165125-6803d48de9be0.png\" alt=\"\" \/><\/p>\n<h2>\u4e00\u3001\u66f4\u65b0\u7ec4\u4ef6&#xff0c;\u5305\u7ba1\u7406<\/h2>\n<p>sudo apt update  <span class=\"token comment\">#\u8fd9\u4e2a\u547d\u4ee4\u4f1a\u66f4\u65b0\u8f6f\u4ef6\u5305\u5217\u8868&#xff0c;\u8ba9\u7cfb\u7edf\u77e5\u9053\u6709\u54ea\u4e9b\u8f6f\u4ef6\u5305\u53ef\u4ee5\u66f4\u65b0\u3002<\/span><br \/>\nsudo apt upgrade <span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&#8211;<\/span>only<span class=\"token operator\">&#8211;<\/span>upgrade <span class=\"token comment\">#\u8fd9\u4e2a\u547d\u4ee4\u4f1a\u5b89\u88c5\u6240\u6709\u53ef\u7528\u7684\u8f6f\u4ef6\u5305\u66f4\u65b0\u3002<\/span><\/p>\n<h2><\/h2>\n<p>\u4e8c\u3001\u5e38\u7528\u5de5\u5177<\/p>\n<h3>1\u3001VIM\u7f16\u8f91\u5668<\/h3>\n<p>\u68c0\u67e5\u6709\u6ca1\u6709\u5b89\u88c5VIM&#xff08;\u4e3b\u8981\u662f\u6211\u4e60\u60ef\u7528vim\u7f16\u8f91\u5668\u4e86&#xff0c;Ubuntu\u662f\u9ed8\u8ba4\u81ea\u5e26nano\u7684&#xff09;<\/p>\n<table>\n<tr>plain vim &#8211;version <\/tr>\n<\/table>\n<p>\u914d\u7f6eVIM\u4e3a\u9ed8\u8ba4\u7684\u7cfb\u7edf\u7f16\u8f91\u5668\u3002<\/p>\n<ul>\n<li>\u5f88\u7b80\u5355&#xff0c;\u6267\u884c\u8fd9\u6761\u547d\u4ee4&#xff0c;\u9009\u62e9 Vim&#xff0c;\u4ee5\u540e\u51e1\u662f\u81ea\u52a8\u8c03\u7528\u7f16\u8f91\u5668\u7684\u5730\u65b9&#xff0c;\u90fd\u4f1a\u7528 Vim \u5566\u3002<\/li>\n<\/ul>\n<table>\n<tr>plain sudo update-alternatives &#8211;config editor <\/tr>\n<\/table>\n<h3>2\u3001\u5b89\u88c5 command-not-found<\/h3>\n<p>\u5f88\u591a\u670d\u52a1\u5668\u63d0\u4f9b\u5546\u53ef\u80fd\u4f1a\u63d0\u4f9b\u7cbe\u7b80\u7248\u672c\u7684 Ubuntu&#xff0c;\u4e8e\u662f\u4e00\u4e9b\u5b9e\u7528\u7684\u547d\u4ee4\u884c\u5de5\u5177\u5e76\u4e0d\u4f1a\u9884\u88c5\u3002\u6bd4\u5982command-not-found&#xff0c;\u5b83\u53ef\u4ee5\u5f53\u4f60\u5728\u6253\u547d\u4ee4\u65f6&#xff0c;\u63d0\u793a\u5bf9\u5e94\u7684\u4f46\u6ca1\u6709\u5b89\u88c5\u7684 package\u3002<\/p>\n<table>\n<tr>plain #!\/bin\/bash # \u66f4\u65b0\u8f6f\u4ef6\u5305\u5217\u8868\u5e76\u5347\u7ea7\u7cfb\u7edf sudo apt update &amp;&amp; sudo apt upgrade -y # \u5b89\u88c5\u5e38\u7528\u5de5\u5177 sudo apt install -y \\\\ curl \\\\ wget \\\\ git \\\\ vim \\\\ htop \\\\ tree \\\\ net-tools \\\\ build-essential \\\\ zip \\\\ unzip \\\\ ufw \\\\ tmux # Optional: \u5b89\u88c5\u5176\u4ed6\u5b9e\u7528\u5de5\u5177 # sudo apt install -y \\\\ # python3-pip \\\\ # openvpn \\\\ # jq \\\\ # neofetch echo &#034;\u5e38\u7528\u5de5\u5177\u5b89\u88c5\u5b8c\u6210\u3002&#034; <\/tr>\n<\/table>\n<p>\u5b89\u88c5\u5b8c\u540e&#xff0c;\u5c31\u53ef\u4ee5\u5728\u4f7f\u7528\u547d\u4ee4\u884c\u7684\u8fc7\u7a0b\u4e2d\u66f4\u52a0\u65b9\u4fbf\u4e86\u3002<\/p>\n<p>\u5f53\u7136tmux\u5176\u5b9e\u4e5f\u6709\u4e2a\u6027\u5316\u7684\u914d\u7f6e&#xff0c;\u53c2\u8003&#xff1a;<\/p>\n<p>https:\/\/github.com\/gpakosz\/.tmux<\/p>\n<\/p>\n<h3>3\u3001\u4fee\u6539\u65f6\u533a\u9ed8\u8ba4\u8bed\u8a00<\/h3>\n<p>\u53ef\u4ee5\u5148timedatectl\u547d\u4ee4\u67e5\u770b\u65f6\u533a\u4fe1\u606f\u662f\u5426\u51c6\u786e<\/p>\n<p>sudo update<span class=\"token operator\">&#8211;<\/span>locale LANG<span class=\"token operator\">&#061;<\/span>en_US<span class=\"token punctuation\">.<\/span>UTF<span class=\"token operator\">&#8211;<\/span><span class=\"token number\">8<\/span><br \/>\nsudo timedatectl <span class=\"token builtin\">set<\/span><span class=\"token operator\">&#8211;<\/span>timezone Asia<span class=\"token operator\">\/<\/span>Shanghai<\/p>\n<p>reboot <span class=\"token comment\">#\u91cd\u542f<\/span><\/p>\n<h2>\u4e09\u3001\u6dfb\u52a0\u666e\u901a\u7528\u6237<\/h2>\n<p>adduser <span class=\"token punctuation\">{<\/span>your<span class=\"token operator\">&#8211;<\/span>username<span class=\"token punctuation\">}<\/span><br \/>\nvisudo<\/p>\n<p>\u5728 &lt;font style&#061;&#034;color:rgb(44, 62, 80);&#034;&gt;User Privilege Specification&lt;\/font&gt; \u4e0b\u52a0\u5165\u4e00\u884c &lt;font style&#061;&#034;color:rgb(44, 62, 80);&#034;&gt;{your-username} ALL&#061;(ALL) NOPASSWD: ALL&lt;\/font&gt;\u5373\u53ef\u3002<\/p>\n<p>\u68c0\u9a8c\u662f\u5426\u6dfb\u52a0\u6210\u529f<\/p>\n<table>\n<tr>plain su &#8211; newuser #\u5207\u6362\u5230\u65b0\u7528\u6237 ls \/root #\u5217\u51fa\/root\u76ee\u5f55\u4e0b\u7684\u6587\u4ef6&#xff08;\u6ca1\u6709root\u6743\u9650\u662f\u770b\u4e0d\u4e86\u7684&#xff09; sudo ls \/root #\u7136\u540e\u7528\u7ed9\u666e\u901a\u7528\u6237\u6388\u4e88root\u6743\u9650&#xff08;\u8fd9\u6837\u5c31\u6709\u6743\u9650\u53ef\u4ee5\u770b\u5230\u4e86,\u53ea\u8981\u6ca1\u6709\u62a5\u9519\u5373\u6210\u529f&#xff0c;\u56e0\u4e3a\/root\u76ee\u5f55\u4e0b\u53ef\u80fd\u6ca1\u6709\u4e1c\u897f&#xff09; exit #\u9000\u51fa <\/tr>\n<\/table>\n<h2>\u56db\u3001\u9632\u706b\u5899\u914d\u7f6e<\/h2>\n<p>\u8981\u5728 Ubuntu \u4e0a\u4f7f\u7528 ufw&#xff08;Uncomplicated Firewall&#xff09;\u5f00\u542f\u7aef\u53e3 22\u300180 \u548c 443&#xff0c;\u4f60\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\u914d\u7f6e&#xff1a;<\/p>\n<li>\u68c0\u67e5**** **ufw** ****\u662f\u5426\u5b89\u88c5&#xff1a;\n<ul>\n<li>\u5982\u679c\u5c1a\u672a\u5b89\u88c5 ufw&#xff0c;\u4f60\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5&#xff1a;sudo apt install ufw<\/li>\n<\/ul>\n<\/li>\n<li>\u5f00\u542f\u7aef\u53e3&#xff1a;\n<ul>\n<li>\u5f00\u542f\u7aef\u53e3 22&#xff1a;sudo ufw allow 22<\/li>\n<li>\u5f00\u542f\u7aef\u53e3 80&#xff1a;sudo ufw allow 80<\/li>\n<li>\u5f00\u542f\u7aef\u53e3 443&#xff1a;sudo ufw allow 443<\/li>\n<\/ul>\n<\/li>\n<li>\u542f\u7528\u9632\u706b\u5899&#xff1a;\n<ul>\n<li>\u542f\u7528 ufw \u9632\u706b\u5899&#xff1a;sudo ufw enable<\/li>\n<\/ul>\n<\/li>\n<li>\u68c0\u67e5\u914d\u7f6e&#xff1a;\n<ul>\n<li>\u53ef\u4ee5\u8fd0\u884c sudo ufw status \u6765\u67e5\u770b\u9632\u706b\u5899\u7684\u72b6\u6001\u548c\u5df2\u5f00\u542f\u7684\u7aef\u53e3\u3002<\/li>\n<\/ul>\n<\/li>\n<p>\u4e00\u822cLinux\u7cfb\u7edf\u9ed8\u8ba4\u90fd\u5b58\u5728iptables&#xff0c;\u65b0\u673a\u8bbe\u7f6e\u524d\u4f7f\u7528iptables\u653e\u884c\u6240\u6709\u89c4\u5219\u3002\u7136\u540e\u4f60\u518d\u4f7f\u7528\u5176\u4ed6\u7684\u9632\u706b\u5899\u5de5\u5177&#xff08;\u5982&#xff1a;ufw&#xff09;\u3002\u56e0\u4e3a\u88c5\u5728\u4f60\u673a\u5b50\u4e0a\u7684\u6240\u6709\u9632\u706b\u5899\u5de5\u5177&#xff0c;\u5b83\u4eec\u4e4b\u95f4\u662f\u4e92\u76f8\u5f71\u54cd\u7684\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419165126-6803d48e1910c.png\" alt=\"\" \/><\/p>\n<h2><\/h2>\n<p>\u4e94\u3001\u914d\u7f6e SSH \u767b\u5f55\u53ca SSH Server \u5b89\u5168\u8bbe\u5b9a&#xff08;\u4e0d\u5f3a\u6c42&#xff09; \u8fd9\u91cc\u6709\u4e2a\u6ce8\u610f\u70b9&#xff01;\u5982\u679c\u4f60\u60f3\u7981\u7528root\u5bc6\u7801\u767b\u5f55&#xff0c;\u5e76\u7528\u666e\u901a\u7528\u6237 {your-username} ssh\u767b\u5f55\u670d\u52a1\u5668&#xff0c;\u8fd9\u91ccSSH\u767b\u5f55\u914d\u7f6e\u90e8\u5206\u4e00\u5b9a\u8981\u7528\u666e\u901a\u7528\u6237{your-username}\u914d\u7f6e&#xff0c;\u4e0d\u7136\u914d\u7f6e\u51fa\u6765\u7684\u6587\u4ef6\u6743\u9650\u548c\u62e5\u6709\u8005\u4e0d\u5bf9&#xff0c;ssh\u4e0d\u80fd\u6b63\u786e\u8bfb\u53d6\u516c\u94a5&#xff01;<\/p>\n<ul>\n<li>\u5148\u5728windows\u7aef\u751f\u6210ssh \u516c\u79c1\u94a5\u5bf9<\/li>\n<\/ul>\n<table>\n<tr>plain ssh-keygen -t rsa -f ~\/.ssh\/id_rsa_xxxx <\/tr>\n<\/table>\n<ul>\n<li>\u5728\u7528\u6237\u76ee\u5f55\u4e0b\u521b\u5efaauthorized_keys\u6587\u4ef6&#xff0c;\u5e76\u5c06\u516c\u94a5&#xff08;pub\u7ed3\u5c3e&#xff09;\u7684\u5185\u5bb9\u7c98\u5165authorized_keys\u6587\u4ef6\u4e2d<\/li>\n<\/ul>\n<table>\n<tr>plain su &#8211; {your-username} #\u4e0d\u8981\u5728root\u8eab\u4efd\u4e0b\u914d\u7f6e mkdir -p ~\/.ssh touch ~\/.ssh\/authorized_keys #\u5e76\u5c06\u516c\u94a5&#xff08;pub\u7ed3\u5c3e&#xff09;\u7684\u5185\u5bb9\u7c98\u5165&#096;authorized_keys&#096;\u6587\u4ef6\u4e2d vim ~\/.ssh\/authorized_keys chmod 600 ~\/.ssh\/authorized_keys <\/tr>\n<\/table>\n<p>~ \u662f\u6307\u5728\u5f53\u524d\u7528\u6237\u7684\u4e3b\u76ee\u5f55\u4e0b&#xff08;\u5982\u679c\u662froot&#xff0c;\u5c31\u662f\u5728\/root\/\u4e0b&#xff1b;\u5982\u679c\u662f{your-username}\u5219\u5728\/home\/{your-username}\/&#xff09;\u3002 \u5982\u679c\u914d\u7f6e\u5728root\u76ee\u5f55\u4e0b&#xff0c;\u90a3\u7528ssh \u5bc6\u94a5\u5bf9\u767b\u5f55\u65f6\u5c31\u8981\u9009\u62e9root\u7528\u6237\u767b\u5f55&#xff01;<\/p>\n<ul>\n<li>\u7981\u7528root\u8eab\u4efd\u767b\u5f55\n<ul>\n<li>\u627e\u5230PermitRootLogin Yes\u8fd9\u4e00\u9879&#xff0c;\u7136\u540e\u628a\u5b83\u540e\u9762\u7684\u8bbe\u5b9a\u503c\u6539\u4e3ano\u5373\u53ef\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<table>\n<tr>plain sudo vim \/etc\/ssh\/sshd_config <\/tr>\n<\/table>\n<p>&#8211; &lt;font style&#061;&#034;color:rgb(44, 62, 80);&#034;&gt;\u5982\u4e0b&#xff1a;&lt;\/font&gt;<\/p>\n<table>\n<tr>plain PermitRootLogin no #\u5f00\u542fssh\u5bc6\u94a5\u5bf9\u767b\u5f55 PubkeyAuthentication yes <\/tr>\n<\/table>\n<ul>\n<li>\u628a PasswordAuthentication \u8bbe\u7f6e\u6210 no&#xff0c;\u7981\u6b62\u5bc6\u7801\u767b\u5f55&#xff0c;\u66f4\u5b89\u5168&#xff1a;<\/li>\n<\/ul>\n<table>\n<tr>plain PasswordAuthentication no <\/tr>\n<\/table>\n<ul>\n<li>SSH\u7aef\u53e3\u53f7\u6539\u4e3a\u5176\u4ed6\u6570\u5b57&#xff0c;\u6ce8\u610f\u4e86&#xff0c;\u6539\u6210\u5176\u4ed6\u7aef\u53e3\u540e&#xff0c;\u8bb0\u5f97\u9632\u706b\u5899\u8bbe\u7f6e\u4e5f\u8981\u66f4\u65b0\u3002<\/li>\n<\/ul>\n<table>\n<tr>plain Port {SSH\u7aef\u53e3\u53f7&#xff0c;\u6700\u597d\u572810000\u4ee5\u4e0a} <\/tr>\n<\/table>\n<p>\u6700\u540e\u91cd\u542f SSH Server \u751f\u6548&#xff1a;<\/p>\n<table>\n<tr>plain sudo systemctl restart sshd.service <\/tr>\n<\/table>\n<p>\u2014\u2014\u300b\u5f53\u7136\u4e0a\u9762\u5982\u679c\u4e0d\u9700\u8981&#xff0c;\u6216\u8005\u8bf4\u662f\u89c9\u5f97\u9ebb\u70e6\u7684\u8bdd\u4e5f\u4e0d\u9700\u8981\u8bbe\u7f6e&#xff0c;\u6b63\u5e38\u5f00\u653e22\u7aef\u53e3\u4e4b\u540e&#xff0c;\u6309\u7167\u6211\u4e4b\u524d\u535a\u5ba2\u4e0azerotier\u7ec4\u95f4\u5c40\u57df\u865a\u62df\u7f51\u7684\u8bbe\u7f6e&#xff0c;\u5df2\u7ecf\u80fd\u591fvscode remote-ssh\u4e86<\/p>\n<p>https:\/\/blog.csdn.net\/weixin_62528784\/article\/details\/144095579?ops_request_misc&#061;%257B%2522request%255Fid%2522%253A%2522f76f3bf9879979b2911cbba8b1eb4816%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fblog.%2522%257D&amp;request_id&#061;f76f3bf9879979b2911cbba8b1eb4816&amp;biz_id&#061;0&amp;utm_medium&#061;distribute.pc_search_result.none-task-blog-2<sub>blog<\/sub>first_rank_ecpm_v1~rank_v31_ecpm-1-144095579-null-null.nonecase&amp;utm_term&#061;zerotier&amp;spm&#061;1018.2226.3001.4450<\/p>\n<h2>\u516d\u3001\u81ea\u5b9a\u4e49shell \u754c\u9762\u5b89\u88c5<\/h2>\n<ul>\n<li>\u5b89\u88c5 oh-my-zsh&#xff1a; https:\/\/github.com\/ohmyzsh\/ohmyzsh <\/li>\n<\/ul>\n<table>\n<tr>plain sh -c &#034;$(curl -fsSL https:\/\/raw.github.com\/ohmyzsh\/ohmyzsh\/master\/tools\/install.sh)&#034; <\/tr>\n<\/table>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419165126-6803d48e3bfbe.png\" alt=\"\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419165126-6803d48ea9d4f.png\" alt=\"\" \/><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419165126-6803d48ed78e2.png\" alt=\"\" \/><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419165127-6803d48f1c75b.png\" alt=\"\" \/><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419165127-6803d48f63d4e.png\" alt=\"\" \/><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419165127-6803d48fb379a.png\" alt=\"\" \/><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419165127-6803d48fd79f1.png\" alt=\"\" \/><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419165128-6803d4904fe45.png\" alt=\"\" \/><\/p>\n<ul>\n<li>\u5176\u4ed6\u4e3b\u9898\u3001\u63d2\u4ef6\u7b49\u914d\u7f6e\u53c2\u8003&#xff1a;\n<ul>\n<li>https:\/\/www.hackerneo.com\/blog\/dev-tools\/better-use-terminal-with-zsh<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u53ef\u4ee5\u901a\u8fc7bash\u548czsh\u6765\u56de\u5207\u6362shell<\/p>\n<p>cat \/etc\/shells #\u67e5\u770b\u5f53\u524d\u6240\u6709\u7684shell<\/p>\n<p>\u5176\u5b9e\u53ef\u4ee5\u5c06zsh\u4f5c\u4e3a\u9ed8\u8ba4\u7684shell&#xff0c;\u6bd5\u7adf\u529f\u80fd\u517c\u5bb9bash\u4e14\u6bd4bash\u5f3a\u5927<\/p>\n<p>\u4f7f\u7528 **&lt;font style&#061;&#034;color:rgb(236, 72, 153);background-color:rgb(245, 245, 245);&#034;&gt;chsh -s \/bin\/zsh&lt;\/font&gt;** \u547d\u4ee4\u5c06 zsh \u8bbe\u7f6e\u4e3a\u7cfb\u7edf\u9ed8\u8ba4 shell\u3002\u65b0\u5f00\u4e00\u4e2a Shell Session&#xff0c;\u5c31\u53ef\u4ee5\u5f00\u59cb\u4f7f\u7528 zsh \u4e86\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419165128-6803d4907225d.png\" alt=\"\" \/><\/p>\n<p>\u4e0b\u9762\u662f\u5982\u4f55\u914d\u7f6ezsh&#xff0c;\u5c31\u662f\u4fee\u6539\u4e3b\u9898<\/p>\n<p>https:\/\/github.com\/ohmyzsh\/ohmyzsh\/wiki\/Themes<\/p>\n<p>\u5728 https:\/\/github.com\/ohmyzsh\/ohmyzsh\/wiki\/Themes \u4e2d\u67e5\u770b\u5185\u7f6e\u7684\u4e3b\u9898\u6837\u5f0f\u548c\u5bf9\u5e94\u7684\u4e3b\u9898\u540d\u3002\u8fd9\u4e9b\u5185\u7f6e\u4e3b\u9898\u5df2\u7ecf\u653e\u5728 **&lt;font style&#061;&#034;color:rgb(236, 72, 153);background-color:rgb(245, 245, 245);&#034;&gt;&#xff5e;\/.oh-my-zsh\/themes&lt;\/font&gt;** \u76ee\u5f55\u4e0b&#xff0c;\u4e0d\u9700\u8981\u518d\u4e0b\u8f7d\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419165128-6803d4909c734.png\" alt=\"\" \/><\/p>\n<h4>\u5b89\u88c5\u63d2\u4ef6<\/h4>\n<p>oh-my-zsh \u5df2\u7ecf\u5185\u7f6e\u4e86 git \u63d2\u4ef6&#xff0c;\u5185\u7f6e\u63d2\u4ef6\u53ef\u4ee5\u5728 **&lt;font style&#061;&#034;color:rgb(236, 72, 153);background-color:rgb(245, 245, 245);&#034;&gt;&#xff5e;\/.oh-my-zsh\/plugins&lt;\/font&gt;** \u4e2d\u67e5\u770b &#xff0c;\u4e0b\u9762\u4ecb\u7ecd\u4e00\u4e0b\u6211\u5e38\u7528\u7684\u4e09\u4e2a\u63d2\u4ef6&#xff0c;\u66f4\u591a\u63d2\u4ef6\u53ef\u4ee5\u5728 awesome-zsh-plugins \u91cc\u67e5\u770b\u3002<\/p>\n<h5>zsh-autosuggestions<\/h5>\n<p>zsh-autosuggestions \u662f\u4e00\u4e2a\u547d\u4ee4\u63d0\u793a\u63d2\u4ef6&#xff0c;\u5f53\u4f60\u8f93\u5165\u547d\u4ee4\u65f6&#xff0c;\u4f1a\u81ea\u52a8\u63a8\u6d4b\u4f60\u53ef\u80fd\u9700\u8981\u8f93\u5165\u7684\u547d\u4ee4&#xff0c;\u6309\u4e0b\u53f3\u952e\u53ef\u4ee5\u5feb\u901f\u91c7\u7528\u5efa\u8bae\u3002<\/p>\n<\/p>\n<p>\u5b89\u88c5\u6b65\u9aa4&#xff1a;\u6682\u65f6\u4e0d\u80fd\u6267\u884c&#xff08;\u6709\u95ee\u9898&#xff09;&#xff01;&#xff01;&#xff01;<\/p>\n<p>\u53c2\u8003&#xff1a;https:\/\/www.hackerneo.com\/blog\/dev-tools\/better-use-terminal-with-zsh<\/p>\n<p>1.\u628a\u63d2\u4ef6\u4e0b\u8f7d\u5230\u672c\u5730\u7684 **&lt;font style&#061;&#034;color:rgb(236, 72, 153);background-color:rgb(245, 245, 245);&#034;&gt;~\/.oh-my-zsh\/custom\/plugins&lt;\/font&gt;** \u76ee\u5f55&#xff1a;<\/p>\n<p>git clone https:\/\/github.com\/zsh-users\/zsh-autosuggestions ${ZSH_CUSTOM:-~\/.oh-my-zsh\/custom}\/plugins\/zsh-autosuggestions<\/p>\n<p>2.\u5728 **&lt;font style&#061;&#034;color:rgb(236, 72, 153);background-color:rgb(245, 245, 245);&#034;&gt;.zshrc&lt;\/font&gt;** \u4e2d&#xff0c;\u628a **&lt;font style&#061;&#034;color:rgb(236, 72, 153);background-color:rgb(245, 245, 245);&#034;&gt;zsh-autosuggestions&lt;\/font&gt;** \u52a0\u5165\u63d2\u4ef6\u5217\u8868&#xff1a;<\/p>\n<p>plugins&#061;(<br \/>\n    # other plugins&#8230;<br \/>\n    zsh-autosuggestions  # \u63d2\u4ef6\u4e4b\u95f4\u4f7f\u7528\u7a7a\u683c\u9694\u5f00<br \/>\n)<\/p>\n<h2>\u4e03\u3001Docker\u914d\u7f6e&#xff08;\u4e0d\u5f3a\u6c42&#xff09;<\/h2>\n<h3>1\u3001\u5b89\u88c5 Docker \u548c docker-compose<\/h3>\n<ul>\n<li>\u5b98\u65b9\u5730\u5740&#xff1a;https:\/\/docs.docker.com\/install\/linux\/docker-ce\/ubuntu\/<\/li>\n<\/ul>\n<p>| plain #\u56fd\u5185\u4e00\u952e\u5b89\u88c5 sudo curl -sSL https:\/\/get.daocloud.io\/docker | sh #\u56fd\u5916\u4e00\u952e\u5b89\u88c5 sudo curl -sSL get.docker.com | sh #docker-compose sudo curl -L &#034;https:\/\/github.com\/docker\/compose\/releases\/download\/1.24.1\/docker-compose-$(uname -s)-$(uname -m)&#034; -o \/usr\/local\/bin\/docker-compose sudo chmod &#043;x \/usr\/local\/bin\/docker-compose | | \u2014 |<\/p>\n<ul>\n<li>\u5b89\u88c5\u597d Docker \u4ee5\u540e&#xff0c;\u8bb0\u5f97\u5c06\u5f53\u524d\u7528\u6237\u52a0\u5230 docker \u7528\u6237\u7ec4\u91cc\u53bb&#xff08;\u5982\u679c\u4f60\u4e0d\u60f3\u6bcf\u6b21\u90fd\u7528 sudo \u7528 Docker \u7684\u8bdd&#xff09;<\/li>\n<\/ul>\n<table>\n<tr>plain sudo gpasswd docker -a username <\/tr>\n<\/table>\n<h3>2\u3001Docker\u65e5\u5fd7\u7ba1\u7406<\/h3>\n<p>\u5168\u5c40\u914d\u7f6e\u65e5\u5fd7\u5927\u5c0f\u9650\u5236<\/p>\n<ul>\n<li>\u521b\u5efa\u6216\u4fee\u6539\u6587\u4ef6 \/etc\/docker\/daemon.json&#xff0c;\u5e76\u589e\u52a0\u4ee5\u4e0b\u914d\u7f6e&#xff08;3\u4efd\u65e5\u5fd7\u3001\u6bcf\u4efd10M&#xff09;\u3002<\/li>\n<\/ul>\n<table>\n<tr>plain { &#034;log-driver&#034;: &#034;json-file&#034;, &#034;log-opts&#034;: { &#034;max-file&#034;: &#034;3&#034;, &#034;max-size&#034;: &#034;10m&#034; } } <\/tr>\n<\/table>\n<ul>\n<li>\u968f\u540e\u91cd\u542f Docker \u670d\u52a1<\/li>\n<\/ul>\n<table>\n<tr>plain sudo systemctl daemon-reload sudo systemctl restart docker <\/tr>\n<\/table>\n<p>\u4e0d\u8fc7\u5df2\u5b58\u5728\u7684\u5bb9\u5668\u4e0d\u4f1a\u751f\u6548&#xff0c;\u9700\u8981\u91cd\u5efa\u624d\u53ef\u4ee5&#xff01;<\/p>\n<p>\u5355\u4e2a\u5bb9\u5668\u65e5\u5fd7\u5927\u5c0f\u9650\u5236<\/p>\n<ul>\n<li>\u5199\u5728docker-compose\u4e2d<\/li>\n<\/ul>\n<table>\n<tr>plain logging: driver: json-file options: max-size: &#034;100m&#034; max-file: &#034;3&#034; <\/tr>\n<\/table>\n<h2>\u516b\u3001swap\u914d\u7f6e&#xff08;\u4e0d\u5f3a\u6c42&#xff09;<\/h2>\n<table>\n<tr>plain sudo swapoff -a #\u5220\u9664\u539f\u5206\u533a sudo dd if&#061;\/dev\/zero of&#061;\/root\/swapfile bs&#061;1M count&#061;1024 #\u914d\u7f6e\u65b0\u5206\u533a\u5927\u5c0f sudo mkswap \/root\/swapfile sudo swapon \/root\/swapfile sudo vim \/etc\/fstab #\u6700\u540e\u8bbe\u7f6e\u5f00\u673a\u542f\u52a8&#xff1a;\u53ef\u4ee5\u7f16\u8f91 \/etc\/fstab \u6587\u4ef6&#xff0c;\u628a\u6700\u540e\u4e00\u884c\u6539\u6210&#xff1a;&#096;\/root\/swapfile swap swap defaults 0 0&#096; <\/tr>\n<\/table>\n<p>\u53c2\u8003\u6587\u7ae0&#xff1a;<\/p>\n<ul>\n<li>https:\/\/skywt.cn\/blog\/changeswap\/<\/li>\n<\/ul>\n<h2>\u4e5d\u3001logrotate\u65e5\u5fd7\u5927\u5c0f\u9650\u5236<\/h2>\n<table>\n<tr>plain sudo apt install logrotate sudo apt install cron <\/tr>\n<\/table>\n<p>\u914d\u7f6e\u6587\u4ef6\u76ee\u5f55&#xff1a;\/etc\/logrotate.d\/<\/p>\n<table>\n<tr>plain \/var\/log\/syslog \/var\/log\/mail.log \/var\/log\/kern.log \/var\/log\/auth.log \/var\/log\/user.log \/var\/log\/cron.log { weekly rotate 3 maxsize 100M missingok notifempty compress delaycompress sharedscripts postrotate \/usr\/lib\/rsyslog\/rsyslog-rotate endscript } <\/tr>\n<\/table>\n<p>\u67e5\u770b\u670d\u52a1\u72b6\u6001<\/p>\n<table>\n<tr>plain 1 2 plain sudo systemctl status logrotate.service sudo systemctl status logrotate.timer <\/tr>\n<\/table>\n<p>\u53c2\u8003\u6587\u7ae0&#xff1a;<\/p>\n<ul>\n<li>https:\/\/www.cnblogs.com\/uglyliu\/p\/13206868.html<\/li>\n<li>https:\/\/wsgzao.github.io\/post\/logrotate\/<\/li>\n<li>https:\/\/www.noisyfox.io\/logrotate.html<\/li>\n<li>https:\/\/www.cnblogs.com\/liujunjun\/p\/17924699.html<\/li>\n<li>https:\/\/nj.transwarp.cn:8180\/?p&#061;10556<\/li>\n<\/ul>\n<h2>\u5341\u3001Fail2ban \u5c01\u7981 IP<\/h2>\n<h3>\u4e00\u3001\u6b63\u5e38\u5b89\u88c5<\/h3>\n<table>\n<tr>plain sudo apt-get install fail2ban <\/tr>\n<\/table>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419165128-6803d490d8b7f.png\" alt=\"\" \/><\/p>\n<h2>\u5341\u4e00\u3001\u9762\u677f\u5b89\u88c5\u2014\u20141panel<\/h2>\n<table>\n<tr>plain #apt install curl sudo curl -sSL https:\/\/resource.fit2cloud.com\/1panel\/package\/quick_start.sh -o quick_start.sh &amp;&amp; sudo bash quick_start.sh #sudo apt autoremove docker-compose <\/tr>\n<\/table>\n<p>\u53c2\u8003\u6587\u7ae0&#xff1a;<\/p>\n<ul>\n<li>https:\/\/blog.pppfz.com\/posts\/5.html<\/li>\n<\/ul>\n<h2>\u5341\u4e8c\u3001\u5e38\u89c4\u5b89\u5168\u66f4\u65b0<\/h2>\n<ul>\n<li>\u5b89\u88c5 unattended-upgrades \u6765\u81ea\u52a8\u66f4\u65b0 security upgrade<\/li>\n<\/ul>\n<p>\u901a\u8fc7 unattended-upgrades&#xff0c;\u53ef\u4ee5\u4f7f Ubuntu \u7cfb\u7edf\u81ea\u52a8\u8fdb\u884c\u5e38\u89c4\u7684\u5b89\u5168\u76f8\u5173\u66f4\u65b0&#xff0c;\u4f7f\u7cfb\u7edf\u4e00\u76f4\u4fdd\u6301 security\u3002<\/p>\n<table>\n<tr>plain sudo apt install unattended-upgrades sudo dpkg-reconfigure unattended-upgrades <\/tr>\n<\/table>\n<p>\u53c2\u8003&#xff1a; https:\/\/linux.do\/t\/topic\/115839\/31<\/p>\n<p>\u4e0b\u4e00\u7bc7\u535a\u5ba2&#xff1a;\u5c31\u662f\u5728\u670d\u52a1\u5668\u4e0a\u5b89\u88c5\u5e76\u66f4\u65b0github\u63d2\u4ef6\u3001R\u4ee5\u53capython\u8bed\u8a00\u73af\u5883\u4ee5\u53caIDE\u7684\u914d\u7f6e<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1k\u6b21\uff0c\u70b9\u8d5e14\u6b21\uff0c\u6536\u85cf18\u6b21\u3002\u670d\u52a1\u5668\u7684\u57fa\u672c\u914d\u7f6e_\u670d\u52a1\u5668\u914d\u7f6e\u5de5\u5177<\/p>\n","protected":false},"author":2,"featured_media":28513,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,43,438,2294,2019,44],"topic":[],"class_list":["post-28531","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-linux","tag-43","tag-438","tag--ampai","tag-2019","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u670d\u52a1\u5668\u914d\u7f6e-\u4ece0\u5230\u5206\u67902\uff1a\u670d\u52a1\u5668\u57fa\u672c\u8bbe\u7f6e - \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\/28531.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\u914d\u7f6e-\u4ece0\u5230\u5206\u67902\uff1a\u670d\u52a1\u5668\u57fa\u672c\u8bbe\u7f6e - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1k\u6b21\uff0c\u70b9\u8d5e14\u6b21\uff0c\u6536\u85cf18\u6b21\u3002\u670d\u52a1\u5668\u7684\u57fa\u672c\u914d\u7f6e_\u670d\u52a1\u5668\u914d\u7f6e\u5de5\u5177\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/28531.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-19T16:51:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419165124-6803d48ce5f8a.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=\"5 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/28531.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/28531.html\",\"name\":\"\u670d\u52a1\u5668\u914d\u7f6e-\u4ece0\u5230\u5206\u67902\uff1a\u670d\u52a1\u5668\u57fa\u672c\u8bbe\u7f6e - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-19T16:51:30+00:00\",\"dateModified\":\"2025-04-19T16:51:30+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/28531.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/28531.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/28531.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u670d\u52a1\u5668\u914d\u7f6e-\u4ece0\u5230\u5206\u67902\uff1a\u670d\u52a1\u5668\u57fa\u672c\u8bbe\u7f6e\"}]},{\"@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\u914d\u7f6e-\u4ece0\u5230\u5206\u67902\uff1a\u670d\u52a1\u5668\u57fa\u672c\u8bbe\u7f6e - \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\/28531.html","og_locale":"zh_CN","og_type":"article","og_title":"\u670d\u52a1\u5668\u914d\u7f6e-\u4ece0\u5230\u5206\u67902\uff1a\u670d\u52a1\u5668\u57fa\u672c\u8bbe\u7f6e - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1k\u6b21\uff0c\u70b9\u8d5e14\u6b21\uff0c\u6536\u85cf18\u6b21\u3002\u670d\u52a1\u5668\u7684\u57fa\u672c\u914d\u7f6e_\u670d\u52a1\u5668\u914d\u7f6e\u5de5\u5177","og_url":"https:\/\/www.wsisp.com\/helps\/28531.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-19T16:51:30+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419165124-6803d48ce5f8a.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"5 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/28531.html","url":"https:\/\/www.wsisp.com\/helps\/28531.html","name":"\u670d\u52a1\u5668\u914d\u7f6e-\u4ece0\u5230\u5206\u67902\uff1a\u670d\u52a1\u5668\u57fa\u672c\u8bbe\u7f6e - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-19T16:51:30+00:00","dateModified":"2025-04-19T16:51:30+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/28531.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/28531.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/28531.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u670d\u52a1\u5668\u914d\u7f6e-\u4ece0\u5230\u5206\u67902\uff1a\u670d\u52a1\u5668\u57fa\u672c\u8bbe\u7f6e"}]},{"@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\/28531","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=28531"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/28531\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/28513"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=28531"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=28531"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=28531"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=28531"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}