{"id":24,"date":"2023-10-16T02:05:12","date_gmt":"2023-10-15T18:05:12","guid":{"rendered":"http:\/\/test.ccwifi.cc\/?p=24"},"modified":"2023-10-16T02:38:45","modified_gmt":"2023-10-15T18:38:45","slug":"ubuntu-20-04-%e5%8d%87%e7%ba%a7%e6%9c%80%e6%96%b0%e5%86%85%e6%a0%b8%e3%80%81%e5%ae%89%e8%a3%85%e6%8c%87%e5%ae%9a%e5%86%85%e6%a0%b8%e7%89%88%e6%9c%ac","status":"publish","type":"post","link":"https:\/\/www.ccwifi.cc\/blogs\/2023\/10\/16\/ubuntu-20-04-%e5%8d%87%e7%ba%a7%e6%9c%80%e6%96%b0%e5%86%85%e6%a0%b8%e3%80%81%e5%ae%89%e8%a3%85%e6%8c%87%e5%ae%9a%e5%86%85%e6%a0%b8%e7%89%88%e6%9c%ac\/","title":{"rendered":"Ubuntu 20.04 \u5347\u7ea7\u6700\u65b0\u5185\u6838\u3001\u5b89\u88c5\u6307\u5b9a\u5185\u6838\u7248\u672c"},"content":{"rendered":"<div>\n<p>\u5728\u7ebfwifi\u8dd1\u5305 \u91d1\u521a\u5305\u8dd1\u5305 cap\u8dd1\u5305 hccapx ewsa\u5728\u7ebf \u5c31\u6765 <strong><a href=\"http:\/\/ccwifi.cc\" target=\"_blank\" rel=\"noopener\">\u66f9\u64cdwifi<\/a><\/strong><\/p>\n<p>\u5404\u4f4d\u597d \u53c8\u89c1\u9762\u4e86 \u6211\u662f\u66f9\u64cd \u4eca\u5929\u7ed9\u5927\u5bb6\u5e26\u6765\u4e00\u7bc7\u65b0\u7684\u6559\u7a0b<\/p>\n<p>\u5e0c\u671b\u5404\u4f4d\u7ec6\u5fc3\u5b66\u4e60 \u4f4e\u8c03\u7528\u7f51<\/p>\n<\/div>\n<pre><code class=\"prism language-bash\"> <span class=\"token function\">wget<\/span> https:\/\/raw.githubusercontent.com\/pimlie\/ubuntu-mainline-kernel.sh\/master\/ubuntu-mainline-kernel.sh\n<\/code><\/pre>\n<p>Ubuntu 20.04 \u5347\u7ea7\u6700\u65b0\u5185\u6838<\/p>\n<p>Canonical\u5ba3\u5e03\u201cLivepatch Services\u201d\u4e0a\u7ebf\uff0c\u5728\u4e3aLinux Kernel\u5b89\u88c5\u66f4\u65b0\u4e4b\u540e\u5e76\u4e0d\u9700\u8981\u91cd\u65b0\u542f\u52a8\u8ba1\u7b97\u673a\u3002\u81eaLinux 4.0\u5206\u652f\u5f00\u59cb\u7528\u6237\u5c31\u80fd\u5728\u4e0d\u91cd\u65b0\u542f\u52a8\u7684\u60c5\u51b5\u4e0b\u66f4\u65b0\u5185\u6838\u5305\uff0c\u4e0d\u8fc7Ubuntu\u662f\u9996\u4e2a\u63d0\u4f9b\u8fd9\u9879\u529f\u80fd\u7684\u53d1\u884c\u7248\u672c\u3002<\/p>\n<p>\u8fd0\u884c\u66f4\u65b0\u547d\u4ee4<\/p>\n<p>\u4e0b\u8f7dubuntu-mainline-kernel\u811a\u672c<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/s1sql1tew.hb-bkt.clouddn.com\/photos\/20231016\/b5735d0f35bcb436ef3157d162f45013_0.webp\" alt=\"nethunter\u7684\u5185\u6838\u66f4\u65b0\"><\/p>\n<pre><code class=\"prism language-bash\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">install<\/span> ubuntu-mainline-kernel.sh \/usr\/local\/bin\/\n<\/code><\/pre>\n<pre><code class=\"prism language-bash\">ubuntu-mainline-kernel.sh -c\n<\/code><\/pre>\n<pre><code class=\"prism language-bash\"> <span class=\"token function\">sudo<\/span> ubuntu-mainline-kernel.sh -i\n<\/code><\/pre>\n<pre><code class=\"prism language-bash\"><span class=\"token function\">uname<\/span> -rs\n<\/code><\/pre>\n<p><img decoding=\"async\" src=\"http:\/\/s1sql1tew.hb-bkt.clouddn.com\/photos\/20231016\/b5735d0f35bcb436ef3157d162f45013_2.png\" alt=\"nethunter\u7684\u5185\u6838\u66f4\u65b0\"><\/p>\n<pre><code class=\"prism language-bash\"> <span class=\"token function\">sudo<\/span> ubuntu-mainline-kernel.sh -u\n<\/code><\/pre>\n<pre><code class=\"prism language-bash\"><span class=\"token function\">uname<\/span> -rs\n<\/code><\/pre>\n<p>\u5c06\u811a\u672c\u653e\u5728\u53ef\u6267\u884c\u8def\u5f84\u4e2d<\/p>\n<p>\u68c0\u67e5\u6700\u65b0\u7684\u53ef\u7528\u5185\u6838\u7248\u672c<\/p>\n<p>\u83b7\u5f97\u6700\u65b0\u7248\u672c\u5e76\u786e\u8ba4\u8fd9\u5c31\u662f\u60a8\u60f3\u8981\u5b89\u88c5\u5728\u7cfb\u7edf\u4e0a\u7684\u7248\u672c\u4e4b\u540e\uff0c\u8fd0\u884c<\/p>\n<p>\u91cd\u65b0\u542f\u52a8\u7cfb\u7edf\u5e76\u68c0\u67e5\u5185\u6838\u7248\u672c<\/p>\n<p>\u5378\u8f7d\u6700\u65b0\u7684Linux Kernel<\/p>\n<p>\u9996\u5148\u91cd\u542f\u7cfb\u7edf\uff0c\u7136\u540e\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4:<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/s1sql1tew.hb-bkt.clouddn.com\/photos\/20231016\/b5735d0f35bcb436ef3157d162f45013_3.png\" alt=\"nethunter\u7684\u5185\u6838\u66f4\u65b0\"><\/p>\n<pre><code class=\"prism language-bash\"><span class=\"token comment\"># ubuntu-mainline-kernel.sh --help<\/span>\nUsage: \/usr\/local\/bin\/ubuntu-mainline-kernel.sh -c<span class=\"token operator\">|<\/span>-l<span class=\"token operator\">|<\/span>-r<span class=\"token operator\">|<\/span>-u\nDownload <span class=\"token operator\">&amp;<\/span> <span class=\"token function\">install<\/span> the latest kernel available from kernel.ubuntu.com\nArguments:\n  -c               Check <span class=\"token keyword\">if<\/span> a newer kernel version is available\n  -i <span class=\"token punctuation\">[<\/span>VERSION<span class=\"token punctuation\">]<\/span>     Install kernel VERSION, see -l <span class=\"token keyword\">for<\/span> list. You don<span class=\"token string\">'t have to prefix\n                   with v. E.g. -i 4.9 is the same as -i v4.9. If version is\n                   omitted the latest available version will be installed\n  -l [SEARCH]      List locally installed kernel versions. If an argument to this\n                   option is supplied it will search for that\n  -r [SEARCH]      List available kernel versions. If an argument to this option\n                   is supplied it will search for that\n  -u [VERSION]     Uninstall the specified kernel version. If version is omitted,\n                   a list of max 10 installed kernel versions is displayed\n  -h               Show this message\nOptional:\n  -s, --signed         Only install signed kernel packages (not implemented)\n  -p, --path DIR       The working directory, .deb files will be downloaded into\n                       this folder. If omitted, the folder \/tmp\/ubuntu-mainline-kernel.sh\/\n                       is used. Path is relative from <span class=\"token environment constant\">$PWD<\/span>\n  -ll, --low-latency   Use the low-latency version of the kernel, only for amd64 &amp; i386\n  -lpae, --lpae        Use the Large Physical Address Extension kernel, only for armhf\n  --snapdragon         Use the Snapdragon kernel, only for arm64\n  -do, --download-only Only download the deb files, do not install them\n  -ns, --no-signature  Do not check the gpg signature of the checksums file\n  -nc, --no-checksum   Do not check the sha checksums of the .deb files\n  -d, --debug          Show debug information, all internal command'<\/span>s <span class=\"token builtin class-name\">echo<\/span> their output\n  --rc                 Also include release candidates\n  --yes                Assume <span class=\"token function\">yes<\/span> on all questions <span class=\"token punctuation\">(<\/span>use with caution<span class=\"token operator\">!<\/span><span class=\"token punctuation\">)<\/span>\n<\/code><\/pre>\n<pre><code class=\"prism language-bash\"><span class=\"token comment\"># ubuntu-mainline-kernel.sh -i v5.8.0<\/span>\nDownloading index from kernel.ubuntu.com\nWill download <span class=\"token number\">6<\/span> files from kernel.ubuntu.com:\nDownloading amd64\/linux-headers-5.8.0-050800-generic_5.8.0-050800.202008022230_amd64.deb: <span class=\"token number\">100<\/span>%\nDownloading amd64\/linux-headers-5.8.0-050800_5.8.0-050800.202008022230_all.deb: <span class=\"token number\">100<\/span>%\nDownloading amd64\/linux-image-unsigned-5.8.0-050800-generic_5.8.0-050800.202008022230_amd64.deb: <span class=\"token number\">100<\/span>%  \nDownloading amd64\/linux-modules-5.8.0-050800-generic_5.8.0-050800.202008022230_amd64.deb: <span class=\"token number\">100<\/span>%\nDownloading amd64\/CHECKSUMS: <span class=\"token number\">100<\/span>%\nDownloading amd64\/CHECKSUMS.gpg: <span class=\"token number\">100<\/span>%\nImporting kernel-ppa gpg key ok\nSignature of checksum <span class=\"token function\">file<\/span> has been successfully verified\nChecksums of deb files have been successfully verified with sha256sum\nInstalling <span class=\"token number\">4<\/span> packages\nCleaning up work folder\n<\/code><\/pre>\n<p><img decoding=\"async\" src=\"http:\/\/s1sql1tew.hb-bkt.clouddn.com\/photos\/20231016\/b5735d0f35bcb436ef3157d162f45013_4.png\" alt=\"nethunter\u7684\u5185\u6838\u66f4\u65b0\"><\/p>\n<pre><code class=\"prism language-bash\"><span class=\"token comment\"># uname -rs<\/span>\nLinux <span class=\"token number\">5.8<\/span>.0-050800-generic\n<\/code><\/pre>\n<p><!-- \u6587\u7ae0\u6765\u6e90:https:\/\/blog.csdn.net\/inthat\/article\/details\/121682317 --><\/p>\n<p>\u5b89\u88c5\u6307\u5b9a\u5185\u6838\u7248\u672c<\/p>\n<p>\u8fd8\u662f\u4e0a\u6587\u7684\u5b89\u88c5\u811a\u672c\uff1a<\/p>\n<p>\u4f8b\u5982\u5b89\u88c5<\/p>\n<p>\u91cd\u65b0\u542f\u52a8\u7cfb\u7edf\u5e76\u68c0\u67e5\u5185\u6838\u7248\u672c<\/p>\n<p>\u524d\u9762\u7684\u662fLinux\u5185\u6838\u5b98\u65b9\u53d1\u5e03\u7684\u5185\u6838\u7248\u672c\uff0c\u8fde\u5b57\u7b26\u540e\u9762\u7684\u662fUbuntu\u5185\u6838\u5b9a\u5236\u5c0f\u7ec4\u7684\u5bf9\u5e94\u53d1\u884c\u7248\u5185\u6838\u4fee\u8ba2\u53f7\u3002<\/p>\n<p>\u53c2\u8003<\/p>\n<p>\u5982\u4f55\u5728Ubuntu 20.04 LTS\u4e0a\u5b89\u88c5\u6700\u65b0Linux Kernel 5.10<\/p>\n<p>\u53c2\u8003URL:<br \/>\n&#8220;`<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ubuntu 20.04 \u5347\u7ea7\u6700\u65b0\u5185\u6838\u3001\u5b89\u88c5\u6307\u5b9a\u5185\u6838\u7248\u672cUbuntu 20.04 \u5347\u7ea7\u6700\u65b0\u5185\u6838Canonical\u5ba3\u5e03\u201cLivepatch Services\u201d\u4e0a\u7ebf\uff0c\u5728\u4e3aLinux Kernel\u5b89\u88c5\u66f4\u65b0\u4e4b\u540e\u5e76\u4e0d\u9700\u8981\u91cd\u65b0\u542f\u52a8\u8ba1\u7b97\u673a\u3002\u81eaLinux 4<\/p>\n","protected":false},"author":1,"featured_media":25,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"topic":[],"class_list":["post-24","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/posts\/24","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/comments?post=24"}],"version-history":[{"count":1,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/posts\/24\/revisions"}],"predecessor-version":[{"id":31,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/posts\/24\/revisions\/31"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/media\/25"}],"wp:attachment":[{"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/media?parent=24"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/categories?post=24"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/tags?post=24"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.ccwifi.cc\/blogs\/wp-json\/wp\/v2\/topic?post=24"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}