{"id":139,"date":"2025-11-03T19:27:58","date_gmt":"2025-11-03T19:27:58","guid":{"rendered":"https:\/\/rivocode.com\/?p=139"},"modified":"2025-11-03T19:27:58","modified_gmt":"2025-11-03T19:27:58","slug":"%e5%a4%9a%e8%af%ad%e8%a8%80%e4%ba%a4%e6%98%93%e6%89%80-%e5%89%8d%e7%ab%afvue%e7%ba%af%e6%ba%90%e7%a0%81-%e5%90%88%e7%ba%a6%e4%ba%a4%e6%98%93%e6%9c%9f%e6%9d%83%e4%ba%a4%e6%98%93%e5%b8%81%e5%b8%81","status":"publish","type":"post","link":"https:\/\/wuwucode.com\/en\/139\/","title":{"rendered":"\u591a\u8bed\u8a00\u4ea4\u6613\u6240\/\u524d\u7aefvue\u7eaf\u6e90\u7801\/\u5408\u7ea6\u4ea4\u6613+\u671f\u6743\u4ea4\u6613+\u5e01\u5e01\u4ea4\u6613+\u6760\u6746\u4ea4\u6613+\u77ff\u673a+\u9501\u4ed3\u6316\u77ff+\u65b0\u5e01\u7533\u8d2d+NFT\u76f2\u76d2+\u53cc\u5e01\u7406\u8d22"},"content":{"rendered":"<p>&nbsp;<\/p>\n<h3>PNYX<a title=\"\u66f4\u591a\u5173\u4e8e \u591a\u8bed\u8a00 \u7684\u6587\u7ae0\" href=\"https:\/\/www.ymkuzhan.com\/tag\/%e5%a4%9a%e8%af%ad%e8%a8%80\" target=\"_blank\" rel=\"noopener\">\u591a\u8bed\u8a00<\/a><a title=\"\u66f4\u591a\u5173\u4e8e \u4ea4\u6613\u6240 \u7684\u6587\u7ae0\" href=\"https:\/\/www.ymkuzhan.com\/tag\/%e4%ba%a4%e6%98%93%e6%89%80\" target=\"_blank\" rel=\"noopener\">\u4ea4\u6613\u6240<\/a>\/\u524d\u7aefvue\u7eaf\u6e90\u7801\/\u5408\u7ea6\u4ea4\u6613\/<a title=\"\u66f4\u591a\u5173\u4e8e \u671f\u6743\u4ea4\u6613 \u7684\u6587\u7ae0\" href=\"https:\/\/www.ymkuzhan.com\/tag\/%e6%9c%9f%e6%9d%83%e4%ba%a4%e6%98%93\" target=\"_blank\" rel=\"noopener\">\u671f\u6743\u4ea4\u6613<\/a>\/\u5e01\u5e01\u4ea4\u6613\/\u6760\u6746\u4ea4\u6613\/\u77ff\u673a\/\u9501\u4ed3\u6316\u77ff\/\u65b0\u5e01\u7533\u8d2d\/NFT\u76f2\u76d2\/\u53cc\u5e01\u7406\u8d22<\/h3>\n<p>\u5e26\u642d\u5efa\u6559\u7a0b\uff0c\u524d\u7aefvue\u6e90\u7801\uff0c\u6709\u5174\u8da3\u7684\u53ef\u4ee5\u4e0b\u8f7d\u4e8c\u5f00<\/p>\n<p>\u548c\u4e0a\u4e00\u5957\u5dee\u4e0d\u591a\uff0c\u8fd9\u5957\u5e26\u524d\u7aefvue\u6e90\u7801<\/p>\n<p>\u5982\u679c\u540e\u7aef\u6253\u4e0d\u5f00 \u68c0\u67e5\u4e00\u4e0b\/bootstrap\/cache\/config.php \u8fd9\u91cc\u9762\u7684\u6570\u636e\u5e93\u4fe1\u606f \u8def\u5f84 \u8fd8\u6709\u57df\u540d \u662f\u4e0d\u662f\u90fd \u5df2\u7ecf\u6210\u4e3a\u4f60\u7684<\/p>\n<p>\u6216\u8005cd\u5230\u7f51\u7ad9\u76ee\u5f55\u6267\u884c php artisan config:cache \u6e05\u7406\u7f13\u5b58<\/p>\n<p>&nbsp;<\/p>\n<p><em><strong>\u6d4b\u8bd5\u73af\u5883\uff1a<\/strong><\/em><\/p>\n<p>\u5b9d\u5854\u3001Linux\u7cfb\u7edf\u3001PHP7.3\u3001MySQL5.7\uff0c\u6839\u76ee\u5f55public\uff0c\u4f2a\u9759\u6001larvael5<\/p>\n<p><em><strong>\u642d\u5efa\u8bf4\u660e\uff1a<\/strong><\/em><\/p>\n<p>\u5b89\u88c5php\u6269\u5c55 fileinfo opcache redis imagemagick imap<\/p>\n<p>9300\u30019200\u30012000\u30012001\u30012002\u30012003<\/p>\n<p>nginx\u7ad9\u70b9\u914d\u7f6e\u53cd\u5411\u4ee3\u7406<\/p>\n<pre>location ~\/(wss|socket.io){ # \u6b64\u5904\u6539\u4e3a socket.io \u540e\u7aef\u7684 ip \u548c\u7aef\u2f1d\u5373\u53ef\r\nproxy_pass http:\/\/127.0.0.1:2000;\r\nproxy_set_header Upgrade $http_upgrade;\r\nproxy_set_header Connection \"upgrade\";\r\nproxy_http_version 1.1;\r\nproxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\nproxy_set_header Host $host;\r\n}<\/pre>\n<p>\u653e\u884c\u6240\u6709\u7aef\u53e3<\/p>\n<p>\u4e0a\u4f20\u6e90\u7801 \u8bbe\u7f6epublic\u8fd0\u884c\u76ee\u5f55 laravel5\u4f2a\u9759\u6001<\/p>\n<p>\u540e\u53f0\uff1a\/ymkuzhan<br \/>\n\u8d26\u53f7\uff1aadmin<br \/>\n\u5bc6\u7801\uff1a123456<\/p>\n<p>\u5982\u679c\u540e\u7aef\u6253\u4e0d\u5f00 \u68c0\u67e5\u4e00\u4e0b\/jys\/bootstrap\/cache\/config.php \u8fd9\u91cc\u9762\u7684\u6570\u636e\u5e93\u4fe1\u606f \u8def\u5f84 \u8fd8\u6709\u57df\u540d \u662f\u4e0d\u662f\u90fd \u5df2\u7ecf\u6210\u4e3a\u4f60\u7684<\/p>\n<p>\u6216\u8005\u6267\u884c php artisan config:cache \u6e05\u7406\u7f13\u5b58<\/p>\n<p>&nbsp;<\/p>\n<p>\u5b89\u88c5java \u7ec8\u7aef\u6267\u884c\u547d\u4ee4 \u6216\u770b\u53e6\u4e00\u4e2a<br \/>\n1<\/p>\n<pre>yum install java -y<\/pre>\n<p>2<\/p>\n<pre>rpm --import https:\/\/artifacts.elastic.co\/GPG-KEY-elasticsearch\r\nvi \/etc\/yum.repos.d\/elasticsearch.repo<\/pre>\n<p>\u70b9\u51fb\u2019i\u2019 \u8fdb\u5165\u7f16\u8f91<\/p>\n<p>3<\/p>\n<p>\u63d2\u5165\u4e0b\u9762\u4ee3\u7801<\/p>\n<pre>[elasticsearch-7.x]\r\nname=Elasticsearch repository for 7.x packages\r\nbaseurl=https:\/\/artifacts.elastic.co\/packages\/7.x\/yum\r\ngpgcheck=1\r\ngpgkey=https:\/\/artifacts.elastic.co\/GPG-KEY-elasticsearch\r\nenabled=1\r\nautorefresh=1\r\ntype=rpm-md<\/pre>\n<p>\u5199\u5b8c\u540e,\u70b9\u51fb\u2019esc\u2019\u6309\u94ae\u9000\u51fa<br \/>\nshift+\uff1a \u8f93\u5165wq\u56de\u8f66\u4fdd\u5b58\u9000\u51fa<\/p>\n<p>4<\/p>\n<pre>yum install elasticsearch<\/pre>\n<p>5<\/p>\n<p>\u542f\u52a8<\/p>\n<pre> \r\nservice elasticsearch start<\/pre>\n<p>6 \u68c0\u67e5\u662f\u5426\u542f\u52a8<\/p>\n<pre>curl -X GET localhost:9200<\/pre>\n<p>&nbsp;<\/p>\n<p>\u5207\u6362\u5230\u7f51\u7ad9\u6839\u76ee\u5f55 \u6e05\u7406\u7f13\u5b58 php artisan config:cache<\/p>\n<p>\u4e24\u4e2a\u8ba1\u5212\u4efb\u52a1<\/p>\n<p>\u8def\u5f84\u66f4\u6539\u4e3a\u81ea\u5df1\u7684\u7f51\u7ad9\u8def\u5f84<\/p>\n<p>1\u3001start<\/p>\n<pre>cd \/www\/wwwroot\/jys\/public\/vendor\/webmsgsender \r\nphp start.php start<\/pre>\n<p>2\u3001 websocket:client<\/p>\n<pre>cd \/www\/wwwroot\/jys\r\nphp artisan websocket:client restart<\/pre>\n<p>\u6267\u884c\u961f\u5217<\/p>\n<pre>cd \/www\/wwwroot\/jys\r\nphp artisan schedule:run<\/pre>\n<p>&nbsp;<\/p>\n<p>\u961f\u5217<\/p>\n<pre>cd \/www\/wwwroot\/jys\r\nphp artisan queue:work\r\n\r\nsh start.sh<\/pre>\n<p>&nbsp;<\/p>\n<p>\u77ff\u673a\u8fd4\u73b0\u6267\u884c\u811a\u672c \u6bcf\u5929\u665a\u4e0a12\u70b9\u6267\u884c\u4e00\u6b21\u5c31\u884c<br \/>\nhttps:\/\/\u57df\u540d\/api\/user\/kj<\/p>\n<p>\u4ee3\u7406\u5546\u540e\u53f0\u5730\u5740<br \/>\nhttps:\/\/\u57df\u540d\/agent<\/p>\n<p><em><strong>\u6d4b\u8bd5\u622a\u56fe\uff1a<\/strong><\/em><\/p>\n<p>&nbsp;<\/p>\n\n\t\t<div id='gallery-1' class='gallery galleryid-139 gallery-column-5 clearfix'><div class='gallery-item gallery-fancy-item'><a href='https:\/\/wuwucode.com\/wp-content\/uploads\/2025\/11\/03192617314.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"351\" height=\"760\" src=\"https:\/\/wuwucode.com\/wp-content\/uploads\/2025\/11\/03192617314.jpg\" class=\"attachment-full size-full\" alt=\"\" \/><\/a><\/div><div class='gallery-item gallery-fancy-item'><a href='https:\/\/wuwucode.com\/wp-content\/uploads\/2025\/11\/03192618977.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"351\" height=\"760\" src=\"https:\/\/wuwucode.com\/wp-content\/uploads\/2025\/11\/03192618977.jpg\" class=\"attachment-full size-full\" alt=\"\" \/><\/a><\/div><div class='gallery-item gallery-fancy-item'><a href='https:\/\/wuwucode.com\/wp-content\/uploads\/2025\/11\/03192619137.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"351\" height=\"760\" src=\"https:\/\/wuwucode.com\/wp-content\/uploads\/2025\/11\/03192619137.jpg\" class=\"attachment-full size-full\" alt=\"\" \/><\/a><\/div><div class='gallery-item gallery-fancy-item'><a href='https:\/\/wuwucode.com\/wp-content\/uploads\/2025\/11\/03192619733.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"351\" height=\"760\" src=\"https:\/\/wuwucode.com\/wp-content\/uploads\/2025\/11\/03192619733.jpg\" class=\"attachment-full size-full\" alt=\"\" \/><\/a><\/div><div class='gallery-item gallery-fancy-item'><a href='https:\/\/wuwucode.com\/wp-content\/uploads\/2025\/11\/03192620797.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"351\" height=\"760\" src=\"https:\/\/wuwucode.com\/wp-content\/uploads\/2025\/11\/03192620797.jpg\" class=\"attachment-full size-full\" alt=\"\" \/><\/a><\/div><div class='gallery-item gallery-fancy-item'><a href='https:\/\/wuwucode.com\/wp-content\/uploads\/2025\/11\/03192621279.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"351\" height=\"760\" src=\"https:\/\/wuwucode.com\/wp-content\/uploads\/2025\/11\/03192621279.jpg\" class=\"attachment-full size-full\" alt=\"\" \/><\/a><\/div><div class='gallery-item gallery-fancy-item'><a href='https:\/\/wuwucode.com\/wp-content\/uploads\/2025\/11\/03192621636.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"351\" height=\"760\" src=\"https:\/\/wuwucode.com\/wp-content\/uploads\/2025\/11\/03192621636.jpg\" class=\"attachment-full size-full\" alt=\"\" \/><\/a><\/div><div class='gallery-item gallery-fancy-item'><a href='https:\/\/wuwucode.com\/wp-content\/uploads\/2025\/11\/03192622116.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"351\" height=\"760\" src=\"https:\/\/wuwucode.com\/wp-content\/uploads\/2025\/11\/03192622116.jpg\" class=\"attachment-full size-full\" alt=\"\" \/><\/a><\/div><div class='gallery-item gallery-fancy-item'><a href='https:\/\/wuwucode.com\/wp-content\/uploads\/2025\/11\/03192623788.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"351\" height=\"760\" src=\"https:\/\/wuwucode.com\/wp-content\/uploads\/2025\/11\/03192623788.jpg\" class=\"attachment-full size-full\" alt=\"\" \/><\/a><\/div><div class='gallery-item gallery-fancy-item'><a href='https:\/\/wuwucode.com\/wp-content\/uploads\/2025\/11\/03192623168.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"351\" height=\"760\" src=\"https:\/\/wuwucode.com\/wp-content\/uploads\/2025\/11\/03192623168.jpg\" class=\"attachment-full size-full\" alt=\"\" \/><\/a><\/div><\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; PNYX\u591a\u8bed\u8a00\u4ea4\u6613\u6240\/\u524d\u7aefvue\u7eaf\u6e90\u7801\/\u5408\u7ea6\u4ea4\u6613\/\u671f\u6743\u4ea4\u6613\/\u5e01\u5e01\u4ea4\u6613\/\u6760\u6746\u4ea4\u6613\/\u77ff\u673a\/\u9501\u4ed3\u6316\u77ff\/ [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":149,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[6],"tags":[],"topic":[],"class_list":["post-139","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blockchain"],"acf":[],"_links":{"self":[{"href":"https:\/\/wuwucode.com\/en\/wp-json\/wp\/v2\/posts\/139","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wuwucode.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wuwucode.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wuwucode.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wuwucode.com\/en\/wp-json\/wp\/v2\/comments?post=139"}],"version-history":[{"count":1,"href":"https:\/\/wuwucode.com\/en\/wp-json\/wp\/v2\/posts\/139\/revisions"}],"predecessor-version":[{"id":150,"href":"https:\/\/wuwucode.com\/en\/wp-json\/wp\/v2\/posts\/139\/revisions\/150"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wuwucode.com\/en\/wp-json\/wp\/v2\/media\/149"}],"wp:attachment":[{"href":"https:\/\/wuwucode.com\/en\/wp-json\/wp\/v2\/media?parent=139"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wuwucode.com\/en\/wp-json\/wp\/v2\/categories?post=139"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wuwucode.com\/en\/wp-json\/wp\/v2\/tags?post=139"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/wuwucode.com\/en\/wp-json\/wp\/v2\/topic?post=139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}