{"id":101,"date":"2021-05-15T14:52:00","date_gmt":"2021-05-15T14:52:00","guid":{"rendered":"https:\/\/262235.xyz\/?p=101"},"modified":"2021-05-15T14:52:00","modified_gmt":"2021-05-15T14:52:00","slug":"101","status":"publish","type":"post","link":"https:\/\/lyvba.com\/index.php\/2021\/05\/15\/101\/","title":{"rendered":"\u4f18\u5316VPS\u7a7a\u95f4\uff0c\u7528\u6765PT\u5237\u4e0a\u4f20"},"content":{"rendered":"<h2>\u4f18\u5316VPS\u7a7a\u95f4\uff0c\u7528\u6765PT\u5237\u4e0a\u4f20<\/h2>\n<pre><code># \u4e0b\u8f7d\u81ea\u52a8\u5b89\u88c5\u5b89\u88c5\u811a\u672c\nwget git.io\/auto.sh\n\n# \u81ea\u52a8\u5b89\u88c5 Debian 10\nbash auto.sh -d 10 -v 64 -a -p \u5bc6\u7801\n\n# \u5b89\u88c5wgmtu\u811a\u672c\napt install wget\nwget git.io\/wgmtu\n\n# bash wgmtu 88   # \u81ea\u7528\u811a\u672c\u7528\u6765\u8bbe\u7f6e\u8bc1\u4e66\u548c\u5e38\u7528\u8f6f\u4ef6\n\n# \u7cbe\u7b80\u5b89\u88c5\uff0cVPS\u865a\u62df\u673a\u4e0d\u7528\u5b89\u88c5linux\u56fa\u4ef6\u6bd4\u8f83\u5c0f\u5de7\ndf -h\nFilesystem      Size  Used Avail Use% Mounted on\n\/dev\/vda1        16G  901M   14G   6% \/\n\n# \u5b89\u88c5docker\u540e\uff0c\u5360\u7528600M\uff0c\u56e0\u4e3a\u6709 APT \u7f13\u5b58\u7684deb\u5305\nbash wgmtu docker\n\/dev\/vda1        16G  1.5G   14G  10% \/\n\n# \u5b89\u88c5 qbittorrent \uff0c\u53c8\u5360\u7528400M\u7a7a\u95f4\nbash wgmtu qb\n\ndocker images\nREPOSITORY                TAG       IMAGE ID       CREATED      SIZE\nlinuxserver\/qbittorrent   latest    b2ffbd4dbc4f   5 days ago   390MB\n\n\/dev\/vda1        16G  1.9G   14G  13% \/\n\n# \u6e05\u7a7a APT \u7f13\u5b58\u7684deb\u5305\nrm \/var\/cache\/apt\/ -rf\n\/dev\/vda1        16G  1.7G   14G  12% \/\n\n# \u7981\u7528swap linux \u5173\u95edswap\nswapoff -a\n\n# \u6ce8\u91ca swap \u5206\u533a\nvim \/etc\/fstab\n# UUID=5cbdeb08-99fd-4d82-97c2-b7be85fadf04 none swap sw 0 0\n\n# \u5b89\u88c5 parted \u5220\u9664\u4ea4\u6362\u5206\u533a\uff0c\u6269\u5927\u4e3b\u5206\u533a\u7a7a\u95f4\nparted\n\n# partx \u7528\u6765\u67e5\u770b\u5206\u533a\npartx \/dev\/vda\nNR START      END  SECTORS SIZE NAME UUID\n 1  2048 35649631 35647584  17G      aa667f6b-01\n\n# \u4f7f\u7528 parted \u5de5\u5177 \u8c03\u6574\u78c1\u76d8\u7cfb\u7edf\u5206\u533a\u540e\uff0cdf -h \u7a7a\u95f4\u6ca1\u6709\u589e\u5927\uff0c\u8c03\u6574\u6587\u4ef6\u7cfb\u7edf\u5927\u5c0f\nresize2fs \/dev\/vda1\n\n\/dev\/vda1        17G  1.8G   15G  11% \/<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u4f18\u5316VPS\u7a7a\u95f4\uff0c\u7528\u6765PT\u5237\u4e0a\u4f20 # \u4e0b\u8f7d\u81ea\u52a8\u5b89\u88c5\u5b89\u88c5\u811a\u672c wget git.io\/auto.sh # [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,6,3],"tags":[23,18],"class_list":["post-101","post","type-post","status-publish","format-standard","hentry","category-pt","category-vps","category-default","tag-linux","tag-pt"],"_links":{"self":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/101","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/comments?post=101"}],"version-history":[{"count":0,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/101\/revisions"}],"wp:attachment":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/media?parent=101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/categories?post=101"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/tags?post=101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}