{"id":985,"date":"2022-03-11T00:24:00","date_gmt":"2022-03-11T00:24:00","guid":{"rendered":"https:\/\/262235.xyz\/?p=985"},"modified":"2022-03-11T00:24:00","modified_gmt":"2022-03-11T00:24:00","slug":"985","status":"publish","type":"post","link":"https:\/\/lyvba.com\/index.php\/2022\/03\/11\/985\/","title":{"rendered":"\u817e\u8baf\u4e911T\u5927\u786c\u76d8\u4e09\u5e74\u4f18\u60e0\u5957\u9910\u8d2d\u4e70-\u8ba9\u8f7b\u91cf\u53d8\u8eab\u8d85\u7ea7\u5927\u76d8\u9e21"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2022\/03\/3088998210.png\" alt=\"1THD.png\" title=\"1THD.png\"><\/p>\n<p>\u8f7b\u91cf\u5e94\u7528\u670d\u52a1\u5668\u65b0\u4e0a\u7ebf\u4e91\u786c\u76d8\u529f\u80fd\uff0c\u652f\u6301\u9ad8\u6027\u80fd\u4e91\u786c\u76d8\u548cSSD\u4e91\u786c\u76d8\u4e24\u79cd\u7c7b\u578b\uff0c\u60a8\u53ef\u4ee5\u5c06\u4e91\u786c\u76d8\u6302\u8f7d\u81f3\u5b9e\u4f8b\u4f5c\u4e3a\u6570\u636e\u76d8\u3002<br \/>\uff08\u63d0\u793a\uff1a\u6b64\u5217\u8868\u4e2d\u5c55\u793a\u7684\u4e91\u786c\u76d8\u4ec5\u4f9b\u8f7b\u91cf\u5e94\u7528\u670d\u52a1\u5668\u4f7f\u7528\u3002\uff09<\/p>\n<h2>\u8d2d\u4e70\u7f51\u5740 <a href=\"https:\/\/cloud.tencent.com\/act\/2022season\">https:\/\/cloud.tencent.com\/act\/2022season<\/a><\/h2>\n<p>\u817e\u8baf\u4e91\u6700\u8fd1\u65b0\u63a8\u51fa\u4e86\u8f7b\u91cf\u5e94\u7528\u670d\u52a1\u5668\u7684\u4e91\u786c\u76d8\uff0c\u76f8\u5bf9\u4e8eCVM\u7684\u4e91\u786c\u76d8\u6027\u80fd\u51e0\u4e4e\u4e00\u6a21\u4e00\u6837\uff0c\u800c\u4e14\u56e0\u4e3a\u4e0a\u65b0\u505a\u6d3b\u52a83\u5e74\u76841TB\u4e91\u786c\u76d8\u53ea\u898159.7\u5143\uff0c\u76f4\u63a5\u8ba9\u8f7b\u91cf\u53d8\u8eab\u8d85\u7ea7\u5927\u76d8\u9e21\uff0c\u6211\u5c31\u5bfb\u601d\u7740\u80fd\u4e0d\u80fd\u62ff\u8fd9\u786c\u76d8\u6574\u70b9\u82b1\u6d3b\uff0c<br \/>\u70b9\u6b64\u524d\u5f80\u817e\u8baf\u4e91\u65b0\u6625\u91c7\u8d2d\u6d3b\u52a8\uff08\u4e91\u786c\u76d8\u6d3b\u52a8\u8001\u7528\u6237\u4e5f\u80fd\u53c2\u52a0\uff09<\/p>\n<h3>\u8d2d\u4e70\u524d\uff0c\u5148\u767b\u5f55\u8f7b\u91cf\u7ba1\u7406\u9762\u677f\uff0c\u67e5\u5230\u4e91\u786c\u76d8\u5728\u54ea\u4e2a\u533a<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2022\/03\/3347859005.png\" alt=\"QL1.png\" title=\"QL1.png\"><\/p>\n<h3>\u6309\u4e0a\u56fe\u548c\u7f51\u5740\u9009\u62e9 \u8f7b\u91cf\u6570\u636e\u76d8 1T \u4e09\u5e74\u4f18\u60e0\u5957\u9910\uff0c\u4ed8\u6b3e\u540e\u591a\u4e861T\u786c\u76d8\u7a7a\u95f4\uff0c\u53ef\u4ee5\u6302\u8f7d\u4f7f\u7528<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2022\/03\/706807181.png\" alt=\"1THD2.png\" title=\"1THD2.png\"><\/p>\n<h3>\u5728\u8f7b\u91cf\u7ba1\u7406\u9762\u677f\uff0c\u4e91\u786c\u76d8\u9009\u62e9\u8fd9\u4e2a1T\u76d8\uff0c\u6302\u8f7d\u5230\u5bf9\u5e94\u7684\u8f7b\u91cf\u670d\u52a1\u5668\u4e0a\uff0c\u9a6c\u4e0a\u5c31\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\u67e5\u770b\u5230\u8fd9\u4e2a1T\u76d8<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2022\/03\/3342430916.png\" alt=\"fdisk.png\" title=\"fdisk.png\"><\/p>\n<pre><code>apt install parted   # \u5b89\u88c5 parted \u540e\u7eed\u5206\u533a\u683c\u5f0f\u5316\u8fd9\u4e2a1T\u6570\u636e\u76d8\nfdisk -l<\/code><\/pre>\n<h1>Linux\u5feb\u901f\u5165\u95e8\u793a\u4f8b \u4f7f\u7528 parted \u7ba1\u7406\u548c\u6302\u8f7d\u5757\u5b58\u50a8<\/h1>\n<h3>\u7ba1\u7406\u548c\u6302\u8f7d\u5757\u5b58\u50a8\uff0c\u6302\u8f7d\u7b2c\u4e8c\u5757\u786c\u76d8\u4e5f\u5dee\u4e0d\u591a<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2022\/03\/3404553411.png\" alt=\"part_mkfs.png\" title=\"part_mkfs.png\"><\/p>\n<h2>Create new empty partitions: #\u521b\u5efa\u65b0\u7684\u7a7a\u5206\u533a<\/h2>\n<pre><code>parted -s \/dev\/vdb mklabel gpt\nparted -s \/dev\/vdb unit mib mkpart primary 0% 100%<\/code><\/pre>\n<h3>Create new empty filesystem: #\u521b\u5efa\u65b0\u7684\u7a7a\u6587\u4ef6\u7cfb\u7edf<\/h3>\n<pre><code>mkfs.ext4 \/dev\/vdb1<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2022\/03\/3551148150.png\" alt=\"mnt.png\" title=\"mnt.png\"><\/p>\n<h3>Mount block storage: # \u6302\u8f7d\u5757\u5b58\u50a8<\/h3>\n<pre><code>mkdir \/mnt\/blockstorage\necho &gt;&gt; \/etc\/fstab\necho \/dev\/vdb1               \/mnt\/blockstorage       ext4    defaults,noatime,nofail 0 0 &gt;&gt; \/etc\/fstab\nmount \/mnt\/blockstorage<\/code><\/pre>\n<h3>\u5efa\u7acb\u76ee\u5f55\u8f6f\u8fde\u63a5<\/h3>\n<pre><code>ln -s \/mnt\/blockstorage  www\n<\/code><\/pre>\n<h2>\u4f7f\u7528\u4e0a\u9762\u547d\u4ee4\u540e\uff0c\u5c31\u80fd\u5f00\u673a\u81ea\u52a8\u6302\u8f7d\u5230 www \u76ee\u5f55\u4e86\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528\u4e0b\u9762\u9644\u52a0\u65b9\u6cd5\uff0c\u81ea\u52a8\u6302\u8f7d\u6570\u636e\u76d8<\/h2>\n<h2>\u6709\u4eba\u95ee\u8fd9\u4e48\u5927\u7684\u76d8\u6709\u4ec0\u4e48\u7528\uff0c\u4f60\u61c2\u5230\u7684\uff0c\u7ed9XJJ\u5efa\u7acb\u4e91\u4e0a\u4e4b\u5bb6<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2022\/03\/1661488432.png\" alt=\"qb.png\" title=\"qb.png\"><\/p>\n<pre><code># qBittorrent\u8f6f\u4ef6(Host\u6a21\u5f0f\u652f\u6301IPV6)\n\ndocker run --name=qbittorrent \\r\n    -e PUID=1000 -e PGID=1000 \\r\n    -e TZ=Asia\/ShangHai \\r\n    -e UMASK_SET=022 -e \\r\n    WEBUI_PORT=8080 \\r\n    --net=host \\r\n    -v \/mnt\/config:\/config \\r\n    -v \/mnt\/blockstorage:\/downloads \\r\n    --restart unless-stopped \\r\n    -d linuxserver\/qbittorrent\n<\/code><\/pre>\n<ul>\n<li>\n<p>\u9644\u52a0\uff0c\u4f7f\u7528UUID\u81ea\u52a8\u6302\u8f7d\u6570\u636e\u76d8<\/p>\n<pre><code>#  fstab \u4f7f\u7528UUID\u81ea\u52a8\u6302\u8f7d\u6570\u636e\u76d8\ncat \/etc\/fstab  #\u67e5\u770b\u5f53\u524d\u7cfb\u7edf\u5df2\u7ecf\u5b58\u5728\u7684\u6302\u8f7d\u4fe1\u606f\n# &lt;file system&gt; &lt;mount point&gt;   &lt;type&gt;  &lt;options&gt;       &lt;dump&gt;  &lt;pass&gt;\nUUID=8a2aa399-0f5a-4cc1-bc77-5cb008f9a754 \/               ext4    errors=remount-ro 0       1\nUUID=231a3535-73c5-4245-8e3e-bf546f034d98 \/mnt\/emby\/      ext4    defaults          0       2\n\nblkid  ### \u67e5\u770b\u78c1\u76d8\u5206\u533a\u7684 UUID\nblkid \/dev\/sdb5\n\/dev\/sdb5: UUID=\"231a3535-73c5-4245-8e3e-bf546f034d98\" TYPE=\"ext4\" PARTUUID=\"aeb779b9-05\"<\/code><\/pre>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u8f7b\u91cf\u5e94\u7528\u670d\u52a1\u5668\u65b0\u4e0a\u7ebf\u4e91\u786c\u76d8\u529f\u80fd\uff0c\u652f\u6301\u9ad8\u6027\u80fd\u4e91\u786c\u76d8\u548cSSD\u4e91\u786c\u76d8\u4e24\u79cd\u7c7b\u578b\uff0c\u60a8\u53ef\u4ee5\u5c06\u4e91\u786c\u76d8\u6302\u8f7d\u81f3\u5b9e\u4f8b\u4f5c\u4e3a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[17],"class_list":["post-985","post","type-post","status-publish","format-standard","hentry","category-vps","tag-vps"],"_links":{"self":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/985","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=985"}],"version-history":[{"count":0,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/985\/revisions"}],"wp:attachment":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/media?parent=985"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/categories?post=985"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/tags?post=985"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}