{"id":1704,"date":"2017-11-01T16:54:49","date_gmt":"2017-11-01T08:54:49","guid":{"rendered":"https:\/\/zoco.me\/?p=23"},"modified":"2017-11-01T16:54:49","modified_gmt":"2017-11-01T08:54:49","slug":"debian-8-enable-jessie-backports-update-kernel-4-9-and-config-bbr","status":"publish","type":"post","link":"https:\/\/cloudbool.com\/archive\/debian-8-enable-jessie-backports-update-kernel-4-9-and-config-bbr.html","title":{"rendered":"Debian 8 \u5f00\u542f jessie-backports \u5b89\u88c5Kernel 4.9\u53ca\u5f00\u542fBBR"},"content":{"rendered":"<p>Debian 8\u4f5c\u4e3a\u6211\u6700\u559c\u6b22\u7684Linux\u53d1\u884c\u7248\u64cd\u4f5c\u7cfb\u7edf\uff0c\u975eWeb\u7528\u9014\u4e0d\u51fa\u610f\u5916\u6211\u90fd\u662f\u9009\u7684\u5b83\uff0c\u5c24\u5176\u662f\u90a3\u4e9b\u5c0f\u5185\u5b58\u3001\u4f4eIO\u7684VPS\u7528Debian\u6700\u5408\u9002\u4e0d\u8fc7\u4e86\uff0c\u800cDebian8 \u662f\u76ee\u524dDebian\u7cfb\u7edf\u6700\u65b0\u7a33\u5b9a\u7248\uff0c\u5b98\u65b9\u6e90\u4ed3\u5e93\u5e26\u7684\u90a3\u4e9b\u8f6f\u4ef6\u5305\u5bf9\u6211\u6765\u8bf4\u57fa\u672c\u591f\u7528\u4e86\uff0c\u5c24\u5176\u662f\u67d0\u4e9b\u7528\u5904\uff0c\u770b\u5f97\u61c2\u8fd9\u4e2a\u6807\u9898\u7684\u57fa\u672c\u90fd\u77e5\u9053\u6211\u8bf4\u7684\u4ec0\u4e48\u610f\u601d\u662f\u5427\u3002<\/p>\n<p><!--more--><\/p>\n<p>\u9996\u5148\uff0c\u8981\u66f4\u6362\u5185\u6838\uff0c\u80af\u5b9a\u4e0d\u80fd\u662f\u90a3\u79cd\u4f4e\u4ef7\u7684OpenVZ\u865a\u62df\u51fa\u6765\u7684VPS\uff0c\u5e38\u89c1\u7684\u5e94\u8be5\u662fKVM\u4e86\u5427\uff0c\u8fd9\u90fd\u4e0d\u662f\u91cd\u70b9\uff0c\u91cd\u70b9\u8bf4\u8bf4\u4e0b\u9762\u66f4\u63624.9\u53ca\u4ee5\u4e0a\u7248\u672c\u7684\u5185\u6838\u3002<\/p>\n<p>\u7f51\u4e0a\u5e38\u89c1\u7684\u90a3\u4e9b\u6240\u8c13\u6559\u7a0b\u90fd\u662f\u76f4\u63a5\u4e0b\u8f7d\u4e00\u4e2aUbuntu\u7cfb\u5217\u7684\u5185\u6838.deb\u5305\u76f4\u63a5dpkg\u5b89\u88c5\u5c31\u5b8c\u4e8b\uff0c\u6211\u90a3\u6837\u8bd5\u8fc7\u4e4b\u540e\u53d1\u73b0\u66f4\u65b0\u7cfb\u7edf\u4f1a\u51fa\u73b0\u4e00\u4e9b\u9519\u8bef\uff0c\u6700\u540e\u53d1\u73b0\uff0c\u5176\u5b9ebackports\u6e90\u5df2\u7ecf\u5305\u542b\u4e86Kernel 4.9+\u7684\u5185\u6838\u7248\u672c\uff0c\u76f4\u63a5\u5b89\u88c5\u5c31\u884c\u4e86\u3002<\/p>\n<p>\u800c\u4e14\u542f\u7528backports\u6e90\u4e4b\u540e55\u8f6f\u4ef6\u4e5f\u80fd\u76f4\u63a5\u5b89\u88c5\u4e86\uff0c\u8fd8\u662flibev\u7248\u672c\uff0c\u7701\u5185\u5b58\u7701CPU\uff0c\u8fd8\u80fd\u76f4\u63a5\u4f7f\u7528\u7cfb\u7edf\u7684systemctl\u547d\u4ee4\u7ba1\u7406\u3002<\/p>\n<p>\u5148\u5f00\u542fbackports\u6e90\uff0c\u5728\/etc\/apt\/source.list\u6dfb\u52a0\u4e00\u884c\uff1a<\/p>\n<blockquote><p>\n  deb http:\/\/ftp.debian.org\/debian jessie-backports main\n<\/p><\/blockquote>\n<p>\u66f4\u65b0\u7cfb\u7edf\uff1a<\/p>\n<blockquote><p>\n  apt update\n<\/p><\/blockquote>\n<p>\u5b89\u88c5Kernel 4.9+ \u7248\u672c\uff1a<\/p>\n<p>x86\u7cfb\u7edf\uff1a<\/p>\n<blockquote><p>\n  apt -t jessie-backports install linux-image-686\n<\/p><\/blockquote>\n<p>amd64\u7cfb\u7edf\uff1a<\/p>\n<blockquote><p>\n  apt -t jessie-backports install linux-image-amd64\n<\/p><\/blockquote>\n<p>\u5b89\u88c5\u6309\u6210\u8fd9\u4e24\u4e2a\u4e4b\u540e\uff0c\u91cd\u65b0\u542f\u52a8\u7cfb\u7edf\uff0cSSH\u767b\u5f55\u4e4b\u540e\u6267\u884c\u4e0b\u9762\u4e24\u884c\uff1a<\/p>\n<blockquote><p>\n  echo &#8220;net.core.default_qdisc=fq&#8221; >> \/etc\/sysctl.conf<\/p>\n<p>  echo &#8220;net.ipv4.tcp_congestion_control=bbr&#8221; >> \/etc\/sysctl.conf\n<\/p><\/blockquote>\n<p>\u6267\u884c\u4e0b\u9762\u8fd9\u884c\u8ba9\u914d\u7f6e\u751f\u6548\uff1a<\/p>\n<blockquote><p>\n  sysctl -p\n<\/p><\/blockquote>\n<p>\u6ca1\u62a5\u9519\u4e4b\u540e\uff0c\u518d\u6267\u884c\u8fd9\u4e24\u884c\u8fdb\u884c\u9a8c\u8bc1\uff1a<\/p>\n<blockquote><p>\n  sysctl net.ipv4.tcp_available_congestion_control<\/p>\n<p>  sysctl net.ipv4.tcp_congestion_control\n<\/p><\/blockquote>\n<p>\u8fd9\u6837BBR\u5c31\u7b97\u5f00\u542f\u4e86\u3002<\/p>\n<p>\u81f3\u4e8e55\u600e\u4e48\u914d\u7f6e\uff0c\u8fd9\u91cc\u5c31\u4e0d\u6d89\u53ca\u4e86\uff0c\u4e0d\u60f3\u8ba9\u6211\u8fd9\u5c0f\u7ad9\u88ab\u548c\u8c10\u4e86\u3002<\/p>\n<p>\u8bf4\u53e5\u9898\u5916\u8bdd\uff0c\u4f5c\u4e3a\u6700\u559c\u6b22\u7684Linux\u7cfb\u7edf\uff0c\u633a\u671f\u5f85Debian9 \u7684\u6b63\u5f0f\u91ca\u51fa\u7684\uff0c\u5728\u5f88\u591aVPS\u63d0\u4f9b\u5546\u7684VPS\u4e0a\u7528dist-upgrade\u8bd5\u4e86\u4e0b\u975e\u6b63\u5f0f\u7248\u7684Debian9\u4e4b\u540e\uff0c\u8ba9\u6211\u611f\u89c9\u975e\u5e38\u6fc0\u52a8\uff0c\u9ed8\u8ba4\u6e90\u91cc\u6709\u4e8655\uff0c\u9ed8\u8ba4\u5185\u6838\u7248\u672c\u8c8c\u4f3c\u5c31\u662f4.9\uff0cPHP\u4e5f\u5347\u7ea7\u5230\u4e867.x\uff0cNginx\u4e5f\u662f1.10+\uff0c\u6211\u7528\u7684\u4e0a\u7684\u8f6f\u4ef6\u5305\u57fa\u672c\u4e0a\u5168\u90e8\u5305\u542b\u4e86\uff0c\u7248\u672c\u4e5f\u8db3\u591f\u6211\u4f7f\u7528\uff0c\u5c31\u7b49Debian9 \u7684\u6b63\u5f0f\u91ca\u51fa\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Debian 8\u4f5c\u4e3a\u6211\u6700\u559c\u6b22\u7684Linux\u53d1\u884c\u7248\u64cd\u4f5c\u7cfb\u7edf\uff0c\u975eWeb\u7528\u9014\u4e0d\u51fa\u610f\u5916\u6211\u90fd\u662f\u9009\u7684\u5b83\uff0c\u5c24\u5176\u662f\u90a3\u4e9b\u5c0f\u5185\u5b58\u3001\u4f4e &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/cloudbool.com\/archive\/debian-8-enable-jessie-backports-update-kernel-4-9-and-config-bbr.html\"> <span class=\"screen-reader-text\">Debian 8 \u5f00\u542f jessie-backports \u5b89\u88c5Kernel 4.9\u53ca\u5f00\u542fBBR<\/span> \u67e5\u770b\u5168\u6587 &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"footnotes":""},"categories":[8],"tags":[],"class_list":["post-1704","post","type-post","status-publish","format-standard","hentry","category-tech"],"_links":{"self":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/posts\/1704","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/comments?post=1704"}],"version-history":[{"count":0,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/posts\/1704\/revisions"}],"wp:attachment":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/media?parent=1704"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/categories?post=1704"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/tags?post=1704"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}