{"id":339418,"date":"2021-02-15T14:07:04","date_gmt":"2021-02-15T06:07:04","guid":{"rendered":"http:\/\/4563.org\/?p=339418"},"modified":"2021-02-15T14:07:04","modified_gmt":"2021-02-15T06:07:04","slug":"%e6%90%ad%e5%bb%ba%e7%bf%bc%e9%be%99%e9%9d%a2%e6%9d%bf%e5%81%9a%e4%b8%80%e4%b8%aamc%e9%9d%a2%e6%9d%bf%e5%95%86%e5%bc%80%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%8d%96%e9%92%b1","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=339418","title":{"rendered":"\u642d\u5efa\u7ffc\u9f99\u9762\u677f\u505a\u4e00\u4e2aMC\u9762\u677f\u5546\u5f00\u670d\u52a1\u5668\u5356\u94b1"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>LittleBlueCat<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>\u642d\u5efa\u7ffc\u9f99\u9762\u677f\u505a\u4e00\u4e2aMC\u9762\u677f\u5546\u5f00\u670d\u52a1\u5668\u5356\u94b1<\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 LittleBlueCat \u4e8e 2021-2-15 11:36 \u7f16\u8f91 <\/p>\n<p> \u5e9f\u8bdd\u4e0d\u591a\u8bf4,\u76f4\u63a5\u8fdb\u5165\u6b63\u9898<br \/>  \u673a\u5668\u914d\u7f6e \u817e\u8baf\u4e91\u8f7b\u91cf\u5e94\u7528\u670d\u52a1\u5668<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;2C 4G 6M 80G<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;\u4f18\u5148\u9009\u62e9\u5927\u9646\u670d\u52a1\u5668 \u5426\u5219\u540e\u671f\u9ad8\u5ef6\u8fdf+UDP\u4e22\u5305(\u57fa\u5ca9\u7248)\u5bb9\u6613\u53bb\u4e16<br \/>  \u673a\u5668\u7cfb\u7edf CentOS8(\u522b\u7684\u4e5f\u884c \u4e3b\u8981\u662f\u5feb\u7167\u91cc\u914d\u7f6e\u5b8c\u7684\u73af\u5883\u53ea\u6709CentOS8\u2026\u2026)<br \/>  \u673a\u5668\u73af\u5883 \u5b9d\u58547.5.1 + PHP7.4 + MySQL5.7 + Nginx1.18<br \/>  Step 1 \u914d\u7f6e\u524d\u7aef<br \/>  \u5b89\u88c5composer<br \/>  curl -sS https:\/\/getcomposer.org\/installer | sudo php &#8212; &#8211;install-dir=\/usr\/local\/bin &#8211;filename=composer<br \/>  \u4e0b\u9762\u8fd9\u6837\u5c31\u662f\u5b89\u88c5\u6210\u529f\u4e86(\u7531\u4e8e\u7f51\u7edc\u95ee\u9898\u4e00\u822c\u90fd\u662f5min\u5de6\u53f3)<br \/>   https:\/\/www.helloimg.com\/images\/2021\/02\/15\/B9WzzY.png<br \/>  \u7136\u540e\u5728\u5b9d\u5854\u65b0\u5efa\u4e2a\u7f51\u7ad9,\u6839\u76ee\u5f55\u8bbe\u7f6e\/www\/wwwroot\/panel \u521b\u5efaMySQL\u6570\u636e\u5e93<br \/>   https:\/\/www.helloimg.com\/images\/2021\/02\/15\/B9WpnE.png<br \/>  \u5207\u6362\u5230\u7f51\u7ad9\u76ee\u5f55 cd \/www\/wwwroot\/panel<br \/>  \u5b89\u88c5\u9762\u677f <br \/>  curl -Lo panel.tar.gz https:\/\/github.com\/pterodactyl\/panel\/releases\/latest\/download\/panel.tar.gz<br \/>  tar -xzvf panel.tar.gz<br \/>  chmod -R 755 storage\/* bootstrap\/cache\/<br \/>  \u663e\u793a\u8fd9\u6837\u5c31\u662f\u5b8c\u6210\u4e86<br \/>   https:\/\/www.helloimg.com\/images\/2021\/02\/15\/B9WDB9.png<br \/>  \u6253\u5f00\u5b9d\u5854\u9762\u677f,\u7ba1\u7406PHP7.4,\u70b9\u51fb\u7981\u7528\u51fd\u6570,\u5220\u9664putenv proc_open shell_exec<br \/>   https:\/\/www.helloimg.com\/images\/2021\/02\/15\/B9WItX.png<br \/>  \u7136\u540e,\u6211\u4eec\u590d\u5236\u9ed8\u8ba4\u73af\u5883\u8bbe\u7f6e\u6587\u4ef6\uff0c\u5b89\u88c5\u6838\u5fc3\u4f9d\u8d56\u9879<br \/>  cp .env.example .env<br \/>  composer install &#8211;no-dev &#8211;optimize-autoloader &#8211;ignore-platform-reqs<br \/>  php artisan key:generate \u2013force<br \/>  \u8fd9\u91cc\u7b2c\u4e8c\u6761\u6307\u4ee4\u4f1a\u5f88\u6162 \u5efa\u8bae\u76f4\u63a5\u5f00\u4e2ascreen\u4e22\u8fdb\u53bb\u9632\u6b62\u6389\u7ebf<br \/>  \u8f93\u51fa\u4e00\u5806\u7eff\u5b57\u7684\u65f6\u5019\u5c31\u662f\u5b89\u88c5\u5b8c\u4e86<br \/>  \u63a5\u4e0b\u6765\u751f\u6210\u79d8\u94a5<br \/>  php artisan key:generate \u2013force<br \/>  \u8f93\u51fa\u8fd9\u6837\u5c31\u662f\u751f\u6210\u6210\u529f\u4e86<br \/>   https:\/\/www.helloimg.com\/images\/2021\/02\/15\/B9W6vg.png<br \/>  \u63a5\u4e0b\u6765\u8fdb\u5165\u5b9d\u5854,\u8bbe\u7f6e\u4f2a\u9759\u6001,\u9009\u62e9laravel5,\u4fdd\u5b58<br \/>   https:\/\/www.helloimg.com\/images\/2021\/02\/15\/B9W8fM.png<br \/>  \u7136\u540e\u8f93\u5165php artisan p:environment:setup\u8fdb\u884c\u8bbe\u7f6e\u9762\u677f,\u524d\u9762\u6309\u7167\u4f60\u81ea\u5df1\u4fe1\u606f\u586b,\u65f6\u533a\u8bbe\u4e3aAsia\/Shanghai,\u7136\u540e\u4e00\u8def\u56de\u8f66\u5c31\u53ef\u4ee5<br \/>  \u63a5\u4e0b\u6765\u8bbe\u7f6e\u6570\u636e\u5e93,\u8f93\u5165php artisan p:environment:database,\u7136\u540e\u6309\u7167\u4f60\u81ea\u5df1\u7684\u4fe1\u606f\u586b<br \/>  \u6ce8\u610f\u586b\u5bc6\u7801\u7684\u65f6\u5019\u4f60\u786e\u5b9a\u586b\u8fdb\u53bb\u4e86\u5c31\u884c,\u56e0\u4e3a\u8fd9\u91cc\u4e0d\u4f1a\u663e\u793a\u5bc6\u7801<br \/>  \u8fd9\u91cc\u4f60\u4e5f\u53ef\u4ee5\u9009\u62e9\u914d\u7f6e\u90ae\u4ef6,\u8f93\u5165php artisan p:environment:mail(\u53ef\u9009 \u975e\u5fc5\u987b)<br \/>  \u8f93\u5165php artisan migrate &#8211;seed\u5f00\u59cb\u914d\u7f6e\u6570\u636e\u5e93,\u8f93\u5165yes\u56de\u8f66<br \/>  \u663e\u793a\u4e0b\u9762\u8fd9\u6837\u5c31\u662f\u6210\u529f\u4e86<br \/>   https:\/\/www.helloimg.com\/images\/2021\/02\/15\/B9WUqP.png<br \/>  \u63a5\u4e0b\u6765\u8bbe\u7f6e\u7ba1\u7406\u5458\u8d26\u53f7\u5bc6\u7801php artisan p:user:make<br \/>  \u4e0b\u9762\u8fd9\u91cc\u8f93\u5165yes,\u5269\u4e0b\u6309\u7167\u4f60\u81ea\u5df1\u4fe1\u606f\u5199<br \/>   https:\/\/www.helloimg.com\/images\/2021\/02\/15\/B9WkUn.png<br \/>  \u7136\u540e\u6211\u4eec\u8f93\u5165vi .env \u5728\u6587\u4ef6\u4e2d\u52a0\u5165\u4e00\u53e5RECAPTCHA_ENABLED=false \u5173\u95edreCAPTACHA(\u4f17\u6240\u5468\u77e5\u7684\u539f\u56e0 \u4e0d\u9762\u5bf9\u5927\u9646\u7528\u6237\u4f60\u4e5f\u53ef\u4ee5\u9009\u62e9\u8df3\u8fc7\u8fd9\u6b65)<br \/>  \u7136\u540e\u8fdb\u5165\u5b9d\u5854\u8bbe\u7f6e\u5b9a\u65f6\u4efb\u52a1,\u4e00\u5206\u949f\u4e00\u6b21,\u6267\u884cphp \/www\/wwwroot\/panel\/artisan schedule:run &gt;&gt; \/dev\/null 2&gt;&amp;1<br \/>   https:\/\/www.helloimg.com\/images\/2021\/02\/15\/B9WVPR.png<br \/>  \u7136\u540e\u914d\u7f6esystemd,\u8f93\u5165vi \/etc\/systemd\/system\/pteroq.service ,\u7c98\u8d34\u4ee5\u4e0b\u5185\u5bb9,\u4fdd\u5b58<br \/>  # Pterodactyl Queue Worker File<br \/>  # &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p>  Description=Pterodactyl Queue Worker<\/p>\n<p>  # On some systems the user and group might be different.<br \/>  # Some systems use `apache` or `nginx` as the user and group.<br \/>  User=www<br \/>  Group=www<br \/>  Restart=always<br \/>  ExecStart=\/usr\/bin\/php \/www\/wwwroot\/panel\/artisan queue:work &#8211;queue=high,standard,low &#8211;sleep=3 &#8211;tries=3<\/p>\n<p>  WantedBy=multi-user.target<\/p>\n<p>  \u4fdd\u5b58\u5b8c\u6bd5\u540e\u8bbe\u7f6e\u4e3a\u5f00\u673a\u81ea\u542f,\u8f93\u5165systemctl enable &#8211;now pteroq.service<br \/>  Step 2 \u914d\u7f6e\u540e\u7aef<br \/>  \u5b89\u88c5docker,\u8f93\u5165 curl -sSL https:\/\/get.docker.com\/ | CHANNEL=stable bash<br \/>  \u663e\u793a\u4e0b\u56fe\u5c31\u662f\u5b89\u88c5\u6210\u529f\u4e86<br \/>   https:\/\/www.helloimg.com\/images\/2021\/02\/15\/B9WYnz.png<br \/>  \u987a\u4fbf\u518d\u542f\u52a8\u4e00\u4e0bdocker,\u8f93\u5165 systemctl enable &#8211;now docker.service<br \/>  \u63a5\u4e0b\u6765\u5b89\u88c5node.js,\u8f93\u5165<br \/>  curl -sL https:\/\/rpm.nodesource.com\/setup_10.x | bash &#8211;<br \/>  yum -y install nodejs<br \/>  \u7136\u540e\u6211\u4eec\u5f00\u59cb\u914d\u7f6e\u540e\u7aef,\u8f93\u5165<br \/>  mkdir -p \/etc\/pterodactyl<br \/>  curl -L -o \/usr\/local\/bin\/wings https:\/\/github.com\/pterodactyl\/wings\/releases\/latest\/download\/wings_linux_amd64<br \/>  chmod u+x \/usr\/local\/bin\/wings<br \/>  \u6700\u8fd1\u817e\u8baf\u673a\u5b50\u8bbf\u95eegayhub\u901f\u5ea6\u5feb\u4e86 \u4e0d\u77e5\u9053\u662f\u4f18\u5316\u4e86\u8fd8\u662f\u641e\u4e86\u52a0\u901f\u96a7\u9053<br \/>  \u5230\u8fd9\u91cc,\u540e\u7aef\u5c31\u5b89\u88c5\u5b8c\u6210\u4e86<br \/>  Step 3 \u524d\u540e\u7aef\u5bf9\u63a5<br \/>  \u8fdb\u5165\u5b9d\u5854\u9762\u677f,\u8fd0\u884c\u76ee\u5f55\u8bbe\u7f6e\u4e3a\/public \u5efa\u8bae\u5173\u95ed\u9632\u8de8\u7ad9\u653b\u51fb<br \/>   https:\/\/www.helloimg.com\/images\/2021\/02\/15\/B9Wf7A.png<br \/>  \u7136\u540e\u8fdb\u5165\u540e\u53f0,\u767b\u5f55,\u70b9\u51fb\u53f3\u4e0a\u89d2\u9f7f\u8f6e,\u8fdb\u5165\u8bbe\u7f6e\u9875\u9762,\u70b9\u51fblocation<br \/>  \u70b9\u51fb\u8fd9\u91cc\u6309\u7167\u63d0\u793a\u521b\u5efa\u670d\u52a1\u5668\u5730\u533a<br \/>   https:\/\/www.helloimg.com\/images\/2021\/02\/15\/B9Wut0.png<br \/>  \u70b9\u51fb\u8fd9\u91cc\u521b\u5efa\u65b0\u7684\u8282\u70b9<br \/>   https:\/\/www.helloimg.com\/images\/2021\/02\/15\/B9WjC5.png<br \/>  \u63a5\u4e0b\u6765\u9664\u4e86\u7bad\u5934\u6307\u7684\u5730\u65b9\u5176\u4ed6\u4e0d\u5efa\u8bae\u52a8<br \/>   https:\/\/www.helloimg.com\/images\/2021\/02\/15\/B99Cqc.png<br \/>  sudo wings \u2013debug<br \/>  \u8f93\u5165\u4e0b\u9762\u7684\u6307\u4ee4\u5f00\u542f\u540e\u7aef<br \/>   https:\/\/www.helloimg.com\/images\/2021\/02\/15\/B99RUr.png<br \/>  \u8f93\u51fa\u8fd9\u6837\u5c31\u5dee\u4e0d\u591a\u4e86<br \/>  \u7136\u540e\u628a\u8fd9\u91cc\u7684\u5185\u5bb9\u590d\u5236\u5230\/etc\/pterodactyl\/config.yml<br \/>   https:\/\/www.helloimg.com\/images\/2021\/02\/15\/B99oPT.png<br \/>  \u8bbe\u7f6e\u597d\u6587\u4ef6\u540e\u70b9\u51fb\u8fd9\u91cc<br \/>   https:\/\/www.helloimg.com\/images\/2021\/02\/15\/B99FH1.png<br \/>  \u590d\u5236\u8fd9\u91cc\u7684\u547d\u4ee4\u5230ssh<br \/>   https:\/\/www.helloimg.com\/images\/2021\/02\/15\/B99P7K.png<br \/>  \u8fc7\u4e00\u4f1a\u6211\u4eec\u5c31\u4f1a\u53d1\u73b0\u8fde\u4e0a\u540e\u7aef\u4e86<br \/>   https:\/\/www.helloimg.com\/images\/2021\/02\/15\/B991Cb.png<br \/>  \u5230\u8fd9\u91cc,\u7ffc\u9f99\u9762\u677f\u5c31\u5b89\u88c5\u7ed3\u675f\u4e86.\u7136\u540e\u6211\u4eec\u5c31\u53ef\u4ee5\u5f00\u670d\u52a1\u5668\u4e86(\u9700\u8981\u914d\u7f6e\u6838\u5fc3\u7b49\u7b49)<br \/>  \u6574\u4e2a\u6559\u7a0b\u5199\u7684\u6bd4\u8f83\u6025\u4fc3 \u5982\u679c\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u6709\u95ee\u9898\u53ef\u4ee5\u8bc4\u8bba\u533a\u56de\u5e16 \u770b\u5230\u4e86\u6211\u4f1a\u7ed9\u51fa\u89e3\u51b3\u65b9\u6848<br \/>  IP+1 :lol  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>Godtokoo<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5168\u7403\u535a\u5ba2\u8bba\u575b\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>MoeWang<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u4eba\u4eba\u90fd\u80fd\u5f53idc\u7684\u65f6\u4ee3\u6765\u4e34\u4e86:lolhttps:\/\/cdn.jsdelivr.net\/gh\/hishis\/forum-master\/public\/images\/patch.gif\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>LittleBlueCat<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tMoeWang \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2021-2-15 10:36<br \/>  \u4eba\u4eba\u90fd\u80fd\u5f53idc\u7684\u65f6\u4ee3\u6765\u4e34\u4e86<\/p>\n<p> \u800c\u4e14\u8fd9\u4e1c\u897f\u7406\u8bba\u4e0a\u8fd8\u4e0d\u6d89\u53ca\u8d44\u8d28\u7684\u95ee\u9898:lol\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>sagit<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u4e0d\u660e\u89c9\u5389\uff0c\u611f\u8c22\u5206\u4eab\u3002https:\/\/cdn.jsdelivr.net\/gh\/hishis\/forum-master\/public\/images\/patch.gif\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>logo<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u54c7\u9760\u771f\u7684\u662f\u4ec0\u4e48\u90fd\u4f1a\u554a\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>LittleBlueCat<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u81ea\u9876\u4e00\u4e0b:lol\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>LittleBlueCat \u5927\u4f6c\u6709&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/339418"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=339418"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/339418\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=339418"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=339418"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=339418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}