{"id":69,"date":"2022-05-24T23:56:11","date_gmt":"2022-05-24T15:56:11","guid":{"rendered":"https:\/\/zoran.090702.xyz\/?p=69"},"modified":"2022-05-24T23:56:11","modified_gmt":"2022-05-24T15:56:11","slug":"%e5%88%86%e4%ba%ab%e5%ae%9d%e5%a1%947-7%e5%8e%9f%e7%89%88%e5%bc%80%e5%bf%83%e8%84%9a%e6%9c%ac%e4%bc%98%e5%8c%96%e8%84%9a%e6%9c%ac","status":"publish","type":"post","link":"https:\/\/zoran.090702.xyz\/?p=69","title":{"rendered":"\u5206\u4eab\u5b9d\u58547.7\u539f\u7248+\u5f00\u5fc3\u811a\u672c+\u4f18\u5316\u811a\u672c"},"content":{"rendered":"<p>#\u5b89\u88c5\u66f4\u65b0\u8fd0\u884c\u73af\u5883\uff08Debian\u7cfb\u7edf\uff09<br \/>\napt update -y &amp;&amp; apt dist-upgrade -y &amp;&amp; apt install -y curl &amp;&amp; apt install -y socat<br \/>\napt-get install -y xz-utils openssl gawk file wget screen &amp;&amp; screen -S os<\/p>\n<p># \u66f4\u6539SSH\u7ec8\u7aef\u4e2d\u6587\u8bed\u8a00<br \/>\nwget -N &#8211;no-check-certificate https:\/\/raw.githubusercontent.com\/FunctionClub\/LocaleCN\/master\/LocaleCN.sh &amp;&amp; bash LocaleCN.sh<\/p>\n<p># \u66f4\u6539\u670d\u52a1\u5668\u65f6\u533a\u4e3a\u4e0a\u6d77<br \/>\ntimedatectl set-timezone &#8216;Asia\/Shanghai&#8217;<\/p>\n<p>#\u9996\u5148\u5b9d\u5854\u9762\u677f7.7\u539f\u7248<br \/>\ncurl -sSO https:\/\/raw.githubusercontent.com\/zhucaidan\/btpanel-v7.7.0\/main\/install\/install_panel.sh &amp;&amp; bash install_panel.sh<br \/>\n#\u7136\u540e\u6267\u884c\u4e00\u952e\u5f00\u5fc3\u811a\u672c<br \/>\ncurl -sSO https:\/\/raw.githubusercontent.com\/ztkink\/bthappy\/main\/one_key_happy.sh &amp;&amp; bash one_key_happy.sh<\/p>\n<p>#\u6700\u540e\u6267\u884c\u4e0b\u4e00\u952e\u4f18\u5316\u8865\u4e01<br \/>\nwget -O optimize.sh http:\/\/f.cccyun.cc\/bt\/optimize.sh &amp;&amp; bash optimize.sh<\/p>\n<p>&nbsp;<\/p>\n<div class=\"blockcode\">\n<div id=\"code_iJ2\">\n<ol>\n<li>#\u5b9d\u5854\u9762\u677f7.7\u539f\u7248\u7b2c\u4e09\u65b9\u5b58\u6863<\/li>\n<li>\u7eaf\u539f\u72481\uff1acurl -sSO https:\/\/raw.githubusercontent.com\/zhucaidan\/btpanel-v7.7.0\/main\/install\/install_panel.sh &amp;&amp; bash install_panel.sh<\/li>\n<li>\u7eaf\u539f\u72482\uff1awget -O install.sh http:\/\/f.cccyun.cc\/bt\/install_6.0.sh &amp;&amp; bash install.sh<\/li>\n<li>\u5347\u7ea7(\u964d\u7ea7)\u52307.7\u547d\u4ee4\uff1a curl http:\/\/f.cccyun.cc\/bt\/update6.sh|bash<\/li>\n<li><\/li>\n<li>&lt;!&#8211;\u5b9d\u58547.7\u539f\u7248\u4e00\u952e\u5f00\u5fc3\u811a\u672c&#8211;&gt;<\/li>\n<li>curl -sSO https:\/\/raw.githubusercontent.com\/ztkink\/bthappy\/main\/one_key_happy.sh &amp;&amp; bash one_key_happy.sh<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<p>mod<\/p>\n<div class=\"blockcode\">\n<div id=\"code_x76\">\n<ol>\n<li>&lt;!&#8211;\u624b\u52a8\u89e3\u9501\u5b9d\u5854\u6240\u6709\u4ed8\u8d39\u63d2\u4ef6\u4e3a\u6c38\u4e0d\u8fc7\u671f&#8211;&gt;<\/li>\n<li>\u6587\u4ef6\u8def\u5f84\uff1awww\/server\/panel\/data\/plugin.json<\/li>\n<li>\u641c\u7d22\u5b57\u7b26\u4e32\uff1a&#8221;endtime&#8221;: -1 \u5168\u90e8\u66ff\u6362\u4e3a &#8220;endtime&#8221;: 999999999999<\/li>\n<li>&lt;!&#8211;\u624b\u52a8\u963b\u6b62\u89e3\u9501\u63d2\u4ef6\u540e\u81ea\u52a8\u4fee\u590d\u4e3a\u514d\u8d39\u7248&#8211;&gt;<\/li>\n<li>chattr +i \/www\/server\/panel\/data\/plugin.json<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<div class=\"blockcode\">\n<div id=\"code_M9L\">\n<ol>\n<li># \u5b9d\u5854linux\u5de5\u5177\u7bb1\u4f18\u5316\u811a\u672c<\/li>\n<li>\u4e00\u952e\u4fee\u6539\u5b9d\u5854\u9762\u677f\u6a21\u677f\u3001\u53bb\u9664\u5f3a\u5236\u767b\u9646\u3001\u4e00\u952e\u4fee\u590d\u9762\u677f\u3001\u4e00\u952e\u66f4\u6362yum\u6e90\u3001\u6e05\u9664\u7cfb\u7edf\u5783\u573e\u7f13\u5b58\u3001\u7cfb\u7edf\u4f18\u5316\u7b49<\/li>\n<li>https:\/\/gitee.com\/gacjie\/btpanel_tools<\/li>\n<li>wget -O btpanel_tools.sh https:\/\/download.btpanel.cm\/tools\/btpanel_tools.sh &amp;&amp; bash btpanel_tools.sh<\/li>\n<li><\/li>\n<li>#\u5b9d\u5854\u9762\u677f\u4e00\u952e\u4f18\u5316\u8865\u4e01 -\u5f69\u8679<\/li>\n<li>1.\u53bb\u9664\u5b9d\u5854\u9762\u677f\u5f3a\u5236\u7ed1\u5b9a\u8d26\u53f7<\/li>\n<li>2.\u53bb\u9664\u5404\u79cd\u5220\u9664\u64cd\u4f5c\u65f6\u7684\u8ba1\u7b97\u9898\u4e0e\u5ef6\u65f6\u7b49\u5f85<\/li>\n<li>3.\u53bb\u9664\u521b\u5efa\u7f51\u7ad9\u81ea\u52a8\u521b\u5efa\u7684\u5783\u573e\u6587\u4ef6\uff08index.html\u3001404.html\u3001.htaccess\uff09<\/li>\n<li>4.\u5173\u95ed\u672a\u7ed1\u5b9a\u57df\u540d\u63d0\u793a\u9875\u9762\uff0c\u9632\u6b62\u6709\u4eba\u8bbf\u95ee\u672a\u7ed1\u5b9a\u57df\u540d\u76f4\u63a5\u770b\u51fa\u6765\u662f\u7528\u7684\u5b9d\u5854\u9762\u677f<\/li>\n<li>5.\u5173\u95ed\u6d3b\u52a8\u63a8\u8350\u4e0e\u5728\u7ebf\u5ba2\u670d<\/li>\n<li>6.\u53bb\u9664\u81ea\u52a8\u6821\u9a8c\u6587\u4ef6\u4e0e\u4e0a\u62a5\u4fe1\u606f\u5b9a\u65f6\u4efb\u52a1<\/li>\n<li>7.\u53bb\u9664\u9762\u677f\u65e5\u5fd7\u4e0e\u7f51\u7ad9\u7ed1\u5b9a\u57df\u540d\u4e0a\u62a5<\/li>\n<li>\u9002\u75287.7\u7248\u672c\uff1awget -O optimize.sh http:\/\/f.cccyun.cc\/bt\/optimize.sh &amp;&amp; bash optimize.sh<\/li>\n<li>\u9002\u75287.9\u7248\u672c\uff1awget -O optimize.sh http:\/\/f.cccyun.cc\/bt\/optimize_new.sh &amp;&amp; bash optimize.sh<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>#\u5b89\u88c5\u66f4\u65b0\u8fd0\u884c\u73af\u5883\uff08Debian\u7cfb\u7edf\uff09 apt update -y &amp;&amp; apt dist-u&hellip; <a href=\"https:\/\/zoran.090702.xyz\/?p=69\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb <span class=\"screen-reader-text\">\u5206\u4eab\u5b9d\u58547.7\u539f\u7248+\u5f00\u5fc3\u811a\u672c+\u4f18\u5316\u811a\u672c<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-69","post","type-post","status-publish","format-standard","hentry","category-2"],"_links":{"self":[{"href":"https:\/\/zoran.090702.xyz\/index.php?rest_route=\/wp\/v2\/posts\/69","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zoran.090702.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zoran.090702.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zoran.090702.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zoran.090702.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=69"}],"version-history":[{"count":1,"href":"https:\/\/zoran.090702.xyz\/index.php?rest_route=\/wp\/v2\/posts\/69\/revisions"}],"predecessor-version":[{"id":70,"href":"https:\/\/zoran.090702.xyz\/index.php?rest_route=\/wp\/v2\/posts\/69\/revisions\/70"}],"wp:attachment":[{"href":"https:\/\/zoran.090702.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=69"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zoran.090702.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=69"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zoran.090702.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=69"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}