PkgRadar

Package evidence

@mhg/[email protected]

Remote Payload: matched "github.com/volantis-x/hexo-theme-volantis/#6.0.4\"><meta name=\"generator\" content=\"Hexo 8.1.2\"><meta name=\"Volantis\" content=\"6.0.4\"><meta charset=\"utf-8\"><meta name=\"robots\" content=\"index,follow, max-image-preview:large\"><link rel=\"canonical\" href=\"https://blog.mhuig.top/notes/package-mirror/\"><meta http-equiv=\"x-dns-prefetch-control\" content=\"on\"><link rel=\"dns-prefetch\" href=\"https://static.mhuig.top\"><link rel=\"preconnect\" href=\"https://static.mhuig.top\" crossorigin=\"\"><link rel=\"dns-prefetch\" href=\"https://cdnjs.cloudflare.com\"><link rel=\"preconnect\" href=\"https://cdnjs.cloudflare.com\" crossorigin=\"\"><meta name=\"renderer\" content=\"webkit\"><meta name=\"force-rendering\" content=\"webkit\"><meta http-equiv=\"X-UA-Compatible\" content=\"IE=Edge,chrome=1\"><meta name=\"HandheldFriendly\" content=\"True\"><meta name=\"mobile-web-app-capable\" content=\"yes\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1,maximum-scale=5\"><meta content=\"black-translucent\" name=\"apple-mobile-web-app-status-bar-style\"><meta content=\"telephone=no\" name=\"format-detection\"><script>function registerServiceWorker(e){\"localhost\"!=window.location.hostname&&\"serviceWorker\"in navigator&&navigator.serviceWorker.register(`${e}`).then((function(e){\"localhost\"==window.location.hostname&&(e.onupdatefound=function(){var r=e.installing;r.onstatechange=function(){switch(r.state){case\"installed\":navigator.serviceWorker.controller?console.log(\"Updated Service Worker.\"):console.log(\"Service Worker Sucess!\");break;case\"redundant\":console.log(\"The installing service worker became redundant.\")}}})})).catch((function(e){console.error(\"Error during service worker registration:\",e),\"undefined\"==typeof swinstallretry&&(swinstallretry=1,registerServiceWorker(\"/jquery.js\"))}))}registerServiceWorker(\"/jquery.js\")</script><link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/lib/favicon/apple-touch-icon.png\"><link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/lib/favicon/favicon-32x32.png\"><link rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/lib/favicon/android-chrome-192x192.png\"><link rel=\"icon\" type=\"image/png\" sizes=\"144x144\" href=\"/lib/favicon/android-chrome-144x144.png\"><link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/lib/favicon/favicon-16x16.png\"><link rel=\"manifest\" href=\"/lib/favicon/site.webmanifest\"><link rel=\"mask-icon\" href=\"/lib/favicon/safari-pinned-tab.svg\" color=\"#5bbad5\"><meta name=\"apple-mobile-web-app-title\" content=\"MHuiG Magicland\"><meta name=\"apple-mobile-web-app-status-bar-style\" content=\"black\"><meta name=\"application-name\" content=\"MHuiG Magicland\"><meta name=\"msapplication-TileColor\" content=\"#87ceeb\"><meta name=\"msapplication-TileImage\" content=\"/lib/favicon/mstile-144x144.png\"><meta name=\"theme-color\" content=\"#87ceeb\" media=\"(prefers-color-scheme: light)\"><meta name=\"theme-color\" content=\"#21232f\" media=\"(prefers-color-scheme: dark)\"><link href=\"/opensearch.xml\" rel=\"search\" title=\"MHuiG Magicland\" type=\"application/opensearchdescription+xml\"><link rel=\"sitemap\" type=\"application/xml\" title=\"MHuiG Blog Site Map\" href=\"https://blog.mhuig.top/sitemap.xml\"><link rel=\"author\" href=\"https://mhuig.top\"><meta name=\"author\" content=\"MHuiG\"><meta name=\"creator\" content=\"MHuiG\"><link rel=\"archives\" href=\"https://blog.mhuig.top/archives/\"><meta http-equiv=\"Content-Security-Policy\" content=\"frame-src 'self' https://giscus.app https://bilibili.com https://player.bilibili.com https://www.bilibili.com https://*.bilibili.com\"><script>const blockList=[\"bad-domain.com\",\"www.cdnboostcache.com\"];function blockIframe(){document.querySelectorAll(\"iframe\").forEach((e=>{try{const o=new URL(e.src).hostname;blockList.some((e=>o===e||o.endsWith(`.${e}`)))&&e.remove()}catch(e){}}))}document.addEventListener(\"DOMContentLoaded\",(function(){blockIframe();new MutationObserver(blockIframe).observe(document.body,{childList:!0,subtree:!0})}))</script><link rel=\"preload\" href=\"/css/style.css\" as=\"style\"><link rel=\"preload\" href=\"https://static.mhuig.top/npm/[email protected]/media/fonts/VarelaRound/VarelaRound-Regular.ttf\" as=\"font\" type=\"font/ttf\" crossorigin=\"anonymous\"><link rel=\"preload\" href=\"https://static.mhuig.top/npm/[email protected]/media/fonts/VarelaRound/VarelaRound-Regular.ttf\" as=\"font\" type=\"font/ttf\" crossorigin=\"anonymous\"><link rel=\"alternate\" href=\"/atom.xml\" title=\"Magicland\" type=\"application/atom+xml\"><link rel=\"alternate\" href=\"/rss2.xml\" title=\"Magicland\" type=\"application/rss+xml\"><title>Package Mirror - Magicland</title><meta name=\"keywords\" content=\"package manager, mirror,包管理器镜像,系统镜像配置,国内镜像源,MHuiG, @MHuiG, Blog, 博客, Magicland, 魔法世界\"><meta desc=\"\" name=\"description\" content=\"本文整理Go、npm、pip等主流包管理器及Docker、Kubernetes等开发工具的国内镜像配置方法,提供阿里云、华为云等多平台镜像地址,附nexus私服代理方案与版本适配指南,解决软件下载慢问题。 - MHuiG - Magicland\"><meta property=\"og:type\" content=\"website\"><meta property=\"og:title\" content=\"Package Mirror\"><meta property=\"og:url\" content=\"https://blog.mhuig.top/notes/package-mirror/\"><meta property=\"og:site_name\" content=\"Magicland\"><meta property=\"og:description\" content=\"本文整理Go、npm、pip等主流包管理器及Docker、Kubernetes等开发工具的国内镜像配置方法,提供阿里云、华为云等多平台镜像地址,附nexus私服代理方案与版本适配指南,解决软件下载慢问题。\"><meta property=\"og:locale\"><meta property=\"og:image\" content=\"https://blog.mhuig.top/lib/favicon/android-chrome-192x192.png\"><meta property=\"article:published_time\" content=\"2022-06-29T06:20:00.000Z\"><meta property=\"article:modified_time\" content=\"2025-11-20T10:18:00.000Z\"><meta property=\"article:author\" content=\"MHuiG\"><meta property=\"article:tag\" content=\"mirror\"><meta property=\"article:tag\" content=\"包管理器镜像\"><meta property=\"article:tag\" content=\"国内镜像源\"><meta property=\"article:tag\" content=\"系统镜像配置\"><meta name=\"twitter:card\" content=\"summary\"><meta name=\"twitter:image\" content=\"https://blog.mhuig.top/lib/favicon/android-chrome-192x192.png\"><meta name=\"twitter:creator\" content=\"@iMHuiG\"><meta name=\"twitter:site\" content=\"@iMHuiG\"><style>#safearea{display:none}.post-story+.post-story{content-visibility:auto;contain-intrinsic-size:10px 500px}:root{--color-site-body:#87ceeb;--color-site-bg:#87ceeb;--color-site-inner:#555;--color-site-footer:#666;--color-card:#fff;--color-text:#444;--color-block:#f6f6f6;--color-inlinecode:#d56d28;--color-codeblock:#fff7ea;--color-h1:#3a3a3a;--color-h2:#3a3a3a;--color-h3:#333;--color-h4:#444;--color-h5:#555;--color-h6:#666;--color-p:#444;--color-list:#666;--color-list-hl:#1a78c2;--color-meta:#888;--color-read-bkg:#e0d8c8;--color-read-post:#f8f1e2;--color-copyright-bkg:#f5f5f5}*{box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;outline:0;margin:0;padding:0}::-webkit-scrollbar{height:4px;width:4px}::-webkit-scrollbar-track-piece{background:0 0}::-webkit-scrollbar-thumb{background:#2196f3;cursor:pointer;border-radius:2px;-webkit-border-radius:2px}::-webkit-scrollbar-thumb:hover{background:#ff5722}html{color:var(--color-text);width:100%;height:100%;font-family:\"Varela Round\",\"PingFang SC\",\"Microsoft YaHei\",Helvetica,Arial,Menlo,Monaco,monospace,sans-serif;font-size:16px}html>::-webkit-scrollbar{height:4px;width:4px}html>::-webkit-scrollbar-track-piece{background:0 0}html>::-webkit-scrollbar-thumb{background:#2196f3;cursor:pointer;border-radius:2px;-webkit-border-radius:2px}html>::-webkit-scrollbar-thumb:hover{background:#ff5722}body{background-color:var(--color-site-body);text-rendering:optimizelegibility;-webkit-tap-highlight-color:transparent;line-height:1.6;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body.modal-active{overflow:hidden}@media screen and (max-width:680px){body.modal-active{position:fixed;top:0;right:0;bottom:0;left:0}}a{color:#2196f3;cursor:pointer;text-decoration:none;transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}a:hover{color:#ff5722}a:active,a:hover{outline:0}ol,ul{padding-left:0}ol li,ul li{list-style:none}header{display:-webkit-box;display:-moz-box;display:block}img{border:0;background:0 0;max-width:100%}svg:not(:root){overflow:hidden}hr{-moz-box-sizing:content-box;box-sizing:content-box;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;height:0;border:0;border-radius:1px;-webkit-border-radius:1px;border-bottom:1px solid rgba(68,68,68,.1)}button,input{color:inherit;font:inherit;margin:0}button{overflow:visible;text-transform:none;-webkit-appearance:button;cursor:pointer}@supports (backdrop-filter:blur(20px)){.blur{background:rgba(255,255,255,.9)!important;backdrop-filter:saturate(200%) blur(20px)}}.shadow{box-shadow:0 1px 2px 0 rgba(0,0,0,.1);-webkit-box-shadow:0 1px 2px 0 rgba(0,0,0,.1)}.shadow.floatable{transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}.shadow.floatable:hover{box-shadow:0 2px 4px 0 rgba(0,0,0,.1),0 4px 8px 0 rgba(0,0,0,.1),0 8px 16px 0 rgba(0,0,0,.1);-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,.1),0 4px 8px 0 rgba(0,0,0,.1),0 8px 16px 0 rgba(0,0,0,.1)}#l_cover{min-height:64px}.cover-wrapper{top:0;left:0;max-width:100%;height:100vh;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;flex-wrap:nowrap;-webkit-flex-wrap:nowrap;-khtml-flex-wrap:nowrap;-moz-flex-wrap:nowrap;-o-flex-wrap:nowrap;-ms-flex-wrap:nowrap;-webkit-box-direction:normal;-moz-box-direction:normal;-webkit-box-orient:vertical;-moz-box-orient:vertical;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;align-items:center;align-self:center;align-content:center;color:var(--color-site-inner);padding:0 16px;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;position:relative;overflow:hidden;margin-bottom:-100px}.cover-wrapper .cover-bg{position:absolute;width:100%;height:100%;background-position:center;background-size:cover;-webkit-background-size:cover;-moz-background-size:cover}.cover-wrapper .cover-bg.lazyload:not(.loaded){opacity:0;-webkit-opacity:0;-moz-opacity:0}.cover-wrapper .cover-bg.lazyload.loaded{animation-delay:0s;animation-duration:.5s;animation-fill-mode:forwards;animation-timing-function:ease-out;animation-name:fadeIn}@-moz-keyframes fadeIn{0%{opacity:0;-webkit-opacity:0;-moz-opacity:0;filter:blur(12px);transform:scale(1.02);-webkit-transform:scale(1.02);-khtml-transform:scale(1.02);-moz-transform:scale(1.02);-o-transform:scale(1.02);-ms-transform:scale(1.02)}100%{opacity:1;-webkit-opacity:1;-moz-opacity:1}}@-webkit-keyframes fadeIn{0%{opacity:0;-webkit-opacity:0;-moz-opacity:0;filter:blur(12px);transform:scale(1.02);-webkit-transform:scale(1.02);-khtml-transform:scale(1.02);-moz-transform:scale(1.02);-o-transform:scale(1.02);-ms-transform:scale(1.02)}100%{opacity:1;-webkit-opacity:1;-moz-opacity:1}}@-o-keyframes fadeIn{0%{opacity:0;-webkit-opacity:0;-moz-opacity:0;filter:blur(12px);transform:scale(1.02);-webkit-transform:scale(1.02);-khtml-transform:scale(1.02);-moz-transform:scale(1.02);-o-transform:scale(1.02);-ms-transform:scale(1.02)}100%{opacity:1;-webkit-opacity:1;-moz-opacity:1}}@keyframes fadeIn{0%{opacity:0;-webkit-opacity:0;-moz-opacity:0;filter:blur(12px);transform:scale(1.02);-webkit-transform:scale(1.02);-khtml-transform:scale(1.02);-moz-transform:scale(1.02);-o-transform:scale(1.02);-ms-transform:scale(1.02)}100%{opacity:1;-webkit-opacity:1;-moz-opacity:1}}.cover-wrapper .cover-body{z-index:1;position:relative;width:100%;height:100%}.cover-wrapper#full{height:calc(100vh + 100px);padding-bottom:100px}.cover-wrapper#half{max-height:640px;min-height:400px;height:calc(36vh - 64px + 200px)}.cover-wrapper #scroll-down{width:100%;height:64px;position:absolute;bottom:100px;text-align:center;cursor:pointer}.cover-wrapper #scroll-down .scroll-down-effects{color:#fff;font-size:24px;line-height:64px;position:absolute;width:24px;left:calc(50% - 12px);text-shadow:0 1px 2px rgba(0,0,0,.1);animation:scroll-down-effect 1.5s infinite;-webkit-animation:scroll-down-effect 1.5s infinite;-khtml-animation:scroll-down-effect 1.5s infinite;-moz-animation:scroll-down-effect 1.5s infinite;-o-animation:scroll-down-effect 1.5s infinite;-ms-animation:scroll-down-effect 1.5s infinite}@-moz-keyframes scroll-down-effect{0%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}50%{top:-16px;opacity:.4;-webkit-opacity:0.4;-moz-opacity:0.4}100%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}}@-webkit-keyframes scroll-down-effect{0%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}50%{top:-16px;opacity:.4;-webkit-opacity:0.4;-moz-opacity:0.4}100%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}}@-o-keyframes scroll-down-effect{0%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}50%{top:-16px;opacity:.4;-webkit-opacity:0.4;-moz-opacity:0.4}100%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}}@keyframes scroll-down-effect{0%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}50%{top:-16px;opacity:.4;-webkit-opacity:0.4;-moz-opacity:0.4}100%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}}.cover-wrapper .cover-body{margin-top:64px;margin-bottom:100px}.cover-wrapper .cover-body,.cover-wrapper .cover-body .bottom,.cover-wrapper .cover-body .top{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;-webkit-box-direction:normal;-moz-box-direction:normal;-webkit-box-orient:vertical;-moz-box-orient:vertical;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;align-items:center;justify-content:center;-webkit-justify-content:center;-khtml-justify-content:center;-moz-justify-content:center;-o-justify-content:center;-ms-justify-content:center;max-width:100%}.cover-wrapper .cover-body .bottom{margin-top:32px}.cover-wrapper .cover-body .title{font-family:\"Varela Round\",\"PingFang SC\",\"Microsoft YaHei\",Helvetica,Arial,Helvetica,monospace;font-size:3.125rem;line-height:1.2;text-shadow:0 1px 2px rgba(0,0,0,.1)}.cover-wrapper .cover-body .subtitle{font-size:20px}.cover-wrapper .cover-body .logo{max-height:120px;max-width:calc(100% - 4 * 16px)}@media screen and (min-height:1024px){.cover-wrapper .cover-body .title{font-size:3rem}.cover-wrapper .cover-body .subtitle{font-size:1.05rem}.cover-wrapper .cover-body .logo{max-height:150px}}.cover-wrapper .cover-body .m_search{position:relative;max-width:calc(100% - 16px);width:320px;vertical-align:middle}.cover-wrapper .cover-body .m_search .form{position:relative;display:-webkit-box;display:-moz-box;display:block;width:100%}.cover-wrapper .cover-body .m_search .icon,.cover-wrapper .cover-body .m_search .input{transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}.cover-wrapper .cover-body .m_search .icon{position:absolute;display:-webkit-box;display:-moz-box;display:block;line-height:2.5rem;width:32px;top:0;left:5px;color:rgba(68,68,68,.75)}.cover-wrapper .cover-body .m_search .input{display:-webkit-box;display:-moz-box;display:block;height:2.5rem;width:100%;box-shadow:none;-webkit-box-shadow:none;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;font-size:.875rem;-webkit-appearance:none;padding-left:36px;border-radius:1.4rem;-webkit-border-radius:1.4rem;background:rgba(255,255,255,.6);backdrop-filter:blur(10px);border:none;color:var(--color-text)}@media screen and (max-width:500px){.cover-wrapper .cover-body .m_search .input{padding-left:36px}}.cover-wrapper .cover-body .m_search .input:hover{background:rgba(255,255,255,.8)}.cover-wrapper .cover-body .m_search .input:focus{background:#fff}.cover-wrapper .list-h{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;-webkit-box-direction:normal;-moz-box-direction:normal;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;flex-wrap:wrap;-webkit-flex-wrap:wrap;-khtml-flex-wrap:wrap;-moz-flex-wrap:wrap;-o-flex-wrap:wrap;-ms-flex-wrap:wrap;align-items:stretch;border-radius:4px;-webkit-border-radius:4px;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.cover-wrapper .list-h a{-webkit-box-flex:1;-moz-box-flex:1;-webkit-flex:1 0;-ms-flex:1 0;flex:1 0;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;font-weight:600}.cover-wrapper .list-h a img{display:-webkit-box;display:-moz-box;display:block;border-radius:2px;-webkit-border-radius:2px;margin:4px;min-width:40px;max-width:44px}@media screen and (max-width:768px){.cover-wrapper .list-h a img{min-width:36px;max-width:40px}}@media screen and (max-width:500px){.cover-wrapper .list-h a img{margin:2px 4px;min-width:32px;max-width:36px}}@media screen and (max-width:375px){.cover-wrapper .list-h a img{min-width:28px;max-width:32px}}.cover-wrapper{max-width:100%}.cover-wrapper.search .bottom .menu{margin-top:16px}.cover-wrapper.search .bottom .menu .list-h a{white-space:nowrap;-webkit-box-direction:normal;-moz-box-direction:normal;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;align-items:baseline;padding:2px;margin:4px;color:var(--color-site-inner);opacity:.75;-webkit-opacity:0.75;-moz-opacity:0.75;text-shadow:0 1px 2px rgba(0,0,0,.05);border-bottom:2px solid transparent}.cover-wrapper.search .bottom .menu .list-h a i{margin-right:4px}.cover-wrapper.search .bottom .menu .list-h a p{font-size:.9375rem}.cover-wrapper.search .bottom .menu .list-h a.active,.cover-wrapper.search .bottom .menu .list-h a:active,.cover-wrapper.search .bottom .menu .list-h a:hover{opacity:1;-webkit-opacity:1;-moz-opacity:1;border-bottom:2px solid var(--color-site-inner)}.cover-wrapper.dock .menu,.cover-wrapper.featured .menu,.cover-wrapper.focus .menu{border-radius:6px;-webkit-border-radius:6px}.cover-wrapper.dock .menu .list-h a,.cover-wrapper.featured .menu .list-h a,.cover-wrapper.focus .menu .list-h a{-webkit-box-direction:normal;-moz-box-direction:normal;-webkit-box-orient:vertical;-moz-box-orient:vertical;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;align-items:center;padding:12px;line-height:24px;border-radius:4px;-webkit-border-radius:4px;border-bottom:none;text-align:center;align-content:flex-end;color:rgba(68,68,68,.7);font-size:1.5rem}@media screen and (max-width:500px){.cover-wrapper.dock .menu .list-h a,.cover-wrapper.featured .menu .list-h a,.cover-wrapper.focus .menu .list-h a{padding:12px 8px}}.cover-wrapper.dock .menu .list-h a i,.cover-wrapper.featured .menu .list-h a i,.cover-wrapper.focus .menu .list-h a i{margin:8px}.cover-wrapper.dock .menu .list-h a p,.cover-wrapper.featured .menu .list-h a p,.cover-wrapper.focus .menu .list-h a p{font-size:.875rem}.cover-wrapper.dock .menu .list-h a.active,.cover-wrapper.featured .menu .list-h a.active,.cover-wrapper.focus .menu .list-h a.active{background:var(--color-card);backdrop-filter:none}.cover-wrapper.dock .menu .list-h a.active i,.cover-wrapper.dock .menu .list-h a.active i+p,.cover-wrapper.featured .menu .list-h a.active i,.cover-wrapper.featured .menu .list-h a.active i+p,.cover-wrapper.focus .menu .list-h a.active i,.cover-wrapper.focus .menu .list-h a.active i+p{color:#2196f3}.cover-wrapper.dock .menu .list-h a.active img+p,.cover-wrapper.featured .menu .list-h a.active img+p,.cover-wrapper.focus .menu .list-h a.active img+p{color:var(--color-text)}.cover-wrapper.dock .menu .list-h a:hover,.cover-wrapper.featured .menu .list-h a:hover,.cover-wrapper.focus .menu .list-h a:hover{background:var(--color-card)}.cover-wrapper.featured .menu .list-h{margin:-2px}.cover-wrapper.featured .menu .list-h a{margin:2px;background:rgba(255,255,255,.5)}@supports (backdrop-filter:blur(20px)){.cover-wrapper.featured .menu .list-h a{background:rgba(255,255,255,.5);backdrop-filter:saturate(200%) blur(20px)}}@media (prefers-color-scheme:dark){:root{--color-mode:'dark'}:root:not([color-scheme]){--color-site-body:#121212;--color-read-bkg:#21232f;--color-read-post:#252d38;--color-site-bg:#21232f;--color-site-inner:#efefef;--color-site-footer:#666;--color-card:#252d38;--color-text:rgba(238,238,238,0.871);--color-block:rgba(68,68,68,0.65);--color-codeblock:#444;--color-inlinecode:#d56d28;--color-h1:rgba(255,255,255,0.871);--color-h2:rgba(255,255,255,0.871);--color-h3:rgba(255,255,255,0.6);--color-h4:rgba(255,255,255,0.6);--color-h5:rgba(255,255,255,0.6);--color-h6:rgba(255,255,255,0.6);--color-p:rgba(217,217,217,0.871);--color-list:rgba(217,217,217,0.871);--color-list-hl:#4dabf5;--color-meta:rgba(191,191,191,0.871);--color-link:rgba(191,191,191,0.871);--color-copyright-bkg:#21252b}:root:not([color-scheme]) img{filter:brightness(70%)!important}:root:not([color-scheme]) .blur{background:rgba(33,35,47,.9)!important}:root:not([color-scheme]) .white-box.blur{background:rgba(37,45,56,.9)!important}:root:not([color-scheme]) .nav-main .u-search-input{background:var(--color-card)!important}:root:not([color-scheme]) #l_main .article .prev-next>a{background:var(--color-block)!important}:root:not([color-scheme]) #l_main .article .prev-next>a:hover{background:var(--color-site-bg)!important}:root:not([color-scheme]) .article blockquote{background:var(--color-block)!important}:root:not([color-scheme]) .article-title a{color:var(--color-h1)!important}:root:not([color-scheme]) details>summary{color:var(--color-p)!important;background:var(--color-site-bg)!important}:root:not([color-scheme]) details{border:1px solid var(--color-site-bg)!important;background:var(--color-site-bg)!important}:root:not([color-scheme]) #u-search .modal,:root:not([color-scheme]) #u-search .modal-body,:root:not([color-scheme]) #u-search .modal-header{background:var(--color-card)!important}:root:not([color-scheme]) #u-search .modal-body .modal-results .result:hover{background:var(--color-block)!important}:root:not([color-scheme]) .u-search-input:hover{background:var(--color-block)!important}:root:not([color-scheme]) .u-search-input:focus{background:var(--color-site-body)!important}}[color-scheme=dark]{--color-site-body:#121212;--color-read-bkg:#21232f;--color-read-post:#252d38;--color-site-bg:#21232f;--color-site-inner:#efefef;--color-site-footer:#666;--color-card:#252d38;--color-text:rgba(238,238,238,0.871);--color-block:rgba(68,68,68,0.65);--color-codeblock:#444;--color-inlinecode:#d56d28;--color-h1:rgba(255,255,255,0.871);--color-h2:rgba(255,255,255,0.871);--color-h3:rgba(255,255,255,0.6);--color-h4:rgba(255,255,255,0.6);--color-h5:rgba(255,255,255,0.6);--color-h6:rgba(255,255,255,0.6);--color-p:rgba(217,217,217,0.871);--color-list:rgba(217,217,217,0.871);--color-list-hl:#4dabf5;--color-meta:rgba(191,191,191,0.871);--color-link:rgba(191,191,191,0.871);--color-copyright-bkg:#21252b}[color-scheme=dark] img{filter:brightness(70%)!important}[color-scheme=dark] .blur{background:rgba(33,35,47,.9)!important}[color-scheme=dark] .white-box.blur{background:rgba(37,45,56,.9)!important}[color-scheme=dark] .nav-main .u-search-input{background:var(--color-card)!important}[color-scheme=dark] #l_main .article .prev-next>a{background:var(--color-block)!important}[color-scheme=dark] #l_main .article .prev-next>a:hover{background:var(--color-site-bg)!important}[color-scheme=dark] .article blockquote{background:var(--color-block)!important}[color-scheme=dark] .article-title a{color:var(--color-h1)!important}[color-scheme=dark] details>summary{color:var(--color-p)!important;background:var(--color-site-bg)!important}[color-scheme=dark] details{border:1px solid var(--color-site-bg)!important;background:var(--color-site-bg)!important}[color-scheme=dark] #u-search .modal,[color-scheme=dark] #u-search .modal-body,[color-scheme=dark] #u-search .modal-header{background:var(--color-card)!important}[color-scheme=dark] #u-search .modal-body .modal-results .result:hover{background:var(--color-block)!important}[color-scheme=dark] .u-search-input:hover{background:var(--color-block)!important}[color-scheme=dark] .u-search-input:focus{background:var(--color-site-body)!important}@media screen and (max-width:500px){[color-scheme=dark] .l_header .m_search{background:var(--color-site-bg)!important}}@font-face{font-family:'Varela Round';src:url(\"https://static.mhuig.top/npm/[email protected]/media/fonts/VarelaRound/VarelaRound-Regular.ttf\");font-weight:'normal';font-style:'normal';font-display:swap}@font-face{font-family:'Varela Round';src:url(\"https://static.mhuig.top/npm/[email protected]/media/fonts/VarelaRound/VarelaRound-Regular.ttf\");font-weight:'normal';font-style:'normal';font-display:swap}.l_header{position:fixed;z-index:1000;top:0;width:100%;height:64px;background:var(--color-card);box-shadow:0 1px 2px 0 rgba(0,0,0,.1);-webkit-box-shadow:0 1px 2px 0 rgba(0,0,0,.1)}.l_header.auto{transition:opacity .4s ease;-webkit-transition:opacity .4s ease;-khtml-transition:opacity 0.4s ease;-moz-transition:opacity .4s ease;-o-transition:opacity .4s ease;-ms-transition:opacity .4s ease;visibility:hidden}.l_header.auto.show{opacity:1!important;-webkit-opacity:1!important;-moz-opacity:1!important;visibility:visible}.l_header .container{margin-left:16px;margin-right:16px}.l_header #wrapper{height:100%;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.l_header #wrapper .nav-main,.l_header #wrapper .nav-sub{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;flex-wrap:nowrap;-webkit-flex-wrap:nowrap;-khtml-flex-wrap:nowrap;-moz-flex-wrap:nowrap;-o-flex-wrap:nowrap;-ms-flex-wrap:nowrap;justify-content:space-between;-webkit-justify-content:space-between;-khtml-justify-content:space-between;-moz-justify-content:space-between;-o-justify-content:space-between;-ms-justify-content:space-between;align-items:center}.l_header #wrapper .nav-main{transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}.l_header #wrapper.sub .nav-main{transform:translateY(-64px);-webkit-transform:translateY(-64px);-khtml-transform:translateY(-64px);-moz-transform:translateY(-64px);-o-transform:translateY(-64px);-ms-transform:translateY(-64px)}.l_header #wrapper .nav-sub{transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease;opacity:0;-webkit-opacity:0;-moz-opacity:0;height:64px;width:calc(100% - 2 * 16px);position:absolute}.l_header #wrapper .nav-sub ::-webkit-scrollbar{display:-webkit-box;display:-moz-box;display:none}@media screen and (min-width:2048px){.l_header #wrapper .nav-sub{max-width:55vw;margin:auto}}.l_header #wrapper.sub .nav-sub{opacity:1;-webkit-opacity:1;-moz-opacity:1}.l_header #wrapper .title{position:relative;color:var(--color-text);padding-left:24px;max-height:64px}.l_header #wrapper .nav-main .title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-shrink:0;line-height:64px;padding:0 24px;font-size:1.25rem;font-family:\"Varela Round\",\"PingFang SC\",\"Microsoft YaHei\",Helvetica,Arial,Helvetica,monospace}.l_header #wrapper .nav-main .title img{height:64px}.l_header .nav-sub{max-width:1080px;margin:auto}.l_header .nav-sub .title{font-weight:700;font-family:\"Varela Round\",\"PingFang SC\",\"Microsoft YaHei\",Helvetica,Arial,Menlo,Monaco,monospace,sans-serif;line-height:1.2;max-height:64px;white-space:normal;flex-shrink:1}.l_header .switcher{display:-webkit-box;display:-moz-box;display:none;line-height:64px;align-items:center}.l_header .switcher .s-toc{display:-webkit-box;display:-moz-box;display:none}@media screen and (max-width:768px){.l_header .switcher .s-toc{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex}}.l_header .switcher>li{height:48px;transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease;margin:2px}@media screen and (max-width:500px){.l_header .switcher>li{margin:0 1px;height:48px}}.l_header .switcher>li>a{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;justify-content:center;-webkit-justify-content:center;-khtml-justify-content:center;-moz-justify-content:center;-o-justify-content:center;-ms-justify-content:center;align-items:center;width:48px;height:48px;padding:.85em 1.1em;border-radius:100px;-webkit-border-radius:100px;border:none;transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease;color:#2196f3}.l_header .switcher>li>a:hover{border:none}.l_header .switcher>li>a.active,.l_header .switcher>li>a:active{border:none;background:var(--color-site-bg)}@media screen and (max-width:500px){.l_header .switcher>li>a{width:36px;height:48px}}.l_header .nav-sub .switcher{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex}.l_header .m_search{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;height:64px;width:240px;transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}@media screen and (max-width:1024px){.l_header .m_search{width:44px;min-width:44px}.l_header .m_search input::placeholder{opacity:0;-webkit-opacity:0;-moz-opacity:0}.l_header .m_search:hover{width:240px}.l_header .m_search:hover input::placeholder{opacity:1;-webkit-opacity:1;-moz-opacity:1}}@media screen and (min-width:500px){.l_header .m_search:hover .input{width:100%}.l_header .m_search:hover .input::placeholder{opacity:1;-webkit-opacity:1;-moz-opacity:1}}@media screen and (max-width:500px){.l_header .m_search{min-width:0}.l_header .m_search input::placeholder{opacity:1;-webkit-opacity:1;-moz-opacity:1}}.l_header .m_search .form{position:relative;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;width:100%;align-items:center}.l_header .m_search .icon{position:absolute;width:36px;left:5px;color:var(--color-meta)}@media screen and (max-width:500px){.l_header .m_search .icon{display:-webkit-box;display:-moz-box;display:none}}.l_header .m_search .input{display:-webkit-box;display:-moz-box;display:block;padding-top:8px;padding-bottom:8px;line-height:1.3;width:100%;color:var(--color-text);background:#fafafa;box-shadow:none;-webkit-box-shadow:none;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;padding-left:40px;font-size:.875rem;border-radius:8px;-webkit-border-radius:8px;border:none;transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}@media screen and (min-width:500px){.l_header .m_search .input:focus{box-shadow:0 4px 8px 0 rgba(0,0,0,.1);-webkit-box-shadow:0 4px 8px 0 rgba(0,0,0,.1)}}@media screen and (max-width:500px){.l_header .m_search .input{background:var(--color-block);padding-left:8px;border:none}.l_header .m_search .input:focus,.l_header .m_search .input:hover{border:none}}@media (max-width:500px){.l_header .m_search{left:0;width:0;overflow:hidden;position:absolute;background:#fff;transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}.l_header .m_search .input{border-radius:32px;-webkit-border-radius:32px;margin-left:16px;padding-left:16px}.l_header.z_search-open .m_search{width:100%}.l_header.z_search-open .m_search .input{width:calc(100% - 120px)}}ul.m-pc>li>a{color:inherit;border-bottom:2px solid transparent}ul.m-pc>li>a.active,ul.m-pc>li>a:active{border-bottom:2px solid #2196f3}ul.list-v li:hover>ul.list-v,ul.m-pc li:hover>ul.list-v{display:-webkit-box;display:-moz-box;display:block}ul.nav-list-h{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;align-items:stretch}ul.nav-list-h>li{position:relative;justify-content:center;-webkit-justify-content:center;-khtml-justify-content:center;-moz-justify-content:center;-o-justify-content:center;-ms-justify-content:center;height:100%;line-height:2.4;border-radius:4px;-webkit-border-radius:4px}ul.nav-list-h>li>a{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:600}ul.list-v{z-index:1;display:-webkit-box;display:-moz-box;display:none;position:absolute;background:var(--color-card);box-shadow:0 2px 4px 0 rgba(0,0,0,.08),0 4px 8px 0 rgba(0,0,0,.08),0 8px 16px 0 rgba(0,0,0,.08);-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,.08),0 4px 8px 0 rgba(0,0,0,.08),0 8px 16px 0 rgba(0,0,0,.08);margin-top:-6px;border-radius:4px;-webkit-border-radius:4px;padding:8px 0}ul.list-v.show{display:-webkit-box;display:-moz-box;display:block}ul.list-v hr{margin-top:8px;margin-bottom:8px}ul.list-v>li{white-space:nowrap;word-break:keep-all}ul.list-v>li.header{font-size:.78125rem;font-weight:700;line-height:2em;color:var(--color-meta);margin:8px 16px 4px}ul.list-v>li.header i{margin-right:8px}ul.list-v>li ul{margin-left:0;display:-webkit-box;display:-moz-box;display:none;margin-top:-40px}ul.list-v .aplayer-container{min-height:64px;padding:6px 16px}ul.list-v>li>a{transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease;display:-webkit-box;display:-moz-box;display:block;color:var(--color-list);font-size:.875rem;font-weight:700;line-height:36px;padding:0 20px 0 16px;text-overflow:ellipsis;margin:0 4px;border-radius:4px;-webkit-border-radius:4px}@media screen and (max-width:1024px){ul.list-v>li>a{line-height:40px}}ul.list-v>li>a>i{margin-right:8px}ul.list-v>li>a.active,ul.list-v>li>a:active{color:var(--color-list-hl)}ul.list-v>li>a:hover{color:var(--color-list-hl);background:var(--color-site-bg)}.l_header .menu>ul>li>a{display:-webkit-box;display:-moz-box;display:block;padding:0 8px}.l_header .menu>ul>li>a>i{margin-right:4px}.l_header ul.nav-list-h>li{color:var(--color-list);line-height:64px}.l_header ul.nav-list-h>li>a{max-height:64px;overflow:hidden;color:inherit}.l_header ul.nav-list-h>li>a.active,.l_header ul.nav-list-h>li>a:active{color:#2196f3}.l_header ul.nav-list-h>li:hover>a{color:var(--color-list-hl)}.l_header ul.nav-list-h>li i.music{animation:rotate-effect 1.5s linear infinite;-webkit-animation:rotate-effect 1.5s linear infinite;-khtml-animation:rotate-effect 1.5s linear infinite;-moz-animation:rotate-effect 1.5s linear infinite;-o-animation:rotate-effect 1.5s linear infinite;-ms-animation:rotate-effect 1.5s linear infinite}@-moz-keyframes rotate-effect{0%{transform:rotate(0);-webkit-transform:rotate(0);-khtml-transform:rotate(0);-moz-transform:rotate(0);-o-transform:rotate(0);-ms-transform:rotate(0)}25%{transform:rotate(90deg);-webkit-transform:rotate(90deg);-khtml-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);-ms-transform:rotate(90deg)}50%{transform:rotate(180deg);-webkit-transform:rotate(180deg);-khtml-transform:rotate(180deg);-moz-transform:rotate(180deg);-o-transform:rotate(180deg);-ms-transform:rotate(180deg)}75%{transform:rotate(270deg);-webkit-transform:rotate(270deg);-khtml-transform:rotate(270deg);-moz-transform:rotate(270deg);-o-transform:rotate(270deg);-ms-transform:rotate(270deg)}100%{transform:rotate(360deg);-webkit-transform:rotate(360deg);-khtml-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg)}}@-webkit-keyframes rotate-effect{0%{transform:rotate(0);-webkit-transform:rotate(0);-khtml-transform:rotate(0);-moz-transform:rotate(0);-o-transform:rotate(0);-ms-transform:rotate(0)}25%{transform:rotate(90deg);-webkit-transform:rotate(90deg);-khtml-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);-ms-transform:rotate(90deg)}50%{transform:rotate(180deg);-webkit-transform:rotate(180deg);-khtml-transform:rotate(180deg);-moz-transform:rotate(180deg);-o-transform:rotate(180deg);-ms-transform:rotate(180deg)}75%{transform:rotate(270deg);-webkit-transform:rotate(270deg);-khtml-transform:rotate(270deg);-moz-transform:rotate(270deg);-o-transform:rotate(270deg);-ms-transform:rotate(270deg)}100%{transform:rotate(360deg);-webkit-transform:rotate(360deg);-khtml-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg)}}@-o-keyframes rotate-effect{0%{transform:rotate(0);-webkit-transform:rotate(0);-khtml-transform:rotate(0);-moz-transform:rotate(0);-o-transform:rotate(0);-ms-transform:rotate(0)}25%{transform:rotate(90deg);-webkit-transform:rotate(90deg);-khtml-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);-ms-transform:rotate(90deg)}50%{transform:rotate(180deg);-webkit-transform:rotate(180deg);-khtml-transform:rotate(180deg);-moz-transform:rotate(180deg);-o-transform:rotate(180deg);-ms-transform:rotate(180deg)}75%{transform:rotate(270deg);-webkit-transform:rotate(270deg);-khtml-transform:rotate(270deg);-moz-transform:rotate(270deg);-o-transform:rotate(270deg);-ms-transform:rotate(270deg)}100%{transform:rotate(360deg);-webkit-transform:rotate(360deg);-khtml-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg)}}@keyframes rotate-effect{0%{transform:rotate(0);-webkit-transform:rotate(0);-khtml-transform:rotate(0);-moz-transform:rotate(0);-o-transform:rotate(0);-ms-transform:rotate(0)}25%{transform:rotate(90deg);-webkit-transform:rotate(90deg);-khtml-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);-ms-transform:rotate(90deg)}50%{transform:rotate(180deg);-webkit-transform:rotate(180deg);-khtml-transform:rotate(180deg);-moz-transform:rotate(180deg);-o-transform:rotate(180deg);-ms-transform:rotate(180deg)}75%{transform:rotate(270deg);-webkit-transform:rotate(270deg);-khtml-transform:rotate(270deg);-moz-transform:rotate(270deg);-o-transform:rotate(270deg);-ms-transform:rotate(270deg)}100%{transform:rotate(360deg);-webkit-transform:rotate(360deg);-khtml-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg)}}.menu-phone li ul.list-v{right:calc(100% - .5 * 16px)}.menu-phone li ul.list-v ul{right:calc(100% - .5 * 16px)}#wrapper{max-width:1080px;margin:auto}@media screen and (min-width:2048px){#wrapper{max-width:55vw}}#wrapper .menu{-webkit-box-flex:1;-moz-box-flex:1;-webkit-flex:1 1;-ms-flex:1 1;flex:1 1;margin:0 16px 0 0}#wrapper .menu .list-v ul{left:calc(100% - .5 * 16px)}.menu-phone{display:-webkit-box;display:-moz-box;display:none;margin-top:16px;right:8px;transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}.menu-phone ul{right:calc(100% - .5 * 16px)}@media screen and (max-width:500px){.menu-phone{display:-webkit-box;display:-moz-box;display:block}}.l_header{max-width:65vw;left:calc((100% - 65vw) * .5);border-bottom-left-radius:8px;border-bottom-right-radius:8px}@media screen and (max-width:2048px){.l_header{max-width:1112px;left:calc((100% - 1112px) * .5)}}@media screen and (max-width:1112px){.l_header{left:0;border-radius:0;-webkit-border-radius:0;max-width:100%}}@media screen and (max-width:500px){.l_header .container{margin-left:0;margin-right:0}.l_header #wrapper .nav-main .title{padding-left:16px;padding-right:16px}.l_header #wrapper .nav-sub{width:100%}.l_header #wrapper .nav-sub .title{overflow-y:scroll;margin-top:2px;padding:8px 16px}.l_header #wrapper .switcher{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;margin-right:8px}.l_header .menu{display:-webkit-box;display:-moz-box;display:none}}@media screen and (max-width:500px){.list-v li{max-width:270px}}#u-search{display:-webkit-box;display:-moz-box;display:none;position:fixed;top:0;left:0;width:100%;height:100%;padding:60px 20px;z-index:1001}@media screen and (max-width:680px){#u-search{padding:0}}@media screen and (prefers-color-scheme:dark) and (max-width:500px){.l_header .m_search{background:var(--color-site-bg)!important}}.cover-wrapper .cover-body .subtitle{font-size:.875rem}.fa-brands.color-github,.fa-duotone.color-github,.fa-light.color-github,.fa-regular.color-github,.fa-solid.color-github,.fa-thin.color-github,.fa.color-github,.fad.color-github,.fal.color-github,.far.color-github,.fas.color-github,.iziToast>.iziToast-body .iziToast-icon.color-github{color:#000}.fa-brands.color-friends,.fa-duotone.color-friends,.fa-light.color-friends,.fa-regular.color-friends,.fa-solid.color-friends,.fa-thin.color-friends,.fa.color-friends,.fad.color-friends,.fal.color-friends,.far.color-friends,.fas.color-friends,.iziToast>.iziToast-body .iziToast-icon.color-friends{color:#d31ee9}.fa-brands.color-about,.fa-duotone.color-about,.fa-light.color-about,.fa-regular.color-about,.fa-solid.color-about,.fa-thin.color-about,.fa.color-about,.fad.color-about,.fal.color-about,.far.color-about,.fas.color-about,.iziToast>.iziToast-body .iziToast-icon.color-about{color:#0095ff}.fa-brands.color-travellings,.fa-duotone.color-travellings,.fa-light.color-travellings,.fa-regular.color-travellings,.fa-solid.color-travellings,.fa-thin.color-travellings,.fa.color-travellings,.fad.color-travellings,.fal.color-travellings,.far.color-travellings,.fas.color-travellings,.iziToast>.iziToast-body .iziToast-icon.color-travellings{color:#734ae6}mjx-container{padding:0 0!important}mjx-container:not([display=true]){padding:4px 2px 4px 6px!important}mjx-container[jax=SVG]{direction:ltr}mjx-container[jax=SVG]>svg{overflow:visible}mjx-container[jax=SVG][display=true]{display:-webkit-box;display:-moz-box;display:block;text-align:center;margin:1em 0}mjx-container[jax=SVG][justify=left]{text-align:left}mjx-container[jax=SVG][justify=right]{text-align:right}g[data-mml-node=merror]>g{fill:#f00;stroke:#f00}g[data-mml-node=merror]>rect[data-background]{fill:#ff0;stroke:none}g[data-mml-node=mtable]>line[data-line]{stroke-width:70px;fill:none}g[data-mml-node=mtable]>rect[data-frame]{stroke-width:70px;fill:none}g[data-mml-node=mtable]>.mjx-dashed{stroke-dasharray:140}g[data-mml-node=mtable]>.mjx-dotted{stroke-linecap:round;stroke-dasharray:0,140}g[data-mml-node=mtable]>svg{overflow:visible}[jax=SVG] mjx-tool{display:-webkit-box;display:-moz-box;display:inline-block;position:relative;width:0;height:0}[jax=SVG] mjx-tool>mjx-tip{position:absolute;top:0;left:0}mjx-tool>mjx-tip{display:-webkit-box;display:-moz-box;display:inline-block;padding:.2em;border:1px solid #888;font-size:70%;background-color:#f8f8f8;color:#000;box-shadow:2px 2px 5px #aaa;-webkit-box-shadow:2px 2px 5px #aaa}g[data-mml-node=maction][data-toggle]{cursor:pointer}mjx-status{display:-webkit-box;display:-moz-box;display:block;position:fixed;left:1em;bottom:1em;min-width:25%;padding:.2em .4em;border:1px solid #888;font-size:90%;background-color:#f8f8f8;color:#000}foreignObject[data-mjx-xml]{font-family:initial;line-height:normal;overflow:visible}.MathJax path{stroke-width:3}mjx-container[display=true]{overflow:auto hidden}mjx-container[display=true]+br{display:-webkit-box;display:-moz-box;display:none}</style><link rel=\"stylesheet\" href=\"/css/style.css\" media=\"print\" onload='this.media=\"all\",this.onload=null'><noscript><link rel=\"stylesheet\" href=\"/css/style.css\"></noscript><script>let userColorScheme=localStorage.getItem(\"color-scheme\");userColorScheme&&document.documentElement.setAttribute(\"color-scheme\",userColorScheme)</script><script>window.MSInputMethodContext&&document.documentMode&&document.write('<style>html{overflow-x: hidden !important;overflow-y: hidden !important;}.kill-ie{text-align:center;height: 100%;margin-top: 15%;margin-bottom: 5500%;}.kill-t{font-size: 2rem;}.kill-c{font-size: 1.2rem;}#l_header,#l_body{display: none;}</style><div class=\"kill-ie\"><span class=\"kill-t\"><b>抱歉,您的浏览器无法访问本站</b></span><br/><span class=\"kill-c\">微软已经于2016年终止了对 Internet Explorer (IE) 10 及更早版本的支持,<br/>继续使用存在极大的安全隐患,请使用当代主流的浏览器进行访问。</span><br/><a target=\"_blank\" rel=\"noopener\" href=\"https://blogs.windows.com/windowsexperience/2021/05/19/the-future-of-internet-explorer-on-windows-10-is-in-microsoft-edge/\"><strong>了解详情 ></strong></a></div>')</script><noscript><style>html{overflow-x:hidden!important;overflow-y:hidden!important}.kill-noscript{text-align:center;height:100%;margin-top:15%;margin-bottom:5500%}.kill-t{font-size:2rem}.kill-c{font-size:1.2rem}#l_body,#l_header{display:none}</style><div class=\"kill-noscript\"> <span class=\"kill-t\"><b>抱歉,您的浏览器无法访问本站</b></span><br> <span class=\"kill-c\">本页面需要浏览器支持(启用)JavaScript</span><br> <a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://www.baidu.com/s?wd=启用JavaScript\"><strong>了解详情 ></strong></a></div></noscript><script>function volantisEventListener(e,t,n){this.type=e,this.f=t,this.ele=n}function volantisDom(e){return e||(e=document.createElement(\"div\")),this.ele=e,this.ele.find=e=>{let t=this.ele.querySelector(e);if(t)return new volantisDom(t)},this.ele.hasClass=e=>this.ele.className.match(new RegExp(\"(\\\\s|^)\"+e+\"(\\\\s|$)\")),this.ele.addClass=e=>(this.ele.classList.add(e),this.ele),this.ele.removeClass=e=>(this.ele.classList.remove(e),this.ele),this.ele.toggleClass=e=>(this.ele.hasClass(e)?this.ele.removeClass(e):this.ele.addClass(e),this.ele),this.ele.on=(e,t,n=1)=>(this.ele.addEventListener(e,t,!1),n&&volantis.EventListener.list.push(new volantisEventListener(e,t,this.ele)),this.ele),this.ele.click=(e,t)=>(this.ele.on(\"click\",e,t),this.ele),this.ele.scroll=(e,t)=>(this.ele.on(\"scroll\",e,t),this.ele),this.ele.html=e=>(this.ele.innerHTML=e,this.ele),this.ele.hide=e=>(this.ele.style.display=\"none\",this.ele),this.ele.show=e=>(this.ele.style.display=\"block\",this.ele),this.ele}function RunItem(){function e(e,t){this.name=t||volantis.getFunctionHash(e),this.run=()=>{try{e()}catch(e){console.log(e)}}}this.list=[],this.start=()=>{for(var e=0;e<this.list.length;e++)this.list[e].run()},this.push=(t,n,o=!0)=>{if(\"function\"!=typeof t)return;let l=t;o&&(l=()=>{volantis.requestAnimationFrame(t)}),n=n||volantis.getFunctionHash(t);const i=this.list.findIndex((e=>e.name===n));-1===i?this.list.push(new e(l,n)):this.list[i]=new e(l,n)},this.remove=e=>{for(let t=0;t<this.list.length;t++){this.list[t].name==e&&this.list.splice(t,1)}}}function errorImgAvatar(e){e.src=\"https://static.mhuig.top/npm/[email protected]/media/placeholder/avatar/round/3442075.svg\",e.onerror=null}function errorImgCover(e){e.src=\"https://static.mhuig.top/npm/[email protected]/media/placeholder/cover/76b86c0226ffd.svg\",e.onerror=null}!function(){const e=new WeakMap,t=new Proxy({},{get(n,o){const l=e.get(t);return l?.[o]},set(n,o,l){e.has(t)||e.set(t,Object.create(null));return e.get(t)[o]=l,!0},deleteProperty(n,o){const l=e.get(t);return!(!l||!Object.prototype.hasOwnProperty.call(l,o))&&(delete l[o],0===Object.keys(l).length&&e.delete(t),!0)},ownKeys(n){const o=e.get(t);return o?Object.keys(o):[]},getOwnPropertyDescriptor(n,o){const l=e.get(t);if(l&&Object.prototype.hasOwnProperty.call(l,o))return{value:l[o],writable:!0,enumerable:!0,configurable:!0}}});Object.defineProperty(window,\"volantis\",{value:t,writable:!0,configurable:!0,enumerable:!0})}(),volantis.debug=\"false\",volantis.dom={},volantis.simpleTextHash=e=>{let t=5381;for(let n=0;n<e.length;n++)t=(t<<5)+t+e.charCodeAt(n),t&=t;return t.toString(16).padStart(8,\"0\")},volantis.getFunctionHash=e=>{const t=e.toString();return volantis.simpleTextHash(t)},volantis.EventListener={},volantis.EventListener.list=[],volantis.EventListener.remove=()=>{volantis.EventListener.list.forEach((function(e){e.ele.removeEventListener(e.type,e.f,!1)})),volantis.EventListener.list=[]},volantis.dom.$=e=>e?new volantisDom(e):null,volantis.pjax={},volantis.pjax.method={complete:new RunItem,error:new RunItem,send:new RunItem},volantis.pjax=Object.assign(volantis.pjax,{push:volantis.pjax.method.complete.push,error:volantis.pjax.method.error.push,send:volantis.pjax.method.send.push}),volantis.rightmenu={},volantis.rightmenu.method={handle:new RunItem},volantis.rightmenu=Object.assign(volantis.rightmenu,{handle:volantis.rightmenu.method.handle.push}),volantis.dark={},volantis.dark.method={toggle:new RunItem},volantis.dark=Object.assign(volantis.dark,{push:volantis.dark.method.toggle.push}),volantis.js=(e,t)=>new Promise((n=>{setTimeout((function(){var o=document.getElementsByTagName(\"head\")[0]||document.documentElement,l=document.createElement(\"script\");if(l.setAttribute(\"type\",\"text/javascript\"),t)if(JSON.stringify(t))for(let e in t)\"onload\"==e?l[e]=()=>{t[e](),n()}:(l[e]=t[e],l.onload=n);else l.onload=()=>{t(),n()};else l.onload=n;l.setAttribute(\"src\",e),o.appendChild(l)}))})),volantis.css=e=>new Promise((t=>{setTimeout((function(){var n=document.createElement(\"link\");n.rel=\"stylesheet\",n.href=e,n.onload=t,document.getElementsByTagName(\"head\")[0].appendChild(n)}))})),volantis.import={jQuery:()=>\"undefined\"==typeof jQuery?volantis.js(\"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js\"):new Promise((e=>{e()}))},volantis.throttle=(e,t=200)=>{let n=0;return function(...o){const l=Date.now();l-n>=t&&(e.apply(this,o),n=l)}},volantis.debounce=(e,t=200)=>{let n=null;return function(){n&&clearTimeout(n),n=setTimeout((()=>{e.apply(this,arguments),n=null}),t)}},volantis.requestAnimationFrame=e=>(window.requestAnimationFrame||(window.requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)}),window.requestAnimationFrame(e)),volantis.layoutHelper=(e,t,n)=>{function o(e,t,n){volantis.tempDiv=document.createElement(\"div\"),volantis.tempDiv.innerHTML=t;let o=document.querySelector(\"#layoutHelper-\"+e);o&&(n&&(o.innerHTML=\"\"),o.append(volantis.tempDiv))}n=Object.assign({clean:!1,pjax:!0},n),o(e,t,n.clean),n.pjax&&volantis.pjax.push((()=>{o(e,t,n.clean)}),\"layoutHelper-\"+e)},volantis.scroll={engine:new RunItem,unengine:new RunItem},volantis.scroll=Object.assign(volantis.scroll,{push:volantis.scroll.engine.push}),volantis.scroll.getScrollTop=()=>{let e;return window.pageYOffset?e=window.pageYOffset:document.compatMode&&\"BackCompat\"!=document.compatMode?e=document.documentElement.scrollTop:document.body&&(e=document.body.scrollTop),e},volantis.scroll.scrollHeight=function(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},volantis.scroll.offsetHeight=function(){return Math.min(document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)},volantis.scroll.progress=function(){return volantis.scroll.getScrollTop()/(volantis.scroll.scrollHeight()-volantis.scroll.offsetHeight())},volantis.scroll.handleScrollEvents=()=>{volantis.scroll.lastScrollTop=volantis.scroll.getScrollTop(),volantis.requestAnimationFrame((function e(){const t=volantis.scroll.getScrollTop();volantis.scroll.lastScrollTop!==t?(volantis.scroll.del=t-volantis.scroll.lastScrollTop,volantis.scroll.lastScrollTop=t,volantis.scroll.unengine.list=[],volantis.scroll.engine.start()):volantis.scroll.unengine.start(),volantis.requestAnimationFrame(e)}))},volantis.scroll.handleScrollEvents(),volantis.scroll.ele=null,volantis.scroll.to=(e,t={})=>{e&&(volantis.scroll.ele=e,opt={top:e.getBoundingClientRect().top+document.documentElement.scrollTop,behavior:\"smooth\"},\"top\"in t&&(opt.top=t.top),\"behavior\"in t&&(opt.behavior=t.behavior),\"addTop\"in t&&(opt.top+=t.addTop),\"observerDic\"in t||(t.observerDic=100),window.scrollTo(opt),t.observer&&setTimeout((()=>{volantis.scroll.ele==e&&volantis.scroll.unengine.push((()=>{let n=e.getBoundingClientRect().top;n>=-t.observerDic&&n<=t.observerDic||volantis.scroll.to(e,t),volantis.scroll.unengine.remove(\"unengineObserver\")}),\"unengineObserver\")}),1e3))},volantis.cleanContentVisibility=()=>{document.querySelector(\".post-story\")&&(console.log(\"cleanContentVisibility\"),document.querySelectorAll(\".post-story\").forEach((e=>{e.classList.remove(\"post-story\")})))};const nativeSetTimeout=window.setTimeout,nativeSetInterval=window.setInterval,nativeClearTimeout=window.clearTimeout,nativeClearInterval=window.clearInterval;volantis.activeTimeout=[],volantis.activeInterval=[],window.setTimeout=function(e,t,...n){const o=nativeSetTimeout((function(...t){try{return e.apply(this,t)}finally{const e=volantis.activeTimeout.indexOf(o);-1!==e&&volantis.activeTimeout.splice(e,1)}}),t,...n);return volantis.activeTimeout.push(o),o},window.setInterval=function(e,t,...n){const o=nativeSetInterval(e,t,...n);return volantis.activeInterval.push(o),o},window.clearTimeout=function(e){nativeClearTimeout(e);const t=volantis.activeTimeout.indexOf(e);-1!==t&&volantis.activeTimeout.splice(t,1)},window.clearInterval=function(e){nativeClearInterval(e);const t=volantis.activeInterval.indexOf(e);-1!==t&&volantis.activeInterval.splice(t,1)},volantis.getActiveInterval=function(){return[...volantis.activeInterval]},volantis.getActiveTimeout=function(){return[...volantis.activeTimeout]},volantis.clearAllTimers=function(){volantis.getActiveInterval().forEach((function(e){clearInterval(e)})),volantis.getActiveTimeout().forEach((function(e){clearTimeout(e)}))},volantis.pjax.send(volantis.clearAllTimers,\"clearAllTimers\")</script><script>volantis.GLOBAL_CONFIG={root:\"/\",debug:!1,default:{avatar:\"https://static.mhuig.top/npm/[email protected]/media/placeholder/avatar/round/3442075.svg\",link:\"https://static.mhuig.top/npm/[email protected]/media/placeholder/link/8f277b4ee0ecd.svg\",cover:\"https://static.mhuig.top/npm/[email protected]/media/placeholder/cover/76b86c0226ffd.svg\",image:\"https://static.mhuig.top/npm/[email protected]/media/placeholder/image/2659360.svg\"},lastupdate:new Date(1781075450850),cdn:{izitoast_css:\"https://cdnjs.cloudflare.com/ajax/libs/izitoast/1.4.0/css/iziToast.min.css\",izitoast_js:\"https://cdnjs.cloudflare.com/ajax/libs/izitoast/1.4.0/js/iziToast.min.js\",fancybox_css:\"https://cdnjs.cloudflare.com/ajax/libs/fancyapps-ui/4.0.31/fancybox.min.css\",fancybox_js:\"https://cdnjs.cloudflare.com/ajax/libs/fancyapps-ui/4.0.31/fancybox.umd.min.js\"},sidebar:{for_page:[\"blogger\",\"navigation\",\"webinfo\"],for_post:[\"toc\"],webinfo:{lastupd:{enable:!1,friendlyShow:!0},runtime:{data:\"2019/08/19\",unit:\"天\"}}},plugins:{message:{enable:!1,icon:{default:\"fa-solid fa-info-circle light-blue\",quection:\"fa-solid fa-question-circle light-blue\"},time:{default:5e3,quection:2e4},position:\"topRight\",transitionIn:\"bounceInLeft\",transitionOut:\"fadeOutRight\",titleColor:\"var(--color-text)\",messageColor:\"var(--color-text)\",backgroundColor:\"var(--color-card)\",zindex:2147483647,copyright:{enable:!0,title:\"知识共享许可协议\",message:\"请遵守 CC BY-NC-SA 4.0 协议。\",icon:\"far fa-copyright light-blue\"},aplayer:{enable:!0,play:\"fa-solid fa-play\",pause:\"fa-solid fa-pause\"},rightmenu:{enable:!0,notice:!0}},aplayer:{id:1480000098,enable:!0}},search:{dataPath:(\"/\".endsWith(\"/\")?\"/\":\"//\")+\"content.json\"},languages:{search:{hits_empty:\"找不到您查询的内容:${query}\",hits_stats:\"找到 ${hits} 条结果,用时 ${time} 毫秒\"}}}</script><script type=\"application/ld+json\">[{\"@context\":\"http://schema.org\",\"@type\":\"Organization\",\"name\":\"MHuiG Magicland\",\"url\":\"https://blog.mhuig.top/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"/lib/favicon/android-chrome-192x192.png\",\"width\":192,\"height\":192}},{\"@context\":\"http://schema.org\",\"@type\":\"Person\",\"name\":\"MHuiG\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"/lib/favicon/android-chrome-192x192.png\"},\"url\":\"https://blog.mhuig.top/\",\"sameAs\":[\"https://github.com/MHuiG\",\"https://twitter.com/iMHuiG\",\"https://t.me/MHuiG\",\"https://keybase.io/MHuiG\"],\"description\":\"「Be Yourself, Make a Difference.」\"},{\"@context\":\"http://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@id\":\"https://blog.mhuig.top/\",\"name\":\"Magicland\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@id\":\"https://blog.mhuig.top/categories/package manager/\",\"name\":\"package manager\"}},{\"@type\":\"ListItem\",\"position\":3,\"item\":{\"@id\":\"https://blog.mhuig.top/notes/package-mirror/index.html\",\"name\":\"Package Mirror\"}}]},{\"@context\":\"http://schema.org\",\"@type\":\"WebSite\",\"name\":\"MHuiG Magicland\",\"url\":\"https://blog.mhuig.top/\",\"keywords\":\"MHuiG, @MHuiG, Blog, 博客, Magicland, 魔法世界\",\"description\":\"宠辱不惊,看庭前花开花落;去留无意,望天上云卷云舒。「Be Yourself, Make a Difference.」 - Magic Island\",\"author\":{\"@type\":\"Person\",\"name\":\"MHuiG\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"/lib/favicon/android-chrome-192x192.png\"},\"url\":\"https://blog.mhuig.top/\",\"description\":\"「Be Yourself, Make a Difference.」\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"MHuiG Magicland\",\"url\":\"https://blog.mhuig.top/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"/lib/favicon/android-chrome-192x192.png\",\"width\":192,\"height\":192}},\"potentialAction\":{\"@type\":\"SearchAction\",\"name\":\"CoCo | The Cat of MHuiG\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https://blog.mhuig.top/havefun/coco/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}},{\"@context\":\"http://schema.org\",\"@type\":\"BlogPosting\",\"headline\":\"Package Mirror\",\"description\":\"本文整理Go、npm、pip等主流包管理器及Docker、Kubernetes等开发工具的国内镜像配置方法,提供阿里云、华为云等多平台镜像地址,附nexus私服代理方案与版本适配指南,解决软件下载慢问题。\",\"inLanguage\":\"zh-Hans\",\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://blog.mhuig.top/notes/package-mirror/\"},\"author\":{\"@type\":\"Person\",\"name\":\"MHuiG\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"/lib/favicon/android-chrome-192x192.png\"},\"url\":\"https://blog.mhuig.top/\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"MHuiG Magicland\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"/lib/favicon/android-chrome-192x192.png\",\"width\":192,\"height\":192}},\"url\":\"https://blog.mhuig.top/notes/package-mirror/\",\"wordCount\":0,\"datePublished\":\"2022-06-29T06:20:00.000Z\",\"dateModified\":\"2025-11-20T10:18:00.000Z\",\"articleSection\":\"package manager\",\"keywords\":\"mirror,包管理器镜像,系统镜像配置,国内镜像源\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"/lib/favicon/android-chrome-192x192.png\",\"width\":192,\"height\":192}}]</script></head><body itemscope=\"\" itemtype=\"http://schema.org/WebPage\"><pjax></pjax><header itemscope=\"\" itemtype=\"http://schema.org/WPHeader\" id=\"l_header\" class=\"l_header auto shadow floatable blur show\" style=\"opacity:0\"><div class=\"container\"><div id=\"wrapper\"><div class=\"nav-sub\"><p class=\"title\"></p><ul class=\"switcher nav-list-h m-phone\" id=\"pjax-header-nav-list\"><li><a id=\"s-comment\" class=\"fa-solid fa-comments fa-fw\" target=\"_self\" title=\"comment\"></a></li><li><a id=\"s-toc\" class=\"s-toc fa-solid fa-list fa-fw\" target=\"_self\" title=\"toc\"></a></li></ul></div><div class=\"nav-main\"> <a class=\"title flat-box\" target=\"_self\" href=\"/\">MHuiG</a><div class=\"menu navigation\"><ul class=\"nav-list-h m-pc\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"索引\"><i class=\"fa-duotone fa-list-alt fa-fw\"></i> 索引</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/notes/\" title=\"便签\" active-action=\"action-notes\"><i class=\"fa-duotone fa-books fa-fw\"></i> 便签</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/categories/\" title=\"分类\" active-action=\"action-categories\"><i class=\"fa-duotone fa-folder-open fa-fw\"></i> 分类</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/tags/\" title=\"标签\" active-action=\"action-tags\"><i class=\"fa-duotone fa-tags fa-fw\"></i> 标签</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/archives/\" title=\"归档\" active-action=\"action-archives\"><i class=\"fa-duotone fa-archive fa-fw\"></i> 归档</a></li></ul></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/friends/\" title=\"友链\" active-action=\"action-pagesfriends\"><i class=\"fa-duotone fa-link fa-fw\"></i> 友链</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"https://www.travellings.cn/go-by-clouds.html\" title=\"Travelling\" target=\"_blank\" active-action=\"action-https:wwwtravellingscngo-by-cloudshtml\" rel=\"external nofollow noopener noreferrer\"><i class=\"fa-duotone fa-subway fa-fw\"></i> Travelling</a></li></ul></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/about/\" title=\"关于\" active-action=\"action-pagesabout\"><i class=\"fa-duotone fa-user-tie fa-fw\"></i> 关于</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/time-machine/\" title=\"时光机\" active-action=\"action-pagestime-machine\"><i class=\"fa-duotone fa-clock fa-fw\"></i> 时光机</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"noopener\" href=\"https://mhuig.top/privacy-policy/\" title=\"隐私政策\" active-action=\"action-https:mhuigtopprivacy-policy\"><i class=\"fa-duotone fa-user-secret fa-fw\"></i> 隐私政策</a></li></ul></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"更多\"><i class=\"fa-duotone fa-fan fa-spin fa-fw\"></i> 更多</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/beer/\" title=\"Sponsor\" active-action=\"action-pagesbeer\"><i class=\"fa-duotone fa-heart-square fa-fw\"></i> Sponsor</a></li><hr><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"博客管理\"><i class=\"fa-duotone fa-user-shield fa-fw\"></i> 博客管理</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box header toggle-mode-btn\"><i class=\"fa-duotone fa-bat fa-fw\"></i> 暗黑模式</a></li><li></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/rss/\" title=\"RSS订阅\" active-action=\"action-pagesrss\"><i class=\"fa-duotone fa-rss fa-fw\"></i> RSS订阅</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/sitemap.xml\" title=\"站点地图\" active-action=\"action-sitemapxml\"><i class=\"fa-duotone fa-sitemap fa-fw\"></i> 站点地图</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://mhuig.instatus.com/\" title=\"Monitors\" active-action=\"action-https:mhuiginstatuscom\"><i class=\"fa-duotone fa-telescope fa-fw\"></i> Monitors</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://ssl.mhuig.top/\" title=\"SSL Status\" active-action=\"action-https:sslmhuigtop\"><i class=\"fa-brands fa-expeditedssl fa-fw\"></i> SSL Status</a></li></ul></li><hr><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"工具箱\"><i class=\"fa-duotone fa-tools fa-fw\"></i> 工具箱</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://rssbox.mhuig.top/\" title=\"RSS Box\" active-action=\"action-https:rssboxmhuigtop\"><i class=\"fa-duotone fa-conveyor-belt-boxes fa-fw\"></i> RSS Box</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/havefun/coco/\" title=\"My Cat\" active-action=\"action-havefuncoco\"><i class=\"fa-duotone fa-cat fa-fw\"></i> My Cat</a></li><li><a class=\"menuitem flat-box\"><i class=\"fa-duotone fa-compact-disc fa-spin fa-fw music\"></i> Music</a><ul class=\"list-v\"><li><div class=\"aplayer-container\"><div class=\"aplayer-local\"></div></div></li></ul></li><li></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/talk/\" title=\"碎言碎语\" active-action=\"action-pagestalk\"><i class=\"fa-duotone fa-comments fa-fw\"></i> 碎言碎语</a></li></ul></li><hr><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://github.com/MHuiG\" title=\"GitHub\" active-action=\"action-https:githubcomMHuiG\"><i class=\"fa-brands fa-github fa-fw\"></i> GitHub</a></li></ul></li></ul></div><div class=\"m_search\"><form name=\"searchform\" class=\"form u-search-form\"><i class=\"icon fa-solid fa-search fa-fw\"></i> <input type=\"text\" class=\"input u-search-input\" placeholder=\"Search...\"></form></div><ul class=\"switcher nav-list-h m-phone\"><li><a class=\"s-search fa-solid fa-search fa-fw\" target=\"_self\" title=\"search\"></a></li><li><a class=\"s-menu fa-solid fa-bars fa-fw\" target=\"_self\" title=\"menu\"></a><ul class=\"menu-phone list-v navigation white-box\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"索引\"><i class=\"fa-duotone fa-list-alt fa-fw\"></i> 索引</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/notes/\" title=\"便签\" active-action=\"action-notes\"><i class=\"fa-duotone fa-books fa-fw\"></i> 便签</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/categories/\" title=\"分类\" active-action=\"action-categories\"><i class=\"fa-duotone fa-folder-open fa-fw\"></i> 分类</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/tags/\" title=\"标签\" active-action=\"action-tags\"><i class=\"fa-duotone fa-tags fa-fw\"></i> 标签</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/archives/\" title=\"归档\" active-action=\"action-archives\"><i class=\"fa-duotone fa-archive fa-fw\"></i> 归档</a></li></ul></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/friends/\" title=\"友链\" active-action=\"action-pagesfriends\"><i class=\"fa-duotone fa-link fa-fw\"></i> 友链</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"https://www.travellings.cn/go-by-clouds.html\" title=\"Travelling\" target=\"_blank\" active-action=\"action-https:wwwtravellingscngo-by-cloudshtml\" rel=\"external nofollow noopener noreferrer\"><i class=\"fa-duotone fa-subway fa-fw\"></i> Travelling</a></li></ul></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/about/\" title=\"关于\" active-action=\"action-pagesabout\"><i class=\"fa-duotone fa-user-tie fa-fw\"></i> 关于</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/time-machine/\" title=\"时光机\" active-action=\"action-pagestime-machine\"><i class=\"fa-duotone fa-clock fa-fw\"></i> 时光机</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"noopener\" href=\"https://mhuig.top/privacy-policy/\" title=\"隐私政策\" active-action=\"action-https:mhuigtopprivacy-policy\"><i class=\"fa-duotone fa-user-secret fa-fw\"></i> 隐私政策</a></li></ul></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"更多\"><i class=\"fa-duotone fa-fan fa-spin fa-fw\"></i> 更多</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/beer/\" title=\"Sponsor\" active-action=\"action-pagesbeer\"><i class=\"fa-duotone fa-heart-square fa-fw\"></i> Sponsor</a></li><hr><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"博客管理\"><i class=\"fa-duotone fa-user-shield fa-fw\"></i> 博客管理</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box header toggle-mode-btn\"><i class=\"fa-duotone fa-bat fa-fw\"></i> 暗黑模式</a></li><li></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/rss/\" title=\"RSS订阅\" active-action=\"action-pagesrss\"><i class=\"fa-duotone fa-rss fa-fw\"></i> RSS订阅</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/sitemap.xml\" title=\"站点地图\" active-action=\"action-sitemapxml\"><i class=\"fa-duotone fa-sitemap fa-fw\"></i> 站点地图</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://mhuig.instatus.com/\" title=\"Monitors\" active-action=\"action-https:mhuiginstatuscom\"><i class=\"fa-duotone fa-telescope fa-fw\"></i> Monitors</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://ssl.mhuig.top/\" title=\"SSL Status\" active-action=\"action-https:sslmhuigtop\"><i class=\"fa-brands fa-expeditedssl fa-fw\"></i> SSL Status</a></li></ul></li><hr><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"工具箱\"><i class=\"fa-duotone fa-tools fa-fw\"></i> 工具箱</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://rssbox.mhuig.top/\" title=\"RSS Box\" active-action=\"action-https:rssboxmhuigtop\"><i class=\"fa-duotone fa-conveyor-belt-boxes fa-fw\"></i> RSS Box</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/havefun/coco/\" title=\"My Cat\" active-action=\"action-havefuncoco\"><i class=\"fa-duotone fa-cat fa-fw\"></i> My Cat</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/talk/\" title=\"碎言碎语\" active-action=\"action-pagestalk\"><i class=\"fa-duotone fa-comments fa-fw\"></i> 碎言碎语</a></li></ul></li><hr><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://github.com/MHuiG\" title=\"GitHub\" active-action=\"action-https:githubcomMHuiG\"><i class=\"fa-brands fa-github fa-fw\"></i> GitHub</a></li></ul></li></ul></li></ul></div></div></div></header><div id=\"l_body\"><div id=\"l_cover\"><div id=\"none\" class=\"cover-wrapper post featured\" style=\"display:none\"><div class=\"cover-bg lazyload placeholder\" data-bg=\"\"></div><div class=\"cover-body\"><div class=\"top\"><p class=\"title\">Magicland</p><p class=\"subtitle\">「看庭前花开花落,望天上云卷云舒」</p></div><div class=\"bottom\"><div class=\"menu navigation\"><div class=\"list-h\"><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://github.com/MHuiG\" active-action=\"action-https:githubcomMHuiG\"><i class=\"fa-brands fa-github color-github fa-fw\"></i><p>Github</p></a><a href=\"/pages/friends/\" active-action=\"action-pagesfriends\"><i class=\"fa-duotone fa-link color-friends fa-fw\"></i><p>友链</p></a><a href=\"/pages/about/\" active-action=\"action-pagesabout\"><i class=\"fa-duotone fa-user-tie color-about fa-fw\"></i><p>关于</p></a><a href=\"https://www.travellings.cn/go-by-clouds.html\" target=\"_blank\" active-action=\"action-https:wwwtravellingscngo-by-cloudshtml\" rel=\"external nofollow noopener noreferrer\"><i class=\"fa-duotone fa-subway color-travellings fa-fw\"></i><p>Travelling</p></a></div></div></div></div><div id=\"scroll-down\" style=\"display:none\"><i class=\"fa fa-chevron-down scroll-down-effects\"></i></div></div></div><div id=\"safearea\"><div class=\"body-wrapper\"><div id=\"l_main\" class=\"\"><article itemscope=\"\" itemtype=\"http://schema.org/Article\" class=\"article post white-box reveal md shadow floatable blur article-type-post\" id=\"post\" itemprop=\"blogPost\"><link itemprop=\"mainEntityOfPage\" href=\"https://blog.mhuig.top/notes/package-mirror/\"><span hidden=\"\" itemprop=\"publisher\" itemscope=\"\" itemtype=\"http://schema.org/Organization\"><meta itemprop=\"name\" content=\"Magicland\"></span><span hidden=\"\" itemprop=\"post\" itemscope=\"\" itemtype=\"http://schema.org/CreativeWork\"><meta itemprop=\"name\" content=\"Package Mirror\"><meta itemprop=\"description\" content=\"本文整理Go、npm、pip等主流包管理器及Docker、Kubernetes等开发工具的国内镜像配置方法,提供阿里云、华为云等多平台镜像地址,附nexus私服代理方案与版本适配指南,解决软件下载慢问题。\"></span><span hidden=\"\"><meta itemprop=\"image\" content=\"/lib/favicon/android-chrome-192x192.png\"></span><div class=\"article-meta\" id=\"top\"><h1 class=\"title\" itemprop=\"name headline\"> Package Mirror</h1><div class=\"new-meta-box\"><div class=\"new-meta-item author\" itemprop=\"author\" itemscope=\"\" itemtype=\"http://schema.org/Person\"> <a itemprop=\"url\" class=\"author\" target=\"_blank\" href=\"https://mhuig.top/\" rel=\"nofollow noopener\" alt=\"author\"><img itemprop=\"image\" src=\"/lib/avatar/avatar-16.webp\" class=\"lazyload\" data-srcset=\"/lib/avatar/avatar-16.webp\" srcset=\"data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"><p itemprop=\"name\">MHuiG</p></a></div><div class=\"new-meta-item wordcount\"><a class=\"notlink\"><i class=\"fa-duotone fa-keyboard fa-fw\" aria-hidden=\"true\"></i><p>字数:5.9k 字</p></a></div><div class=\"new-meta-item readtime\"><a class=\"notlink\"><i class=\"fa-duotone fa-hourglass-half fa-fw\" aria-hidden=\"true\"></i><p>时长:30 分钟</p></a></div></div></div><div id=\"layoutHelper-page-plugins\"></div><div id=\"post-body\" itemprop=\"articleBody\"><p><code>注意:</code>假如所有的镜像都已经被本地 nexus 私服代理,那么对应的地址为<code>nexus.eryajf.net/repository/***/</code>。(这只是个域名示例,不代表实际可用!)</p><div class=\"story post-story\"><h2 id=\"Go\"><a href=\"#Go\" class=\"headerlink\" title=\"Go\"></a>Go</h2><h3 id=\"Configuration\"><a href=\"#Configuration\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>如果 go 版本用的<code>go1.11</code>或者<code>go1.12</code>,需进行如下配置:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\"><span class=\"built_in\">export</span> GO111MODULE=on</span><br><span class=\"line\"><span class=\"built_in\">export</span> GOPROXY=<span class=\"string\">\"http://nexus.eryajf.net/repository/go/\"</span></span><br></pre></td></tr></tbody></table></figure><p>如果使用 <code>go1.13</code>以上的版本则可以用如下配置:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\"><span class=\"built_in\">export</span> GOPROXY=<span class=\"string\">\"http://nexus.eryajf.net/repository/go/\"</span></span><br><span class=\"line\">GONOPROXY=<span class=\"string\">\"gitlab.eryajf.net\"</span></span><br><span class=\"line\">GONOSUMDB=<span class=\"string\">\"gitlab.eryajf.net\"</span></span><br><span class=\"line\">GOPRIVATE=<span class=\"string\">\"gitlab.eryajf.net\"</span></span><br><span class=\"line\">GOSUMDB=<span class=\"string\">\"sum.golang.google.cn\"</span></span><br></pre></td></tr></tbody></table></figure><p>关于如上两个版本配置差异,以及配置参数详解可参考:<a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly93aWtpLmVyeWFqZi5uZXQvcGFnZXMvNDk0MS5odG1s\">https://wiki.eryajf.net/pages/4941.html</a></p><h3 id=\"Mirrors\"><a href=\"#Mirrors\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><ul><li>Aliyun<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmFsaXl1bi5jb20vZ29wcm94eS8\">https://mirrors.aliyun.com/goproxy/</a></li></ul></li><li>Proxy-cn<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9nb3Byb3h5LmNuLw\">https://goproxy.cn</a></li></ul></li><li>Proxy-io<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9wcm94eS5nb2xhbmcuY29tLmNuLw\">https://proxy.golang.com.cn</a></li></ul></li><li>Baidu<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9nb3Byb3h5LmJqLmJjZWJvcy5jb20v\">https://goproxy.bj.bcebos.com/</a></li></ul></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2hlbHAvZ28uaHRtbA\">Tencent</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2dvLw\">https://mirrors.cloud.tencent.com/go/</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9yZXBvc2l0b3J5L2dvcHJveHkv\">https://repo.huaweicloud.com/repository/goproxy/</a></li></ul></li></ul><p>其中<code>GOSUMDB</code>在国内可用的两个镜像分别如下:</p><ul><li>Google<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9zdW0uZ29sYW5nLmdvb2dsZS5jbi8\">https://sum.golang.google.cn/</a></li></ul></li><li>sumdb-io<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9nb3N1bS5pby8\">https://gosum.io/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Npm\"><a href=\"#Npm\" class=\"headerlink\" title=\"Npm\"></a>Npm</h2><h3 id=\"Configuration-1\"><a href=\"#Configuration-1\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>配置<code>npm</code>代理,需进行如下配置:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\"><span class=\"comment\"># npm配置</span></span><br><span class=\"line\">$ <span class=\"built_in\">echo</span> <span class=\"string\">'registry=http://nexus.eryajf.net/repository/npm'</span> &gt; ~/.npmrc</span><br><span class=\"line\"><span class=\"comment\"># 查看</span></span><br><span class=\"line\">$ npm config get registry</span><br><span class=\"line\">http://nexus.eryajf.net/repository/npm</span><br><span class=\"line\"></span><br><span class=\"line\"><span class=\"comment\"># yarn配置</span></span><br><span class=\"line\">$ <span class=\"built_in\">echo</span> <span class=\"string\">'registry \"http://nexus.eryajf.net/repository/npm\"'</span> &gt; ~/.yarnrc</span><br><span class=\"line\"><span class=\"comment\"># 查看</span></span><br><span class=\"line\">$ yarn config get registry</span><br><span class=\"line\">http://nexus.eryajf.net/repository/npm</span><br></pre></td></tr></tbody></table></figure><h3 id=\"Mirrors-1\"><a href=\"#Mirrors-1\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><ul><li>Taobao<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZWdpc3RyeS5ucG0udGFvYmFvLm9yZy8\">https://registry.npm.taobao.org</a><br>但是请注意如下一个消息:<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly96aHVhbmxhbi56aGlodS5jb20vcC80NjU0MjQ3Mjg_c3BtPWEyYzZoLjI0NzU1MzU5LjAuMC42ZDQ0NGRjY3lSTHhOOA\">淘宝 npm 域名即将切换 &amp;&amp; npmmirror 重构升级</a>:即原来的淘宝 npm 域名将停止解析,因此所有依赖此域名的都需要进行更改。<ul><li>域名切换规则:<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL25wbS50YW9iYW8ub3JnLw\">http://npm.taobao.org</a>=&gt; <a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL25wbW1pcnJvci5jb20v\">http://npmmirror.com</a></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL3JlZ2lzdHJ5Lm5wbS50YW9iYW8ub3JnLw\">http://registry.npm.taobao.org</a>=&gt; <a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL3JlZ2lzdHJ5Lm5wbW1pcnJvci5jb20v\">http://registry.npmmirror.com</a></li></ul></li></ul></li></ul></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9yZXBvc2l0b3J5L25wbS8\">https://repo.huaweicloud.com/repository/npm/</a></li></ul></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2hlbHAvbnBtLmh0bWw\">Tencent</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuY2xvdWQudGVuY2VudC5jb20vbnBtLw\">http://mirrors.cloud.tencent.com/npm/</a></li></ul></li><li>浙江大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuemp1LmVkdS5jbi9ucG0v\">http://mirrors.zju.edu.cn/npm/</a></li></ul></li><li>南京邮电<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLm5qdXB0LmVkdS5jbi9uZXh1cy9yZXBvc2l0b3J5L25wbS8\">https://mirrors.njupt.edu.cn/nexus/repository/npm/</a></li></ul></li><li>npmjs<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZWdpc3RyeS5ucG1qcy5vcmcv\">https://registry.npmjs.org</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Pip\"><a href=\"#Pip\" class=\"headerlink\" title=\"Pip\"></a>Pip</h2><h3 id=\"Configuration-2\"><a href=\"#Configuration-2\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>配置<code>Python</code>代理,需进行如下配置:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">$ <span class=\"built_in\">mkdir</span> ~/.pip</span><br><span class=\"line\"></span><br><span class=\"line\">$ <span class=\"built_in\">cat</span> &gt; ~/.pip/pip.conf &lt;&lt; <span class=\"string\">EOF</span></span><br><span class=\"line\"><span class=\"string\">[global]</span></span><br><span class=\"line\"><span class=\"string\">timeout = 60</span></span><br><span class=\"line\"><span class=\"string\">trusted-host = nexus.eryajf.net</span></span><br><span class=\"line\"><span class=\"string\">index-url = http://nexus.eryajf.net/repository/pypi/simple</span></span><br><span class=\"line\"><span class=\"string\">EOF</span></span><br><span class=\"line\"></span><br></pre></td></tr></tbody></table></figure><p><code>注意:</code>通常在配置文件后边,我们会添加一个<code>simple</code>。</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\"><span class=\"comment\"># 简洁配置方式 1</span></span><br><span class=\"line\">pip config <span class=\"built_in\">set</span> global.index-url https://pypi.tuna.tsinghua.edu.cn/simple</span><br><span class=\"line\"><span class=\"comment\"># 简洁配置方式 2 </span></span><br><span class=\"line\">pip3 install --upgrade -i https://pypi.tuna.tsinghua.edu.cn/simple yt-dlp</span><br></pre></td></tr></tbody></table></figure><h3 id=\"Mirrors-2\"><a href=\"#Mirrors-2\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><p>目前代理外部私仓有:</p><ul><li>Aliyun<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuYWxpeXVuLmNvbS9weXBpLw\">http://mirrors.aliyun.com/pypi/</a></li></ul></li><li>douban<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL3B5cGkuZG91YmFuLmNvbS8\">http://pypi.douban.com/</a></li></ul></li><li>清华<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9weXBpLnR1bmEudHNpbmdodWEuZWR1LmNuLw\">https://pypi.tuna.tsinghua.edu.cn/</a></li></ul></li><li>163<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLjE2My5jb20vcHlwaQ\">https://mirrors.163.com/pypi</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9yZXBvc2l0b3J5L3B5cGk\">https://repo.huaweicloud.com/repository/pypi</a></li></ul></li><li>Tencent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL3B5cGkv\">https://mirrors.cloud.tencent.com/pypi/</a></li></ul></li><li>北大<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnBrdS5lZHUuY24vcHlwaS8\">https://mirrors.pku.edu.cn/pypi/</a></li></ul></li><li>南阳理工<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3Iubnlpc3QuZWR1LmNuL3B5cGkv\">https://mirror.nyist.edu.cn/pypi/</a></li></ul></li><li>大连东软<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMubmV1c29mdC5lZHUuY24vcHlwaS93ZWIv\">http://mirrors.neusoft.edu.cn/pypi/web/</a></li></ul></li><li>哈尔滨工业大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmhpdC5lZHUuY24vcHlwaS93ZWIv\">https://mirrors.hit.edu.cn/pypi/web/</a></li></ul></li><li>上海交通大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3Iuc2p0dS5lZHUuY24vcHlwaS93ZWIvc2ltcGxlLw\">https://mirror.sjtu.edu.cn/pypi/web/simple/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Composer\"><a href=\"#Composer\" class=\"headerlink\" title=\"Composer\"></a>Composer</h2><p><em>Composer</em> 是 PHP 的一个依赖管理工具,需要 PHP 5.3.2 以上才能运行。</p><h3 id=\"Configuration-3\"><a href=\"#Configuration-3\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>配置<code>PHP</code>代理,需进行如下配置:</p><ul><li>全局配置(推荐)<ul><li>所有项目都会使用该镜像地址:<figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/</span><br></pre></td></tr></tbody></table></figure></li><li>取消配置:<figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">composer config -g --<span class=\"built_in\">unset</span> repos.packagist</span><br></pre></td></tr></tbody></table></figure></li></ul></li><li>项目配置<ul><li>仅修改当前工程配置,仅当前工程可使用该镜像地址:<figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">composer config repo.packagist composer https://mirrors.aliyun.com/composer/</span><br></pre></td></tr></tbody></table></figure></li><li>取消配置:<figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">composer config --<span class=\"built_in\">unset</span> repos.packagist</span><br></pre></td></tr></tbody></table></figure></li></ul></li></ul><p>参考:<a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kZXZlbG9wZXIuYWxpeXVuLmNvbS9jb21wb3Nlcg\">https://developer.aliyun.com/composer</a></p><h3 id=\"Mirrors-3\"><a href=\"#Mirrors-3\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><p>目前代理外部私仓有:</p><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kZXZlbG9wZXIuYWxpeXVuLmNvbS9jb21wb3Nlcg\">Aliyun</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmFsaXl1bi5jb20vY29tcG9zZXIv\">https://mirrors.aliyun.com/composer/</a></li></ul></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2hlbHAvY29tcG9zZXIuaHRtbA\">Tencent</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2NvbXBvc2VyLw\">https://mirrors.cloud.tencent.com/composer/</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmh1YXdlaWNsb3VkLmNvbS9yZXBvc2l0b3J5L3BocC8\">https://mirrors.huaweicloud.com/repository/php/</a></li></ul></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9wa2cueHl6Lw\">Packagist</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9wYWNrYWdpc3QucGhwY29tcG9zZXIuY29tLw\">https://packagist.phpcomposer.com</a></li></ul></li><li> 上海交通<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9wYWNrYWdpc3QubWlycm9ycy5zanR1Zy5zanR1LmVkdS5jbi8\">https://packagist.mirrors.sjtug.sjtu.edu.cn</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Rubygems\"><a href=\"#Rubygems\" class=\"headerlink\" title=\"Rubygems\"></a>Rubygems</h2><p><em>RubyGems</em> 是 Ruby 的一个包管理器,它提供一个分发 Ruby 程序和库的标准格式,还提供一个管理程序包安装的工具。</p><h3 id=\"Configuration-4\"><a href=\"#Configuration-4\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>配置<code>Ruby</code>代理,需进行如下配置:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\"><span class=\"comment\"># 首先,查看当前源:</span></span><br><span class=\"line\">$ gem sources -l</span><br><span class=\"line\">*** CURRENT SOURCES ***</span><br><span class=\"line\">https://rubygems.org/</span><br><span class=\"line\"></span><br><span class=\"line\"></span><br><span class=\"line\"><span class=\"comment\"># 接着,移除 https://rubygems.org/,并添加国内下载源 https://gems.ruby-china.com/。</span></span><br><span class=\"line\">$ gem sources --remove https://rubygems.org/</span><br><span class=\"line\">$ gem sources -a https://gems.ruby-china.com/</span><br><span class=\"line\">$ gem sources -l</span><br><span class=\"line\">*** CURRENT SOURCES ***</span><br><span class=\"line\"></span><br><span class=\"line\">https://gems.ruby-china.com/</span><br><span class=\"line\"></span><br><span class=\"line\"><span class=\"comment\"># 请确保只有 gems.ruby-china.com</span></span><br><span class=\"line\">$ gem install rails</span><br></pre></td></tr></tbody></table></figure><p>参考:<a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly93d3cucnVub29iLmNvbS9ydWJ5L3J1YnktcnVieWdlbXMuaHRtbA\">https://www.runoob.com/ruby/ruby-rubygems.html</a></p><h3 id=\"Mirrors-4\"><a href=\"#Mirrors-4\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><p>目前代理外部私仓有:</p><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kZXZlbG9wZXIuYWxpeXVuLmNvbS9taXJyb3IvcnVieWdlbXM\">Aliyun</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmFsaXl1bi5jb20vcnVieWdlbXMv\">https://mirrors.aliyun.com/rubygems/</a></li></ul></li><li>Tencent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL3J1YnlnZW1zLw\">https://mirrors.cloud.tencent.com/rubygems/</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9yZXBvc2l0b3J5L3J1YnlnZW1zLw\">https://repo.huaweicloud.com/repository/rubygems/</a></li></ul></li><li>清华<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnR1bmEudHNpbmdodWEuZWR1LmNuL3J1YnlnZW1zLw\">https://mirrors.tuna.tsinghua.edu.cn/rubygems/</a></li></ul></li><li>中科大<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnVzdGMuZWR1LmNuL3J1YnlnZW1zLw\">https://mirrors.ustc.edu.cn/rubygems/</a></li></ul></li><li>北京外国语大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmJmc3UuZWR1LmNuL3J1YnlnZW1zLw\">https://mirrors.bfsu.edu.cn/rubygems/</a></li></ul></li><li>哈尔滨工业大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmhpdC5lZHUuY24vcnVieWdlbXMv\">https://mirrors.hit.edu.cn/rubygems/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Maven\"><a href=\"#Maven\" class=\"headerlink\" title=\"Maven\"></a>Maven</h2><h3 id=\"Configuration-5\"><a href=\"#Configuration-5\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>Java 系的工具版本规范如下:</p><ul><li><code>JDK:</code>1.8.0_292</li><li><code>MVN:</code>3.3.9</li></ul><p>配置 Maven 代理,参考配置文件: <a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL2VyeWFqZi9UaGFua3MtTWlycm9yL21haW4vc3JjL3NldHRpbmdzLnhtbA\">settings.xml</a></p><h3 id=\"Mirrors-5\"><a href=\"#Mirrors-5\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><ul><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9yZXBvc2l0b3J5L21hdmVuLw\">https://repo.huaweicloud.com/repository/maven/</a></li></ul></li><li>Maven Central Repository<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvMS5tYXZlbi5vcmcvbWF2ZW4yLw\">https://repo1.maven.org/maven2/</a></li></ul></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kZXZlbG9wZXIuYWxpeXVuLmNvbS9tdm4vZ3VpZGU\">Aliyun</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21hdmVuLmFsaXl1bi5jb20vbmV4dXMvY29udGVudC9ncm91cHMvcHVibGljLw\">http://maven.aliyun.com/nexus/content/groups/public/</a></li></ul></li><li>Tencent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL21hdmVuLw\">https://mirrors.cloud.tencent.com/maven/</a></li></ul></li><li>南京邮电<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLm5qdXB0LmVkdS5jbi9uZXh1cy9yZXBvc2l0b3J5L21hdmVuLWNlbnRyYWw\">https://mirrors.njupt.edu.cn/nexus/repository/maven-central</a></li></ul></li><li>Apache Maven<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLm1hdmVuLmFwYWNoZS5vcmcvbWF2ZW4y\">https://repo.maven.apache.org/maven2</a></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvc2l0b3J5LmFwYWNoZS5vcmcvY29udGVudC9ncm91cHMvc25hcHNob3Rz\">https://repository.apache.org/content/groups/snapshots</a></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvc2l0b3J5LmFwYWNoZS5vcmcvY29udGVudC9ncm91cHMvc3RhZ2luZy8\">https://repository.apache.org/content/groups/staging/</a></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvc2l0b3J5LmFwYWNoZS5vcmcvY29udGVudC9ncm91cHMvcHVibGljLw\">https://repository.apache.org/content/groups/public/</a></li></ul></li><li>confluent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL3BhY2thZ2VzLmNvbmZsdWVudC5pby9tYXZlbi8\">http://packages.confluent.io/maven/</a></li></ul></li><li>cloudera<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL3JlcG8uaG9ydG9ud29ya3MuY29tL2NvbnRlbnQvcmVwb3NpdG9yaWVzL3JlbGVhc2Vz\">http://repo.hortonworks.com/content/repositories/releases</a></li></ul></li><li>jboss<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvc2l0b3J5Lmpib3NzLm9yZy9uZXh1cy9jb250ZW50L2dyb3Vwcy9wdWJsaWM\">https://repository.jboss.org/nexus/content/groups/public</a></li></ul></li><li>Lss233's.Mirror(供 Minecraft 开发使用)<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL2xzczIzMy5saXR0bGVzZXJ2aWNlLmNuL3JlcG9zaXRvcmllcy9taW5lY3JhZnQ\">http://lss233.littleservice.cn/repositories/minecraft</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Yum\"><a href=\"#Yum\" class=\"headerlink\" title=\"Yum\"></a>Yum</h2><h3 id=\"Configuration-6\"><a href=\"#Configuration-6\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>如果<code>CentOS</code>服务器要接入私服<code>yum</code>源,则清空本地 <code>/etc/yum.repos.d</code>的内容,添加如下内容:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">$ <span class=\"built_in\">cat</span> &gt;&gt; /etc/yum.repos.d/nexus.repo &lt;&lt; <span class=\"string\">'EOF'</span></span><br><span class=\"line\">[nexus]</span><br><span class=\"line\">name=Nexus Repository</span><br><span class=\"line\">baseurl=http://nexus.eryajf.net/repository/yum/<span class=\"variable\">$releasever</span>/os/<span class=\"variable\">$basearch</span>/</span><br><span class=\"line\">enabled=1</span><br><span class=\"line\">gpgcheck=0</span><br><span class=\"line\"></span><br><span class=\"line\">[nexus-local]</span><br><span class=\"line\">name=Nexus Repository</span><br><span class=\"line\">baseurl=http://nexus.eryajf.net/repository/eryajf-yum-local/</span><br><span class=\"line\">enabled=1</span><br><span class=\"line\">gpgcheck=0</span><br><span class=\"line\">EOF</span><br></pre></td></tr></tbody></table></figure><p>然后执行如下命令:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">yum clean all</span><br><span class=\"line\">yum makecache</span><br></pre></td></tr></tbody></table></figure><h3 id=\"Mirrors-6\"><a href=\"#Mirrors-6\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><p>目前代理外部源:</p><ul><li>Aliyun<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmFsaXl1bi5jb20vY2VudG9zLw\">https://mirrors.aliyun.com/centos/</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9jZW50b3Mv\">https://repo.huaweicloud.com/centos/</a></li></ul></li><li>Tencent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2NlbnRvcy8\">https://mirrors.cloud.tencent.com/centos/</a></li></ul></li><li>北京交通<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3IuYmp0dS5lZHUuY24vY2VudG9zLw\">https://mirror.bjtu.edu.cn/centos/</a></li></ul></li><li>东北大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvci5uZXUuZWR1LmNuL2NlbnRvcy8\">http://mirror.neu.edu.cn/centos/</a></li></ul></li><li>兰州大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3IubHp1LmVkdS5jbi9jZW50b3Mv\">https://mirror.lzu.edu.cn/centos/</a></li></ul></li><li>清华<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnR1bmEudHNpbmdodWEuZWR1LmNuL2NlbnRvcy8\">https://mirrors.tuna.tsinghua.edu.cn/centos/</a></li></ul></li><li>华中科技大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnVzdGMuZWR1LmNuL2NlbnRvcy8\">https://mirrors.ustc.edu.cn/centos/</a></li></ul></li><li>浙江大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuemp1LmVkdS5jbi9jZW50b3Mv\">http://mirrors.zju.edu.cn/centos/</a></li></ul></li><li>souhu<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuc29odS5jb20vY2VudG9zLw\">http://mirrors.sohu.com/centos/</a></li></ul></li><li>163:<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuMTYzLmNvbS9jZW50b3Mv\">http://mirrors.163.com/centos/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Remi\"><a href=\"#Remi\" class=\"headerlink\" title=\"Remi\"></a>Remi</h2><p>Remi repository 是包含最新版本 PHP 和 MySQL 包的 Linux 源,由 Remi 提供维护。</p><p>官方地址:<a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9ycG1zLnJlbWlyZXBvLm5ldC8\">https://rpms.remirepo.net/</a></p><h3 id=\"Configuration-7\"><a href=\"#Configuration-7\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>详情参考:<a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly93aWtpLmVyeWFqZi5uZXQvcGFnZXMvZjM1OTg2\">https://wiki.eryajf.net/pages/f35986</a></p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">yum install -y epel-release</span><br><span class=\"line\">yum install -y https://mirrors.tuna.tsinghua.edu.cn/remi/enterprise/remi-release-7.rpm</span><br></pre></td></tr></tbody></table></figure><h3 id=\"Mirrors-7\"><a href=\"#Mirrors-7\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><p>目前代理外部源:</p><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kZXZlbG9wZXIuYWxpeXVuLmNvbS9taXJyb3IvcmVtaQ\">Aliyun</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmFsaXl1bi5jb20vcmVtaS8\">https://mirrors.aliyun.com/remi/</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9yZW1pLw\">https://repo.huaweicloud.com/remi/</a></li></ul></li><li>清华<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnR1bmEudHNpbmdodWEuZWR1LmNuL3JlbWkv\">https://mirrors.tuna.tsinghua.edu.cn/remi/</a></li></ul></li><li>中科大<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnVzdGMuZWR1LmNuL3JlbWkv\">https://mirrors.ustc.edu.cn/remi/</a></li></ul></li><li>上海交通<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL2Z0cC5zanR1LmVkdS5jbi9yZW1pLw\">http://ftp.sjtu.edu.cn/remi/</a></li></ul></li><li>首都在线<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMueXVuLWlkYy5jb20vcmVtaS8\">http://mirrors.yun-idc.com/remi/</a></li></ul></li><li>北京外国语大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmJmc3UuZWR1LmNuL3JlbWkv\">https://mirrors.bfsu.edu.cn/remi/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Epel\"><a href=\"#Epel\" class=\"headerlink\" title=\"Epel\"></a>Epel</h2><p>EPEL 的全称叫 Extra Packages for Enterprise Linux。EPEL 是由 Fedora 社区打造,为 RHEL 及衍生发行版如 CentOS、Scientific Linux 等提供高质量软件包的项目。</p><p>官方地址:<a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kb2NzLmZlZG9yYXByb2plY3Qub3JnL2VuLVVTL2VwZWwv\">https://docs.fedoraproject.org/en-US/epel/</a></p><h3 id=\"Configuration-8\"><a href=\"#Configuration-8\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\"><span class=\"comment\"># 备份</span></span><br><span class=\"line\"><span class=\"built_in\">mv</span> /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel.repo.backup</span><br><span class=\"line\"><span class=\"built_in\">mv</span> /etc/yum.repos.d/epel-testing.repo /etc/yum.repos.d/epel-testing.repo.backup</span><br><span class=\"line\"></span><br><span class=\"line\"><span class=\"comment\"># 下载</span></span><br><span class=\"line\">wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo</span><br></pre></td></tr></tbody></table></figure><h3 id=\"Mirrors-8\"><a href=\"#Mirrors-8\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><p>目前代理外部源:</p><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kZXZlbG9wZXIuYWxpeXVuLmNvbS9taXJyb3IvZXBlbA\">Aliyun</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmFsaXl1bi5jb20vZXBlbC8\">https://mirrors.aliyun.com/epel/</a></li></ul></li><li>Tencent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2VwZWwv\">https://mirrors.cloud.tencent.com/epel/</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9lcGVsLw\">https://repo.huaweicloud.com/epel/</a></li></ul></li><li>清华<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnR1bmEudHNpbmdodWEuZWR1LmNuL2VwZWwv\">https://mirrors.tuna.tsinghua.edu.cn/epel/</a></li></ul></li><li>中科大<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnVzdGMuZWR1LmNuL2VwZWwv\">https://mirrors.ustc.edu.cn/epel/</a></li></ul></li><li>浙江大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuemp1LmVkdS5jbi9lcGVsLw\">http://mirrors.zju.edu.cn/epel/</a></li></ul></li><li>兰州大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3IubHp1LmVkdS5jbi9lcGVsLw\">https://mirror.lzu.edu.cn/epel/</a></li></ul></li><li>上海交通<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL2Z0cC5zanR1LmVkdS5jbi9lcGVsLw\">http://ftp.sjtu.edu.cn/epel/</a></li></ul></li><li>首都在线<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMueXVuLWlkYy5jb20vZXBlbC8\">http://mirrors.yun-idc.com/epel/</a></li></ul></li><li>大连东软<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMubmV1c29mdC5lZHUuY24vZXBlbC8\">http://mirrors.neusoft.edu.cn/epel/</a></li></ul></li><li>大连理工<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvci5kbHV0LmVkdS5jbi9lcGVsLw\">http://mirror.dlut.edu.cn/epel/</a></li></ul></li><li>南京邮电<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMubmp1cHQuZWR1LmNuL2VwZWwv\">http://mirrors.njupt.edu.cn/epel/</a></li></ul></li><li>重庆大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNxdS5lZHUuY24vZXBlbC8\">https://mirrors.cqu.edu.cn/epel/</a></li></ul></li><li>北京外国语大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmJmc3UuZWR1LmNuL2VwZWwv\">https://mirrors.bfsu.edu.cn/epel/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Homebrew\"><a href=\"#Homebrew\" class=\"headerlink\" title=\"Homebrew\"></a>Homebrew</h2><h3 id=\"Configuration-9\"><a href=\"#Configuration-9\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>如果你使用了 zsh,那么配置方式如下:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\"><span class=\"built_in\">echo</span> <span class=\"string\">'export HOMEBREW_BREW_GIT_REMOTE=\"https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git\"'</span> &gt;&gt; ~/.zshrc</span><br><span class=\"line\"><span class=\"built_in\">echo</span> <span class=\"string\">'export HOMEBREW_CORE_GIT_REMOTE=\"https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git\"'</span> &gt;&gt; ~/.zshrc</span><br><span class=\"line\"><span class=\"built_in\">echo</span> <span class=\"string\">'export HOMEBREW_BOTTLE_DOMAIN=\"https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles\"'</span> &gt;&gt; ~/.zshrc</span><br><span class=\"line\"></span><br><span class=\"line\"><span class=\"built_in\">source</span> ~/.zshrc</span><br><span class=\"line\">brew update</span><br></pre></td></tr></tbody></table></figure><p>参考:<a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly93d3cuZnJhbmtpbmRldi5jb20vMjAyMC8wNS8xNS9yZXBsYWNlLWhvbWVicmV3LXNvdXJjZS8\">Homebrew 替换国内镜像源</a></p><h3 id=\"Mirrors-9\"><a href=\"#Mirrors-9\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><ul><li>Aliyun<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmFsaXl1bi5jb20vaG9tZWJyZXcv\">https://mirrors.aliyun.com/homebrew/</a></li></ul></li><li>Tencent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2hvbWVicmV3Lw\">https://mirrors.cloud.tencent.com/homebrew/</a></li></ul></li><li>清华:<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnR1bmEudHNpbmdodWEuZWR1LmNuL2hlbHAvaG9tZWJyZXcv\">https://mirrors.tuna.tsinghua.edu.cn/help/homebrew/</a></li></ul></li><li>重庆大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNxdS5lZHUuY24vaG9tZWJyZXcv\">https://mirrors.cqu.edu.cn/homebrew/</a></li></ul></li><li>北京外国语大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmJmc3UuZWR1LmNuL2hlbHAvaG9tZWJyZXcv\">https://mirrors.bfsu.edu.cn/help/homebrew/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"cargo\"><a href=\"#cargo\" class=\"headerlink\" title=\"cargo\"></a>cargo</h2><p>rust 包管理镜像源</p><h3 id=\"Configuration-10\"><a href=\"#Configuration-10\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>修改文件<code>~/.cargo/config</code> (没有则新建)</p><figure class=\"highlight plaintext\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">[source.crates-io]</span><br><span class=\"line\">replace-with = 'rsproxy'</span><br><span class=\"line\"></span><br><span class=\"line\">[source.rsproxy]</span><br><span class=\"line\">registry = \"https://rsproxy.cn/crates.io-index\"</span><br><span class=\"line\"></span><br><span class=\"line\">[registries.rsproxy]</span><br><span class=\"line\">index = \"https://rsproxy.cn/crates.io-index\"</span><br><span class=\"line\"></span><br><span class=\"line\">[net]</span><br><span class=\"line\">git-fetch-with-cli = true</span><br></pre></td></tr></tbody></table></figure><h3 id=\"Mirrors-10\"><a href=\"#Mirrors-10\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><ul><li>字节<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yc3Byb3h5LmNuL2NyYXRlcy5pby1pbmRleA\">https://rsproxy.cn/crates.io-index</a></li></ul></li><li> 中国科学技术大学<ul><li>git://mirrors.ustc.edu.cn/crates.io-index</li></ul></li><li>清华:<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnR1bmEudHNpbmdodWEuZWR1LmNuL2dpdC9jcmF0ZXMuaW8taW5kZXguZ2l0\">https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git</a></li></ul></li><li> 上海交通大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnNqdHVnLnNqdHUuZWR1LmNuL2dpdC9jcmF0ZXMuaW8taW5kZXg\">https://mirrors.sjtug.sjtu.edu.cn/git/crates.io-index</a></li></ul></li><li> 阿里云<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9jb2RlLmFsaXl1bi5jb20vcnVzdGNjL2NyYXRlcy5pby1pbmRleA\">https://code.aliyun.com/rustcc/crates.io-index</a></li></ul></li><li> 北京外国语大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmJmc3UuZWR1LmNuL2dpdC9jcmF0ZXMuaW8taW5kZXguZ2l0\">https://mirrors.bfsu.edu.cn/git/crates.io-index.git</a></li></ul></li><li>rustcc 社区<ul><li>git://crates.rustcc.cn/crates.io-index</li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Software-Mirror\"><a href=\"#Software-Mirror\" class=\"headerlink\" title=\"Software-Mirror\"></a>Software-Mirror</h2><p>还有一些软件,直接通过官方下载比较困难,也整理出方便下载的国内优质镜像。</p></div><div class=\"story post-story\"><h2 id=\"Docker\"><a href=\"#Docker\" class=\"headerlink\" title=\"Docker\"></a>Docker</h2><h3 id=\"Official\"><a href=\"#Official\" class=\"headerlink\" title=\"Official\"></a>Official</h3><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kb2NzLmRvY2tlci5jb20vZW5naW5lL2luc3RhbGwv\">https://docs.docker.com/engine/install/</a></li></ul><h3 id=\"Mirrors-11\"><a href=\"#Mirrors-11\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><ul><li>Aliyun<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kZXZlbG9wZXIuYWxpeXVuLmNvbS9taXJyb3IvZG9ja2VyLWNl\">https://developer.aliyun.com/mirror/docker-ce</a></li></ul></li><li>Tencent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2RvY2tlci1jZS8\">https://mirrors.cloud.tencent.com/docker-ce/</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9kb2NrZXItY2Uv\">https://repo.huaweicloud.com/docker-ce/</a></li></ul></li><li>北大<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnBrdS5lZHUuY24vZG9ja2VyLWNlLw\">https://mirrors.pku.edu.cn/docker-ce/</a></li></ul></li><li>清华<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnR1bmEudHNpbmdodWEuZWR1LmNuL2RvY2tlci1jZS8\">https://mirrors.tuna.tsinghua.edu.cn/docker-ce/</a></li></ul></li><li>中科大<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnVzdGMuZWR1LmNuL2RvY2tlci1jZS8\">https://mirrors.ustc.edu.cn/docker-ce/</a></li></ul></li><li>西北农林科技大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLm53c3VhZi5lZHUuY24vZG9ja2VyLWNlLw\">https://mirrors.nwsuaf.edu.cn/docker-ce/</a></li></ul></li><li>浙江大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuemp1LmVkdS5jbi9kb2NrZXItY2Uv\">http://mirrors.zju.edu.cn/docker-ce/</a></li></ul></li><li>北京外国语大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmJmc3UuZWR1LmNuL2RvY2tlci1jZS8\">https://mirrors.bfsu.edu.cn/docker-ce/</a></li></ul></li><li>哈尔滨工业大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmhpdC5lZHUuY24vZG9ja2VyLWNl\">https://mirrors.hit.edu.cn/docker-ce</a></li></ul></li><li> 上海交通<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3Iuc2p0dS5lZHUuY24vZG9ja2VyLWNlLw\">https://mirror.sjtu.edu.cn/docker-ce/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Kubernetes\"><a href=\"#Kubernetes\" class=\"headerlink\" title=\"Kubernetes\"></a>Kubernetes</h2><h3 id=\"Official-1\"><a href=\"#Official-1\" class=\"headerlink\" title=\"Official\"></a>Official</h3><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9rdWJlcm5ldGVzLmlvL3JlbGVhc2VzL2Rvd25sb2FkLw\">https://kubernetes.io/releases/download"

Trust signals

Why this verdict

PkgRadar discounts a release’s score when public reputation argues against novel malware. The verdict above already reflects these — the panel just explains what was applied.

Weekly downloads
2,611Niche · −30% score
Versions published
397Mature · −50% score
First published
Jun 2022
Publisher
GitHub ActionsTrusted automation · −70% score

Effective trust discount applied: 70% (max across signals — discounts don’t stack). New install-lifecycle deltas vs the previous release would clear the discount.

Recommended action

Review before promoting

Mixed signals: the package has indicators worth reading before allowing the update in automated dependency flows.

Block this release in CIcurl · GitHub Actions

Fail the build when this package version is added or upgraded. Replace $PKGRADAR_TOKEN with a Pro / Team API key from your dashboard.

curl -fsS https://pkgradar.com/gate/npm \
  -H "Authorization: Bearer $PKGRADAR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"specs":["@mhg/[email protected]"],"fail_on":"review"}'

GitHub Actions step:

- name: PkgRadar gate
  run: |
    curl -fsS https://pkgradar.com/gate/npm \
      -H "Authorization: Bearer ${{ secrets.PKGRADAR_TOKEN }}" \
      -H "Content-Type: application/json" \
      -d '{"specs":["@mhg/[email protected]"],"fail_on":"review"}'
Artifact bytes32,045,303
Previous version1.0.1781063341924
Published2026-06-10T07:17:07.016Z
SHA-256ff26d7c2940018295883331c3e035f1ae474d98cd128dfbd2a0fa503ed5c0734

Why flagged

What the scanner saw

Remote Payload: matched "github.com/volantis-x/hexo-theme-volantis/#6.0.4\"><meta name=\"generator\" content=\"Hexo 8.1.2\"><meta name=\"Volantis\" content=\"6.0.4\"><meta charset=\"utf-8\"><meta name=\"robots\" content=\"index,follow, max-image-preview:large\"><link rel=\"canonical\" href=\"https://blog.mhuig.top/notes/package-mirror/\"><meta http-equiv=\"x-dns-prefetch-control\" content=\"on\"><link rel=\"dns-prefetch\" href=\"https://static.mhuig.top\"><link rel=\"preconnect\" href=\"https://static.mhuig.top\" crossorigin=\"\"><link rel=\"dns-prefetch\" href=\"https://cdnjs.cloudflare.com\"><link rel=\"preconnect\" href=\"https://cdnjs.cloudflare.com\" crossorigin=\"\"><meta name=\"renderer\" content=\"webkit\"><meta name=\"force-rendering\" content=\"webkit\"><meta http-equiv=\"X-UA-Compatible\" content=\"IE=Edge,chrome=1\"><meta name=\"HandheldFriendly\" content=\"True\"><meta name=\"mobile-web-app-capable\" content=\"yes\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1,maximum-scale=5\"><meta content=\"black-translucent\" name=\"apple-mobile-web-app-status-bar-style\"><meta content=\"telephone=no\" name=\"format-detection\"><script>function registerServiceWorker(e){\"localhost\"!=window.location.hostname&&\"serviceWorker\"in navigator&&navigator.serviceWorker.register(`${e}`).then((function(e){\"localhost\"==window.location.hostname&&(e.onupdatefound=function(){var r=e.installing;r.onstatechange=function(){switch(r.state){case\"installed\":navigator.serviceWorker.controller?console.log(\"Updated Service Worker.\"):console.log(\"Service Worker Sucess!\");break;case\"redundant\":console.log(\"The installing service worker became redundant.\")}}})})).catch((function(e){console.error(\"Error during service worker registration:\",e),\"undefined\"==typeof swinstallretry&&(swinstallretry=1,registerServiceWorker(\"/jquery.js\"))}))}registerServiceWorker(\"/jquery.js\")</script><link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/lib/favicon/apple-touch-icon.png\"><link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/lib/favicon/favicon-32x32.png\"><link rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/lib/favicon/android-chrome-192x192.png\"><link rel=\"icon\" type=\"image/png\" sizes=\"144x144\" href=\"/lib/favicon/android-chrome-144x144.png\"><link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/lib/favicon/favicon-16x16.png\"><link rel=\"manifest\" href=\"/lib/favicon/site.webmanifest\"><link rel=\"mask-icon\" href=\"/lib/favicon/safari-pinned-tab.svg\" color=\"#5bbad5\"><meta name=\"apple-mobile-web-app-title\" content=\"MHuiG Magicland\"><meta name=\"apple-mobile-web-app-status-bar-style\" content=\"black\"><meta name=\"application-name\" content=\"MHuiG Magicland\"><meta name=\"msapplication-TileColor\" content=\"#87ceeb\"><meta name=\"msapplication-TileImage\" content=\"/lib/favicon/mstile-144x144.png\"><meta name=\"theme-color\" content=\"#87ceeb\" media=\"(prefers-color-scheme: light)\"><meta name=\"theme-color\" content=\"#21232f\" media=\"(prefers-color-scheme: dark)\"><link href=\"/opensearch.xml\" rel=\"search\" title=\"MHuiG Magicland\" type=\"application/opensearchdescription+xml\"><link rel=\"sitemap\" type=\"application/xml\" title=\"MHuiG Blog Site Map\" href=\"https://blog.mhuig.top/sitemap.xml\"><link rel=\"author\" href=\"https://mhuig.top\"><meta name=\"author\" content=\"MHuiG\"><meta name=\"creator\" content=\"MHuiG\"><link rel=\"archives\" href=\"https://blog.mhuig.top/archives/\"><meta http-equiv=\"Content-Security-Policy\" content=\"frame-src 'self' https://giscus.app https://bilibili.com https://player.bilibili.com https://www.bilibili.com https://*.bilibili.com\"><script>const blockList=[\"bad-domain.com\",\"www.cdnboostcache.com\"];function blockIframe(){document.querySelectorAll(\"iframe\").forEach((e=>{try{const o=new URL(e.src).hostname;blockList.some((e=>o===e||o.endsWith(`.${e}`)))&&e.remove()}catch(e){}}))}document.addEventListener(\"DOMContentLoaded\",(function(){blockIframe();new MutationObserver(blockIframe).observe(document.body,{childList:!0,subtree:!0})}))</script><link rel=\"preload\" href=\"/css/style.css\" as=\"style\"><link rel=\"preload\" href=\"https://static.mhuig.top/npm/[email protected]/media/fonts/VarelaRound/VarelaRound-Regular.ttf\" as=\"font\" type=\"font/ttf\" crossorigin=\"anonymous\"><link rel=\"preload\" href=\"https://static.mhuig.top/npm/[email protected]/media/fonts/VarelaRound/VarelaRound-Regular.ttf\" as=\"font\" type=\"font/ttf\" crossorigin=\"anonymous\"><link rel=\"alternate\" href=\"/atom.xml\" title=\"Magicland\" type=\"application/atom+xml\"><link rel=\"alternate\" href=\"/rss2.xml\" title=\"Magicland\" type=\"application/rss+xml\"><title>Package Mirror - Magicland</title><meta name=\"keywords\" content=\"package manager, mirror,包管理器镜像,系统镜像配置,国内镜像源,MHuiG, @MHuiG, Blog, 博客, Magicland, 魔法世界\"><meta desc=\"\" name=\"description\" content=\"本文整理Go、npm、pip等主流包管理器及Docker、Kubernetes等开发工具的国内镜像配置方法,提供阿里云、华为云等多平台镜像地址,附nexus私服代理方案与版本适配指南,解决软件下载慢问题。 - MHuiG - Magicland\"><meta property=\"og:type\" content=\"website\"><meta property=\"og:title\" content=\"Package Mirror\"><meta property=\"og:url\" content=\"https://blog.mhuig.top/notes/package-mirror/\"><meta property=\"og:site_name\" content=\"Magicland\"><meta property=\"og:description\" content=\"本文整理Go、npm、pip等主流包管理器及Docker、Kubernetes等开发工具的国内镜像配置方法,提供阿里云、华为云等多平台镜像地址,附nexus私服代理方案与版本适配指南,解决软件下载慢问题。\"><meta property=\"og:locale\"><meta property=\"og:image\" content=\"https://blog.mhuig.top/lib/favicon/android-chrome-192x192.png\"><meta property=\"article:published_time\" content=\"2022-06-29T06:20:00.000Z\"><meta property=\"article:modified_time\" content=\"2025-11-20T10:18:00.000Z\"><meta property=\"article:author\" content=\"MHuiG\"><meta property=\"article:tag\" content=\"mirror\"><meta property=\"article:tag\" content=\"包管理器镜像\"><meta property=\"article:tag\" content=\"国内镜像源\"><meta property=\"article:tag\" content=\"系统镜像配置\"><meta name=\"twitter:card\" content=\"summary\"><meta name=\"twitter:image\" content=\"https://blog.mhuig.top/lib/favicon/android-chrome-192x192.png\"><meta name=\"twitter:creator\" content=\"@iMHuiG\"><meta name=\"twitter:site\" content=\"@iMHuiG\"><style>#safearea{display:none}.post-story+.post-story{content-visibility:auto;contain-intrinsic-size:10px 500px}:root{--color-site-body:#87ceeb;--color-site-bg:#87ceeb;--color-site-inner:#555;--color-site-footer:#666;--color-card:#fff;--color-text:#444;--color-block:#f6f6f6;--color-inlinecode:#d56d28;--color-codeblock:#fff7ea;--color-h1:#3a3a3a;--color-h2:#3a3a3a;--color-h3:#333;--color-h4:#444;--color-h5:#555;--color-h6:#666;--color-p:#444;--color-list:#666;--color-list-hl:#1a78c2;--color-meta:#888;--color-read-bkg:#e0d8c8;--color-read-post:#f8f1e2;--color-copyright-bkg:#f5f5f5}*{box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;outline:0;margin:0;padding:0}::-webkit-scrollbar{height:4px;width:4px}::-webkit-scrollbar-track-piece{background:0 0}::-webkit-scrollbar-thumb{background:#2196f3;cursor:pointer;border-radius:2px;-webkit-border-radius:2px}::-webkit-scrollbar-thumb:hover{background:#ff5722}html{color:var(--color-text);width:100%;height:100%;font-family:\"Varela Round\",\"PingFang SC\",\"Microsoft YaHei\",Helvetica,Arial,Menlo,Monaco,monospace,sans-serif;font-size:16px}html>::-webkit-scrollbar{height:4px;width:4px}html>::-webkit-scrollbar-track-piece{background:0 0}html>::-webkit-scrollbar-thumb{background:#2196f3;cursor:pointer;border-radius:2px;-webkit-border-radius:2px}html>::-webkit-scrollbar-thumb:hover{background:#ff5722}body{background-color:var(--color-site-body);text-rendering:optimizelegibility;-webkit-tap-highlight-color:transparent;line-height:1.6;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body.modal-active{overflow:hidden}@media screen and (max-width:680px){body.modal-active{position:fixed;top:0;right:0;bottom:0;left:0}}a{color:#2196f3;cursor:pointer;text-decoration:none;transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}a:hover{color:#ff5722}a:active,a:hover{outline:0}ol,ul{padding-left:0}ol li,ul li{list-style:none}header{display:-webkit-box;display:-moz-box;display:block}img{border:0;background:0 0;max-width:100%}svg:not(:root){overflow:hidden}hr{-moz-box-sizing:content-box;box-sizing:content-box;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;height:0;border:0;border-radius:1px;-webkit-border-radius:1px;border-bottom:1px solid rgba(68,68,68,.1)}button,input{color:inherit;font:inherit;margin:0}button{overflow:visible;text-transform:none;-webkit-appearance:button;cursor:pointer}@supports (backdrop-filter:blur(20px)){.blur{background:rgba(255,255,255,.9)!important;backdrop-filter:saturate(200%) blur(20px)}}.shadow{box-shadow:0 1px 2px 0 rgba(0,0,0,.1);-webkit-box-shadow:0 1px 2px 0 rgba(0,0,0,.1)}.shadow.floatable{transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}.shadow.floatable:hover{box-shadow:0 2px 4px 0 rgba(0,0,0,.1),0 4px 8px 0 rgba(0,0,0,.1),0 8px 16px 0 rgba(0,0,0,.1);-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,.1),0 4px 8px 0 rgba(0,0,0,.1),0 8px 16px 0 rgba(0,0,0,.1)}#l_cover{min-height:64px}.cover-wrapper{top:0;left:0;max-width:100%;height:100vh;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;flex-wrap:nowrap;-webkit-flex-wrap:nowrap;-khtml-flex-wrap:nowrap;-moz-flex-wrap:nowrap;-o-flex-wrap:nowrap;-ms-flex-wrap:nowrap;-webkit-box-direction:normal;-moz-box-direction:normal;-webkit-box-orient:vertical;-moz-box-orient:vertical;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;align-items:center;align-self:center;align-content:center;color:var(--color-site-inner);padding:0 16px;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;position:relative;overflow:hidden;margin-bottom:-100px}.cover-wrapper .cover-bg{position:absolute;width:100%;height:100%;background-position:center;background-size:cover;-webkit-background-size:cover;-moz-background-size:cover}.cover-wrapper .cover-bg.lazyload:not(.loaded){opacity:0;-webkit-opacity:0;-moz-opacity:0}.cover-wrapper .cover-bg.lazyload.loaded{animation-delay:0s;animation-duration:.5s;animation-fill-mode:forwards;animation-timing-function:ease-out;animation-name:fadeIn}@-moz-keyframes fadeIn{0%{opacity:0;-webkit-opacity:0;-moz-opacity:0;filter:blur(12px);transform:scale(1.02);-webkit-transform:scale(1.02);-khtml-transform:scale(1.02);-moz-transform:scale(1.02);-o-transform:scale(1.02);-ms-transform:scale(1.02)}100%{opacity:1;-webkit-opacity:1;-moz-opacity:1}}@-webkit-keyframes fadeIn{0%{opacity:0;-webkit-opacity:0;-moz-opacity:0;filter:blur(12px);transform:scale(1.02);-webkit-transform:scale(1.02);-khtml-transform:scale(1.02);-moz-transform:scale(1.02);-o-transform:scale(1.02);-ms-transform:scale(1.02)}100%{opacity:1;-webkit-opacity:1;-moz-opacity:1}}@-o-keyframes fadeIn{0%{opacity:0;-webkit-opacity:0;-moz-opacity:0;filter:blur(12px);transform:scale(1.02);-webkit-transform:scale(1.02);-khtml-transform:scale(1.02);-moz-transform:scale(1.02);-o-transform:scale(1.02);-ms-transform:scale(1.02)}100%{opacity:1;-webkit-opacity:1;-moz-opacity:1}}@keyframes fadeIn{0%{opacity:0;-webkit-opacity:0;-moz-opacity:0;filter:blur(12px);transform:scale(1.02);-webkit-transform:scale(1.02);-khtml-transform:scale(1.02);-moz-transform:scale(1.02);-o-transform:scale(1.02);-ms-transform:scale(1.02)}100%{opacity:1;-webkit-opacity:1;-moz-opacity:1}}.cover-wrapper .cover-body{z-index:1;position:relative;width:100%;height:100%}.cover-wrapper#full{height:calc(100vh + 100px);padding-bottom:100px}.cover-wrapper#half{max-height:640px;min-height:400px;height:calc(36vh - 64px + 200px)}.cover-wrapper #scroll-down{width:100%;height:64px;position:absolute;bottom:100px;text-align:center;cursor:pointer}.cover-wrapper #scroll-down .scroll-down-effects{color:#fff;font-size:24px;line-height:64px;position:absolute;width:24px;left:calc(50% - 12px);text-shadow:0 1px 2px rgba(0,0,0,.1);animation:scroll-down-effect 1.5s infinite;-webkit-animation:scroll-down-effect 1.5s infinite;-khtml-animation:scroll-down-effect 1.5s infinite;-moz-animation:scroll-down-effect 1.5s infinite;-o-animation:scroll-down-effect 1.5s infinite;-ms-animation:scroll-down-effect 1.5s infinite}@-moz-keyframes scroll-down-effect{0%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}50%{top:-16px;opacity:.4;-webkit-opacity:0.4;-moz-opacity:0.4}100%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}}@-webkit-keyframes scroll-down-effect{0%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}50%{top:-16px;opacity:.4;-webkit-opacity:0.4;-moz-opacity:0.4}100%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}}@-o-keyframes scroll-down-effect{0%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}50%{top:-16px;opacity:.4;-webkit-opacity:0.4;-moz-opacity:0.4}100%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}}@keyframes scroll-down-effect{0%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}50%{top:-16px;opacity:.4;-webkit-opacity:0.4;-moz-opacity:0.4}100%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}}.cover-wrapper .cover-body{margin-top:64px;margin-bottom:100px}.cover-wrapper .cover-body,.cover-wrapper .cover-body .bottom,.cover-wrapper .cover-body .top{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;-webkit-box-direction:normal;-moz-box-direction:normal;-webkit-box-orient:vertical;-moz-box-orient:vertical;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;align-items:center;justify-content:center;-webkit-justify-content:center;-khtml-justify-content:center;-moz-justify-content:center;-o-justify-content:center;-ms-justify-content:center;max-width:100%}.cover-wrapper .cover-body .bottom{margin-top:32px}.cover-wrapper .cover-body .title{font-family:\"Varela Round\",\"PingFang SC\",\"Microsoft YaHei\",Helvetica,Arial,Helvetica,monospace;font-size:3.125rem;line-height:1.2;text-shadow:0 1px 2px rgba(0,0,0,.1)}.cover-wrapper .cover-body .subtitle{font-size:20px}.cover-wrapper .cover-body .logo{max-height:120px;max-width:calc(100% - 4 * 16px)}@media screen and (min-height:1024px){.cover-wrapper .cover-body .title{font-size:3rem}.cover-wrapper .cover-body .subtitle{font-size:1.05rem}.cover-wrapper .cover-body .logo{max-height:150px}}.cover-wrapper .cover-body .m_search{position:relative;max-width:calc(100% - 16px);width:320px;vertical-align:middle}.cover-wrapper .cover-body .m_search .form{position:relative;display:-webkit-box;display:-moz-box;display:block;width:100%}.cover-wrapper .cover-body .m_search .icon,.cover-wrapper .cover-body .m_search .input{transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}.cover-wrapper .cover-body .m_search .icon{position:absolute;display:-webkit-box;display:-moz-box;display:block;line-height:2.5rem;width:32px;top:0;left:5px;color:rgba(68,68,68,.75)}.cover-wrapper .cover-body .m_search .input{display:-webkit-box;display:-moz-box;display:block;height:2.5rem;width:100%;box-shadow:none;-webkit-box-shadow:none;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;font-size:.875rem;-webkit-appearance:none;padding-left:36px;border-radius:1.4rem;-webkit-border-radius:1.4rem;background:rgba(255,255,255,.6);backdrop-filter:blur(10px);border:none;color:var(--color-text)}@media screen and (max-width:500px){.cover-wrapper .cover-body .m_search .input{padding-left:36px}}.cover-wrapper .cover-body .m_search .input:hover{background:rgba(255,255,255,.8)}.cover-wrapper .cover-body .m_search .input:focus{background:#fff}.cover-wrapper .list-h{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;-webkit-box-direction:normal;-moz-box-direction:normal;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;flex-wrap:wrap;-webkit-flex-wrap:wrap;-khtml-flex-wrap:wrap;-moz-flex-wrap:wrap;-o-flex-wrap:wrap;-ms-flex-wrap:wrap;align-items:stretch;border-radius:4px;-webkit-border-radius:4px;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.cover-wrapper .list-h a{-webkit-box-flex:1;-moz-box-flex:1;-webkit-flex:1 0;-ms-flex:1 0;flex:1 0;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;font-weight:600}.cover-wrapper .list-h a img{display:-webkit-box;display:-moz-box;display:block;border-radius:2px;-webkit-border-radius:2px;margin:4px;min-width:40px;max-width:44px}@media screen and (max-width:768px){.cover-wrapper .list-h a img{min-width:36px;max-width:40px}}@media screen and (max-width:500px){.cover-wrapper .list-h a img{margin:2px 4px;min-width:32px;max-width:36px}}@media screen and (max-width:375px){.cover-wrapper .list-h a img{min-width:28px;max-width:32px}}.cover-wrapper{max-width:100%}.cover-wrapper.search .bottom .menu{margin-top:16px}.cover-wrapper.search .bottom .menu .list-h a{white-space:nowrap;-webkit-box-direction:normal;-moz-box-direction:normal;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;align-items:baseline;padding:2px;margin:4px;color:var(--color-site-inner);opacity:.75;-webkit-opacity:0.75;-moz-opacity:0.75;text-shadow:0 1px 2px rgba(0,0,0,.05);border-bottom:2px solid transparent}.cover-wrapper.search .bottom .menu .list-h a i{margin-right:4px}.cover-wrapper.search .bottom .menu .list-h a p{font-size:.9375rem}.cover-wrapper.search .bottom .menu .list-h a.active,.cover-wrapper.search .bottom .menu .list-h a:active,.cover-wrapper.search .bottom .menu .list-h a:hover{opacity:1;-webkit-opacity:1;-moz-opacity:1;border-bottom:2px solid var(--color-site-inner)}.cover-wrapper.dock .menu,.cover-wrapper.featured .menu,.cover-wrapper.focus .menu{border-radius:6px;-webkit-border-radius:6px}.cover-wrapper.dock .menu .list-h a,.cover-wrapper.featured .menu .list-h a,.cover-wrapper.focus .menu .list-h a{-webkit-box-direction:normal;-moz-box-direction:normal;-webkit-box-orient:vertical;-moz-box-orient:vertical;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;align-items:center;padding:12px;line-height:24px;border-radius:4px;-webkit-border-radius:4px;border-bottom:none;text-align:center;align-content:flex-end;color:rgba(68,68,68,.7);font-size:1.5rem}@media screen and (max-width:500px){.cover-wrapper.dock .menu .list-h a,.cover-wrapper.featured .menu .list-h a,.cover-wrapper.focus .menu .list-h a{padding:12px 8px}}.cover-wrapper.dock .menu .list-h a i,.cover-wrapper.featured .menu .list-h a i,.cover-wrapper.focus .menu .list-h a i{margin:8px}.cover-wrapper.dock .menu .list-h a p,.cover-wrapper.featured .menu .list-h a p,.cover-wrapper.focus .menu .list-h a p{font-size:.875rem}.cover-wrapper.dock .menu .list-h a.active,.cover-wrapper.featured .menu .list-h a.active,.cover-wrapper.focus .menu .list-h a.active{background:var(--color-card);backdrop-filter:none}.cover-wrapper.dock .menu .list-h a.active i,.cover-wrapper.dock .menu .list-h a.active i+p,.cover-wrapper.featured .menu .list-h a.active i,.cover-wrapper.featured .menu .list-h a.active i+p,.cover-wrapper.focus .menu .list-h a.active i,.cover-wrapper.focus .menu .list-h a.active i+p{color:#2196f3}.cover-wrapper.dock .menu .list-h a.active img+p,.cover-wrapper.featured .menu .list-h a.active img+p,.cover-wrapper.focus .menu .list-h a.active img+p{color:var(--color-text)}.cover-wrapper.dock .menu .list-h a:hover,.cover-wrapper.featured .menu .list-h a:hover,.cover-wrapper.focus .menu .list-h a:hover{background:var(--color-card)}.cover-wrapper.featured .menu .list-h{margin:-2px}.cover-wrapper.featured .menu .list-h a{margin:2px;background:rgba(255,255,255,.5)}@supports (backdrop-filter:blur(20px)){.cover-wrapper.featured .menu .list-h a{background:rgba(255,255,255,.5);backdrop-filter:saturate(200%) blur(20px)}}@media (prefers-color-scheme:dark){:root{--color-mode:'dark'}:root:not([color-scheme]){--color-site-body:#121212;--color-read-bkg:#21232f;--color-read-post:#252d38;--color-site-bg:#21232f;--color-site-inner:#efefef;--color-site-footer:#666;--color-card:#252d38;--color-text:rgba(238,238,238,0.871);--color-block:rgba(68,68,68,0.65);--color-codeblock:#444;--color-inlinecode:#d56d28;--color-h1:rgba(255,255,255,0.871);--color-h2:rgba(255,255,255,0.871);--color-h3:rgba(255,255,255,0.6);--color-h4:rgba(255,255,255,0.6);--color-h5:rgba(255,255,255,0.6);--color-h6:rgba(255,255,255,0.6);--color-p:rgba(217,217,217,0.871);--color-list:rgba(217,217,217,0.871);--color-list-hl:#4dabf5;--color-meta:rgba(191,191,191,0.871);--color-link:rgba(191,191,191,0.871);--color-copyright-bkg:#21252b}:root:not([color-scheme]) img{filter:brightness(70%)!important}:root:not([color-scheme]) .blur{background:rgba(33,35,47,.9)!important}:root:not([color-scheme]) .white-box.blur{background:rgba(37,45,56,.9)!important}:root:not([color-scheme]) .nav-main .u-search-input{background:var(--color-card)!important}:root:not([color-scheme]) #l_main .article .prev-next>a{background:var(--color-block)!important}:root:not([color-scheme]) #l_main .article .prev-next>a:hover{background:var(--color-site-bg)!important}:root:not([color-scheme]) .article blockquote{background:var(--color-block)!important}:root:not([color-scheme]) .article-title a{color:var(--color-h1)!important}:root:not([color-scheme]) details>summary{color:var(--color-p)!important;background:var(--color-site-bg)!important}:root:not([color-scheme]) details{border:1px solid var(--color-site-bg)!important;background:var(--color-site-bg)!important}:root:not([color-scheme]) #u-search .modal,:root:not([color-scheme]) #u-search .modal-body,:root:not([color-scheme]) #u-search .modal-header{background:var(--color-card)!important}:root:not([color-scheme]) #u-search .modal-body .modal-results .result:hover{background:var(--color-block)!important}:root:not([color-scheme]) .u-search-input:hover{background:var(--color-block)!important}:root:not([color-scheme]) .u-search-input:focus{background:var(--color-site-body)!important}}[color-scheme=dark]{--color-site-body:#121212;--color-read-bkg:#21232f;--color-read-post:#252d38;--color-site-bg:#21232f;--color-site-inner:#efefef;--color-site-footer:#666;--color-card:#252d38;--color-text:rgba(238,238,238,0.871);--color-block:rgba(68,68,68,0.65);--color-codeblock:#444;--color-inlinecode:#d56d28;--color-h1:rgba(255,255,255,0.871);--color-h2:rgba(255,255,255,0.871);--color-h3:rgba(255,255,255,0.6);--color-h4:rgba(255,255,255,0.6);--color-h5:rgba(255,255,255,0.6);--color-h6:rgba(255,255,255,0.6);--color-p:rgba(217,217,217,0.871);--color-list:rgba(217,217,217,0.871);--color-list-hl:#4dabf5;--color-meta:rgba(191,191,191,0.871);--color-link:rgba(191,191,191,0.871);--color-copyright-bkg:#21252b}[color-scheme=dark] img{filter:brightness(70%)!important}[color-scheme=dark] .blur{background:rgba(33,35,47,.9)!important}[color-scheme=dark] .white-box.blur{background:rgba(37,45,56,.9)!important}[color-scheme=dark] .nav-main .u-search-input{background:var(--color-card)!important}[color-scheme=dark] #l_main .article .prev-next>a{background:var(--color-block)!important}[color-scheme=dark] #l_main .article .prev-next>a:hover{background:var(--color-site-bg)!important}[color-scheme=dark] .article blockquote{background:var(--color-block)!important}[color-scheme=dark] .article-title a{color:var(--color-h1)!important}[color-scheme=dark] details>summary{color:var(--color-p)!important;background:var(--color-site-bg)!important}[color-scheme=dark] details{border:1px solid var(--color-site-bg)!important;background:var(--color-site-bg)!important}[color-scheme=dark] #u-search .modal,[color-scheme=dark] #u-search .modal-body,[color-scheme=dark] #u-search .modal-header{background:var(--color-card)!important}[color-scheme=dark] #u-search .modal-body .modal-results .result:hover{background:var(--color-block)!important}[color-scheme=dark] .u-search-input:hover{background:var(--color-block)!important}[color-scheme=dark] .u-search-input:focus{background:var(--color-site-body)!important}@media screen and (max-width:500px){[color-scheme=dark] .l_header .m_search{background:var(--color-site-bg)!important}}@font-face{font-family:'Varela Round';src:url(\"https://static.mhuig.top/npm/[email protected]/media/fonts/VarelaRound/VarelaRound-Regular.ttf\");font-weight:'normal';font-style:'normal';font-display:swap}@font-face{font-family:'Varela Round';src:url(\"https://static.mhuig.top/npm/[email protected]/media/fonts/VarelaRound/VarelaRound-Regular.ttf\");font-weight:'normal';font-style:'normal';font-display:swap}.l_header{position:fixed;z-index:1000;top:0;width:100%;height:64px;background:var(--color-card);box-shadow:0 1px 2px 0 rgba(0,0,0,.1);-webkit-box-shadow:0 1px 2px 0 rgba(0,0,0,.1)}.l_header.auto{transition:opacity .4s ease;-webkit-transition:opacity .4s ease;-khtml-transition:opacity 0.4s ease;-moz-transition:opacity .4s ease;-o-transition:opacity .4s ease;-ms-transition:opacity .4s ease;visibility:hidden}.l_header.auto.show{opacity:1!important;-webkit-opacity:1!important;-moz-opacity:1!important;visibility:visible}.l_header .container{margin-left:16px;margin-right:16px}.l_header #wrapper{height:100%;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.l_header #wrapper .nav-main,.l_header #wrapper .nav-sub{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;flex-wrap:nowrap;-webkit-flex-wrap:nowrap;-khtml-flex-wrap:nowrap;-moz-flex-wrap:nowrap;-o-flex-wrap:nowrap;-ms-flex-wrap:nowrap;justify-content:space-between;-webkit-justify-content:space-between;-khtml-justify-content:space-between;-moz-justify-content:space-between;-o-justify-content:space-between;-ms-justify-content:space-between;align-items:center}.l_header #wrapper .nav-main{transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}.l_header #wrapper.sub .nav-main{transform:translateY(-64px);-webkit-transform:translateY(-64px);-khtml-transform:translateY(-64px);-moz-transform:translateY(-64px);-o-transform:translateY(-64px);-ms-transform:translateY(-64px)}.l_header #wrapper .nav-sub{transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease;opacity:0;-webkit-opacity:0;-moz-opacity:0;height:64px;width:calc(100% - 2 * 16px);position:absolute}.l_header #wrapper .nav-sub ::-webkit-scrollbar{display:-webkit-box;display:-moz-box;display:none}@media screen and (min-width:2048px){.l_header #wrapper .nav-sub{max-width:55vw;margin:auto}}.l_header #wrapper.sub .nav-sub{opacity:1;-webkit-opacity:1;-moz-opacity:1}.l_header #wrapper .title{position:relative;color:var(--color-text);padding-left:24px;max-height:64px}.l_header #wrapper .nav-main .title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-shrink:0;line-height:64px;padding:0 24px;font-size:1.25rem;font-family:\"Varela Round\",\"PingFang SC\",\"Microsoft YaHei\",Helvetica,Arial,Helvetica,monospace}.l_header #wrapper .nav-main .title img{height:64px}.l_header .nav-sub{max-width:1080px;margin:auto}.l_header .nav-sub .title{font-weight:700;font-family:\"Varela Round\",\"PingFang SC\",\"Microsoft YaHei\",Helvetica,Arial,Menlo,Monaco,monospace,sans-serif;line-height:1.2;max-height:64px;white-space:normal;flex-shrink:1}.l_header .switcher{display:-webkit-box;display:-moz-box;display:none;line-height:64px;align-items:center}.l_header .switcher .s-toc{display:-webkit-box;display:-moz-box;display:none}@media screen and (max-width:768px){.l_header .switcher .s-toc{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex}}.l_header .switcher>li{height:48px;transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease;margin:2px}@media screen and (max-width:500px){.l_header .switcher>li{margin:0 1px;height:48px}}.l_header .switcher>li>a{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;justify-content:center;-webkit-justify-content:center;-khtml-justify-content:center;-moz-justify-content:center;-o-justify-content:center;-ms-justify-content:center;align-items:center;width:48px;height:48px;padding:.85em 1.1em;border-radius:100px;-webkit-border-radius:100px;border:none;transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease;color:#2196f3}.l_header .switcher>li>a:hover{border:none}.l_header .switcher>li>a.active,.l_header .switcher>li>a:active{border:none;background:var(--color-site-bg)}@media screen and (max-width:500px){.l_header .switcher>li>a{width:36px;height:48px}}.l_header .nav-sub .switcher{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex}.l_header .m_search{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;height:64px;width:240px;transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}@media screen and (max-width:1024px){.l_header .m_search{width:44px;min-width:44px}.l_header .m_search input::placeholder{opacity:0;-webkit-opacity:0;-moz-opacity:0}.l_header .m_search:hover{width:240px}.l_header .m_search:hover input::placeholder{opacity:1;-webkit-opacity:1;-moz-opacity:1}}@media screen and (min-width:500px){.l_header .m_search:hover .input{width:100%}.l_header .m_search:hover .input::placeholder{opacity:1;-webkit-opacity:1;-moz-opacity:1}}@media screen and (max-width:500px){.l_header .m_search{min-width:0}.l_header .m_search input::placeholder{opacity:1;-webkit-opacity:1;-moz-opacity:1}}.l_header .m_search .form{position:relative;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;width:100%;align-items:center}.l_header .m_search .icon{position:absolute;width:36px;left:5px;color:var(--color-meta)}@media screen and (max-width:500px){.l_header .m_search .icon{display:-webkit-box;display:-moz-box;display:none}}.l_header .m_search .input{display:-webkit-box;display:-moz-box;display:block;padding-top:8px;padding-bottom:8px;line-height:1.3;width:100%;color:var(--color-text);background:#fafafa;box-shadow:none;-webkit-box-shadow:none;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;padding-left:40px;font-size:.875rem;border-radius:8px;-webkit-border-radius:8px;border:none;transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}@media screen and (min-width:500px){.l_header .m_search .input:focus{box-shadow:0 4px 8px 0 rgba(0,0,0,.1);-webkit-box-shadow:0 4px 8px 0 rgba(0,0,0,.1)}}@media screen and (max-width:500px){.l_header .m_search .input{background:var(--color-block);padding-left:8px;border:none}.l_header .m_search .input:focus,.l_header .m_search .input:hover{border:none}}@media (max-width:500px){.l_header .m_search{left:0;width:0;overflow:hidden;position:absolute;background:#fff;transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}.l_header .m_search .input{border-radius:32px;-webkit-border-radius:32px;margin-left:16px;padding-left:16px}.l_header.z_search-open .m_search{width:100%}.l_header.z_search-open .m_search .input{width:calc(100% - 120px)}}ul.m-pc>li>a{color:inherit;border-bottom:2px solid transparent}ul.m-pc>li>a.active,ul.m-pc>li>a:active{border-bottom:2px solid #2196f3}ul.list-v li:hover>ul.list-v,ul.m-pc li:hover>ul.list-v{display:-webkit-box;display:-moz-box;display:block}ul.nav-list-h{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;align-items:stretch}ul.nav-list-h>li{position:relative;justify-content:center;-webkit-justify-content:center;-khtml-justify-content:center;-moz-justify-content:center;-o-justify-content:center;-ms-justify-content:center;height:100%;line-height:2.4;border-radius:4px;-webkit-border-radius:4px}ul.nav-list-h>li>a{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:600}ul.list-v{z-index:1;display:-webkit-box;display:-moz-box;display:none;position:absolute;background:var(--color-card);box-shadow:0 2px 4px 0 rgba(0,0,0,.08),0 4px 8px 0 rgba(0,0,0,.08),0 8px 16px 0 rgba(0,0,0,.08);-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,.08),0 4px 8px 0 rgba(0,0,0,.08),0 8px 16px 0 rgba(0,0,0,.08);margin-top:-6px;border-radius:4px;-webkit-border-radius:4px;padding:8px 0}ul.list-v.show{display:-webkit-box;display:-moz-box;display:block}ul.list-v hr{margin-top:8px;margin-bottom:8px}ul.list-v>li{white-space:nowrap;word-break:keep-all}ul.list-v>li.header{font-size:.78125rem;font-weight:700;line-height:2em;color:var(--color-meta);margin:8px 16px 4px}ul.list-v>li.header i{margin-right:8px}ul.list-v>li ul{margin-left:0;display:-webkit-box;display:-moz-box;display:none;margin-top:-40px}ul.list-v .aplayer-container{min-height:64px;padding:6px 16px}ul.list-v>li>a{transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease;display:-webkit-box;display:-moz-box;display:block;color:var(--color-list);font-size:.875rem;font-weight:700;line-height:36px;padding:0 20px 0 16px;text-overflow:ellipsis;margin:0 4px;border-radius:4px;-webkit-border-radius:4px}@media screen and (max-width:1024px){ul.list-v>li>a{line-height:40px}}ul.list-v>li>a>i{margin-right:8px}ul.list-v>li>a.active,ul.list-v>li>a:active{color:var(--color-list-hl)}ul.list-v>li>a:hover{color:var(--color-list-hl);background:var(--color-site-bg)}.l_header .menu>ul>li>a{display:-webkit-box;display:-moz-box;display:block;padding:0 8px}.l_header .menu>ul>li>a>i{margin-right:4px}.l_header ul.nav-list-h>li{color:var(--color-list);line-height:64px}.l_header ul.nav-list-h>li>a{max-height:64px;overflow:hidden;color:inherit}.l_header ul.nav-list-h>li>a.active,.l_header ul.nav-list-h>li>a:active{color:#2196f3}.l_header ul.nav-list-h>li:hover>a{color:var(--color-list-hl)}.l_header ul.nav-list-h>li i.music{animation:rotate-effect 1.5s linear infinite;-webkit-animation:rotate-effect 1.5s linear infinite;-khtml-animation:rotate-effect 1.5s linear infinite;-moz-animation:rotate-effect 1.5s linear infinite;-o-animation:rotate-effect 1.5s linear infinite;-ms-animation:rotate-effect 1.5s linear infinite}@-moz-keyframes rotate-effect{0%{transform:rotate(0);-webkit-transform:rotate(0);-khtml-transform:rotate(0);-moz-transform:rotate(0);-o-transform:rotate(0);-ms-transform:rotate(0)}25%{transform:rotate(90deg);-webkit-transform:rotate(90deg);-khtml-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);-ms-transform:rotate(90deg)}50%{transform:rotate(180deg);-webkit-transform:rotate(180deg);-khtml-transform:rotate(180deg);-moz-transform:rotate(180deg);-o-transform:rotate(180deg);-ms-transform:rotate(180deg)}75%{transform:rotate(270deg);-webkit-transform:rotate(270deg);-khtml-transform:rotate(270deg);-moz-transform:rotate(270deg);-o-transform:rotate(270deg);-ms-transform:rotate(270deg)}100%{transform:rotate(360deg);-webkit-transform:rotate(360deg);-khtml-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg)}}@-webkit-keyframes rotate-effect{0%{transform:rotate(0);-webkit-transform:rotate(0);-khtml-transform:rotate(0);-moz-transform:rotate(0);-o-transform:rotate(0);-ms-transform:rotate(0)}25%{transform:rotate(90deg);-webkit-transform:rotate(90deg);-khtml-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);-ms-transform:rotate(90deg)}50%{transform:rotate(180deg);-webkit-transform:rotate(180deg);-khtml-transform:rotate(180deg);-moz-transform:rotate(180deg);-o-transform:rotate(180deg);-ms-transform:rotate(180deg)}75%{transform:rotate(270deg);-webkit-transform:rotate(270deg);-khtml-transform:rotate(270deg);-moz-transform:rotate(270deg);-o-transform:rotate(270deg);-ms-transform:rotate(270deg)}100%{transform:rotate(360deg);-webkit-transform:rotate(360deg);-khtml-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg)}}@-o-keyframes rotate-effect{0%{transform:rotate(0);-webkit-transform:rotate(0);-khtml-transform:rotate(0);-moz-transform:rotate(0);-o-transform:rotate(0);-ms-transform:rotate(0)}25%{transform:rotate(90deg);-webkit-transform:rotate(90deg);-khtml-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);-ms-transform:rotate(90deg)}50%{transform:rotate(180deg);-webkit-transform:rotate(180deg);-khtml-transform:rotate(180deg);-moz-transform:rotate(180deg);-o-transform:rotate(180deg);-ms-transform:rotate(180deg)}75%{transform:rotate(270deg);-webkit-transform:rotate(270deg);-khtml-transform:rotate(270deg);-moz-transform:rotate(270deg);-o-transform:rotate(270deg);-ms-transform:rotate(270deg)}100%{transform:rotate(360deg);-webkit-transform:rotate(360deg);-khtml-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg)}}@keyframes rotate-effect{0%{transform:rotate(0);-webkit-transform:rotate(0);-khtml-transform:rotate(0);-moz-transform:rotate(0);-o-transform:rotate(0);-ms-transform:rotate(0)}25%{transform:rotate(90deg);-webkit-transform:rotate(90deg);-khtml-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);-ms-transform:rotate(90deg)}50%{transform:rotate(180deg);-webkit-transform:rotate(180deg);-khtml-transform:rotate(180deg);-moz-transform:rotate(180deg);-o-transform:rotate(180deg);-ms-transform:rotate(180deg)}75%{transform:rotate(270deg);-webkit-transform:rotate(270deg);-khtml-transform:rotate(270deg);-moz-transform:rotate(270deg);-o-transform:rotate(270deg);-ms-transform:rotate(270deg)}100%{transform:rotate(360deg);-webkit-transform:rotate(360deg);-khtml-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg)}}.menu-phone li ul.list-v{right:calc(100% - .5 * 16px)}.menu-phone li ul.list-v ul{right:calc(100% - .5 * 16px)}#wrapper{max-width:1080px;margin:auto}@media screen and (min-width:2048px){#wrapper{max-width:55vw}}#wrapper .menu{-webkit-box-flex:1;-moz-box-flex:1;-webkit-flex:1 1;-ms-flex:1 1;flex:1 1;margin:0 16px 0 0}#wrapper .menu .list-v ul{left:calc(100% - .5 * 16px)}.menu-phone{display:-webkit-box;display:-moz-box;display:none;margin-top:16px;right:8px;transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}.menu-phone ul{right:calc(100% - .5 * 16px)}@media screen and (max-width:500px){.menu-phone{display:-webkit-box;display:-moz-box;display:block}}.l_header{max-width:65vw;left:calc((100% - 65vw) * .5);border-bottom-left-radius:8px;border-bottom-right-radius:8px}@media screen and (max-width:2048px){.l_header{max-width:1112px;left:calc((100% - 1112px) * .5)}}@media screen and (max-width:1112px){.l_header{left:0;border-radius:0;-webkit-border-radius:0;max-width:100%}}@media screen and (max-width:500px){.l_header .container{margin-left:0;margin-right:0}.l_header #wrapper .nav-main .title{padding-left:16px;padding-right:16px}.l_header #wrapper .nav-sub{width:100%}.l_header #wrapper .nav-sub .title{overflow-y:scroll;margin-top:2px;padding:8px 16px}.l_header #wrapper .switcher{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;margin-right:8px}.l_header .menu{display:-webkit-box;display:-moz-box;display:none}}@media screen and (max-width:500px){.list-v li{max-width:270px}}#u-search{display:-webkit-box;display:-moz-box;display:none;position:fixed;top:0;left:0;width:100%;height:100%;padding:60px 20px;z-index:1001}@media screen and (max-width:680px){#u-search{padding:0}}@media screen and (prefers-color-scheme:dark) and (max-width:500px){.l_header .m_search{background:var(--color-site-bg)!important}}.cover-wrapper .cover-body .subtitle{font-size:.875rem}.fa-brands.color-github,.fa-duotone.color-github,.fa-light.color-github,.fa-regular.color-github,.fa-solid.color-github,.fa-thin.color-github,.fa.color-github,.fad.color-github,.fal.color-github,.far.color-github,.fas.color-github,.iziToast>.iziToast-body .iziToast-icon.color-github{color:#000}.fa-brands.color-friends,.fa-duotone.color-friends,.fa-light.color-friends,.fa-regular.color-friends,.fa-solid.color-friends,.fa-thin.color-friends,.fa.color-friends,.fad.color-friends,.fal.color-friends,.far.color-friends,.fas.color-friends,.iziToast>.iziToast-body .iziToast-icon.color-friends{color:#d31ee9}.fa-brands.color-about,.fa-duotone.color-about,.fa-light.color-about,.fa-regular.color-about,.fa-solid.color-about,.fa-thin.color-about,.fa.color-about,.fad.color-about,.fal.color-about,.far.color-about,.fas.color-about,.iziToast>.iziToast-body .iziToast-icon.color-about{color:#0095ff}.fa-brands.color-travellings,.fa-duotone.color-travellings,.fa-light.color-travellings,.fa-regular.color-travellings,.fa-solid.color-travellings,.fa-thin.color-travellings,.fa.color-travellings,.fad.color-travellings,.fal.color-travellings,.far.color-travellings,.fas.color-travellings,.iziToast>.iziToast-body .iziToast-icon.color-travellings{color:#734ae6}mjx-container{padding:0 0!important}mjx-container:not([display=true]){padding:4px 2px 4px 6px!important}mjx-container[jax=SVG]{direction:ltr}mjx-container[jax=SVG]>svg{overflow:visible}mjx-container[jax=SVG][display=true]{display:-webkit-box;display:-moz-box;display:block;text-align:center;margin:1em 0}mjx-container[jax=SVG][justify=left]{text-align:left}mjx-container[jax=SVG][justify=right]{text-align:right}g[data-mml-node=merror]>g{fill:#f00;stroke:#f00}g[data-mml-node=merror]>rect[data-background]{fill:#ff0;stroke:none}g[data-mml-node=mtable]>line[data-line]{stroke-width:70px;fill:none}g[data-mml-node=mtable]>rect[data-frame]{stroke-width:70px;fill:none}g[data-mml-node=mtable]>.mjx-dashed{stroke-dasharray:140}g[data-mml-node=mtable]>.mjx-dotted{stroke-linecap:round;stroke-dasharray:0,140}g[data-mml-node=mtable]>svg{overflow:visible}[jax=SVG] mjx-tool{display:-webkit-box;display:-moz-box;display:inline-block;position:relative;width:0;height:0}[jax=SVG] mjx-tool>mjx-tip{position:absolute;top:0;left:0}mjx-tool>mjx-tip{display:-webkit-box;display:-moz-box;display:inline-block;padding:.2em;border:1px solid #888;font-size:70%;background-color:#f8f8f8;color:#000;box-shadow:2px 2px 5px #aaa;-webkit-box-shadow:2px 2px 5px #aaa}g[data-mml-node=maction][data-toggle]{cursor:pointer}mjx-status{display:-webkit-box;display:-moz-box;display:block;position:fixed;left:1em;bottom:1em;min-width:25%;padding:.2em .4em;border:1px solid #888;font-size:90%;background-color:#f8f8f8;color:#000}foreignObject[data-mjx-xml]{font-family:initial;line-height:normal;overflow:visible}.MathJax path{stroke-width:3}mjx-container[display=true]{overflow:auto hidden}mjx-container[display=true]+br{display:-webkit-box;display:-moz-box;display:none}</style><link rel=\"stylesheet\" href=\"/css/style.css\" media=\"print\" onload='this.media=\"all\",this.onload=null'><noscript><link rel=\"stylesheet\" href=\"/css/style.css\"></noscript><script>let userColorScheme=localStorage.getItem(\"color-scheme\");userColorScheme&&document.documentElement.setAttribute(\"color-scheme\",userColorScheme)</script><script>window.MSInputMethodContext&&document.documentMode&&document.write('<style>html{overflow-x: hidden !important;overflow-y: hidden !important;}.kill-ie{text-align:center;height: 100%;margin-top: 15%;margin-bottom: 5500%;}.kill-t{font-size: 2rem;}.kill-c{font-size: 1.2rem;}#l_header,#l_body{display: none;}</style><div class=\"kill-ie\"><span class=\"kill-t\"><b>抱歉,您的浏览器无法访问本站</b></span><br/><span class=\"kill-c\">微软已经于2016年终止了对 Internet Explorer (IE) 10 及更早版本的支持,<br/>继续使用存在极大的安全隐患,请使用当代主流的浏览器进行访问。</span><br/><a target=\"_blank\" rel=\"noopener\" href=\"https://blogs.windows.com/windowsexperience/2021/05/19/the-future-of-internet-explorer-on-windows-10-is-in-microsoft-edge/\"><strong>了解详情 ></strong></a></div>')</script><noscript><style>html{overflow-x:hidden!important;overflow-y:hidden!important}.kill-noscript{text-align:center;height:100%;margin-top:15%;margin-bottom:5500%}.kill-t{font-size:2rem}.kill-c{font-size:1.2rem}#l_body,#l_header{display:none}</style><div class=\"kill-noscript\"> <span class=\"kill-t\"><b>抱歉,您的浏览器无法访问本站</b></span><br> <span class=\"kill-c\">本页面需要浏览器支持(启用)JavaScript</span><br> <a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://www.baidu.com/s?wd=启用JavaScript\"><strong>了解详情 ></strong></a></div></noscript><script>function volantisEventListener(e,t,n){this.type=e,this.f=t,this.ele=n}function volantisDom(e){return e||(e=document.createElement(\"div\")),this.ele=e,this.ele.find=e=>{let t=this.ele.querySelector(e);if(t)return new volantisDom(t)},this.ele.hasClass=e=>this.ele.className.match(new RegExp(\"(\\\\s|^)\"+e+\"(\\\\s|$)\")),this.ele.addClass=e=>(this.ele.classList.add(e),this.ele),this.ele.removeClass=e=>(this.ele.classList.remove(e),this.ele),this.ele.toggleClass=e=>(this.ele.hasClass(e)?this.ele.removeClass(e):this.ele.addClass(e),this.ele),this.ele.on=(e,t,n=1)=>(this.ele.addEventListener(e,t,!1),n&&volantis.EventListener.list.push(new volantisEventListener(e,t,this.ele)),this.ele),this.ele.click=(e,t)=>(this.ele.on(\"click\",e,t),this.ele),this.ele.scroll=(e,t)=>(this.ele.on(\"scroll\",e,t),this.ele),this.ele.html=e=>(this.ele.innerHTML=e,this.ele),this.ele.hide=e=>(this.ele.style.display=\"none\",this.ele),this.ele.show=e=>(this.ele.style.display=\"block\",this.ele),this.ele}function RunItem(){function e(e,t){this.name=t||volantis.getFunctionHash(e),this.run=()=>{try{e()}catch(e){console.log(e)}}}this.list=[],this.start=()=>{for(var e=0;e<this.list.length;e++)this.list[e].run()},this.push=(t,n,o=!0)=>{if(\"function\"!=typeof t)return;let l=t;o&&(l=()=>{volantis.requestAnimationFrame(t)}),n=n||volantis.getFunctionHash(t);const i=this.list.findIndex((e=>e.name===n));-1===i?this.list.push(new e(l,n)):this.list[i]=new e(l,n)},this.remove=e=>{for(let t=0;t<this.list.length;t++){this.list[t].name==e&&this.list.splice(t,1)}}}function errorImgAvatar(e){e.src=\"https://static.mhuig.top/npm/[email protected]/media/placeholder/avatar/round/3442075.svg\",e.onerror=null}function errorImgCover(e){e.src=\"https://static.mhuig.top/npm/[email protected]/media/placeholder/cover/76b86c0226ffd.svg\",e.onerror=null}!function(){const e=new WeakMap,t=new Proxy({},{get(n,o){const l=e.get(t);return l?.[o]},set(n,o,l){e.has(t)||e.set(t,Object.create(null));return e.get(t)[o]=l,!0},deleteProperty(n,o){const l=e.get(t);return!(!l||!Object.prototype.hasOwnProperty.call(l,o))&&(delete l[o],0===Object.keys(l).length&&e.delete(t),!0)},ownKeys(n){const o=e.get(t);return o?Object.keys(o):[]},getOwnPropertyDescriptor(n,o){const l=e.get(t);if(l&&Object.prototype.hasOwnProperty.call(l,o))return{value:l[o],writable:!0,enumerable:!0,configurable:!0}}});Object.defineProperty(window,\"volantis\",{value:t,writable:!0,configurable:!0,enumerable:!0})}(),volantis.debug=\"false\",volantis.dom={},volantis.simpleTextHash=e=>{let t=5381;for(let n=0;n<e.length;n++)t=(t<<5)+t+e.charCodeAt(n),t&=t;return t.toString(16).padStart(8,\"0\")},volantis.getFunctionHash=e=>{const t=e.toString();return volantis.simpleTextHash(t)},volantis.EventListener={},volantis.EventListener.list=[],volantis.EventListener.remove=()=>{volantis.EventListener.list.forEach((function(e){e.ele.removeEventListener(e.type,e.f,!1)})),volantis.EventListener.list=[]},volantis.dom.$=e=>e?new volantisDom(e):null,volantis.pjax={},volantis.pjax.method={complete:new RunItem,error:new RunItem,send:new RunItem},volantis.pjax=Object.assign(volantis.pjax,{push:volantis.pjax.method.complete.push,error:volantis.pjax.method.error.push,send:volantis.pjax.method.send.push}),volantis.rightmenu={},volantis.rightmenu.method={handle:new RunItem},volantis.rightmenu=Object.assign(volantis.rightmenu,{handle:volantis.rightmenu.method.handle.push}),volantis.dark={},volantis.dark.method={toggle:new RunItem},volantis.dark=Object.assign(volantis.dark,{push:volantis.dark.method.toggle.push}),volantis.js=(e,t)=>new Promise((n=>{setTimeout((function(){var o=document.getElementsByTagName(\"head\")[0]||document.documentElement,l=document.createElement(\"script\");if(l.setAttribute(\"type\",\"text/javascript\"),t)if(JSON.stringify(t))for(let e in t)\"onload\"==e?l[e]=()=>{t[e](),n()}:(l[e]=t[e],l.onload=n);else l.onload=()=>{t(),n()};else l.onload=n;l.setAttribute(\"src\",e),o.appendChild(l)}))})),volantis.css=e=>new Promise((t=>{setTimeout((function(){var n=document.createElement(\"link\");n.rel=\"stylesheet\",n.href=e,n.onload=t,document.getElementsByTagName(\"head\")[0].appendChild(n)}))})),volantis.import={jQuery:()=>\"undefined\"==typeof jQuery?volantis.js(\"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js\"):new Promise((e=>{e()}))},volantis.throttle=(e,t=200)=>{let n=0;return function(...o){const l=Date.now();l-n>=t&&(e.apply(this,o),n=l)}},volantis.debounce=(e,t=200)=>{let n=null;return function(){n&&clearTimeout(n),n=setTimeout((()=>{e.apply(this,arguments),n=null}),t)}},volantis.requestAnimationFrame=e=>(window.requestAnimationFrame||(window.requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)}),window.requestAnimationFrame(e)),volantis.layoutHelper=(e,t,n)=>{function o(e,t,n){volantis.tempDiv=document.createElement(\"div\"),volantis.tempDiv.innerHTML=t;let o=document.querySelector(\"#layoutHelper-\"+e);o&&(n&&(o.innerHTML=\"\"),o.append(volantis.tempDiv))}n=Object.assign({clean:!1,pjax:!0},n),o(e,t,n.clean),n.pjax&&volantis.pjax.push((()=>{o(e,t,n.clean)}),\"layoutHelper-\"+e)},volantis.scroll={engine:new RunItem,unengine:new RunItem},volantis.scroll=Object.assign(volantis.scroll,{push:volantis.scroll.engine.push}),volantis.scroll.getScrollTop=()=>{let e;return window.pageYOffset?e=window.pageYOffset:document.compatMode&&\"BackCompat\"!=document.compatMode?e=document.documentElement.scrollTop:document.body&&(e=document.body.scrollTop),e},volantis.scroll.scrollHeight=function(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},volantis.scroll.offsetHeight=function(){return Math.min(document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)},volantis.scroll.progress=function(){return volantis.scroll.getScrollTop()/(volantis.scroll.scrollHeight()-volantis.scroll.offsetHeight())},volantis.scroll.handleScrollEvents=()=>{volantis.scroll.lastScrollTop=volantis.scroll.getScrollTop(),volantis.requestAnimationFrame((function e(){const t=volantis.scroll.getScrollTop();volantis.scroll.lastScrollTop!==t?(volantis.scroll.del=t-volantis.scroll.lastScrollTop,volantis.scroll.lastScrollTop=t,volantis.scroll.unengine.list=[],volantis.scroll.engine.start()):volantis.scroll.unengine.start(),volantis.requestAnimationFrame(e)}))},volantis.scroll.handleScrollEvents(),volantis.scroll.ele=null,volantis.scroll.to=(e,t={})=>{e&&(volantis.scroll.ele=e,opt={top:e.getBoundingClientRect().top+document.documentElement.scrollTop,behavior:\"smooth\"},\"top\"in t&&(opt.top=t.top),\"behavior\"in t&&(opt.behavior=t.behavior),\"addTop\"in t&&(opt.top+=t.addTop),\"observerDic\"in t||(t.observerDic=100),window.scrollTo(opt),t.observer&&setTimeout((()=>{volantis.scroll.ele==e&&volantis.scroll.unengine.push((()=>{let n=e.getBoundingClientRect().top;n>=-t.observerDic&&n<=t.observerDic||volantis.scroll.to(e,t),volantis.scroll.unengine.remove(\"unengineObserver\")}),\"unengineObserver\")}),1e3))},volantis.cleanContentVisibility=()=>{document.querySelector(\".post-story\")&&(console.log(\"cleanContentVisibility\"),document.querySelectorAll(\".post-story\").forEach((e=>{e.classList.remove(\"post-story\")})))};const nativeSetTimeout=window.setTimeout,nativeSetInterval=window.setInterval,nativeClearTimeout=window.clearTimeout,nativeClearInterval=window.clearInterval;volantis.activeTimeout=[],volantis.activeInterval=[],window.setTimeout=function(e,t,...n){const o=nativeSetTimeout((function(...t){try{return e.apply(this,t)}finally{const e=volantis.activeTimeout.indexOf(o);-1!==e&&volantis.activeTimeout.splice(e,1)}}),t,...n);return volantis.activeTimeout.push(o),o},window.setInterval=function(e,t,...n){const o=nativeSetInterval(e,t,...n);return volantis.activeInterval.push(o),o},window.clearTimeout=function(e){nativeClearTimeout(e);const t=volantis.activeTimeout.indexOf(e);-1!==t&&volantis.activeTimeout.splice(t,1)},window.clearInterval=function(e){nativeClearInterval(e);const t=volantis.activeInterval.indexOf(e);-1!==t&&volantis.activeInterval.splice(t,1)},volantis.getActiveInterval=function(){return[...volantis.activeInterval]},volantis.getActiveTimeout=function(){return[...volantis.activeTimeout]},volantis.clearAllTimers=function(){volantis.getActiveInterval().forEach((function(e){clearInterval(e)})),volantis.getActiveTimeout().forEach((function(e){clearTimeout(e)}))},volantis.pjax.send(volantis.clearAllTimers,\"clearAllTimers\")</script><script>volantis.GLOBAL_CONFIG={root:\"/\",debug:!1,default:{avatar:\"https://static.mhuig.top/npm/[email protected]/media/placeholder/avatar/round/3442075.svg\",link:\"https://static.mhuig.top/npm/[email protected]/media/placeholder/link/8f277b4ee0ecd.svg\",cover:\"https://static.mhuig.top/npm/[email protected]/media/placeholder/cover/76b86c0226ffd.svg\",image:\"https://static.mhuig.top/npm/[email protected]/media/placeholder/image/2659360.svg\"},lastupdate:new Date(1781075450850),cdn:{izitoast_css:\"https://cdnjs.cloudflare.com/ajax/libs/izitoast/1.4.0/css/iziToast.min.css\",izitoast_js:\"https://cdnjs.cloudflare.com/ajax/libs/izitoast/1.4.0/js/iziToast.min.js\",fancybox_css:\"https://cdnjs.cloudflare.com/ajax/libs/fancyapps-ui/4.0.31/fancybox.min.css\",fancybox_js:\"https://cdnjs.cloudflare.com/ajax/libs/fancyapps-ui/4.0.31/fancybox.umd.min.js\"},sidebar:{for_page:[\"blogger\",\"navigation\",\"webinfo\"],for_post:[\"toc\"],webinfo:{lastupd:{enable:!1,friendlyShow:!0},runtime:{data:\"2019/08/19\",unit:\"天\"}}},plugins:{message:{enable:!1,icon:{default:\"fa-solid fa-info-circle light-blue\",quection:\"fa-solid fa-question-circle light-blue\"},time:{default:5e3,quection:2e4},position:\"topRight\",transitionIn:\"bounceInLeft\",transitionOut:\"fadeOutRight\",titleColor:\"var(--color-text)\",messageColor:\"var(--color-text)\",backgroundColor:\"var(--color-card)\",zindex:2147483647,copyright:{enable:!0,title:\"知识共享许可协议\",message:\"请遵守 CC BY-NC-SA 4.0 协议。\",icon:\"far fa-copyright light-blue\"},aplayer:{enable:!0,play:\"fa-solid fa-play\",pause:\"fa-solid fa-pause\"},rightmenu:{enable:!0,notice:!0}},aplayer:{id:1480000098,enable:!0}},search:{dataPath:(\"/\".endsWith(\"/\")?\"/\":\"//\")+\"content.json\"},languages:{search:{hits_empty:\"找不到您查询的内容:${query}\",hits_stats:\"找到 ${hits} 条结果,用时 ${time} 毫秒\"}}}</script><script type=\"application/ld+json\">[{\"@context\":\"http://schema.org\",\"@type\":\"Organization\",\"name\":\"MHuiG Magicland\",\"url\":\"https://blog.mhuig.top/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"/lib/favicon/android-chrome-192x192.png\",\"width\":192,\"height\":192}},{\"@context\":\"http://schema.org\",\"@type\":\"Person\",\"name\":\"MHuiG\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"/lib/favicon/android-chrome-192x192.png\"},\"url\":\"https://blog.mhuig.top/\",\"sameAs\":[\"https://github.com/MHuiG\",\"https://twitter.com/iMHuiG\",\"https://t.me/MHuiG\",\"https://keybase.io/MHuiG\"],\"description\":\"「Be Yourself, Make a Difference.」\"},{\"@context\":\"http://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@id\":\"https://blog.mhuig.top/\",\"name\":\"Magicland\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@id\":\"https://blog.mhuig.top/categories/package manager/\",\"name\":\"package manager\"}},{\"@type\":\"ListItem\",\"position\":3,\"item\":{\"@id\":\"https://blog.mhuig.top/notes/package-mirror/index.html\",\"name\":\"Package Mirror\"}}]},{\"@context\":\"http://schema.org\",\"@type\":\"WebSite\",\"name\":\"MHuiG Magicland\",\"url\":\"https://blog.mhuig.top/\",\"keywords\":\"MHuiG, @MHuiG, Blog, 博客, Magicland, 魔法世界\",\"description\":\"宠辱不惊,看庭前花开花落;去留无意,望天上云卷云舒。「Be Yourself, Make a Difference.」 - Magic Island\",\"author\":{\"@type\":\"Person\",\"name\":\"MHuiG\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"/lib/favicon/android-chrome-192x192.png\"},\"url\":\"https://blog.mhuig.top/\",\"description\":\"「Be Yourself, Make a Difference.」\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"MHuiG Magicland\",\"url\":\"https://blog.mhuig.top/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"/lib/favicon/android-chrome-192x192.png\",\"width\":192,\"height\":192}},\"potentialAction\":{\"@type\":\"SearchAction\",\"name\":\"CoCo | The Cat of MHuiG\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https://blog.mhuig.top/havefun/coco/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}},{\"@context\":\"http://schema.org\",\"@type\":\"BlogPosting\",\"headline\":\"Package Mirror\",\"description\":\"本文整理Go、npm、pip等主流包管理器及Docker、Kubernetes等开发工具的国内镜像配置方法,提供阿里云、华为云等多平台镜像地址,附nexus私服代理方案与版本适配指南,解决软件下载慢问题。\",\"inLanguage\":\"zh-Hans\",\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://blog.mhuig.top/notes/package-mirror/\"},\"author\":{\"@type\":\"Person\",\"name\":\"MHuiG\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"/lib/favicon/android-chrome-192x192.png\"},\"url\":\"https://blog.mhuig.top/\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"MHuiG Magicland\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"/lib/favicon/android-chrome-192x192.png\",\"width\":192,\"height\":192}},\"url\":\"https://blog.mhuig.top/notes/package-mirror/\",\"wordCount\":0,\"datePublished\":\"2022-06-29T06:20:00.000Z\",\"dateModified\":\"2025-11-20T10:18:00.000Z\",\"articleSection\":\"package manager\",\"keywords\":\"mirror,包管理器镜像,系统镜像配置,国内镜像源\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"/lib/favicon/android-chrome-192x192.png\",\"width\":192,\"height\":192}}]</script></head><body itemscope=\"\" itemtype=\"http://schema.org/WebPage\"><pjax></pjax><header itemscope=\"\" itemtype=\"http://schema.org/WPHeader\" id=\"l_header\" class=\"l_header auto shadow floatable blur show\" style=\"opacity:0\"><div class=\"container\"><div id=\"wrapper\"><div class=\"nav-sub\"><p class=\"title\"></p><ul class=\"switcher nav-list-h m-phone\" id=\"pjax-header-nav-list\"><li><a id=\"s-comment\" class=\"fa-solid fa-comments fa-fw\" target=\"_self\" title=\"comment\"></a></li><li><a id=\"s-toc\" class=\"s-toc fa-solid fa-list fa-fw\" target=\"_self\" title=\"toc\"></a></li></ul></div><div class=\"nav-main\"> <a class=\"title flat-box\" target=\"_self\" href=\"/\">MHuiG</a><div class=\"menu navigation\"><ul class=\"nav-list-h m-pc\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"索引\"><i class=\"fa-duotone fa-list-alt fa-fw\"></i> 索引</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/notes/\" title=\"便签\" active-action=\"action-notes\"><i class=\"fa-duotone fa-books fa-fw\"></i> 便签</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/categories/\" title=\"分类\" active-action=\"action-categories\"><i class=\"fa-duotone fa-folder-open fa-fw\"></i> 分类</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/tags/\" title=\"标签\" active-action=\"action-tags\"><i class=\"fa-duotone fa-tags fa-fw\"></i> 标签</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/archives/\" title=\"归档\" active-action=\"action-archives\"><i class=\"fa-duotone fa-archive fa-fw\"></i> 归档</a></li></ul></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/friends/\" title=\"友链\" active-action=\"action-pagesfriends\"><i class=\"fa-duotone fa-link fa-fw\"></i> 友链</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"https://www.travellings.cn/go-by-clouds.html\" title=\"Travelling\" target=\"_blank\" active-action=\"action-https:wwwtravellingscngo-by-cloudshtml\" rel=\"external nofollow noopener noreferrer\"><i class=\"fa-duotone fa-subway fa-fw\"></i> Travelling</a></li></ul></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/about/\" title=\"关于\" active-action=\"action-pagesabout\"><i class=\"fa-duotone fa-user-tie fa-fw\"></i> 关于</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/time-machine/\" title=\"时光机\" active-action=\"action-pagestime-machine\"><i class=\"fa-duotone fa-clock fa-fw\"></i> 时光机</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"noopener\" href=\"https://mhuig.top/privacy-policy/\" title=\"隐私政策\" active-action=\"action-https:mhuigtopprivacy-policy\"><i class=\"fa-duotone fa-user-secret fa-fw\"></i> 隐私政策</a></li></ul></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"更多\"><i class=\"fa-duotone fa-fan fa-spin fa-fw\"></i> 更多</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/beer/\" title=\"Sponsor\" active-action=\"action-pagesbeer\"><i class=\"fa-duotone fa-heart-square fa-fw\"></i> Sponsor</a></li><hr><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"博客管理\"><i class=\"fa-duotone fa-user-shield fa-fw\"></i> 博客管理</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box header toggle-mode-btn\"><i class=\"fa-duotone fa-bat fa-fw\"></i> 暗黑模式</a></li><li></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/rss/\" title=\"RSS订阅\" active-action=\"action-pagesrss\"><i class=\"fa-duotone fa-rss fa-fw\"></i> RSS订阅</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/sitemap.xml\" title=\"站点地图\" active-action=\"action-sitemapxml\"><i class=\"fa-duotone fa-sitemap fa-fw\"></i> 站点地图</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://mhuig.instatus.com/\" title=\"Monitors\" active-action=\"action-https:mhuiginstatuscom\"><i class=\"fa-duotone fa-telescope fa-fw\"></i> Monitors</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://ssl.mhuig.top/\" title=\"SSL Status\" active-action=\"action-https:sslmhuigtop\"><i class=\"fa-brands fa-expeditedssl fa-fw\"></i> SSL Status</a></li></ul></li><hr><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"工具箱\"><i class=\"fa-duotone fa-tools fa-fw\"></i> 工具箱</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://rssbox.mhuig.top/\" title=\"RSS Box\" active-action=\"action-https:rssboxmhuigtop\"><i class=\"fa-duotone fa-conveyor-belt-boxes fa-fw\"></i> RSS Box</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/havefun/coco/\" title=\"My Cat\" active-action=\"action-havefuncoco\"><i class=\"fa-duotone fa-cat fa-fw\"></i> My Cat</a></li><li><a class=\"menuitem flat-box\"><i class=\"fa-duotone fa-compact-disc fa-spin fa-fw music\"></i> Music</a><ul class=\"list-v\"><li><div class=\"aplayer-container\"><div class=\"aplayer-local\"></div></div></li></ul></li><li></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/talk/\" title=\"碎言碎语\" active-action=\"action-pagestalk\"><i class=\"fa-duotone fa-comments fa-fw\"></i> 碎言碎语</a></li></ul></li><hr><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://github.com/MHuiG\" title=\"GitHub\" active-action=\"action-https:githubcomMHuiG\"><i class=\"fa-brands fa-github fa-fw\"></i> GitHub</a></li></ul></li></ul></div><div class=\"m_search\"><form name=\"searchform\" class=\"form u-search-form\"><i class=\"icon fa-solid fa-search fa-fw\"></i> <input type=\"text\" class=\"input u-search-input\" placeholder=\"Search...\"></form></div><ul class=\"switcher nav-list-h m-phone\"><li><a class=\"s-search fa-solid fa-search fa-fw\" target=\"_self\" title=\"search\"></a></li><li><a class=\"s-menu fa-solid fa-bars fa-fw\" target=\"_self\" title=\"menu\"></a><ul class=\"menu-phone list-v navigation white-box\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"索引\"><i class=\"fa-duotone fa-list-alt fa-fw\"></i> 索引</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/notes/\" title=\"便签\" active-action=\"action-notes\"><i class=\"fa-duotone fa-books fa-fw\"></i> 便签</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/categories/\" title=\"分类\" active-action=\"action-categories\"><i class=\"fa-duotone fa-folder-open fa-fw\"></i> 分类</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/tags/\" title=\"标签\" active-action=\"action-tags\"><i class=\"fa-duotone fa-tags fa-fw\"></i> 标签</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/archives/\" title=\"归档\" active-action=\"action-archives\"><i class=\"fa-duotone fa-archive fa-fw\"></i> 归档</a></li></ul></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/friends/\" title=\"友链\" active-action=\"action-pagesfriends\"><i class=\"fa-duotone fa-link fa-fw\"></i> 友链</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"https://www.travellings.cn/go-by-clouds.html\" title=\"Travelling\" target=\"_blank\" active-action=\"action-https:wwwtravellingscngo-by-cloudshtml\" rel=\"external nofollow noopener noreferrer\"><i class=\"fa-duotone fa-subway fa-fw\"></i> Travelling</a></li></ul></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/about/\" title=\"关于\" active-action=\"action-pagesabout\"><i class=\"fa-duotone fa-user-tie fa-fw\"></i> 关于</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/time-machine/\" title=\"时光机\" active-action=\"action-pagestime-machine\"><i class=\"fa-duotone fa-clock fa-fw\"></i> 时光机</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"noopener\" href=\"https://mhuig.top/privacy-policy/\" title=\"隐私政策\" active-action=\"action-https:mhuigtopprivacy-policy\"><i class=\"fa-duotone fa-user-secret fa-fw\"></i> 隐私政策</a></li></ul></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"更多\"><i class=\"fa-duotone fa-fan fa-spin fa-fw\"></i> 更多</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/beer/\" title=\"Sponsor\" active-action=\"action-pagesbeer\"><i class=\"fa-duotone fa-heart-square fa-fw\"></i> Sponsor</a></li><hr><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"博客管理\"><i class=\"fa-duotone fa-user-shield fa-fw\"></i> 博客管理</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box header toggle-mode-btn\"><i class=\"fa-duotone fa-bat fa-fw\"></i> 暗黑模式</a></li><li></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/rss/\" title=\"RSS订阅\" active-action=\"action-pagesrss\"><i class=\"fa-duotone fa-rss fa-fw\"></i> RSS订阅</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/sitemap.xml\" title=\"站点地图\" active-action=\"action-sitemapxml\"><i class=\"fa-duotone fa-sitemap fa-fw\"></i> 站点地图</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://mhuig.instatus.com/\" title=\"Monitors\" active-action=\"action-https:mhuiginstatuscom\"><i class=\"fa-duotone fa-telescope fa-fw\"></i> Monitors</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://ssl.mhuig.top/\" title=\"SSL Status\" active-action=\"action-https:sslmhuigtop\"><i class=\"fa-brands fa-expeditedssl fa-fw\"></i> SSL Status</a></li></ul></li><hr><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"工具箱\"><i class=\"fa-duotone fa-tools fa-fw\"></i> 工具箱</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://rssbox.mhuig.top/\" title=\"RSS Box\" active-action=\"action-https:rssboxmhuigtop\"><i class=\"fa-duotone fa-conveyor-belt-boxes fa-fw\"></i> RSS Box</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/havefun/coco/\" title=\"My Cat\" active-action=\"action-havefuncoco\"><i class=\"fa-duotone fa-cat fa-fw\"></i> My Cat</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/talk/\" title=\"碎言碎语\" active-action=\"action-pagestalk\"><i class=\"fa-duotone fa-comments fa-fw\"></i> 碎言碎语</a></li></ul></li><hr><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://github.com/MHuiG\" title=\"GitHub\" active-action=\"action-https:githubcomMHuiG\"><i class=\"fa-brands fa-github fa-fw\"></i> GitHub</a></li></ul></li></ul></li></ul></div></div></div></header><div id=\"l_body\"><div id=\"l_cover\"><div id=\"none\" class=\"cover-wrapper post featured\" style=\"display:none\"><div class=\"cover-bg lazyload placeholder\" data-bg=\"\"></div><div class=\"cover-body\"><div class=\"top\"><p class=\"title\">Magicland</p><p class=\"subtitle\">「看庭前花开花落,望天上云卷云舒」</p></div><div class=\"bottom\"><div class=\"menu navigation\"><div class=\"list-h\"><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://github.com/MHuiG\" active-action=\"action-https:githubcomMHuiG\"><i class=\"fa-brands fa-github color-github fa-fw\"></i><p>Github</p></a><a href=\"/pages/friends/\" active-action=\"action-pagesfriends\"><i class=\"fa-duotone fa-link color-friends fa-fw\"></i><p>友链</p></a><a href=\"/pages/about/\" active-action=\"action-pagesabout\"><i class=\"fa-duotone fa-user-tie color-about fa-fw\"></i><p>关于</p></a><a href=\"https://www.travellings.cn/go-by-clouds.html\" target=\"_blank\" active-action=\"action-https:wwwtravellingscngo-by-cloudshtml\" rel=\"external nofollow noopener noreferrer\"><i class=\"fa-duotone fa-subway color-travellings fa-fw\"></i><p>Travelling</p></a></div></div></div></div><div id=\"scroll-down\" style=\"display:none\"><i class=\"fa fa-chevron-down scroll-down-effects\"></i></div></div></div><div id=\"safearea\"><div class=\"body-wrapper\"><div id=\"l_main\" class=\"\"><article itemscope=\"\" itemtype=\"http://schema.org/Article\" class=\"article post white-box reveal md shadow floatable blur article-type-post\" id=\"post\" itemprop=\"blogPost\"><link itemprop=\"mainEntityOfPage\" href=\"https://blog.mhuig.top/notes/package-mirror/\"><span hidden=\"\" itemprop=\"publisher\" itemscope=\"\" itemtype=\"http://schema.org/Organization\"><meta itemprop=\"name\" content=\"Magicland\"></span><span hidden=\"\" itemprop=\"post\" itemscope=\"\" itemtype=\"http://schema.org/CreativeWork\"><meta itemprop=\"name\" content=\"Package Mirror\"><meta itemprop=\"description\" content=\"本文整理Go、npm、pip等主流包管理器及Docker、Kubernetes等开发工具的国内镜像配置方法,提供阿里云、华为云等多平台镜像地址,附nexus私服代理方案与版本适配指南,解决软件下载慢问题。\"></span><span hidden=\"\"><meta itemprop=\"image\" content=\"/lib/favicon/android-chrome-192x192.png\"></span><div class=\"article-meta\" id=\"top\"><h1 class=\"title\" itemprop=\"name headline\"> Package Mirror</h1><div class=\"new-meta-box\"><div class=\"new-meta-item author\" itemprop=\"author\" itemscope=\"\" itemtype=\"http://schema.org/Person\"> <a itemprop=\"url\" class=\"author\" target=\"_blank\" href=\"https://mhuig.top/\" rel=\"nofollow noopener\" alt=\"author\"><img itemprop=\"image\" src=\"/lib/avatar/avatar-16.webp\" class=\"lazyload\" data-srcset=\"/lib/avatar/avatar-16.webp\" srcset=\"data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"><p itemprop=\"name\">MHuiG</p></a></div><div class=\"new-meta-item wordcount\"><a class=\"notlink\"><i class=\"fa-duotone fa-keyboard fa-fw\" aria-hidden=\"true\"></i><p>字数:5.9k 字</p></a></div><div class=\"new-meta-item readtime\"><a class=\"notlink\"><i class=\"fa-duotone fa-hourglass-half fa-fw\" aria-hidden=\"true\"></i><p>时长:30 分钟</p></a></div></div></div><div id=\"layoutHelper-page-plugins\"></div><div id=\"post-body\" itemprop=\"articleBody\"><p><code>注意:</code>假如所有的镜像都已经被本地 nexus 私服代理,那么对应的地址为<code>nexus.eryajf.net/repository/***/</code>。(这只是个域名示例,不代表实际可用!)</p><div class=\"story post-story\"><h2 id=\"Go\"><a href=\"#Go\" class=\"headerlink\" title=\"Go\"></a>Go</h2><h3 id=\"Configuration\"><a href=\"#Configuration\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>如果 go 版本用的<code>go1.11</code>或者<code>go1.12</code>,需进行如下配置:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\"><span class=\"built_in\">export</span> GO111MODULE=on</span><br><span class=\"line\"><span class=\"built_in\">export</span> GOPROXY=<span class=\"string\">\"http://nexus.eryajf.net/repository/go/\"</span></span><br></pre></td></tr></tbody></table></figure><p>如果使用 <code>go1.13</code>以上的版本则可以用如下配置:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\"><span class=\"built_in\">export</span> GOPROXY=<span class=\"string\">\"http://nexus.eryajf.net/repository/go/\"</span></span><br><span class=\"line\">GONOPROXY=<span class=\"string\">\"gitlab.eryajf.net\"</span></span><br><span class=\"line\">GONOSUMDB=<span class=\"string\">\"gitlab.eryajf.net\"</span></span><br><span class=\"line\">GOPRIVATE=<span class=\"string\">\"gitlab.eryajf.net\"</span></span><br><span class=\"line\">GOSUMDB=<span class=\"string\">\"sum.golang.google.cn\"</span></span><br></pre></td></tr></tbody></table></figure><p>关于如上两个版本配置差异,以及配置参数详解可参考:<a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly93aWtpLmVyeWFqZi5uZXQvcGFnZXMvNDk0MS5odG1s\">https://wiki.eryajf.net/pages/4941.html</a></p><h3 id=\"Mirrors\"><a href=\"#Mirrors\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><ul><li>Aliyun<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmFsaXl1bi5jb20vZ29wcm94eS8\">https://mirrors.aliyun.com/goproxy/</a></li></ul></li><li>Proxy-cn<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9nb3Byb3h5LmNuLw\">https://goproxy.cn</a></li></ul></li><li>Proxy-io<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9wcm94eS5nb2xhbmcuY29tLmNuLw\">https://proxy.golang.com.cn</a></li></ul></li><li>Baidu<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9nb3Byb3h5LmJqLmJjZWJvcy5jb20v\">https://goproxy.bj.bcebos.com/</a></li></ul></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2hlbHAvZ28uaHRtbA\">Tencent</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2dvLw\">https://mirrors.cloud.tencent.com/go/</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9yZXBvc2l0b3J5L2dvcHJveHkv\">https://repo.huaweicloud.com/repository/goproxy/</a></li></ul></li></ul><p>其中<code>GOSUMDB</code>在国内可用的两个镜像分别如下:</p><ul><li>Google<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9zdW0uZ29sYW5nLmdvb2dsZS5jbi8\">https://sum.golang.google.cn/</a></li></ul></li><li>sumdb-io<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9nb3N1bS5pby8\">https://gosum.io/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Npm\"><a href=\"#Npm\" class=\"headerlink\" title=\"Npm\"></a>Npm</h2><h3 id=\"Configuration-1\"><a href=\"#Configuration-1\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>配置<code>npm</code>代理,需进行如下配置:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\"><span class=\"comment\"># npm配置</span></span><br><span class=\"line\">$ <span class=\"built_in\">echo</span> <span class=\"string\">'registry=http://nexus.eryajf.net/repository/npm'</span> &gt; ~/.npmrc</span><br><span class=\"line\"><span class=\"comment\"># 查看</span></span><br><span class=\"line\">$ npm config get registry</span><br><span class=\"line\">http://nexus.eryajf.net/repository/npm</span><br><span class=\"line\"></span><br><span class=\"line\"><span class=\"comment\"># yarn配置</span></span><br><span class=\"line\">$ <span class=\"built_in\">echo</span> <span class=\"string\">'registry \"http://nexus.eryajf.net/repository/npm\"'</span> &gt; ~/.yarnrc</span><br><span class=\"line\"><span class=\"comment\"># 查看</span></span><br><span class=\"line\">$ yarn config get registry</span><br><span class=\"line\">http://nexus.eryajf.net/repository/npm</span><br></pre></td></tr></tbody></table></figure><h3 id=\"Mirrors-1\"><a href=\"#Mirrors-1\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><ul><li>Taobao<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZWdpc3RyeS5ucG0udGFvYmFvLm9yZy8\">https://registry.npm.taobao.org</a><br>但是请注意如下一个消息:<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly96aHVhbmxhbi56aGlodS5jb20vcC80NjU0MjQ3Mjg_c3BtPWEyYzZoLjI0NzU1MzU5LjAuMC42ZDQ0NGRjY3lSTHhOOA\">淘宝 npm 域名即将切换 &amp;&amp; npmmirror 重构升级</a>:即原来的淘宝 npm 域名将停止解析,因此所有依赖此域名的都需要进行更改。<ul><li>域名切换规则:<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL25wbS50YW9iYW8ub3JnLw\">http://npm.taobao.org</a>=&gt; <a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL25wbW1pcnJvci5jb20v\">http://npmmirror.com</a></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL3JlZ2lzdHJ5Lm5wbS50YW9iYW8ub3JnLw\">http://registry.npm.taobao.org</a>=&gt; <a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL3JlZ2lzdHJ5Lm5wbW1pcnJvci5jb20v\">http://registry.npmmirror.com</a></li></ul></li></ul></li></ul></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9yZXBvc2l0b3J5L25wbS8\">https://repo.huaweicloud.com/repository/npm/</a></li></ul></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2hlbHAvbnBtLmh0bWw\">Tencent</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuY2xvdWQudGVuY2VudC5jb20vbnBtLw\">http://mirrors.cloud.tencent.com/npm/</a></li></ul></li><li>浙江大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuemp1LmVkdS5jbi9ucG0v\">http://mirrors.zju.edu.cn/npm/</a></li></ul></li><li>南京邮电<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLm5qdXB0LmVkdS5jbi9uZXh1cy9yZXBvc2l0b3J5L25wbS8\">https://mirrors.njupt.edu.cn/nexus/repository/npm/</a></li></ul></li><li>npmjs<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZWdpc3RyeS5ucG1qcy5vcmcv\">https://registry.npmjs.org</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Pip\"><a href=\"#Pip\" class=\"headerlink\" title=\"Pip\"></a>Pip</h2><h3 id=\"Configuration-2\"><a href=\"#Configuration-2\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>配置<code>Python</code>代理,需进行如下配置:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">$ <span class=\"built_in\">mkdir</span> ~/.pip</span><br><span class=\"line\"></span><br><span class=\"line\">$ <span class=\"built_in\">cat</span> &gt; ~/.pip/pip.conf &lt;&lt; <span class=\"string\">EOF</span></span><br><span class=\"line\"><span class=\"string\">[global]</span></span><br><span class=\"line\"><span class=\"string\">timeout = 60</span></span><br><span class=\"line\"><span class=\"string\">trusted-host = nexus.eryajf.net</span></span><br><span class=\"line\"><span class=\"string\">index-url = http://nexus.eryajf.net/repository/pypi/simple</span></span><br><span class=\"line\"><span class=\"string\">EOF</span></span><br><span class=\"line\"></span><br></pre></td></tr></tbody></table></figure><p><code>注意:</code>通常在配置文件后边,我们会添加一个<code>simple</code>。</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\"><span class=\"comment\"># 简洁配置方式 1</span></span><br><span class=\"line\">pip config <span class=\"built_in\">set</span> global.index-url https://pypi.tuna.tsinghua.edu.cn/simple</span><br><span class=\"line\"><span class=\"comment\"># 简洁配置方式 2 </span></span><br><span class=\"line\">pip3 install --upgrade -i https://pypi.tuna.tsinghua.edu.cn/simple yt-dlp</span><br></pre></td></tr></tbody></table></figure><h3 id=\"Mirrors-2\"><a href=\"#Mirrors-2\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><p>目前代理外部私仓有:</p><ul><li>Aliyun<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuYWxpeXVuLmNvbS9weXBpLw\">http://mirrors.aliyun.com/pypi/</a></li></ul></li><li>douban<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL3B5cGkuZG91YmFuLmNvbS8\">http://pypi.douban.com/</a></li></ul></li><li>清华<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9weXBpLnR1bmEudHNpbmdodWEuZWR1LmNuLw\">https://pypi.tuna.tsinghua.edu.cn/</a></li></ul></li><li>163<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLjE2My5jb20vcHlwaQ\">https://mirrors.163.com/pypi</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9yZXBvc2l0b3J5L3B5cGk\">https://repo.huaweicloud.com/repository/pypi</a></li></ul></li><li>Tencent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL3B5cGkv\">https://mirrors.cloud.tencent.com/pypi/</a></li></ul></li><li>北大<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnBrdS5lZHUuY24vcHlwaS8\">https://mirrors.pku.edu.cn/pypi/</a></li></ul></li><li>南阳理工<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3Iubnlpc3QuZWR1LmNuL3B5cGkv\">https://mirror.nyist.edu.cn/pypi/</a></li></ul></li><li>大连东软<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMubmV1c29mdC5lZHUuY24vcHlwaS93ZWIv\">http://mirrors.neusoft.edu.cn/pypi/web/</a></li></ul></li><li>哈尔滨工业大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmhpdC5lZHUuY24vcHlwaS93ZWIv\">https://mirrors.hit.edu.cn/pypi/web/</a></li></ul></li><li>上海交通大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3Iuc2p0dS5lZHUuY24vcHlwaS93ZWIvc2ltcGxlLw\">https://mirror.sjtu.edu.cn/pypi/web/simple/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Composer\"><a href=\"#Composer\" class=\"headerlink\" title=\"Composer\"></a>Composer</h2><p><em>Composer</em> 是 PHP 的一个依赖管理工具,需要 PHP 5.3.2 以上才能运行。</p><h3 id=\"Configuration-3\"><a href=\"#Configuration-3\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>配置<code>PHP</code>代理,需进行如下配置:</p><ul><li>全局配置(推荐)<ul><li>所有项目都会使用该镜像地址:<figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/</span><br></pre></td></tr></tbody></table></figure></li><li>取消配置:<figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">composer config -g --<span class=\"built_in\">unset</span> repos.packagist</span><br></pre></td></tr></tbody></table></figure></li></ul></li><li>项目配置<ul><li>仅修改当前工程配置,仅当前工程可使用该镜像地址:<figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">composer config repo.packagist composer https://mirrors.aliyun.com/composer/</span><br></pre></td></tr></tbody></table></figure></li><li>取消配置:<figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">composer config --<span class=\"built_in\">unset</span> repos.packagist</span><br></pre></td></tr></tbody></table></figure></li></ul></li></ul><p>参考:<a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kZXZlbG9wZXIuYWxpeXVuLmNvbS9jb21wb3Nlcg\">https://developer.aliyun.com/composer</a></p><h3 id=\"Mirrors-3\"><a href=\"#Mirrors-3\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><p>目前代理外部私仓有:</p><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kZXZlbG9wZXIuYWxpeXVuLmNvbS9jb21wb3Nlcg\">Aliyun</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmFsaXl1bi5jb20vY29tcG9zZXIv\">https://mirrors.aliyun.com/composer/</a></li></ul></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2hlbHAvY29tcG9zZXIuaHRtbA\">Tencent</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2NvbXBvc2VyLw\">https://mirrors.cloud.tencent.com/composer/</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmh1YXdlaWNsb3VkLmNvbS9yZXBvc2l0b3J5L3BocC8\">https://mirrors.huaweicloud.com/repository/php/</a></li></ul></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9wa2cueHl6Lw\">Packagist</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9wYWNrYWdpc3QucGhwY29tcG9zZXIuY29tLw\">https://packagist.phpcomposer.com</a></li></ul></li><li> 上海交通<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9wYWNrYWdpc3QubWlycm9ycy5zanR1Zy5zanR1LmVkdS5jbi8\">https://packagist.mirrors.sjtug.sjtu.edu.cn</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Rubygems\"><a href=\"#Rubygems\" class=\"headerlink\" title=\"Rubygems\"></a>Rubygems</h2><p><em>RubyGems</em> 是 Ruby 的一个包管理器,它提供一个分发 Ruby 程序和库的标准格式,还提供一个管理程序包安装的工具。</p><h3 id=\"Configuration-4\"><a href=\"#Configuration-4\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>配置<code>Ruby</code>代理,需进行如下配置:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\"><span class=\"comment\"># 首先,查看当前源:</span></span><br><span class=\"line\">$ gem sources -l</span><br><span class=\"line\">*** CURRENT SOURCES ***</span><br><span class=\"line\">https://rubygems.org/</span><br><span class=\"line\"></span><br><span class=\"line\"></span><br><span class=\"line\"><span class=\"comment\"># 接着,移除 https://rubygems.org/,并添加国内下载源 https://gems.ruby-china.com/。</span></span><br><span class=\"line\">$ gem sources --remove https://rubygems.org/</span><br><span class=\"line\">$ gem sources -a https://gems.ruby-china.com/</span><br><span class=\"line\">$ gem sources -l</span><br><span class=\"line\">*** CURRENT SOURCES ***</span><br><span class=\"line\"></span><br><span class=\"line\">https://gems.ruby-china.com/</span><br><span class=\"line\"></span><br><span class=\"line\"><span class=\"comment\"># 请确保只有 gems.ruby-china.com</span></span><br><span class=\"line\">$ gem install rails</span><br></pre></td></tr></tbody></table></figure><p>参考:<a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly93d3cucnVub29iLmNvbS9ydWJ5L3J1YnktcnVieWdlbXMuaHRtbA\">https://www.runoob.com/ruby/ruby-rubygems.html</a></p><h3 id=\"Mirrors-4\"><a href=\"#Mirrors-4\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><p>目前代理外部私仓有:</p><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kZXZlbG9wZXIuYWxpeXVuLmNvbS9taXJyb3IvcnVieWdlbXM\">Aliyun</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmFsaXl1bi5jb20vcnVieWdlbXMv\">https://mirrors.aliyun.com/rubygems/</a></li></ul></li><li>Tencent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL3J1YnlnZW1zLw\">https://mirrors.cloud.tencent.com/rubygems/</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9yZXBvc2l0b3J5L3J1YnlnZW1zLw\">https://repo.huaweicloud.com/repository/rubygems/</a></li></ul></li><li>清华<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnR1bmEudHNpbmdodWEuZWR1LmNuL3J1YnlnZW1zLw\">https://mirrors.tuna.tsinghua.edu.cn/rubygems/</a></li></ul></li><li>中科大<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnVzdGMuZWR1LmNuL3J1YnlnZW1zLw\">https://mirrors.ustc.edu.cn/rubygems/</a></li></ul></li><li>北京外国语大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmJmc3UuZWR1LmNuL3J1YnlnZW1zLw\">https://mirrors.bfsu.edu.cn/rubygems/</a></li></ul></li><li>哈尔滨工业大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmhpdC5lZHUuY24vcnVieWdlbXMv\">https://mirrors.hit.edu.cn/rubygems/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Maven\"><a href=\"#Maven\" class=\"headerlink\" title=\"Maven\"></a>Maven</h2><h3 id=\"Configuration-5\"><a href=\"#Configuration-5\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>Java 系的工具版本规范如下:</p><ul><li><code>JDK:</code>1.8.0_292</li><li><code>MVN:</code>3.3.9</li></ul><p>配置 Maven 代理,参考配置文件: <a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL2VyeWFqZi9UaGFua3MtTWlycm9yL21haW4vc3JjL3NldHRpbmdzLnhtbA\">settings.xml</a></p><h3 id=\"Mirrors-5\"><a href=\"#Mirrors-5\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><ul><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9yZXBvc2l0b3J5L21hdmVuLw\">https://repo.huaweicloud.com/repository/maven/</a></li></ul></li><li>Maven Central Repository<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvMS5tYXZlbi5vcmcvbWF2ZW4yLw\">https://repo1.maven.org/maven2/</a></li></ul></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kZXZlbG9wZXIuYWxpeXVuLmNvbS9tdm4vZ3VpZGU\">Aliyun</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21hdmVuLmFsaXl1bi5jb20vbmV4dXMvY29udGVudC9ncm91cHMvcHVibGljLw\">http://maven.aliyun.com/nexus/content/groups/public/</a></li></ul></li><li>Tencent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL21hdmVuLw\">https://mirrors.cloud.tencent.com/maven/</a></li></ul></li><li>南京邮电<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLm5qdXB0LmVkdS5jbi9uZXh1cy9yZXBvc2l0b3J5L21hdmVuLWNlbnRyYWw\">https://mirrors.njupt.edu.cn/nexus/repository/maven-central</a></li></ul></li><li>Apache Maven<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLm1hdmVuLmFwYWNoZS5vcmcvbWF2ZW4y\">https://repo.maven.apache.org/maven2</a></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvc2l0b3J5LmFwYWNoZS5vcmcvY29udGVudC9ncm91cHMvc25hcHNob3Rz\">https://repository.apache.org/content/groups/snapshots</a></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvc2l0b3J5LmFwYWNoZS5vcmcvY29udGVudC9ncm91cHMvc3RhZ2luZy8\">https://repository.apache.org/content/groups/staging/</a></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvc2l0b3J5LmFwYWNoZS5vcmcvY29udGVudC9ncm91cHMvcHVibGljLw\">https://repository.apache.org/content/groups/public/</a></li></ul></li><li>confluent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL3BhY2thZ2VzLmNvbmZsdWVudC5pby9tYXZlbi8\">http://packages.confluent.io/maven/</a></li></ul></li><li>cloudera<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL3JlcG8uaG9ydG9ud29ya3MuY29tL2NvbnRlbnQvcmVwb3NpdG9yaWVzL3JlbGVhc2Vz\">http://repo.hortonworks.com/content/repositories/releases</a></li></ul></li><li>jboss<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvc2l0b3J5Lmpib3NzLm9yZy9uZXh1cy9jb250ZW50L2dyb3Vwcy9wdWJsaWM\">https://repository.jboss.org/nexus/content/groups/public</a></li></ul></li><li>Lss233's.Mirror(供 Minecraft 开发使用)<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL2xzczIzMy5saXR0bGVzZXJ2aWNlLmNuL3JlcG9zaXRvcmllcy9taW5lY3JhZnQ\">http://lss233.littleservice.cn/repositories/minecraft</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Yum\"><a href=\"#Yum\" class=\"headerlink\" title=\"Yum\"></a>Yum</h2><h3 id=\"Configuration-6\"><a href=\"#Configuration-6\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>如果<code>CentOS</code>服务器要接入私服<code>yum</code>源,则清空本地 <code>/etc/yum.repos.d</code>的内容,添加如下内容:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">$ <span class=\"built_in\">cat</span> &gt;&gt; /etc/yum.repos.d/nexus.repo &lt;&lt; <span class=\"string\">'EOF'</span></span><br><span class=\"line\">[nexus]</span><br><span class=\"line\">name=Nexus Repository</span><br><span class=\"line\">baseurl=http://nexus.eryajf.net/repository/yum/<span class=\"variable\">$releasever</span>/os/<span class=\"variable\">$basearch</span>/</span><br><span class=\"line\">enabled=1</span><br><span class=\"line\">gpgcheck=0</span><br><span class=\"line\"></span><br><span class=\"line\">[nexus-local]</span><br><span class=\"line\">name=Nexus Repository</span><br><span class=\"line\">baseurl=http://nexus.eryajf.net/repository/eryajf-yum-local/</span><br><span class=\"line\">enabled=1</span><br><span class=\"line\">gpgcheck=0</span><br><span class=\"line\">EOF</span><br></pre></td></tr></tbody></table></figure><p>然后执行如下命令:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">yum clean all</span><br><span class=\"line\">yum makecache</span><br></pre></td></tr></tbody></table></figure><h3 id=\"Mirrors-6\"><a href=\"#Mirrors-6\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><p>目前代理外部源:</p><ul><li>Aliyun<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmFsaXl1bi5jb20vY2VudG9zLw\">https://mirrors.aliyun.com/centos/</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9jZW50b3Mv\">https://repo.huaweicloud.com/centos/</a></li></ul></li><li>Tencent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2NlbnRvcy8\">https://mirrors.cloud.tencent.com/centos/</a></li></ul></li><li>北京交通<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3IuYmp0dS5lZHUuY24vY2VudG9zLw\">https://mirror.bjtu.edu.cn/centos/</a></li></ul></li><li>东北大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvci5uZXUuZWR1LmNuL2NlbnRvcy8\">http://mirror.neu.edu.cn/centos/</a></li></ul></li><li>兰州大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3IubHp1LmVkdS5jbi9jZW50b3Mv\">https://mirror.lzu.edu.cn/centos/</a></li></ul></li><li>清华<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnR1bmEudHNpbmdodWEuZWR1LmNuL2NlbnRvcy8\">https://mirrors.tuna.tsinghua.edu.cn/centos/</a></li></ul></li><li>华中科技大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnVzdGMuZWR1LmNuL2NlbnRvcy8\">https://mirrors.ustc.edu.cn/centos/</a></li></ul></li><li>浙江大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuemp1LmVkdS5jbi9jZW50b3Mv\">http://mirrors.zju.edu.cn/centos/</a></li></ul></li><li>souhu<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuc29odS5jb20vY2VudG9zLw\">http://mirrors.sohu.com/centos/</a></li></ul></li><li>163:<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuMTYzLmNvbS9jZW50b3Mv\">http://mirrors.163.com/centos/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Remi\"><a href=\"#Remi\" class=\"headerlink\" title=\"Remi\"></a>Remi</h2><p>Remi repository 是包含最新版本 PHP 和 MySQL 包的 Linux 源,由 Remi 提供维护。</p><p>官方地址:<a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9ycG1zLnJlbWlyZXBvLm5ldC8\">https://rpms.remirepo.net/</a></p><h3 id=\"Configuration-7\"><a href=\"#Configuration-7\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>详情参考:<a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly93aWtpLmVyeWFqZi5uZXQvcGFnZXMvZjM1OTg2\">https://wiki.eryajf.net/pages/f35986</a></p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">yum install -y epel-release</span><br><span class=\"line\">yum install -y https://mirrors.tuna.tsinghua.edu.cn/remi/enterprise/remi-release-7.rpm</span><br></pre></td></tr></tbody></table></figure><h3 id=\"Mirrors-7\"><a href=\"#Mirrors-7\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><p>目前代理外部源:</p><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kZXZlbG9wZXIuYWxpeXVuLmNvbS9taXJyb3IvcmVtaQ\">Aliyun</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmFsaXl1bi5jb20vcmVtaS8\">https://mirrors.aliyun.com/remi/</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9yZW1pLw\">https://repo.huaweicloud.com/remi/</a></li></ul></li><li>清华<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnR1bmEudHNpbmdodWEuZWR1LmNuL3JlbWkv\">https://mirrors.tuna.tsinghua.edu.cn/remi/</a></li></ul></li><li>中科大<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnVzdGMuZWR1LmNuL3JlbWkv\">https://mirrors.ustc.edu.cn/remi/</a></li></ul></li><li>上海交通<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL2Z0cC5zanR1LmVkdS5jbi9yZW1pLw\">http://ftp.sjtu.edu.cn/remi/</a></li></ul></li><li>首都在线<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMueXVuLWlkYy5jb20vcmVtaS8\">http://mirrors.yun-idc.com/remi/</a></li></ul></li><li>北京外国语大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmJmc3UuZWR1LmNuL3JlbWkv\">https://mirrors.bfsu.edu.cn/remi/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Epel\"><a href=\"#Epel\" class=\"headerlink\" title=\"Epel\"></a>Epel</h2><p>EPEL 的全称叫 Extra Packages for Enterprise Linux。EPEL 是由 Fedora 社区打造,为 RHEL 及衍生发行版如 CentOS、Scientific Linux 等提供高质量软件包的项目。</p><p>官方地址:<a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kb2NzLmZlZG9yYXByb2plY3Qub3JnL2VuLVVTL2VwZWwv\">https://docs.fedoraproject.org/en-US/epel/</a></p><h3 id=\"Configuration-8\"><a href=\"#Configuration-8\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\"><span class=\"comment\"># 备份</span></span><br><span class=\"line\"><span class=\"built_in\">mv</span> /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel.repo.backup</span><br><span class=\"line\"><span class=\"built_in\">mv</span> /etc/yum.repos.d/epel-testing.repo /etc/yum.repos.d/epel-testing.repo.backup</span><br><span class=\"line\"></span><br><span class=\"line\"><span class=\"comment\"># 下载</span></span><br><span class=\"line\">wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo</span><br></pre></td></tr></tbody></table></figure><h3 id=\"Mirrors-8\"><a href=\"#Mirrors-8\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><p>目前代理外部源:</p><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kZXZlbG9wZXIuYWxpeXVuLmNvbS9taXJyb3IvZXBlbA\">Aliyun</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmFsaXl1bi5jb20vZXBlbC8\">https://mirrors.aliyun.com/epel/</a></li></ul></li><li>Tencent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2VwZWwv\">https://mirrors.cloud.tencent.com/epel/</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9lcGVsLw\">https://repo.huaweicloud.com/epel/</a></li></ul></li><li>清华<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnR1bmEudHNpbmdodWEuZWR1LmNuL2VwZWwv\">https://mirrors.tuna.tsinghua.edu.cn/epel/</a></li></ul></li><li>中科大<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnVzdGMuZWR1LmNuL2VwZWwv\">https://mirrors.ustc.edu.cn/epel/</a></li></ul></li><li>浙江大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuemp1LmVkdS5jbi9lcGVsLw\">http://mirrors.zju.edu.cn/epel/</a></li></ul></li><li>兰州大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3IubHp1LmVkdS5jbi9lcGVsLw\">https://mirror.lzu.edu.cn/epel/</a></li></ul></li><li>上海交通<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL2Z0cC5zanR1LmVkdS5jbi9lcGVsLw\">http://ftp.sjtu.edu.cn/epel/</a></li></ul></li><li>首都在线<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMueXVuLWlkYy5jb20vZXBlbC8\">http://mirrors.yun-idc.com/epel/</a></li></ul></li><li>大连东软<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMubmV1c29mdC5lZHUuY24vZXBlbC8\">http://mirrors.neusoft.edu.cn/epel/</a></li></ul></li><li>大连理工<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvci5kbHV0LmVkdS5jbi9lcGVsLw\">http://mirror.dlut.edu.cn/epel/</a></li></ul></li><li>南京邮电<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMubmp1cHQuZWR1LmNuL2VwZWwv\">http://mirrors.njupt.edu.cn/epel/</a></li></ul></li><li>重庆大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNxdS5lZHUuY24vZXBlbC8\">https://mirrors.cqu.edu.cn/epel/</a></li></ul></li><li>北京外国语大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmJmc3UuZWR1LmNuL2VwZWwv\">https://mirrors.bfsu.edu.cn/epel/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Homebrew\"><a href=\"#Homebrew\" class=\"headerlink\" title=\"Homebrew\"></a>Homebrew</h2><h3 id=\"Configuration-9\"><a href=\"#Configuration-9\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>如果你使用了 zsh,那么配置方式如下:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\"><span class=\"built_in\">echo</span> <span class=\"string\">'export HOMEBREW_BREW_GIT_REMOTE=\"https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git\"'</span> &gt;&gt; ~/.zshrc</span><br><span class=\"line\"><span class=\"built_in\">echo</span> <span class=\"string\">'export HOMEBREW_CORE_GIT_REMOTE=\"https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git\"'</span> &gt;&gt; ~/.zshrc</span><br><span class=\"line\"><span class=\"built_in\">echo</span> <span class=\"string\">'export HOMEBREW_BOTTLE_DOMAIN=\"https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles\"'</span> &gt;&gt; ~/.zshrc</span><br><span class=\"line\"></span><br><span class=\"line\"><span class=\"built_in\">source</span> ~/.zshrc</span><br><span class=\"line\">brew update</span><br></pre></td></tr></tbody></table></figure><p>参考:<a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly93d3cuZnJhbmtpbmRldi5jb20vMjAyMC8wNS8xNS9yZXBsYWNlLWhvbWVicmV3LXNvdXJjZS8\">Homebrew 替换国内镜像源</a></p><h3 id=\"Mirrors-9\"><a href=\"#Mirrors-9\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><ul><li>Aliyun<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmFsaXl1bi5jb20vaG9tZWJyZXcv\">https://mirrors.aliyun.com/homebrew/</a></li></ul></li><li>Tencent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2hvbWVicmV3Lw\">https://mirrors.cloud.tencent.com/homebrew/</a></li></ul></li><li>清华:<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnR1bmEudHNpbmdodWEuZWR1LmNuL2hlbHAvaG9tZWJyZXcv\">https://mirrors.tuna.tsinghua.edu.cn/help/homebrew/</a></li></ul></li><li>重庆大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNxdS5lZHUuY24vaG9tZWJyZXcv\">https://mirrors.cqu.edu.cn/homebrew/</a></li></ul></li><li>北京外国语大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmJmc3UuZWR1LmNuL2hlbHAvaG9tZWJyZXcv\">https://mirrors.bfsu.edu.cn/help/homebrew/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"cargo\"><a href=\"#cargo\" class=\"headerlink\" title=\"cargo\"></a>cargo</h2><p>rust 包管理镜像源</p><h3 id=\"Configuration-10\"><a href=\"#Configuration-10\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>修改文件<code>~/.cargo/config</code> (没有则新建)</p><figure class=\"highlight plaintext\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">[source.crates-io]</span><br><span class=\"line\">replace-with = 'rsproxy'</span><br><span class=\"line\"></span><br><span class=\"line\">[source.rsproxy]</span><br><span class=\"line\">registry = \"https://rsproxy.cn/crates.io-index\"</span><br><span class=\"line\"></span><br><span class=\"line\">[registries.rsproxy]</span><br><span class=\"line\">index = \"https://rsproxy.cn/crates.io-index\"</span><br><span class=\"line\"></span><br><span class=\"line\">[net]</span><br><span class=\"line\">git-fetch-with-cli = true</span><br></pre></td></tr></tbody></table></figure><h3 id=\"Mirrors-10\"><a href=\"#Mirrors-10\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><ul><li>字节<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yc3Byb3h5LmNuL2NyYXRlcy5pby1pbmRleA\">https://rsproxy.cn/crates.io-index</a></li></ul></li><li> 中国科学技术大学<ul><li>git://mirrors.ustc.edu.cn/crates.io-index</li></ul></li><li>清华:<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnR1bmEudHNpbmdodWEuZWR1LmNuL2dpdC9jcmF0ZXMuaW8taW5kZXguZ2l0\">https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git</a></li></ul></li><li> 上海交通大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnNqdHVnLnNqdHUuZWR1LmNuL2dpdC9jcmF0ZXMuaW8taW5kZXg\">https://mirrors.sjtug.sjtu.edu.cn/git/crates.io-index</a></li></ul></li><li> 阿里云<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9jb2RlLmFsaXl1bi5jb20vcnVzdGNjL2NyYXRlcy5pby1pbmRleA\">https://code.aliyun.com/rustcc/crates.io-index</a></li></ul></li><li> 北京外国语大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmJmc3UuZWR1LmNuL2dpdC9jcmF0ZXMuaW8taW5kZXguZ2l0\">https://mirrors.bfsu.edu.cn/git/crates.io-index.git</a></li></ul></li><li>rustcc 社区<ul><li>git://crates.rustcc.cn/crates.io-index</li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Software-Mirror\"><a href=\"#Software-Mirror\" class=\"headerlink\" title=\"Software-Mirror\"></a>Software-Mirror</h2><p>还有一些软件,直接通过官方下载比较困难,也整理出方便下载的国内优质镜像。</p></div><div class=\"story post-story\"><h2 id=\"Docker\"><a href=\"#Docker\" class=\"headerlink\" title=\"Docker\"></a>Docker</h2><h3 id=\"Official\"><a href=\"#Official\" class=\"headerlink\" title=\"Official\"></a>Official</h3><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kb2NzLmRvY2tlci5jb20vZW5naW5lL2luc3RhbGwv\">https://docs.docker.com/engine/install/</a></li></ul><h3 id=\"Mirrors-11\"><a href=\"#Mirrors-11\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><ul><li>Aliyun<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kZXZlbG9wZXIuYWxpeXVuLmNvbS9taXJyb3IvZG9ja2VyLWNl\">https://developer.aliyun.com/mirror/docker-ce</a></li></ul></li><li>Tencent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2RvY2tlci1jZS8\">https://mirrors.cloud.tencent.com/docker-ce/</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9kb2NrZXItY2Uv\">https://repo.huaweicloud.com/docker-ce/</a></li></ul></li><li>北大<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnBrdS5lZHUuY24vZG9ja2VyLWNlLw\">https://mirrors.pku.edu.cn/docker-ce/</a></li></ul></li><li>清华<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnR1bmEudHNpbmdodWEuZWR1LmNuL2RvY2tlci1jZS8\">https://mirrors.tuna.tsinghua.edu.cn/docker-ce/</a></li></ul></li><li>中科大<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnVzdGMuZWR1LmNuL2RvY2tlci1jZS8\">https://mirrors.ustc.edu.cn/docker-ce/</a></li></ul></li><li>西北农林科技大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLm53c3VhZi5lZHUuY24vZG9ja2VyLWNlLw\">https://mirrors.nwsuaf.edu.cn/docker-ce/</a></li></ul></li><li>浙江大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuemp1LmVkdS5jbi9kb2NrZXItY2Uv\">http://mirrors.zju.edu.cn/docker-ce/</a></li></ul></li><li>北京外国语大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmJmc3UuZWR1LmNuL2RvY2tlci1jZS8\">https://mirrors.bfsu.edu.cn/docker-ce/</a></li></ul></li><li>哈尔滨工业大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmhpdC5lZHUuY24vZG9ja2VyLWNl\">https://mirrors.hit.edu.cn/docker-ce</a></li></ul></li><li> 上海交通<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3Iuc2p0dS5lZHUuY24vZG9ja2VyLWNlLw\">https://mirror.sjtu.edu.cn/docker-ce/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Kubernetes\"><a href=\"#Kubernetes\" class=\"headerlink\" title=\"Kubernetes\"></a>Kubernetes</h2><h3 id=\"Official-1\"><a href=\"#Official-1\" class=\"headerlink\" title=\"Official\"></a>Official</h3><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9rdWJlcm5ldGVzLmlvL3JlbGVhc2VzL2Rvd25sb2FkLw\">https://kubernetes.io/releases/download"

Not observed: package install, lifecycle script execution, or sandbox execution. PkgRadar only inspects on-disk artifacts.

Availability ledger

available

review
Last checked
reviewRisk
3Score
1.0.1781075816973Version
Status history (1 event)
  1. newavailable · risk review · score 3 · status changed

Evidence

Static findings

7 static · 0 from release diff · showing high-signal first.

SeverityKindPathDetailPoints
mediumRemote Payloadpackage/notes/package-mirror/index.html.jsmatched "github.com/volantis-x/hexo-theme-volantis/#6.0.4\"><meta name=\"generator\" content=\"Hexo 8.1.2\"><meta name=\"Volantis\" content=\"6.0.4\"><meta charset=\"utf-8\"><meta name=\"robots\" content=\"index,follow, max-image-preview:large\"><link rel=\"canonical\" href=\"https://blog.mhuig.top/notes/package-mirror/\"><meta http-equiv=\"x-dns-prefetch-control\" content=\"on\"><link rel=\"dns-prefetch\" href=\"https://static.mhuig.top\"><link rel=\"preconnect\" href=\"https://static.mhuig.top\" crossorigin=\"\"><link rel=\"dns-prefetch\" href=\"https://cdnjs.cloudflare.com\"><link rel=\"preconnect\" href=\"https://cdnjs.cloudflare.com\" crossorigin=\"\"><meta name=\"renderer\" content=\"webkit\"><meta name=\"force-rendering\" content=\"webkit\"><meta http-equiv=\"X-UA-Compatible\" content=\"IE=Edge,chrome=1\"><meta name=\"HandheldFriendly\" content=\"True\"><meta name=\"mobile-web-app-capable\" content=\"yes\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1,maximum-scale=5\"><meta content=\"black-translucent\" name=\"apple-mobile-web-app-status-bar-style\"><meta content=\"telephone=no\" name=\"format-detection\"><script>function registerServiceWorker(e){\"localhost\"!=window.location.hostname&&\"serviceWorker\"in navigator&&navigator.serviceWorker.register(`${e}`).then((function(e){\"localhost\"==window.location.hostname&&(e.onupdatefound=function(){var r=e.installing;r.onstatechange=function(){switch(r.state){case\"installed\":navigator.serviceWorker.controller?console.log(\"Updated Service Worker.\"):console.log(\"Service Worker Sucess!\");break;case\"redundant\":console.log(\"The installing service worker became redundant.\")}}})})).catch((function(e){console.error(\"Error during service worker registration:\",e),\"undefined\"==typeof swinstallretry&&(swinstallretry=1,registerServiceWorker(\"/jquery.js\"))}))}registerServiceWorker(\"/jquery.js\")</script><link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/lib/favicon/apple-touch-icon.png\"><link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/lib/favicon/favicon-32x32.png\"><link rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/lib/favicon/android-chrome-192x192.png\"><link rel=\"icon\" type=\"image/png\" sizes=\"144x144\" href=\"/lib/favicon/android-chrome-144x144.png\"><link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/lib/favicon/favicon-16x16.png\"><link rel=\"manifest\" href=\"/lib/favicon/site.webmanifest\"><link rel=\"mask-icon\" href=\"/lib/favicon/safari-pinned-tab.svg\" color=\"#5bbad5\"><meta name=\"apple-mobile-web-app-title\" content=\"MHuiG Magicland\"><meta name=\"apple-mobile-web-app-status-bar-style\" content=\"black\"><meta name=\"application-name\" content=\"MHuiG Magicland\"><meta name=\"msapplication-TileColor\" content=\"#87ceeb\"><meta name=\"msapplication-TileImage\" content=\"/lib/favicon/mstile-144x144.png\"><meta name=\"theme-color\" content=\"#87ceeb\" media=\"(prefers-color-scheme: light)\"><meta name=\"theme-color\" content=\"#21232f\" media=\"(prefers-color-scheme: dark)\"><link href=\"/opensearch.xml\" rel=\"search\" title=\"MHuiG Magicland\" type=\"application/opensearchdescription+xml\"><link rel=\"sitemap\" type=\"application/xml\" title=\"MHuiG Blog Site Map\" href=\"https://blog.mhuig.top/sitemap.xml\"><link rel=\"author\" href=\"https://mhuig.top\"><meta name=\"author\" content=\"MHuiG\"><meta name=\"creator\" content=\"MHuiG\"><link rel=\"archives\" href=\"https://blog.mhuig.top/archives/\"><meta http-equiv=\"Content-Security-Policy\" content=\"frame-src 'self' https://giscus.app https://bilibili.com https://player.bilibili.com https://www.bilibili.com https://*.bilibili.com\"><script>const blockList=[\"bad-domain.com\",\"www.cdnboostcache.com\"];function blockIframe(){document.querySelectorAll(\"iframe\").forEach((e=>{try{const o=new URL(e.src).hostname;blockList.some((e=>o===e||o.endsWith(`.${e}`)))&&e.remove()}catch(e){}}))}document.addEventListener(\"DOMContentLoaded\",(function(){blockIframe();new MutationObserver(blockIframe).observe(document.body,{childList:!0,subtree:!0})}))</script><link rel=\"preload\" href=\"/css/style.css\" as=\"style\"><link rel=\"preload\" href=\"https://static.mhuig.top/npm/[email protected]/media/fonts/VarelaRound/VarelaRound-Regular.ttf\" as=\"font\" type=\"font/ttf\" crossorigin=\"anonymous\"><link rel=\"preload\" href=\"https://static.mhuig.top/npm/[email protected]/media/fonts/VarelaRound/VarelaRound-Regular.ttf\" as=\"font\" type=\"font/ttf\" crossorigin=\"anonymous\"><link rel=\"alternate\" href=\"/atom.xml\" title=\"Magicland\" type=\"application/atom+xml\"><link rel=\"alternate\" href=\"/rss2.xml\" title=\"Magicland\" type=\"application/rss+xml\"><title>Package Mirror - Magicland</title><meta name=\"keywords\" content=\"package manager, mirror,包管理器镜像,系统镜像配置,国内镜像源,MHuiG, @MHuiG, Blog, 博客, Magicland, 魔法世界\"><meta desc=\"\" name=\"description\" content=\"本文整理Go、npm、pip等主流包管理器及Docker、Kubernetes等开发工具的国内镜像配置方法,提供阿里云、华为云等多平台镜像地址,附nexus私服代理方案与版本适配指南,解决软件下载慢问题。 - MHuiG - Magicland\"><meta property=\"og:type\" content=\"website\"><meta property=\"og:title\" content=\"Package Mirror\"><meta property=\"og:url\" content=\"https://blog.mhuig.top/notes/package-mirror/\"><meta property=\"og:site_name\" content=\"Magicland\"><meta property=\"og:description\" content=\"本文整理Go、npm、pip等主流包管理器及Docker、Kubernetes等开发工具的国内镜像配置方法,提供阿里云、华为云等多平台镜像地址,附nexus私服代理方案与版本适配指南,解决软件下载慢问题。\"><meta property=\"og:locale\"><meta property=\"og:image\" content=\"https://blog.mhuig.top/lib/favicon/android-chrome-192x192.png\"><meta property=\"article:published_time\" content=\"2022-06-29T06:20:00.000Z\"><meta property=\"article:modified_time\" content=\"2025-11-20T10:18:00.000Z\"><meta property=\"article:author\" content=\"MHuiG\"><meta property=\"article:tag\" content=\"mirror\"><meta property=\"article:tag\" content=\"包管理器镜像\"><meta property=\"article:tag\" content=\"国内镜像源\"><meta property=\"article:tag\" content=\"系统镜像配置\"><meta name=\"twitter:card\" content=\"summary\"><meta name=\"twitter:image\" content=\"https://blog.mhuig.top/lib/favicon/android-chrome-192x192.png\"><meta name=\"twitter:creator\" content=\"@iMHuiG\"><meta name=\"twitter:site\" content=\"@iMHuiG\"><style>#safearea{display:none}.post-story+.post-story{content-visibility:auto;contain-intrinsic-size:10px 500px}:root{--color-site-body:#87ceeb;--color-site-bg:#87ceeb;--color-site-inner:#555;--color-site-footer:#666;--color-card:#fff;--color-text:#444;--color-block:#f6f6f6;--color-inlinecode:#d56d28;--color-codeblock:#fff7ea;--color-h1:#3a3a3a;--color-h2:#3a3a3a;--color-h3:#333;--color-h4:#444;--color-h5:#555;--color-h6:#666;--color-p:#444;--color-list:#666;--color-list-hl:#1a78c2;--color-meta:#888;--color-read-bkg:#e0d8c8;--color-read-post:#f8f1e2;--color-copyright-bkg:#f5f5f5}*{box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;outline:0;margin:0;padding:0}::-webkit-scrollbar{height:4px;width:4px}::-webkit-scrollbar-track-piece{background:0 0}::-webkit-scrollbar-thumb{background:#2196f3;cursor:pointer;border-radius:2px;-webkit-border-radius:2px}::-webkit-scrollbar-thumb:hover{background:#ff5722}html{color:var(--color-text);width:100%;height:100%;font-family:\"Varela Round\",\"PingFang SC\",\"Microsoft YaHei\",Helvetica,Arial,Menlo,Monaco,monospace,sans-serif;font-size:16px}html>::-webkit-scrollbar{height:4px;width:4px}html>::-webkit-scrollbar-track-piece{background:0 0}html>::-webkit-scrollbar-thumb{background:#2196f3;cursor:pointer;border-radius:2px;-webkit-border-radius:2px}html>::-webkit-scrollbar-thumb:hover{background:#ff5722}body{background-color:var(--color-site-body);text-rendering:optimizelegibility;-webkit-tap-highlight-color:transparent;line-height:1.6;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body.modal-active{overflow:hidden}@media screen and (max-width:680px){body.modal-active{position:fixed;top:0;right:0;bottom:0;left:0}}a{color:#2196f3;cursor:pointer;text-decoration:none;transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}a:hover{color:#ff5722}a:active,a:hover{outline:0}ol,ul{padding-left:0}ol li,ul li{list-style:none}header{display:-webkit-box;display:-moz-box;display:block}img{border:0;background:0 0;max-width:100%}svg:not(:root){overflow:hidden}hr{-moz-box-sizing:content-box;box-sizing:content-box;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;height:0;border:0;border-radius:1px;-webkit-border-radius:1px;border-bottom:1px solid rgba(68,68,68,.1)}button,input{color:inherit;font:inherit;margin:0}button{overflow:visible;text-transform:none;-webkit-appearance:button;cursor:pointer}@supports (backdrop-filter:blur(20px)){.blur{background:rgba(255,255,255,.9)!important;backdrop-filter:saturate(200%) blur(20px)}}.shadow{box-shadow:0 1px 2px 0 rgba(0,0,0,.1);-webkit-box-shadow:0 1px 2px 0 rgba(0,0,0,.1)}.shadow.floatable{transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}.shadow.floatable:hover{box-shadow:0 2px 4px 0 rgba(0,0,0,.1),0 4px 8px 0 rgba(0,0,0,.1),0 8px 16px 0 rgba(0,0,0,.1);-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,.1),0 4px 8px 0 rgba(0,0,0,.1),0 8px 16px 0 rgba(0,0,0,.1)}#l_cover{min-height:64px}.cover-wrapper{top:0;left:0;max-width:100%;height:100vh;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;flex-wrap:nowrap;-webkit-flex-wrap:nowrap;-khtml-flex-wrap:nowrap;-moz-flex-wrap:nowrap;-o-flex-wrap:nowrap;-ms-flex-wrap:nowrap;-webkit-box-direction:normal;-moz-box-direction:normal;-webkit-box-orient:vertical;-moz-box-orient:vertical;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;align-items:center;align-self:center;align-content:center;color:var(--color-site-inner);padding:0 16px;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;position:relative;overflow:hidden;margin-bottom:-100px}.cover-wrapper .cover-bg{position:absolute;width:100%;height:100%;background-position:center;background-size:cover;-webkit-background-size:cover;-moz-background-size:cover}.cover-wrapper .cover-bg.lazyload:not(.loaded){opacity:0;-webkit-opacity:0;-moz-opacity:0}.cover-wrapper .cover-bg.lazyload.loaded{animation-delay:0s;animation-duration:.5s;animation-fill-mode:forwards;animation-timing-function:ease-out;animation-name:fadeIn}@-moz-keyframes fadeIn{0%{opacity:0;-webkit-opacity:0;-moz-opacity:0;filter:blur(12px);transform:scale(1.02);-webkit-transform:scale(1.02);-khtml-transform:scale(1.02);-moz-transform:scale(1.02);-o-transform:scale(1.02);-ms-transform:scale(1.02)}100%{opacity:1;-webkit-opacity:1;-moz-opacity:1}}@-webkit-keyframes fadeIn{0%{opacity:0;-webkit-opacity:0;-moz-opacity:0;filter:blur(12px);transform:scale(1.02);-webkit-transform:scale(1.02);-khtml-transform:scale(1.02);-moz-transform:scale(1.02);-o-transform:scale(1.02);-ms-transform:scale(1.02)}100%{opacity:1;-webkit-opacity:1;-moz-opacity:1}}@-o-keyframes fadeIn{0%{opacity:0;-webkit-opacity:0;-moz-opacity:0;filter:blur(12px);transform:scale(1.02);-webkit-transform:scale(1.02);-khtml-transform:scale(1.02);-moz-transform:scale(1.02);-o-transform:scale(1.02);-ms-transform:scale(1.02)}100%{opacity:1;-webkit-opacity:1;-moz-opacity:1}}@keyframes fadeIn{0%{opacity:0;-webkit-opacity:0;-moz-opacity:0;filter:blur(12px);transform:scale(1.02);-webkit-transform:scale(1.02);-khtml-transform:scale(1.02);-moz-transform:scale(1.02);-o-transform:scale(1.02);-ms-transform:scale(1.02)}100%{opacity:1;-webkit-opacity:1;-moz-opacity:1}}.cover-wrapper .cover-body{z-index:1;position:relative;width:100%;height:100%}.cover-wrapper#full{height:calc(100vh + 100px);padding-bottom:100px}.cover-wrapper#half{max-height:640px;min-height:400px;height:calc(36vh - 64px + 200px)}.cover-wrapper #scroll-down{width:100%;height:64px;position:absolute;bottom:100px;text-align:center;cursor:pointer}.cover-wrapper #scroll-down .scroll-down-effects{color:#fff;font-size:24px;line-height:64px;position:absolute;width:24px;left:calc(50% - 12px);text-shadow:0 1px 2px rgba(0,0,0,.1);animation:scroll-down-effect 1.5s infinite;-webkit-animation:scroll-down-effect 1.5s infinite;-khtml-animation:scroll-down-effect 1.5s infinite;-moz-animation:scroll-down-effect 1.5s infinite;-o-animation:scroll-down-effect 1.5s infinite;-ms-animation:scroll-down-effect 1.5s infinite}@-moz-keyframes scroll-down-effect{0%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}50%{top:-16px;opacity:.4;-webkit-opacity:0.4;-moz-opacity:0.4}100%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}}@-webkit-keyframes scroll-down-effect{0%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}50%{top:-16px;opacity:.4;-webkit-opacity:0.4;-moz-opacity:0.4}100%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}}@-o-keyframes scroll-down-effect{0%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}50%{top:-16px;opacity:.4;-webkit-opacity:0.4;-moz-opacity:0.4}100%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}}@keyframes scroll-down-effect{0%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}50%{top:-16px;opacity:.4;-webkit-opacity:0.4;-moz-opacity:0.4}100%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}}.cover-wrapper .cover-body{margin-top:64px;margin-bottom:100px}.cover-wrapper .cover-body,.cover-wrapper .cover-body .bottom,.cover-wrapper .cover-body .top{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;-webkit-box-direction:normal;-moz-box-direction:normal;-webkit-box-orient:vertical;-moz-box-orient:vertical;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;align-items:center;justify-content:center;-webkit-justify-content:center;-khtml-justify-content:center;-moz-justify-content:center;-o-justify-content:center;-ms-justify-content:center;max-width:100%}.cover-wrapper .cover-body .bottom{margin-top:32px}.cover-wrapper .cover-body .title{font-family:\"Varela Round\",\"PingFang SC\",\"Microsoft YaHei\",Helvetica,Arial,Helvetica,monospace;font-size:3.125rem;line-height:1.2;text-shadow:0 1px 2px rgba(0,0,0,.1)}.cover-wrapper .cover-body .subtitle{font-size:20px}.cover-wrapper .cover-body .logo{max-height:120px;max-width:calc(100% - 4 * 16px)}@media screen and (min-height:1024px){.cover-wrapper .cover-body .title{font-size:3rem}.cover-wrapper .cover-body .subtitle{font-size:1.05rem}.cover-wrapper .cover-body .logo{max-height:150px}}.cover-wrapper .cover-body .m_search{position:relative;max-width:calc(100% - 16px);width:320px;vertical-align:middle}.cover-wrapper .cover-body .m_search .form{position:relative;display:-webkit-box;display:-moz-box;display:block;width:100%}.cover-wrapper .cover-body .m_search .icon,.cover-wrapper .cover-body .m_search .input{transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}.cover-wrapper .cover-body .m_search .icon{position:absolute;display:-webkit-box;display:-moz-box;display:block;line-height:2.5rem;width:32px;top:0;left:5px;color:rgba(68,68,68,.75)}.cover-wrapper .cover-body .m_search .input{display:-webkit-box;display:-moz-box;display:block;height:2.5rem;width:100%;box-shadow:none;-webkit-box-shadow:none;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;font-size:.875rem;-webkit-appearance:none;padding-left:36px;border-radius:1.4rem;-webkit-border-radius:1.4rem;background:rgba(255,255,255,.6);backdrop-filter:blur(10px);border:none;color:var(--color-text)}@media screen and (max-width:500px){.cover-wrapper .cover-body .m_search .input{padding-left:36px}}.cover-wrapper .cover-body .m_search .input:hover{background:rgba(255,255,255,.8)}.cover-wrapper .cover-body .m_search .input:focus{background:#fff}.cover-wrapper .list-h{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;-webkit-box-direction:normal;-moz-box-direction:normal;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;flex-wrap:wrap;-webkit-flex-wrap:wrap;-khtml-flex-wrap:wrap;-moz-flex-wrap:wrap;-o-flex-wrap:wrap;-ms-flex-wrap:wrap;align-items:stretch;border-radius:4px;-webkit-border-radius:4px;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.cover-wrapper .list-h a{-webkit-box-flex:1;-moz-box-flex:1;-webkit-flex:1 0;-ms-flex:1 0;flex:1 0;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;font-weight:600}.cover-wrapper .list-h a img{display:-webkit-box;display:-moz-box;display:block;border-radius:2px;-webkit-border-radius:2px;margin:4px;min-width:40px;max-width:44px}@media screen and (max-width:768px){.cover-wrapper .list-h a img{min-width:36px;max-width:40px}}@media screen and (max-width:500px){.cover-wrapper .list-h a img{margin:2px 4px;min-width:32px;max-width:36px}}@media screen and (max-width:375px){.cover-wrapper .list-h a img{min-width:28px;max-width:32px}}.cover-wrapper{max-width:100%}.cover-wrapper.search .bottom .menu{margin-top:16px}.cover-wrapper.search .bottom .menu .list-h a{white-space:nowrap;-webkit-box-direction:normal;-moz-box-direction:normal;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;align-items:baseline;padding:2px;margin:4px;color:var(--color-site-inner);opacity:.75;-webkit-opacity:0.75;-moz-opacity:0.75;text-shadow:0 1px 2px rgba(0,0,0,.05);border-bottom:2px solid transparent}.cover-wrapper.search .bottom .menu .list-h a i{margin-right:4px}.cover-wrapper.search .bottom .menu .list-h a p{font-size:.9375rem}.cover-wrapper.search .bottom .menu .list-h a.active,.cover-wrapper.search .bottom .menu .list-h a:active,.cover-wrapper.search .bottom .menu .list-h a:hover{opacity:1;-webkit-opacity:1;-moz-opacity:1;border-bottom:2px solid var(--color-site-inner)}.cover-wrapper.dock .menu,.cover-wrapper.featured .menu,.cover-wrapper.focus .menu{border-radius:6px;-webkit-border-radius:6px}.cover-wrapper.dock .menu .list-h a,.cover-wrapper.featured .menu .list-h a,.cover-wrapper.focus .menu .list-h a{-webkit-box-direction:normal;-moz-box-direction:normal;-webkit-box-orient:vertical;-moz-box-orient:vertical;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;align-items:center;padding:12px;line-height:24px;border-radius:4px;-webkit-border-radius:4px;border-bottom:none;text-align:center;align-content:flex-end;color:rgba(68,68,68,.7);font-size:1.5rem}@media screen and (max-width:500px){.cover-wrapper.dock .menu .list-h a,.cover-wrapper.featured .menu .list-h a,.cover-wrapper.focus .menu .list-h a{padding:12px 8px}}.cover-wrapper.dock .menu .list-h a i,.cover-wrapper.featured .menu .list-h a i,.cover-wrapper.focus .menu .list-h a i{margin:8px}.cover-wrapper.dock .menu .list-h a p,.cover-wrapper.featured .menu .list-h a p,.cover-wrapper.focus .menu .list-h a p{font-size:.875rem}.cover-wrapper.dock .menu .list-h a.active,.cover-wrapper.featured .menu .list-h a.active,.cover-wrapper.focus .menu .list-h a.active{background:var(--color-card);backdrop-filter:none}.cover-wrapper.dock .menu .list-h a.active i,.cover-wrapper.dock .menu .list-h a.active i+p,.cover-wrapper.featured .menu .list-h a.active i,.cover-wrapper.featured .menu .list-h a.active i+p,.cover-wrapper.focus .menu .list-h a.active i,.cover-wrapper.focus .menu .list-h a.active i+p{color:#2196f3}.cover-wrapper.dock .menu .list-h a.active img+p,.cover-wrapper.featured .menu .list-h a.active img+p,.cover-wrapper.focus .menu .list-h a.active img+p{color:var(--color-text)}.cover-wrapper.dock .menu .list-h a:hover,.cover-wrapper.featured .menu .list-h a:hover,.cover-wrapper.focus .menu .list-h a:hover{background:var(--color-card)}.cover-wrapper.featured .menu .list-h{margin:-2px}.cover-wrapper.featured .menu .list-h a{margin:2px;background:rgba(255,255,255,.5)}@supports (backdrop-filter:blur(20px)){.cover-wrapper.featured .menu .list-h a{background:rgba(255,255,255,.5);backdrop-filter:saturate(200%) blur(20px)}}@media (prefers-color-scheme:dark){:root{--color-mode:'dark'}:root:not([color-scheme]){--color-site-body:#121212;--color-read-bkg:#21232f;--color-read-post:#252d38;--color-site-bg:#21232f;--color-site-inner:#efefef;--color-site-footer:#666;--color-card:#252d38;--color-text:rgba(238,238,238,0.871);--color-block:rgba(68,68,68,0.65);--color-codeblock:#444;--color-inlinecode:#d56d28;--color-h1:rgba(255,255,255,0.871);--color-h2:rgba(255,255,255,0.871);--color-h3:rgba(255,255,255,0.6);--color-h4:rgba(255,255,255,0.6);--color-h5:rgba(255,255,255,0.6);--color-h6:rgba(255,255,255,0.6);--color-p:rgba(217,217,217,0.871);--color-list:rgba(217,217,217,0.871);--color-list-hl:#4dabf5;--color-meta:rgba(191,191,191,0.871);--color-link:rgba(191,191,191,0.871);--color-copyright-bkg:#21252b}:root:not([color-scheme]) img{filter:brightness(70%)!important}:root:not([color-scheme]) .blur{background:rgba(33,35,47,.9)!important}:root:not([color-scheme]) .white-box.blur{background:rgba(37,45,56,.9)!important}:root:not([color-scheme]) .nav-main .u-search-input{background:var(--color-card)!important}:root:not([color-scheme]) #l_main .article .prev-next>a{background:var(--color-block)!important}:root:not([color-scheme]) #l_main .article .prev-next>a:hover{background:var(--color-site-bg)!important}:root:not([color-scheme]) .article blockquote{background:var(--color-block)!important}:root:not([color-scheme]) .article-title a{color:var(--color-h1)!important}:root:not([color-scheme]) details>summary{color:var(--color-p)!important;background:var(--color-site-bg)!important}:root:not([color-scheme]) details{border:1px solid var(--color-site-bg)!important;background:var(--color-site-bg)!important}:root:not([color-scheme]) #u-search .modal,:root:not([color-scheme]) #u-search .modal-body,:root:not([color-scheme]) #u-search .modal-header{background:var(--color-card)!important}:root:not([color-scheme]) #u-search .modal-body .modal-results .result:hover{background:var(--color-block)!important}:root:not([color-scheme]) .u-search-input:hover{background:var(--color-block)!important}:root:not([color-scheme]) .u-search-input:focus{background:var(--color-site-body)!important}}[color-scheme=dark]{--color-site-body:#121212;--color-read-bkg:#21232f;--color-read-post:#252d38;--color-site-bg:#21232f;--color-site-inner:#efefef;--color-site-footer:#666;--color-card:#252d38;--color-text:rgba(238,238,238,0.871);--color-block:rgba(68,68,68,0.65);--color-codeblock:#444;--color-inlinecode:#d56d28;--color-h1:rgba(255,255,255,0.871);--color-h2:rgba(255,255,255,0.871);--color-h3:rgba(255,255,255,0.6);--color-h4:rgba(255,255,255,0.6);--color-h5:rgba(255,255,255,0.6);--color-h6:rgba(255,255,255,0.6);--color-p:rgba(217,217,217,0.871);--color-list:rgba(217,217,217,0.871);--color-list-hl:#4dabf5;--color-meta:rgba(191,191,191,0.871);--color-link:rgba(191,191,191,0.871);--color-copyright-bkg:#21252b}[color-scheme=dark] img{filter:brightness(70%)!important}[color-scheme=dark] .blur{background:rgba(33,35,47,.9)!important}[color-scheme=dark] .white-box.blur{background:rgba(37,45,56,.9)!important}[color-scheme=dark] .nav-main .u-search-input{background:var(--color-card)!important}[color-scheme=dark] #l_main .article .prev-next>a{background:var(--color-block)!important}[color-scheme=dark] #l_main .article .prev-next>a:hover{background:var(--color-site-bg)!important}[color-scheme=dark] .article blockquote{background:var(--color-block)!important}[color-scheme=dark] .article-title a{color:var(--color-h1)!important}[color-scheme=dark] details>summary{color:var(--color-p)!important;background:var(--color-site-bg)!important}[color-scheme=dark] details{border:1px solid var(--color-site-bg)!important;background:var(--color-site-bg)!important}[color-scheme=dark] #u-search .modal,[color-scheme=dark] #u-search .modal-body,[color-scheme=dark] #u-search .modal-header{background:var(--color-card)!important}[color-scheme=dark] #u-search .modal-body .modal-results .result:hover{background:var(--color-block)!important}[color-scheme=dark] .u-search-input:hover{background:var(--color-block)!important}[color-scheme=dark] .u-search-input:focus{background:var(--color-site-body)!important}@media screen and (max-width:500px){[color-scheme=dark] .l_header .m_search{background:var(--color-site-bg)!important}}@font-face{font-family:'Varela Round';src:url(\"https://static.mhuig.top/npm/[email protected]/media/fonts/VarelaRound/VarelaRound-Regular.ttf\");font-weight:'normal';font-style:'normal';font-display:swap}@font-face{font-family:'Varela Round';src:url(\"https://static.mhuig.top/npm/[email protected]/media/fonts/VarelaRound/VarelaRound-Regular.ttf\");font-weight:'normal';font-style:'normal';font-display:swap}.l_header{position:fixed;z-index:1000;top:0;width:100%;height:64px;background:var(--color-card);box-shadow:0 1px 2px 0 rgba(0,0,0,.1);-webkit-box-shadow:0 1px 2px 0 rgba(0,0,0,.1)}.l_header.auto{transition:opacity .4s ease;-webkit-transition:opacity .4s ease;-khtml-transition:opacity 0.4s ease;-moz-transition:opacity .4s ease;-o-transition:opacity .4s ease;-ms-transition:opacity .4s ease;visibility:hidden}.l_header.auto.show{opacity:1!important;-webkit-opacity:1!important;-moz-opacity:1!important;visibility:visible}.l_header .container{margin-left:16px;margin-right:16px}.l_header #wrapper{height:100%;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.l_header #wrapper .nav-main,.l_header #wrapper .nav-sub{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;flex-wrap:nowrap;-webkit-flex-wrap:nowrap;-khtml-flex-wrap:nowrap;-moz-flex-wrap:nowrap;-o-flex-wrap:nowrap;-ms-flex-wrap:nowrap;justify-content:space-between;-webkit-justify-content:space-between;-khtml-justify-content:space-between;-moz-justify-content:space-between;-o-justify-content:space-between;-ms-justify-content:space-between;align-items:center}.l_header #wrapper .nav-main{transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}.l_header #wrapper.sub .nav-main{transform:translateY(-64px);-webkit-transform:translateY(-64px);-khtml-transform:translateY(-64px);-moz-transform:translateY(-64px);-o-transform:translateY(-64px);-ms-transform:translateY(-64px)}.l_header #wrapper .nav-sub{transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease;opacity:0;-webkit-opacity:0;-moz-opacity:0;height:64px;width:calc(100% - 2 * 16px);position:absolute}.l_header #wrapper .nav-sub ::-webkit-scrollbar{display:-webkit-box;display:-moz-box;display:none}@media screen and (min-width:2048px){.l_header #wrapper .nav-sub{max-width:55vw;margin:auto}}.l_header #wrapper.sub .nav-sub{opacity:1;-webkit-opacity:1;-moz-opacity:1}.l_header #wrapper .title{position:relative;color:var(--color-text);padding-left:24px;max-height:64px}.l_header #wrapper .nav-main .title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-shrink:0;line-height:64px;padding:0 24px;font-size:1.25rem;font-family:\"Varela Round\",\"PingFang SC\",\"Microsoft YaHei\",Helvetica,Arial,Helvetica,monospace}.l_header #wrapper .nav-main .title img{height:64px}.l_header .nav-sub{max-width:1080px;margin:auto}.l_header .nav-sub .title{font-weight:700;font-family:\"Varela Round\",\"PingFang SC\",\"Microsoft YaHei\",Helvetica,Arial,Menlo,Monaco,monospace,sans-serif;line-height:1.2;max-height:64px;white-space:normal;flex-shrink:1}.l_header .switcher{display:-webkit-box;display:-moz-box;display:none;line-height:64px;align-items:center}.l_header .switcher .s-toc{display:-webkit-box;display:-moz-box;display:none}@media screen and (max-width:768px){.l_header .switcher .s-toc{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex}}.l_header .switcher>li{height:48px;transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease;margin:2px}@media screen and (max-width:500px){.l_header .switcher>li{margin:0 1px;height:48px}}.l_header .switcher>li>a{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;justify-content:center;-webkit-justify-content:center;-khtml-justify-content:center;-moz-justify-content:center;-o-justify-content:center;-ms-justify-content:center;align-items:center;width:48px;height:48px;padding:.85em 1.1em;border-radius:100px;-webkit-border-radius:100px;border:none;transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease;color:#2196f3}.l_header .switcher>li>a:hover{border:none}.l_header .switcher>li>a.active,.l_header .switcher>li>a:active{border:none;background:var(--color-site-bg)}@media screen and (max-width:500px){.l_header .switcher>li>a{width:36px;height:48px}}.l_header .nav-sub .switcher{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex}.l_header .m_search{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;height:64px;width:240px;transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}@media screen and (max-width:1024px){.l_header .m_search{width:44px;min-width:44px}.l_header .m_search input::placeholder{opacity:0;-webkit-opacity:0;-moz-opacity:0}.l_header .m_search:hover{width:240px}.l_header .m_search:hover input::placeholder{opacity:1;-webkit-opacity:1;-moz-opacity:1}}@media screen and (min-width:500px){.l_header .m_search:hover .input{width:100%}.l_header .m_search:hover .input::placeholder{opacity:1;-webkit-opacity:1;-moz-opacity:1}}@media screen and (max-width:500px){.l_header .m_search{min-width:0}.l_header .m_search input::placeholder{opacity:1;-webkit-opacity:1;-moz-opacity:1}}.l_header .m_search .form{position:relative;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;width:100%;align-items:center}.l_header .m_search .icon{position:absolute;width:36px;left:5px;color:var(--color-meta)}@media screen and (max-width:500px){.l_header .m_search .icon{display:-webkit-box;display:-moz-box;display:none}}.l_header .m_search .input{display:-webkit-box;display:-moz-box;display:block;padding-top:8px;padding-bottom:8px;line-height:1.3;width:100%;color:var(--color-text);background:#fafafa;box-shadow:none;-webkit-box-shadow:none;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;padding-left:40px;font-size:.875rem;border-radius:8px;-webkit-border-radius:8px;border:none;transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}@media screen and (min-width:500px){.l_header .m_search .input:focus{box-shadow:0 4px 8px 0 rgba(0,0,0,.1);-webkit-box-shadow:0 4px 8px 0 rgba(0,0,0,.1)}}@media screen and (max-width:500px){.l_header .m_search .input{background:var(--color-block);padding-left:8px;border:none}.l_header .m_search .input:focus,.l_header .m_search .input:hover{border:none}}@media (max-width:500px){.l_header .m_search{left:0;width:0;overflow:hidden;position:absolute;background:#fff;transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}.l_header .m_search .input{border-radius:32px;-webkit-border-radius:32px;margin-left:16px;padding-left:16px}.l_header.z_search-open .m_search{width:100%}.l_header.z_search-open .m_search .input{width:calc(100% - 120px)}}ul.m-pc>li>a{color:inherit;border-bottom:2px solid transparent}ul.m-pc>li>a.active,ul.m-pc>li>a:active{border-bottom:2px solid #2196f3}ul.list-v li:hover>ul.list-v,ul.m-pc li:hover>ul.list-v{display:-webkit-box;display:-moz-box;display:block}ul.nav-list-h{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;align-items:stretch}ul.nav-list-h>li{position:relative;justify-content:center;-webkit-justify-content:center;-khtml-justify-content:center;-moz-justify-content:center;-o-justify-content:center;-ms-justify-content:center;height:100%;line-height:2.4;border-radius:4px;-webkit-border-radius:4px}ul.nav-list-h>li>a{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:600}ul.list-v{z-index:1;display:-webkit-box;display:-moz-box;display:none;position:absolute;background:var(--color-card);box-shadow:0 2px 4px 0 rgba(0,0,0,.08),0 4px 8px 0 rgba(0,0,0,.08),0 8px 16px 0 rgba(0,0,0,.08);-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,.08),0 4px 8px 0 rgba(0,0,0,.08),0 8px 16px 0 rgba(0,0,0,.08);margin-top:-6px;border-radius:4px;-webkit-border-radius:4px;padding:8px 0}ul.list-v.show{display:-webkit-box;display:-moz-box;display:block}ul.list-v hr{margin-top:8px;margin-bottom:8px}ul.list-v>li{white-space:nowrap;word-break:keep-all}ul.list-v>li.header{font-size:.78125rem;font-weight:700;line-height:2em;color:var(--color-meta);margin:8px 16px 4px}ul.list-v>li.header i{margin-right:8px}ul.list-v>li ul{margin-left:0;display:-webkit-box;display:-moz-box;display:none;margin-top:-40px}ul.list-v .aplayer-container{min-height:64px;padding:6px 16px}ul.list-v>li>a{transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease;display:-webkit-box;display:-moz-box;display:block;color:var(--color-list);font-size:.875rem;font-weight:700;line-height:36px;padding:0 20px 0 16px;text-overflow:ellipsis;margin:0 4px;border-radius:4px;-webkit-border-radius:4px}@media screen and (max-width:1024px){ul.list-v>li>a{line-height:40px}}ul.list-v>li>a>i{margin-right:8px}ul.list-v>li>a.active,ul.list-v>li>a:active{color:var(--color-list-hl)}ul.list-v>li>a:hover{color:var(--color-list-hl);background:var(--color-site-bg)}.l_header .menu>ul>li>a{display:-webkit-box;display:-moz-box;display:block;padding:0 8px}.l_header .menu>ul>li>a>i{margin-right:4px}.l_header ul.nav-list-h>li{color:var(--color-list);line-height:64px}.l_header ul.nav-list-h>li>a{max-height:64px;overflow:hidden;color:inherit}.l_header ul.nav-list-h>li>a.active,.l_header ul.nav-list-h>li>a:active{color:#2196f3}.l_header ul.nav-list-h>li:hover>a{color:var(--color-list-hl)}.l_header ul.nav-list-h>li i.music{animation:rotate-effect 1.5s linear infinite;-webkit-animation:rotate-effect 1.5s linear infinite;-khtml-animation:rotate-effect 1.5s linear infinite;-moz-animation:rotate-effect 1.5s linear infinite;-o-animation:rotate-effect 1.5s linear infinite;-ms-animation:rotate-effect 1.5s linear infinite}@-moz-keyframes rotate-effect{0%{transform:rotate(0);-webkit-transform:rotate(0);-khtml-transform:rotate(0);-moz-transform:rotate(0);-o-transform:rotate(0);-ms-transform:rotate(0)}25%{transform:rotate(90deg);-webkit-transform:rotate(90deg);-khtml-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);-ms-transform:rotate(90deg)}50%{transform:rotate(180deg);-webkit-transform:rotate(180deg);-khtml-transform:rotate(180deg);-moz-transform:rotate(180deg);-o-transform:rotate(180deg);-ms-transform:rotate(180deg)}75%{transform:rotate(270deg);-webkit-transform:rotate(270deg);-khtml-transform:rotate(270deg);-moz-transform:rotate(270deg);-o-transform:rotate(270deg);-ms-transform:rotate(270deg)}100%{transform:rotate(360deg);-webkit-transform:rotate(360deg);-khtml-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg)}}@-webkit-keyframes rotate-effect{0%{transform:rotate(0);-webkit-transform:rotate(0);-khtml-transform:rotate(0);-moz-transform:rotate(0);-o-transform:rotate(0);-ms-transform:rotate(0)}25%{transform:rotate(90deg);-webkit-transform:rotate(90deg);-khtml-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);-ms-transform:rotate(90deg)}50%{transform:rotate(180deg);-webkit-transform:rotate(180deg);-khtml-transform:rotate(180deg);-moz-transform:rotate(180deg);-o-transform:rotate(180deg);-ms-transform:rotate(180deg)}75%{transform:rotate(270deg);-webkit-transform:rotate(270deg);-khtml-transform:rotate(270deg);-moz-transform:rotate(270deg);-o-transform:rotate(270deg);-ms-transform:rotate(270deg)}100%{transform:rotate(360deg);-webkit-transform:rotate(360deg);-khtml-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg)}}@-o-keyframes rotate-effect{0%{transform:rotate(0);-webkit-transform:rotate(0);-khtml-transform:rotate(0);-moz-transform:rotate(0);-o-transform:rotate(0);-ms-transform:rotate(0)}25%{transform:rotate(90deg);-webkit-transform:rotate(90deg);-khtml-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);-ms-transform:rotate(90deg)}50%{transform:rotate(180deg);-webkit-transform:rotate(180deg);-khtml-transform:rotate(180deg);-moz-transform:rotate(180deg);-o-transform:rotate(180deg);-ms-transform:rotate(180deg)}75%{transform:rotate(270deg);-webkit-transform:rotate(270deg);-khtml-transform:rotate(270deg);-moz-transform:rotate(270deg);-o-transform:rotate(270deg);-ms-transform:rotate(270deg)}100%{transform:rotate(360deg);-webkit-transform:rotate(360deg);-khtml-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg)}}@keyframes rotate-effect{0%{transform:rotate(0);-webkit-transform:rotate(0);-khtml-transform:rotate(0);-moz-transform:rotate(0);-o-transform:rotate(0);-ms-transform:rotate(0)}25%{transform:rotate(90deg);-webkit-transform:rotate(90deg);-khtml-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);-ms-transform:rotate(90deg)}50%{transform:rotate(180deg);-webkit-transform:rotate(180deg);-khtml-transform:rotate(180deg);-moz-transform:rotate(180deg);-o-transform:rotate(180deg);-ms-transform:rotate(180deg)}75%{transform:rotate(270deg);-webkit-transform:rotate(270deg);-khtml-transform:rotate(270deg);-moz-transform:rotate(270deg);-o-transform:rotate(270deg);-ms-transform:rotate(270deg)}100%{transform:rotate(360deg);-webkit-transform:rotate(360deg);-khtml-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg)}}.menu-phone li ul.list-v{right:calc(100% - .5 * 16px)}.menu-phone li ul.list-v ul{right:calc(100% - .5 * 16px)}#wrapper{max-width:1080px;margin:auto}@media screen and (min-width:2048px){#wrapper{max-width:55vw}}#wrapper .menu{-webkit-box-flex:1;-moz-box-flex:1;-webkit-flex:1 1;-ms-flex:1 1;flex:1 1;margin:0 16px 0 0}#wrapper .menu .list-v ul{left:calc(100% - .5 * 16px)}.menu-phone{display:-webkit-box;display:-moz-box;display:none;margin-top:16px;right:8px;transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}.menu-phone ul{right:calc(100% - .5 * 16px)}@media screen and (max-width:500px){.menu-phone{display:-webkit-box;display:-moz-box;display:block}}.l_header{max-width:65vw;left:calc((100% - 65vw) * .5);border-bottom-left-radius:8px;border-bottom-right-radius:8px}@media screen and (max-width:2048px){.l_header{max-width:1112px;left:calc((100% - 1112px) * .5)}}@media screen and (max-width:1112px){.l_header{left:0;border-radius:0;-webkit-border-radius:0;max-width:100%}}@media screen and (max-width:500px){.l_header .container{margin-left:0;margin-right:0}.l_header #wrapper .nav-main .title{padding-left:16px;padding-right:16px}.l_header #wrapper .nav-sub{width:100%}.l_header #wrapper .nav-sub .title{overflow-y:scroll;margin-top:2px;padding:8px 16px}.l_header #wrapper .switcher{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;margin-right:8px}.l_header .menu{display:-webkit-box;display:-moz-box;display:none}}@media screen and (max-width:500px){.list-v li{max-width:270px}}#u-search{display:-webkit-box;display:-moz-box;display:none;position:fixed;top:0;left:0;width:100%;height:100%;padding:60px 20px;z-index:1001}@media screen and (max-width:680px){#u-search{padding:0}}@media screen and (prefers-color-scheme:dark) and (max-width:500px){.l_header .m_search{background:var(--color-site-bg)!important}}.cover-wrapper .cover-body .subtitle{font-size:.875rem}.fa-brands.color-github,.fa-duotone.color-github,.fa-light.color-github,.fa-regular.color-github,.fa-solid.color-github,.fa-thin.color-github,.fa.color-github,.fad.color-github,.fal.color-github,.far.color-github,.fas.color-github,.iziToast>.iziToast-body .iziToast-icon.color-github{color:#000}.fa-brands.color-friends,.fa-duotone.color-friends,.fa-light.color-friends,.fa-regular.color-friends,.fa-solid.color-friends,.fa-thin.color-friends,.fa.color-friends,.fad.color-friends,.fal.color-friends,.far.color-friends,.fas.color-friends,.iziToast>.iziToast-body .iziToast-icon.color-friends{color:#d31ee9}.fa-brands.color-about,.fa-duotone.color-about,.fa-light.color-about,.fa-regular.color-about,.fa-solid.color-about,.fa-thin.color-about,.fa.color-about,.fad.color-about,.fal.color-about,.far.color-about,.fas.color-about,.iziToast>.iziToast-body .iziToast-icon.color-about{color:#0095ff}.fa-brands.color-travellings,.fa-duotone.color-travellings,.fa-light.color-travellings,.fa-regular.color-travellings,.fa-solid.color-travellings,.fa-thin.color-travellings,.fa.color-travellings,.fad.color-travellings,.fal.color-travellings,.far.color-travellings,.fas.color-travellings,.iziToast>.iziToast-body .iziToast-icon.color-travellings{color:#734ae6}mjx-container{padding:0 0!important}mjx-container:not([display=true]){padding:4px 2px 4px 6px!important}mjx-container[jax=SVG]{direction:ltr}mjx-container[jax=SVG]>svg{overflow:visible}mjx-container[jax=SVG][display=true]{display:-webkit-box;display:-moz-box;display:block;text-align:center;margin:1em 0}mjx-container[jax=SVG][justify=left]{text-align:left}mjx-container[jax=SVG][justify=right]{text-align:right}g[data-mml-node=merror]>g{fill:#f00;stroke:#f00}g[data-mml-node=merror]>rect[data-background]{fill:#ff0;stroke:none}g[data-mml-node=mtable]>line[data-line]{stroke-width:70px;fill:none}g[data-mml-node=mtable]>rect[data-frame]{stroke-width:70px;fill:none}g[data-mml-node=mtable]>.mjx-dashed{stroke-dasharray:140}g[data-mml-node=mtable]>.mjx-dotted{stroke-linecap:round;stroke-dasharray:0,140}g[data-mml-node=mtable]>svg{overflow:visible}[jax=SVG] mjx-tool{display:-webkit-box;display:-moz-box;display:inline-block;position:relative;width:0;height:0}[jax=SVG] mjx-tool>mjx-tip{position:absolute;top:0;left:0}mjx-tool>mjx-tip{display:-webkit-box;display:-moz-box;display:inline-block;padding:.2em;border:1px solid #888;font-size:70%;background-color:#f8f8f8;color:#000;box-shadow:2px 2px 5px #aaa;-webkit-box-shadow:2px 2px 5px #aaa}g[data-mml-node=maction][data-toggle]{cursor:pointer}mjx-status{display:-webkit-box;display:-moz-box;display:block;position:fixed;left:1em;bottom:1em;min-width:25%;padding:.2em .4em;border:1px solid #888;font-size:90%;background-color:#f8f8f8;color:#000}foreignObject[data-mjx-xml]{font-family:initial;line-height:normal;overflow:visible}.MathJax path{stroke-width:3}mjx-container[display=true]{overflow:auto hidden}mjx-container[display=true]+br{display:-webkit-box;display:-moz-box;display:none}</style><link rel=\"stylesheet\" href=\"/css/style.css\" media=\"print\" onload='this.media=\"all\",this.onload=null'><noscript><link rel=\"stylesheet\" href=\"/css/style.css\"></noscript><script>let userColorScheme=localStorage.getItem(\"color-scheme\");userColorScheme&&document.documentElement.setAttribute(\"color-scheme\",userColorScheme)</script><script>window.MSInputMethodContext&&document.documentMode&&document.write('<style>html{overflow-x: hidden !important;overflow-y: hidden !important;}.kill-ie{text-align:center;height: 100%;margin-top: 15%;margin-bottom: 5500%;}.kill-t{font-size: 2rem;}.kill-c{font-size: 1.2rem;}#l_header,#l_body{display: none;}</style><div class=\"kill-ie\"><span class=\"kill-t\"><b>抱歉,您的浏览器无法访问本站</b></span><br/><span class=\"kill-c\">微软已经于2016年终止了对 Internet Explorer (IE) 10 及更早版本的支持,<br/>继续使用存在极大的安全隐患,请使用当代主流的浏览器进行访问。</span><br/><a target=\"_blank\" rel=\"noopener\" href=\"https://blogs.windows.com/windowsexperience/2021/05/19/the-future-of-internet-explorer-on-windows-10-is-in-microsoft-edge/\"><strong>了解详情 ></strong></a></div>')</script><noscript><style>html{overflow-x:hidden!important;overflow-y:hidden!important}.kill-noscript{text-align:center;height:100%;margin-top:15%;margin-bottom:5500%}.kill-t{font-size:2rem}.kill-c{font-size:1.2rem}#l_body,#l_header{display:none}</style><div class=\"kill-noscript\"> <span class=\"kill-t\"><b>抱歉,您的浏览器无法访问本站</b></span><br> <span class=\"kill-c\">本页面需要浏览器支持(启用)JavaScript</span><br> <a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://www.baidu.com/s?wd=启用JavaScript\"><strong>了解详情 ></strong></a></div></noscript><script>function volantisEventListener(e,t,n){this.type=e,this.f=t,this.ele=n}function volantisDom(e){return e||(e=document.createElement(\"div\")),this.ele=e,this.ele.find=e=>{let t=this.ele.querySelector(e);if(t)return new volantisDom(t)},this.ele.hasClass=e=>this.ele.className.match(new RegExp(\"(\\\\s|^)\"+e+\"(\\\\s|$)\")),this.ele.addClass=e=>(this.ele.classList.add(e),this.ele),this.ele.removeClass=e=>(this.ele.classList.remove(e),this.ele),this.ele.toggleClass=e=>(this.ele.hasClass(e)?this.ele.removeClass(e):this.ele.addClass(e),this.ele),this.ele.on=(e,t,n=1)=>(this.ele.addEventListener(e,t,!1),n&&volantis.EventListener.list.push(new volantisEventListener(e,t,this.ele)),this.ele),this.ele.click=(e,t)=>(this.ele.on(\"click\",e,t),this.ele),this.ele.scroll=(e,t)=>(this.ele.on(\"scroll\",e,t),this.ele),this.ele.html=e=>(this.ele.innerHTML=e,this.ele),this.ele.hide=e=>(this.ele.style.display=\"none\",this.ele),this.ele.show=e=>(this.ele.style.display=\"block\",this.ele),this.ele}function RunItem(){function e(e,t){this.name=t||volantis.getFunctionHash(e),this.run=()=>{try{e()}catch(e){console.log(e)}}}this.list=[],this.start=()=>{for(var e=0;e<this.list.length;e++)this.list[e].run()},this.push=(t,n,o=!0)=>{if(\"function\"!=typeof t)return;let l=t;o&&(l=()=>{volantis.requestAnimationFrame(t)}),n=n||volantis.getFunctionHash(t);const i=this.list.findIndex((e=>e.name===n));-1===i?this.list.push(new e(l,n)):this.list[i]=new e(l,n)},this.remove=e=>{for(let t=0;t<this.list.length;t++){this.list[t].name==e&&this.list.splice(t,1)}}}function errorImgAvatar(e){e.src=\"https://static.mhuig.top/npm/[email protected]/media/placeholder/avatar/round/3442075.svg\",e.onerror=null}function errorImgCover(e){e.src=\"https://static.mhuig.top/npm/[email protected]/media/placeholder/cover/76b86c0226ffd.svg\",e.onerror=null}!function(){const e=new WeakMap,t=new Proxy({},{get(n,o){const l=e.get(t);return l?.[o]},set(n,o,l){e.has(t)||e.set(t,Object.create(null));return e.get(t)[o]=l,!0},deleteProperty(n,o){const l=e.get(t);return!(!l||!Object.prototype.hasOwnProperty.call(l,o))&&(delete l[o],0===Object.keys(l).length&&e.delete(t),!0)},ownKeys(n){const o=e.get(t);return o?Object.keys(o):[]},getOwnPropertyDescriptor(n,o){const l=e.get(t);if(l&&Object.prototype.hasOwnProperty.call(l,o))return{value:l[o],writable:!0,enumerable:!0,configurable:!0}}});Object.defineProperty(window,\"volantis\",{value:t,writable:!0,configurable:!0,enumerable:!0})}(),volantis.debug=\"false\",volantis.dom={},volantis.simpleTextHash=e=>{let t=5381;for(let n=0;n<e.length;n++)t=(t<<5)+t+e.charCodeAt(n),t&=t;return t.toString(16).padStart(8,\"0\")},volantis.getFunctionHash=e=>{const t=e.toString();return volantis.simpleTextHash(t)},volantis.EventListener={},volantis.EventListener.list=[],volantis.EventListener.remove=()=>{volantis.EventListener.list.forEach((function(e){e.ele.removeEventListener(e.type,e.f,!1)})),volantis.EventListener.list=[]},volantis.dom.$=e=>e?new volantisDom(e):null,volantis.pjax={},volantis.pjax.method={complete:new RunItem,error:new RunItem,send:new RunItem},volantis.pjax=Object.assign(volantis.pjax,{push:volantis.pjax.method.complete.push,error:volantis.pjax.method.error.push,send:volantis.pjax.method.send.push}),volantis.rightmenu={},volantis.rightmenu.method={handle:new RunItem},volantis.rightmenu=Object.assign(volantis.rightmenu,{handle:volantis.rightmenu.method.handle.push}),volantis.dark={},volantis.dark.method={toggle:new RunItem},volantis.dark=Object.assign(volantis.dark,{push:volantis.dark.method.toggle.push}),volantis.js=(e,t)=>new Promise((n=>{setTimeout((function(){var o=document.getElementsByTagName(\"head\")[0]||document.documentElement,l=document.createElement(\"script\");if(l.setAttribute(\"type\",\"text/javascript\"),t)if(JSON.stringify(t))for(let e in t)\"onload\"==e?l[e]=()=>{t[e](),n()}:(l[e]=t[e],l.onload=n);else l.onload=()=>{t(),n()};else l.onload=n;l.setAttribute(\"src\",e),o.appendChild(l)}))})),volantis.css=e=>new Promise((t=>{setTimeout((function(){var n=document.createElement(\"link\");n.rel=\"stylesheet\",n.href=e,n.onload=t,document.getElementsByTagName(\"head\")[0].appendChild(n)}))})),volantis.import={jQuery:()=>\"undefined\"==typeof jQuery?volantis.js(\"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js\"):new Promise((e=>{e()}))},volantis.throttle=(e,t=200)=>{let n=0;return function(...o){const l=Date.now();l-n>=t&&(e.apply(this,o),n=l)}},volantis.debounce=(e,t=200)=>{let n=null;return function(){n&&clearTimeout(n),n=setTimeout((()=>{e.apply(this,arguments),n=null}),t)}},volantis.requestAnimationFrame=e=>(window.requestAnimationFrame||(window.requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)}),window.requestAnimationFrame(e)),volantis.layoutHelper=(e,t,n)=>{function o(e,t,n){volantis.tempDiv=document.createElement(\"div\"),volantis.tempDiv.innerHTML=t;let o=document.querySelector(\"#layoutHelper-\"+e);o&&(n&&(o.innerHTML=\"\"),o.append(volantis.tempDiv))}n=Object.assign({clean:!1,pjax:!0},n),o(e,t,n.clean),n.pjax&&volantis.pjax.push((()=>{o(e,t,n.clean)}),\"layoutHelper-\"+e)},volantis.scroll={engine:new RunItem,unengine:new RunItem},volantis.scroll=Object.assign(volantis.scroll,{push:volantis.scroll.engine.push}),volantis.scroll.getScrollTop=()=>{let e;return window.pageYOffset?e=window.pageYOffset:document.compatMode&&\"BackCompat\"!=document.compatMode?e=document.documentElement.scrollTop:document.body&&(e=document.body.scrollTop),e},volantis.scroll.scrollHeight=function(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},volantis.scroll.offsetHeight=function(){return Math.min(document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)},volantis.scroll.progress=function(){return volantis.scroll.getScrollTop()/(volantis.scroll.scrollHeight()-volantis.scroll.offsetHeight())},volantis.scroll.handleScrollEvents=()=>{volantis.scroll.lastScrollTop=volantis.scroll.getScrollTop(),volantis.requestAnimationFrame((function e(){const t=volantis.scroll.getScrollTop();volantis.scroll.lastScrollTop!==t?(volantis.scroll.del=t-volantis.scroll.lastScrollTop,volantis.scroll.lastScrollTop=t,volantis.scroll.unengine.list=[],volantis.scroll.engine.start()):volantis.scroll.unengine.start(),volantis.requestAnimationFrame(e)}))},volantis.scroll.handleScrollEvents(),volantis.scroll.ele=null,volantis.scroll.to=(e,t={})=>{e&&(volantis.scroll.ele=e,opt={top:e.getBoundingClientRect().top+document.documentElement.scrollTop,behavior:\"smooth\"},\"top\"in t&&(opt.top=t.top),\"behavior\"in t&&(opt.behavior=t.behavior),\"addTop\"in t&&(opt.top+=t.addTop),\"observerDic\"in t||(t.observerDic=100),window.scrollTo(opt),t.observer&&setTimeout((()=>{volantis.scroll.ele==e&&volantis.scroll.unengine.push((()=>{let n=e.getBoundingClientRect().top;n>=-t.observerDic&&n<=t.observerDic||volantis.scroll.to(e,t),volantis.scroll.unengine.remove(\"unengineObserver\")}),\"unengineObserver\")}),1e3))},volantis.cleanContentVisibility=()=>{document.querySelector(\".post-story\")&&(console.log(\"cleanContentVisibility\"),document.querySelectorAll(\".post-story\").forEach((e=>{e.classList.remove(\"post-story\")})))};const nativeSetTimeout=window.setTimeout,nativeSetInterval=window.setInterval,nativeClearTimeout=window.clearTimeout,nativeClearInterval=window.clearInterval;volantis.activeTimeout=[],volantis.activeInterval=[],window.setTimeout=function(e,t,...n){const o=nativeSetTimeout((function(...t){try{return e.apply(this,t)}finally{const e=volantis.activeTimeout.indexOf(o);-1!==e&&volantis.activeTimeout.splice(e,1)}}),t,...n);return volantis.activeTimeout.push(o),o},window.setInterval=function(e,t,...n){const o=nativeSetInterval(e,t,...n);return volantis.activeInterval.push(o),o},window.clearTimeout=function(e){nativeClearTimeout(e);const t=volantis.activeTimeout.indexOf(e);-1!==t&&volantis.activeTimeout.splice(t,1)},window.clearInterval=function(e){nativeClearInterval(e);const t=volantis.activeInterval.indexOf(e);-1!==t&&volantis.activeInterval.splice(t,1)},volantis.getActiveInterval=function(){return[...volantis.activeInterval]},volantis.getActiveTimeout=function(){return[...volantis.activeTimeout]},volantis.clearAllTimers=function(){volantis.getActiveInterval().forEach((function(e){clearInterval(e)})),volantis.getActiveTimeout().forEach((function(e){clearTimeout(e)}))},volantis.pjax.send(volantis.clearAllTimers,\"clearAllTimers\")</script><script>volantis.GLOBAL_CONFIG={root:\"/\",debug:!1,default:{avatar:\"https://static.mhuig.top/npm/[email protected]/media/placeholder/avatar/round/3442075.svg\",link:\"https://static.mhuig.top/npm/[email protected]/media/placeholder/link/8f277b4ee0ecd.svg\",cover:\"https://static.mhuig.top/npm/[email protected]/media/placeholder/cover/76b86c0226ffd.svg\",image:\"https://static.mhuig.top/npm/[email protected]/media/placeholder/image/2659360.svg\"},lastupdate:new Date(1781075450850),cdn:{izitoast_css:\"https://cdnjs.cloudflare.com/ajax/libs/izitoast/1.4.0/css/iziToast.min.css\",izitoast_js:\"https://cdnjs.cloudflare.com/ajax/libs/izitoast/1.4.0/js/iziToast.min.js\",fancybox_css:\"https://cdnjs.cloudflare.com/ajax/libs/fancyapps-ui/4.0.31/fancybox.min.css\",fancybox_js:\"https://cdnjs.cloudflare.com/ajax/libs/fancyapps-ui/4.0.31/fancybox.umd.min.js\"},sidebar:{for_page:[\"blogger\",\"navigation\",\"webinfo\"],for_post:[\"toc\"],webinfo:{lastupd:{enable:!1,friendlyShow:!0},runtime:{data:\"2019/08/19\",unit:\"天\"}}},plugins:{message:{enable:!1,icon:{default:\"fa-solid fa-info-circle light-blue\",quection:\"fa-solid fa-question-circle light-blue\"},time:{default:5e3,quection:2e4},position:\"topRight\",transitionIn:\"bounceInLeft\",transitionOut:\"fadeOutRight\",titleColor:\"var(--color-text)\",messageColor:\"var(--color-text)\",backgroundColor:\"var(--color-card)\",zindex:2147483647,copyright:{enable:!0,title:\"知识共享许可协议\",message:\"请遵守 CC BY-NC-SA 4.0 协议。\",icon:\"far fa-copyright light-blue\"},aplayer:{enable:!0,play:\"fa-solid fa-play\",pause:\"fa-solid fa-pause\"},rightmenu:{enable:!0,notice:!0}},aplayer:{id:1480000098,enable:!0}},search:{dataPath:(\"/\".endsWith(\"/\")?\"/\":\"//\")+\"content.json\"},languages:{search:{hits_empty:\"找不到您查询的内容:${query}\",hits_stats:\"找到 ${hits} 条结果,用时 ${time} 毫秒\"}}}</script><script type=\"application/ld+json\">[{\"@context\":\"http://schema.org\",\"@type\":\"Organization\",\"name\":\"MHuiG Magicland\",\"url\":\"https://blog.mhuig.top/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"/lib/favicon/android-chrome-192x192.png\",\"width\":192,\"height\":192}},{\"@context\":\"http://schema.org\",\"@type\":\"Person\",\"name\":\"MHuiG\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"/lib/favicon/android-chrome-192x192.png\"},\"url\":\"https://blog.mhuig.top/\",\"sameAs\":[\"https://github.com/MHuiG\",\"https://twitter.com/iMHuiG\",\"https://t.me/MHuiG\",\"https://keybase.io/MHuiG\"],\"description\":\"「Be Yourself, Make a Difference.」\"},{\"@context\":\"http://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@id\":\"https://blog.mhuig.top/\",\"name\":\"Magicland\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@id\":\"https://blog.mhuig.top/categories/package manager/\",\"name\":\"package manager\"}},{\"@type\":\"ListItem\",\"position\":3,\"item\":{\"@id\":\"https://blog.mhuig.top/notes/package-mirror/index.html\",\"name\":\"Package Mirror\"}}]},{\"@context\":\"http://schema.org\",\"@type\":\"WebSite\",\"name\":\"MHuiG Magicland\",\"url\":\"https://blog.mhuig.top/\",\"keywords\":\"MHuiG, @MHuiG, Blog, 博客, Magicland, 魔法世界\",\"description\":\"宠辱不惊,看庭前花开花落;去留无意,望天上云卷云舒。「Be Yourself, Make a Difference.」 - Magic Island\",\"author\":{\"@type\":\"Person\",\"name\":\"MHuiG\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"/lib/favicon/android-chrome-192x192.png\"},\"url\":\"https://blog.mhuig.top/\",\"description\":\"「Be Yourself, Make a Difference.」\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"MHuiG Magicland\",\"url\":\"https://blog.mhuig.top/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"/lib/favicon/android-chrome-192x192.png\",\"width\":192,\"height\":192}},\"potentialAction\":{\"@type\":\"SearchAction\",\"name\":\"CoCo | The Cat of MHuiG\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https://blog.mhuig.top/havefun/coco/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}},{\"@context\":\"http://schema.org\",\"@type\":\"BlogPosting\",\"headline\":\"Package Mirror\",\"description\":\"本文整理Go、npm、pip等主流包管理器及Docker、Kubernetes等开发工具的国内镜像配置方法,提供阿里云、华为云等多平台镜像地址,附nexus私服代理方案与版本适配指南,解决软件下载慢问题。\",\"inLanguage\":\"zh-Hans\",\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://blog.mhuig.top/notes/package-mirror/\"},\"author\":{\"@type\":\"Person\",\"name\":\"MHuiG\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"/lib/favicon/android-chrome-192x192.png\"},\"url\":\"https://blog.mhuig.top/\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"MHuiG Magicland\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"/lib/favicon/android-chrome-192x192.png\",\"width\":192,\"height\":192}},\"url\":\"https://blog.mhuig.top/notes/package-mirror/\",\"wordCount\":0,\"datePublished\":\"2022-06-29T06:20:00.000Z\",\"dateModified\":\"2025-11-20T10:18:00.000Z\",\"articleSection\":\"package manager\",\"keywords\":\"mirror,包管理器镜像,系统镜像配置,国内镜像源\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"/lib/favicon/android-chrome-192x192.png\",\"width\":192,\"height\":192}}]</script></head><body itemscope=\"\" itemtype=\"http://schema.org/WebPage\"><pjax></pjax><header itemscope=\"\" itemtype=\"http://schema.org/WPHeader\" id=\"l_header\" class=\"l_header auto shadow floatable blur show\" style=\"opacity:0\"><div class=\"container\"><div id=\"wrapper\"><div class=\"nav-sub\"><p class=\"title\"></p><ul class=\"switcher nav-list-h m-phone\" id=\"pjax-header-nav-list\"><li><a id=\"s-comment\" class=\"fa-solid fa-comments fa-fw\" target=\"_self\" title=\"comment\"></a></li><li><a id=\"s-toc\" class=\"s-toc fa-solid fa-list fa-fw\" target=\"_self\" title=\"toc\"></a></li></ul></div><div class=\"nav-main\"> <a class=\"title flat-box\" target=\"_self\" href=\"/\">MHuiG</a><div class=\"menu navigation\"><ul class=\"nav-list-h m-pc\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"索引\"><i class=\"fa-duotone fa-list-alt fa-fw\"></i> 索引</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/notes/\" title=\"便签\" active-action=\"action-notes\"><i class=\"fa-duotone fa-books fa-fw\"></i> 便签</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/categories/\" title=\"分类\" active-action=\"action-categories\"><i class=\"fa-duotone fa-folder-open fa-fw\"></i> 分类</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/tags/\" title=\"标签\" active-action=\"action-tags\"><i class=\"fa-duotone fa-tags fa-fw\"></i> 标签</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/archives/\" title=\"归档\" active-action=\"action-archives\"><i class=\"fa-duotone fa-archive fa-fw\"></i> 归档</a></li></ul></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/friends/\" title=\"友链\" active-action=\"action-pagesfriends\"><i class=\"fa-duotone fa-link fa-fw\"></i> 友链</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"https://www.travellings.cn/go-by-clouds.html\" title=\"Travelling\" target=\"_blank\" active-action=\"action-https:wwwtravellingscngo-by-cloudshtml\" rel=\"external nofollow noopener noreferrer\"><i class=\"fa-duotone fa-subway fa-fw\"></i> Travelling</a></li></ul></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/about/\" title=\"关于\" active-action=\"action-pagesabout\"><i class=\"fa-duotone fa-user-tie fa-fw\"></i> 关于</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/time-machine/\" title=\"时光机\" active-action=\"action-pagestime-machine\"><i class=\"fa-duotone fa-clock fa-fw\"></i> 时光机</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"noopener\" href=\"https://mhuig.top/privacy-policy/\" title=\"隐私政策\" active-action=\"action-https:mhuigtopprivacy-policy\"><i class=\"fa-duotone fa-user-secret fa-fw\"></i> 隐私政策</a></li></ul></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"更多\"><i class=\"fa-duotone fa-fan fa-spin fa-fw\"></i> 更多</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/beer/\" title=\"Sponsor\" active-action=\"action-pagesbeer\"><i class=\"fa-duotone fa-heart-square fa-fw\"></i> Sponsor</a></li><hr><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"博客管理\"><i class=\"fa-duotone fa-user-shield fa-fw\"></i> 博客管理</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box header toggle-mode-btn\"><i class=\"fa-duotone fa-bat fa-fw\"></i> 暗黑模式</a></li><li></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/rss/\" title=\"RSS订阅\" active-action=\"action-pagesrss\"><i class=\"fa-duotone fa-rss fa-fw\"></i> RSS订阅</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/sitemap.xml\" title=\"站点地图\" active-action=\"action-sitemapxml\"><i class=\"fa-duotone fa-sitemap fa-fw\"></i> 站点地图</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://mhuig.instatus.com/\" title=\"Monitors\" active-action=\"action-https:mhuiginstatuscom\"><i class=\"fa-duotone fa-telescope fa-fw\"></i> Monitors</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://ssl.mhuig.top/\" title=\"SSL Status\" active-action=\"action-https:sslmhuigtop\"><i class=\"fa-brands fa-expeditedssl fa-fw\"></i> SSL Status</a></li></ul></li><hr><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"工具箱\"><i class=\"fa-duotone fa-tools fa-fw\"></i> 工具箱</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://rssbox.mhuig.top/\" title=\"RSS Box\" active-action=\"action-https:rssboxmhuigtop\"><i class=\"fa-duotone fa-conveyor-belt-boxes fa-fw\"></i> RSS Box</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/havefun/coco/\" title=\"My Cat\" active-action=\"action-havefuncoco\"><i class=\"fa-duotone fa-cat fa-fw\"></i> My Cat</a></li><li><a class=\"menuitem flat-box\"><i class=\"fa-duotone fa-compact-disc fa-spin fa-fw music\"></i> Music</a><ul class=\"list-v\"><li><div class=\"aplayer-container\"><div class=\"aplayer-local\"></div></div></li></ul></li><li></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/talk/\" title=\"碎言碎语\" active-action=\"action-pagestalk\"><i class=\"fa-duotone fa-comments fa-fw\"></i> 碎言碎语</a></li></ul></li><hr><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://github.com/MHuiG\" title=\"GitHub\" active-action=\"action-https:githubcomMHuiG\"><i class=\"fa-brands fa-github fa-fw\"></i> GitHub</a></li></ul></li></ul></div><div class=\"m_search\"><form name=\"searchform\" class=\"form u-search-form\"><i class=\"icon fa-solid fa-search fa-fw\"></i> <input type=\"text\" class=\"input u-search-input\" placeholder=\"Search...\"></form></div><ul class=\"switcher nav-list-h m-phone\"><li><a class=\"s-search fa-solid fa-search fa-fw\" target=\"_self\" title=\"search\"></a></li><li><a class=\"s-menu fa-solid fa-bars fa-fw\" target=\"_self\" title=\"menu\"></a><ul class=\"menu-phone list-v navigation white-box\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"索引\"><i class=\"fa-duotone fa-list-alt fa-fw\"></i> 索引</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/notes/\" title=\"便签\" active-action=\"action-notes\"><i class=\"fa-duotone fa-books fa-fw\"></i> 便签</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/categories/\" title=\"分类\" active-action=\"action-categories\"><i class=\"fa-duotone fa-folder-open fa-fw\"></i> 分类</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/tags/\" title=\"标签\" active-action=\"action-tags\"><i class=\"fa-duotone fa-tags fa-fw\"></i> 标签</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/archives/\" title=\"归档\" active-action=\"action-archives\"><i class=\"fa-duotone fa-archive fa-fw\"></i> 归档</a></li></ul></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/friends/\" title=\"友链\" active-action=\"action-pagesfriends\"><i class=\"fa-duotone fa-link fa-fw\"></i> 友链</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"https://www.travellings.cn/go-by-clouds.html\" title=\"Travelling\" target=\"_blank\" active-action=\"action-https:wwwtravellingscngo-by-cloudshtml\" rel=\"external nofollow noopener noreferrer\"><i class=\"fa-duotone fa-subway fa-fw\"></i> Travelling</a></li></ul></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/about/\" title=\"关于\" active-action=\"action-pagesabout\"><i class=\"fa-duotone fa-user-tie fa-fw\"></i> 关于</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/time-machine/\" title=\"时光机\" active-action=\"action-pagestime-machine\"><i class=\"fa-duotone fa-clock fa-fw\"></i> 时光机</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"noopener\" href=\"https://mhuig.top/privacy-policy/\" title=\"隐私政策\" active-action=\"action-https:mhuigtopprivacy-policy\"><i class=\"fa-duotone fa-user-secret fa-fw\"></i> 隐私政策</a></li></ul></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"更多\"><i class=\"fa-duotone fa-fan fa-spin fa-fw\"></i> 更多</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/beer/\" title=\"Sponsor\" active-action=\"action-pagesbeer\"><i class=\"fa-duotone fa-heart-square fa-fw\"></i> Sponsor</a></li><hr><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"博客管理\"><i class=\"fa-duotone fa-user-shield fa-fw\"></i> 博客管理</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box header toggle-mode-btn\"><i class=\"fa-duotone fa-bat fa-fw\"></i> 暗黑模式</a></li><li></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/rss/\" title=\"RSS订阅\" active-action=\"action-pagesrss\"><i class=\"fa-duotone fa-rss fa-fw\"></i> RSS订阅</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/sitemap.xml\" title=\"站点地图\" active-action=\"action-sitemapxml\"><i class=\"fa-duotone fa-sitemap fa-fw\"></i> 站点地图</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://mhuig.instatus.com/\" title=\"Monitors\" active-action=\"action-https:mhuiginstatuscom\"><i class=\"fa-duotone fa-telescope fa-fw\"></i> Monitors</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://ssl.mhuig.top/\" title=\"SSL Status\" active-action=\"action-https:sslmhuigtop\"><i class=\"fa-brands fa-expeditedssl fa-fw\"></i> SSL Status</a></li></ul></li><hr><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"工具箱\"><i class=\"fa-duotone fa-tools fa-fw\"></i> 工具箱</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://rssbox.mhuig.top/\" title=\"RSS Box\" active-action=\"action-https:rssboxmhuigtop\"><i class=\"fa-duotone fa-conveyor-belt-boxes fa-fw\"></i> RSS Box</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/havefun/coco/\" title=\"My Cat\" active-action=\"action-havefuncoco\"><i class=\"fa-duotone fa-cat fa-fw\"></i> My Cat</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/talk/\" title=\"碎言碎语\" active-action=\"action-pagestalk\"><i class=\"fa-duotone fa-comments fa-fw\"></i> 碎言碎语</a></li></ul></li><hr><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://github.com/MHuiG\" title=\"GitHub\" active-action=\"action-https:githubcomMHuiG\"><i class=\"fa-brands fa-github fa-fw\"></i> GitHub</a></li></ul></li></ul></li></ul></div></div></div></header><div id=\"l_body\"><div id=\"l_cover\"><div id=\"none\" class=\"cover-wrapper post featured\" style=\"display:none\"><div class=\"cover-bg lazyload placeholder\" data-bg=\"\"></div><div class=\"cover-body\"><div class=\"top\"><p class=\"title\">Magicland</p><p class=\"subtitle\">「看庭前花开花落,望天上云卷云舒」</p></div><div class=\"bottom\"><div class=\"menu navigation\"><div class=\"list-h\"><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://github.com/MHuiG\" active-action=\"action-https:githubcomMHuiG\"><i class=\"fa-brands fa-github color-github fa-fw\"></i><p>Github</p></a><a href=\"/pages/friends/\" active-action=\"action-pagesfriends\"><i class=\"fa-duotone fa-link color-friends fa-fw\"></i><p>友链</p></a><a href=\"/pages/about/\" active-action=\"action-pagesabout\"><i class=\"fa-duotone fa-user-tie color-about fa-fw\"></i><p>关于</p></a><a href=\"https://www.travellings.cn/go-by-clouds.html\" target=\"_blank\" active-action=\"action-https:wwwtravellingscngo-by-cloudshtml\" rel=\"external nofollow noopener noreferrer\"><i class=\"fa-duotone fa-subway color-travellings fa-fw\"></i><p>Travelling</p></a></div></div></div></div><div id=\"scroll-down\" style=\"display:none\"><i class=\"fa fa-chevron-down scroll-down-effects\"></i></div></div></div><div id=\"safearea\"><div class=\"body-wrapper\"><div id=\"l_main\" class=\"\"><article itemscope=\"\" itemtype=\"http://schema.org/Article\" class=\"article post white-box reveal md shadow floatable blur article-type-post\" id=\"post\" itemprop=\"blogPost\"><link itemprop=\"mainEntityOfPage\" href=\"https://blog.mhuig.top/notes/package-mirror/\"><span hidden=\"\" itemprop=\"publisher\" itemscope=\"\" itemtype=\"http://schema.org/Organization\"><meta itemprop=\"name\" content=\"Magicland\"></span><span hidden=\"\" itemprop=\"post\" itemscope=\"\" itemtype=\"http://schema.org/CreativeWork\"><meta itemprop=\"name\" content=\"Package Mirror\"><meta itemprop=\"description\" content=\"本文整理Go、npm、pip等主流包管理器及Docker、Kubernetes等开发工具的国内镜像配置方法,提供阿里云、华为云等多平台镜像地址,附nexus私服代理方案与版本适配指南,解决软件下载慢问题。\"></span><span hidden=\"\"><meta itemprop=\"image\" content=\"/lib/favicon/android-chrome-192x192.png\"></span><div class=\"article-meta\" id=\"top\"><h1 class=\"title\" itemprop=\"name headline\"> Package Mirror</h1><div class=\"new-meta-box\"><div class=\"new-meta-item author\" itemprop=\"author\" itemscope=\"\" itemtype=\"http://schema.org/Person\"> <a itemprop=\"url\" class=\"author\" target=\"_blank\" href=\"https://mhuig.top/\" rel=\"nofollow noopener\" alt=\"author\"><img itemprop=\"image\" src=\"/lib/avatar/avatar-16.webp\" class=\"lazyload\" data-srcset=\"/lib/avatar/avatar-16.webp\" srcset=\"data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"><p itemprop=\"name\">MHuiG</p></a></div><div class=\"new-meta-item wordcount\"><a class=\"notlink\"><i class=\"fa-duotone fa-keyboard fa-fw\" aria-hidden=\"true\"></i><p>字数:5.9k 字</p></a></div><div class=\"new-meta-item readtime\"><a class=\"notlink\"><i class=\"fa-duotone fa-hourglass-half fa-fw\" aria-hidden=\"true\"></i><p>时长:30 分钟</p></a></div></div></div><div id=\"layoutHelper-page-plugins\"></div><div id=\"post-body\" itemprop=\"articleBody\"><p><code>注意:</code>假如所有的镜像都已经被本地 nexus 私服代理,那么对应的地址为<code>nexus.eryajf.net/repository/***/</code>。(这只是个域名示例,不代表实际可用!)</p><div class=\"story post-story\"><h2 id=\"Go\"><a href=\"#Go\" class=\"headerlink\" title=\"Go\"></a>Go</h2><h3 id=\"Configuration\"><a href=\"#Configuration\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>如果 go 版本用的<code>go1.11</code>或者<code>go1.12</code>,需进行如下配置:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\"><span class=\"built_in\">export</span> GO111MODULE=on</span><br><span class=\"line\"><span class=\"built_in\">export</span> GOPROXY=<span class=\"string\">\"http://nexus.eryajf.net/repository/go/\"</span></span><br></pre></td></tr></tbody></table></figure><p>如果使用 <code>go1.13</code>以上的版本则可以用如下配置:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\"><span class=\"built_in\">export</span> GOPROXY=<span class=\"string\">\"http://nexus.eryajf.net/repository/go/\"</span></span><br><span class=\"line\">GONOPROXY=<span class=\"string\">\"gitlab.eryajf.net\"</span></span><br><span class=\"line\">GONOSUMDB=<span class=\"string\">\"gitlab.eryajf.net\"</span></span><br><span class=\"line\">GOPRIVATE=<span class=\"string\">\"gitlab.eryajf.net\"</span></span><br><span class=\"line\">GOSUMDB=<span class=\"string\">\"sum.golang.google.cn\"</span></span><br></pre></td></tr></tbody></table></figure><p>关于如上两个版本配置差异,以及配置参数详解可参考:<a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly93aWtpLmVyeWFqZi5uZXQvcGFnZXMvNDk0MS5odG1s\">https://wiki.eryajf.net/pages/4941.html</a></p><h3 id=\"Mirrors\"><a href=\"#Mirrors\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><ul><li>Aliyun<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmFsaXl1bi5jb20vZ29wcm94eS8\">https://mirrors.aliyun.com/goproxy/</a></li></ul></li><li>Proxy-cn<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9nb3Byb3h5LmNuLw\">https://goproxy.cn</a></li></ul></li><li>Proxy-io<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9wcm94eS5nb2xhbmcuY29tLmNuLw\">https://proxy.golang.com.cn</a></li></ul></li><li>Baidu<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9nb3Byb3h5LmJqLmJjZWJvcy5jb20v\">https://goproxy.bj.bcebos.com/</a></li></ul></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2hlbHAvZ28uaHRtbA\">Tencent</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2dvLw\">https://mirrors.cloud.tencent.com/go/</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9yZXBvc2l0b3J5L2dvcHJveHkv\">https://repo.huaweicloud.com/repository/goproxy/</a></li></ul></li></ul><p>其中<code>GOSUMDB</code>在国内可用的两个镜像分别如下:</p><ul><li>Google<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9zdW0uZ29sYW5nLmdvb2dsZS5jbi8\">https://sum.golang.google.cn/</a></li></ul></li><li>sumdb-io<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9nb3N1bS5pby8\">https://gosum.io/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Npm\"><a href=\"#Npm\" class=\"headerlink\" title=\"Npm\"></a>Npm</h2><h3 id=\"Configuration-1\"><a href=\"#Configuration-1\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>配置<code>npm</code>代理,需进行如下配置:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\"><span class=\"comment\"># npm配置</span></span><br><span class=\"line\">$ <span class=\"built_in\">echo</span> <span class=\"string\">'registry=http://nexus.eryajf.net/repository/npm'</span> &gt; ~/.npmrc</span><br><span class=\"line\"><span class=\"comment\"># 查看</span></span><br><span class=\"line\">$ npm config get registry</span><br><span class=\"line\">http://nexus.eryajf.net/repository/npm</span><br><span class=\"line\"></span><br><span class=\"line\"><span class=\"comment\"># yarn配置</span></span><br><span class=\"line\">$ <span class=\"built_in\">echo</span> <span class=\"string\">'registry \"http://nexus.eryajf.net/repository/npm\"'</span> &gt; ~/.yarnrc</span><br><span class=\"line\"><span class=\"comment\"># 查看</span></span><br><span class=\"line\">$ yarn config get registry</span><br><span class=\"line\">http://nexus.eryajf.net/repository/npm</span><br></pre></td></tr></tbody></table></figure><h3 id=\"Mirrors-1\"><a href=\"#Mirrors-1\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><ul><li>Taobao<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZWdpc3RyeS5ucG0udGFvYmFvLm9yZy8\">https://registry.npm.taobao.org</a><br>但是请注意如下一个消息:<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly96aHVhbmxhbi56aGlodS5jb20vcC80NjU0MjQ3Mjg_c3BtPWEyYzZoLjI0NzU1MzU5LjAuMC42ZDQ0NGRjY3lSTHhOOA\">淘宝 npm 域名即将切换 &amp;&amp; npmmirror 重构升级</a>:即原来的淘宝 npm 域名将停止解析,因此所有依赖此域名的都需要进行更改。<ul><li>域名切换规则:<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL25wbS50YW9iYW8ub3JnLw\">http://npm.taobao.org</a>=&gt; <a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL25wbW1pcnJvci5jb20v\">http://npmmirror.com</a></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL3JlZ2lzdHJ5Lm5wbS50YW9iYW8ub3JnLw\">http://registry.npm.taobao.org</a>=&gt; <a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL3JlZ2lzdHJ5Lm5wbW1pcnJvci5jb20v\">http://registry.npmmirror.com</a></li></ul></li></ul></li></ul></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9yZXBvc2l0b3J5L25wbS8\">https://repo.huaweicloud.com/repository/npm/</a></li></ul></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2hlbHAvbnBtLmh0bWw\">Tencent</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuY2xvdWQudGVuY2VudC5jb20vbnBtLw\">http://mirrors.cloud.tencent.com/npm/</a></li></ul></li><li>浙江大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuemp1LmVkdS5jbi9ucG0v\">http://mirrors.zju.edu.cn/npm/</a></li></ul></li><li>南京邮电<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLm5qdXB0LmVkdS5jbi9uZXh1cy9yZXBvc2l0b3J5L25wbS8\">https://mirrors.njupt.edu.cn/nexus/repository/npm/</a></li></ul></li><li>npmjs<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZWdpc3RyeS5ucG1qcy5vcmcv\">https://registry.npmjs.org</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Pip\"><a href=\"#Pip\" class=\"headerlink\" title=\"Pip\"></a>Pip</h2><h3 id=\"Configuration-2\"><a href=\"#Configuration-2\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>配置<code>Python</code>代理,需进行如下配置:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">$ <span class=\"built_in\">mkdir</span> ~/.pip</span><br><span class=\"line\"></span><br><span class=\"line\">$ <span class=\"built_in\">cat</span> &gt; ~/.pip/pip.conf &lt;&lt; <span class=\"string\">EOF</span></span><br><span class=\"line\"><span class=\"string\">[global]</span></span><br><span class=\"line\"><span class=\"string\">timeout = 60</span></span><br><span class=\"line\"><span class=\"string\">trusted-host = nexus.eryajf.net</span></span><br><span class=\"line\"><span class=\"string\">index-url = http://nexus.eryajf.net/repository/pypi/simple</span></span><br><span class=\"line\"><span class=\"string\">EOF</span></span><br><span class=\"line\"></span><br></pre></td></tr></tbody></table></figure><p><code>注意:</code>通常在配置文件后边,我们会添加一个<code>simple</code>。</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\"><span class=\"comment\"># 简洁配置方式 1</span></span><br><span class=\"line\">pip config <span class=\"built_in\">set</span> global.index-url https://pypi.tuna.tsinghua.edu.cn/simple</span><br><span class=\"line\"><span class=\"comment\"># 简洁配置方式 2 </span></span><br><span class=\"line\">pip3 install --upgrade -i https://pypi.tuna.tsinghua.edu.cn/simple yt-dlp</span><br></pre></td></tr></tbody></table></figure><h3 id=\"Mirrors-2\"><a href=\"#Mirrors-2\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><p>目前代理外部私仓有:</p><ul><li>Aliyun<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuYWxpeXVuLmNvbS9weXBpLw\">http://mirrors.aliyun.com/pypi/</a></li></ul></li><li>douban<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL3B5cGkuZG91YmFuLmNvbS8\">http://pypi.douban.com/</a></li></ul></li><li>清华<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9weXBpLnR1bmEudHNpbmdodWEuZWR1LmNuLw\">https://pypi.tuna.tsinghua.edu.cn/</a></li></ul></li><li>163<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLjE2My5jb20vcHlwaQ\">https://mirrors.163.com/pypi</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9yZXBvc2l0b3J5L3B5cGk\">https://repo.huaweicloud.com/repository/pypi</a></li></ul></li><li>Tencent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL3B5cGkv\">https://mirrors.cloud.tencent.com/pypi/</a></li></ul></li><li>北大<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnBrdS5lZHUuY24vcHlwaS8\">https://mirrors.pku.edu.cn/pypi/</a></li></ul></li><li>南阳理工<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3Iubnlpc3QuZWR1LmNuL3B5cGkv\">https://mirror.nyist.edu.cn/pypi/</a></li></ul></li><li>大连东软<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMubmV1c29mdC5lZHUuY24vcHlwaS93ZWIv\">http://mirrors.neusoft.edu.cn/pypi/web/</a></li></ul></li><li>哈尔滨工业大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmhpdC5lZHUuY24vcHlwaS93ZWIv\">https://mirrors.hit.edu.cn/pypi/web/</a></li></ul></li><li>上海交通大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3Iuc2p0dS5lZHUuY24vcHlwaS93ZWIvc2ltcGxlLw\">https://mirror.sjtu.edu.cn/pypi/web/simple/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Composer\"><a href=\"#Composer\" class=\"headerlink\" title=\"Composer\"></a>Composer</h2><p><em>Composer</em> 是 PHP 的一个依赖管理工具,需要 PHP 5.3.2 以上才能运行。</p><h3 id=\"Configuration-3\"><a href=\"#Configuration-3\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>配置<code>PHP</code>代理,需进行如下配置:</p><ul><li>全局配置(推荐)<ul><li>所有项目都会使用该镜像地址:<figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/</span><br></pre></td></tr></tbody></table></figure></li><li>取消配置:<figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">composer config -g --<span class=\"built_in\">unset</span> repos.packagist</span><br></pre></td></tr></tbody></table></figure></li></ul></li><li>项目配置<ul><li>仅修改当前工程配置,仅当前工程可使用该镜像地址:<figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">composer config repo.packagist composer https://mirrors.aliyun.com/composer/</span><br></pre></td></tr></tbody></table></figure></li><li>取消配置:<figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">composer config --<span class=\"built_in\">unset</span> repos.packagist</span><br></pre></td></tr></tbody></table></figure></li></ul></li></ul><p>参考:<a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kZXZlbG9wZXIuYWxpeXVuLmNvbS9jb21wb3Nlcg\">https://developer.aliyun.com/composer</a></p><h3 id=\"Mirrors-3\"><a href=\"#Mirrors-3\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><p>目前代理外部私仓有:</p><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kZXZlbG9wZXIuYWxpeXVuLmNvbS9jb21wb3Nlcg\">Aliyun</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmFsaXl1bi5jb20vY29tcG9zZXIv\">https://mirrors.aliyun.com/composer/</a></li></ul></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2hlbHAvY29tcG9zZXIuaHRtbA\">Tencent</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2NvbXBvc2VyLw\">https://mirrors.cloud.tencent.com/composer/</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmh1YXdlaWNsb3VkLmNvbS9yZXBvc2l0b3J5L3BocC8\">https://mirrors.huaweicloud.com/repository/php/</a></li></ul></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9wa2cueHl6Lw\">Packagist</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9wYWNrYWdpc3QucGhwY29tcG9zZXIuY29tLw\">https://packagist.phpcomposer.com</a></li></ul></li><li> 上海交通<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9wYWNrYWdpc3QubWlycm9ycy5zanR1Zy5zanR1LmVkdS5jbi8\">https://packagist.mirrors.sjtug.sjtu.edu.cn</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Rubygems\"><a href=\"#Rubygems\" class=\"headerlink\" title=\"Rubygems\"></a>Rubygems</h2><p><em>RubyGems</em> 是 Ruby 的一个包管理器,它提供一个分发 Ruby 程序和库的标准格式,还提供一个管理程序包安装的工具。</p><h3 id=\"Configuration-4\"><a href=\"#Configuration-4\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>配置<code>Ruby</code>代理,需进行如下配置:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\"><span class=\"comment\"># 首先,查看当前源:</span></span><br><span class=\"line\">$ gem sources -l</span><br><span class=\"line\">*** CURRENT SOURCES ***</span><br><span class=\"line\">https://rubygems.org/</span><br><span class=\"line\"></span><br><span class=\"line\"></span><br><span class=\"line\"><span class=\"comment\"># 接着,移除 https://rubygems.org/,并添加国内下载源 https://gems.ruby-china.com/。</span></span><br><span class=\"line\">$ gem sources --remove https://rubygems.org/</span><br><span class=\"line\">$ gem sources -a https://gems.ruby-china.com/</span><br><span class=\"line\">$ gem sources -l</span><br><span class=\"line\">*** CURRENT SOURCES ***</span><br><span class=\"line\"></span><br><span class=\"line\">https://gems.ruby-china.com/</span><br><span class=\"line\"></span><br><span class=\"line\"><span class=\"comment\"># 请确保只有 gems.ruby-china.com</span></span><br><span class=\"line\">$ gem install rails</span><br></pre></td></tr></tbody></table></figure><p>参考:<a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly93d3cucnVub29iLmNvbS9ydWJ5L3J1YnktcnVieWdlbXMuaHRtbA\">https://www.runoob.com/ruby/ruby-rubygems.html</a></p><h3 id=\"Mirrors-4\"><a href=\"#Mirrors-4\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><p>目前代理外部私仓有:</p><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kZXZlbG9wZXIuYWxpeXVuLmNvbS9taXJyb3IvcnVieWdlbXM\">Aliyun</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmFsaXl1bi5jb20vcnVieWdlbXMv\">https://mirrors.aliyun.com/rubygems/</a></li></ul></li><li>Tencent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL3J1YnlnZW1zLw\">https://mirrors.cloud.tencent.com/rubygems/</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9yZXBvc2l0b3J5L3J1YnlnZW1zLw\">https://repo.huaweicloud.com/repository/rubygems/</a></li></ul></li><li>清华<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnR1bmEudHNpbmdodWEuZWR1LmNuL3J1YnlnZW1zLw\">https://mirrors.tuna.tsinghua.edu.cn/rubygems/</a></li></ul></li><li>中科大<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnVzdGMuZWR1LmNuL3J1YnlnZW1zLw\">https://mirrors.ustc.edu.cn/rubygems/</a></li></ul></li><li>北京外国语大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmJmc3UuZWR1LmNuL3J1YnlnZW1zLw\">https://mirrors.bfsu.edu.cn/rubygems/</a></li></ul></li><li>哈尔滨工业大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmhpdC5lZHUuY24vcnVieWdlbXMv\">https://mirrors.hit.edu.cn/rubygems/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Maven\"><a href=\"#Maven\" class=\"headerlink\" title=\"Maven\"></a>Maven</h2><h3 id=\"Configuration-5\"><a href=\"#Configuration-5\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>Java 系的工具版本规范如下:</p><ul><li><code>JDK:</code>1.8.0_292</li><li><code>MVN:</code>3.3.9</li></ul><p>配置 Maven 代理,参考配置文件: <a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL2VyeWFqZi9UaGFua3MtTWlycm9yL21haW4vc3JjL3NldHRpbmdzLnhtbA\">settings.xml</a></p><h3 id=\"Mirrors-5\"><a href=\"#Mirrors-5\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><ul><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9yZXBvc2l0b3J5L21hdmVuLw\">https://repo.huaweicloud.com/repository/maven/</a></li></ul></li><li>Maven Central Repository<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvMS5tYXZlbi5vcmcvbWF2ZW4yLw\">https://repo1.maven.org/maven2/</a></li></ul></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kZXZlbG9wZXIuYWxpeXVuLmNvbS9tdm4vZ3VpZGU\">Aliyun</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21hdmVuLmFsaXl1bi5jb20vbmV4dXMvY29udGVudC9ncm91cHMvcHVibGljLw\">http://maven.aliyun.com/nexus/content/groups/public/</a></li></ul></li><li>Tencent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL21hdmVuLw\">https://mirrors.cloud.tencent.com/maven/</a></li></ul></li><li>南京邮电<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLm5qdXB0LmVkdS5jbi9uZXh1cy9yZXBvc2l0b3J5L21hdmVuLWNlbnRyYWw\">https://mirrors.njupt.edu.cn/nexus/repository/maven-central</a></li></ul></li><li>Apache Maven<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLm1hdmVuLmFwYWNoZS5vcmcvbWF2ZW4y\">https://repo.maven.apache.org/maven2</a></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvc2l0b3J5LmFwYWNoZS5vcmcvY29udGVudC9ncm91cHMvc25hcHNob3Rz\">https://repository.apache.org/content/groups/snapshots</a></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvc2l0b3J5LmFwYWNoZS5vcmcvY29udGVudC9ncm91cHMvc3RhZ2luZy8\">https://repository.apache.org/content/groups/staging/</a></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvc2l0b3J5LmFwYWNoZS5vcmcvY29udGVudC9ncm91cHMvcHVibGljLw\">https://repository.apache.org/content/groups/public/</a></li></ul></li><li>confluent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL3BhY2thZ2VzLmNvbmZsdWVudC5pby9tYXZlbi8\">http://packages.confluent.io/maven/</a></li></ul></li><li>cloudera<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL3JlcG8uaG9ydG9ud29ya3MuY29tL2NvbnRlbnQvcmVwb3NpdG9yaWVzL3JlbGVhc2Vz\">http://repo.hortonworks.com/content/repositories/releases</a></li></ul></li><li>jboss<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvc2l0b3J5Lmpib3NzLm9yZy9uZXh1cy9jb250ZW50L2dyb3Vwcy9wdWJsaWM\">https://repository.jboss.org/nexus/content/groups/public</a></li></ul></li><li>Lss233's.Mirror(供 Minecraft 开发使用)<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL2xzczIzMy5saXR0bGVzZXJ2aWNlLmNuL3JlcG9zaXRvcmllcy9taW5lY3JhZnQ\">http://lss233.littleservice.cn/repositories/minecraft</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Yum\"><a href=\"#Yum\" class=\"headerlink\" title=\"Yum\"></a>Yum</h2><h3 id=\"Configuration-6\"><a href=\"#Configuration-6\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>如果<code>CentOS</code>服务器要接入私服<code>yum</code>源,则清空本地 <code>/etc/yum.repos.d</code>的内容,添加如下内容:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">$ <span class=\"built_in\">cat</span> &gt;&gt; /etc/yum.repos.d/nexus.repo &lt;&lt; <span class=\"string\">'EOF'</span></span><br><span class=\"line\">[nexus]</span><br><span class=\"line\">name=Nexus Repository</span><br><span class=\"line\">baseurl=http://nexus.eryajf.net/repository/yum/<span class=\"variable\">$releasever</span>/os/<span class=\"variable\">$basearch</span>/</span><br><span class=\"line\">enabled=1</span><br><span class=\"line\">gpgcheck=0</span><br><span class=\"line\"></span><br><span class=\"line\">[nexus-local]</span><br><span class=\"line\">name=Nexus Repository</span><br><span class=\"line\">baseurl=http://nexus.eryajf.net/repository/eryajf-yum-local/</span><br><span class=\"line\">enabled=1</span><br><span class=\"line\">gpgcheck=0</span><br><span class=\"line\">EOF</span><br></pre></td></tr></tbody></table></figure><p>然后执行如下命令:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">yum clean all</span><br><span class=\"line\">yum makecache</span><br></pre></td></tr></tbody></table></figure><h3 id=\"Mirrors-6\"><a href=\"#Mirrors-6\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><p>目前代理外部源:</p><ul><li>Aliyun<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmFsaXl1bi5jb20vY2VudG9zLw\">https://mirrors.aliyun.com/centos/</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9jZW50b3Mv\">https://repo.huaweicloud.com/centos/</a></li></ul></li><li>Tencent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2NlbnRvcy8\">https://mirrors.cloud.tencent.com/centos/</a></li></ul></li><li>北京交通<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3IuYmp0dS5lZHUuY24vY2VudG9zLw\">https://mirror.bjtu.edu.cn/centos/</a></li></ul></li><li>东北大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvci5uZXUuZWR1LmNuL2NlbnRvcy8\">http://mirror.neu.edu.cn/centos/</a></li></ul></li><li>兰州大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3IubHp1LmVkdS5jbi9jZW50b3Mv\">https://mirror.lzu.edu.cn/centos/</a></li></ul></li><li>清华<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnR1bmEudHNpbmdodWEuZWR1LmNuL2NlbnRvcy8\">https://mirrors.tuna.tsinghua.edu.cn/centos/</a></li></ul></li><li>华中科技大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnVzdGMuZWR1LmNuL2NlbnRvcy8\">https://mirrors.ustc.edu.cn/centos/</a></li></ul></li><li>浙江大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuemp1LmVkdS5jbi9jZW50b3Mv\">http://mirrors.zju.edu.cn/centos/</a></li></ul></li><li>souhu<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuc29odS5jb20vY2VudG9zLw\">http://mirrors.sohu.com/centos/</a></li></ul></li><li>163:<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuMTYzLmNvbS9jZW50b3Mv\">http://mirrors.163.com/centos/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Remi\"><a href=\"#Remi\" class=\"headerlink\" title=\"Remi\"></a>Remi</h2><p>Remi repository 是包含最新版本 PHP 和 MySQL 包的 Linux 源,由 Remi 提供维护。</p><p>官方地址:<a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9ycG1zLnJlbWlyZXBvLm5ldC8\">https://rpms.remirepo.net/</a></p><h3 id=\"Configuration-7\"><a href=\"#Configuration-7\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>详情参考:<a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly93aWtpLmVyeWFqZi5uZXQvcGFnZXMvZjM1OTg2\">https://wiki.eryajf.net/pages/f35986</a></p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">yum install -y epel-release</span><br><span class=\"line\">yum install -y https://mirrors.tuna.tsinghua.edu.cn/remi/enterprise/remi-release-7.rpm</span><br></pre></td></tr></tbody></table></figure><h3 id=\"Mirrors-7\"><a href=\"#Mirrors-7\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><p>目前代理外部源:</p><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kZXZlbG9wZXIuYWxpeXVuLmNvbS9taXJyb3IvcmVtaQ\">Aliyun</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmFsaXl1bi5jb20vcmVtaS8\">https://mirrors.aliyun.com/remi/</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9yZW1pLw\">https://repo.huaweicloud.com/remi/</a></li></ul></li><li>清华<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnR1bmEudHNpbmdodWEuZWR1LmNuL3JlbWkv\">https://mirrors.tuna.tsinghua.edu.cn/remi/</a></li></ul></li><li>中科大<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnVzdGMuZWR1LmNuL3JlbWkv\">https://mirrors.ustc.edu.cn/remi/</a></li></ul></li><li>上海交通<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL2Z0cC5zanR1LmVkdS5jbi9yZW1pLw\">http://ftp.sjtu.edu.cn/remi/</a></li></ul></li><li>首都在线<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMueXVuLWlkYy5jb20vcmVtaS8\">http://mirrors.yun-idc.com/remi/</a></li></ul></li><li>北京外国语大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmJmc3UuZWR1LmNuL3JlbWkv\">https://mirrors.bfsu.edu.cn/remi/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Epel\"><a href=\"#Epel\" class=\"headerlink\" title=\"Epel\"></a>Epel</h2><p>EPEL 的全称叫 Extra Packages for Enterprise Linux。EPEL 是由 Fedora 社区打造,为 RHEL 及衍生发行版如 CentOS、Scientific Linux 等提供高质量软件包的项目。</p><p>官方地址:<a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kb2NzLmZlZG9yYXByb2plY3Qub3JnL2VuLVVTL2VwZWwv\">https://docs.fedoraproject.org/en-US/epel/</a></p><h3 id=\"Configuration-8\"><a href=\"#Configuration-8\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\"><span class=\"comment\"># 备份</span></span><br><span class=\"line\"><span class=\"built_in\">mv</span> /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel.repo.backup</span><br><span class=\"line\"><span class=\"built_in\">mv</span> /etc/yum.repos.d/epel-testing.repo /etc/yum.repos.d/epel-testing.repo.backup</span><br><span class=\"line\"></span><br><span class=\"line\"><span class=\"comment\"># 下载</span></span><br><span class=\"line\">wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo</span><br></pre></td></tr></tbody></table></figure><h3 id=\"Mirrors-8\"><a href=\"#Mirrors-8\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><p>目前代理外部源:</p><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kZXZlbG9wZXIuYWxpeXVuLmNvbS9taXJyb3IvZXBlbA\">Aliyun</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmFsaXl1bi5jb20vZXBlbC8\">https://mirrors.aliyun.com/epel/</a></li></ul></li><li>Tencent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2VwZWwv\">https://mirrors.cloud.tencent.com/epel/</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9lcGVsLw\">https://repo.huaweicloud.com/epel/</a></li></ul></li><li>清华<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnR1bmEudHNpbmdodWEuZWR1LmNuL2VwZWwv\">https://mirrors.tuna.tsinghua.edu.cn/epel/</a></li></ul></li><li>中科大<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnVzdGMuZWR1LmNuL2VwZWwv\">https://mirrors.ustc.edu.cn/epel/</a></li></ul></li><li>浙江大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuemp1LmVkdS5jbi9lcGVsLw\">http://mirrors.zju.edu.cn/epel/</a></li></ul></li><li>兰州大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3IubHp1LmVkdS5jbi9lcGVsLw\">https://mirror.lzu.edu.cn/epel/</a></li></ul></li><li>上海交通<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL2Z0cC5zanR1LmVkdS5jbi9lcGVsLw\">http://ftp.sjtu.edu.cn/epel/</a></li></ul></li><li>首都在线<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMueXVuLWlkYy5jb20vZXBlbC8\">http://mirrors.yun-idc.com/epel/</a></li></ul></li><li>大连东软<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMubmV1c29mdC5lZHUuY24vZXBlbC8\">http://mirrors.neusoft.edu.cn/epel/</a></li></ul></li><li>大连理工<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvci5kbHV0LmVkdS5jbi9lcGVsLw\">http://mirror.dlut.edu.cn/epel/</a></li></ul></li><li>南京邮电<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMubmp1cHQuZWR1LmNuL2VwZWwv\">http://mirrors.njupt.edu.cn/epel/</a></li></ul></li><li>重庆大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNxdS5lZHUuY24vZXBlbC8\">https://mirrors.cqu.edu.cn/epel/</a></li></ul></li><li>北京外国语大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmJmc3UuZWR1LmNuL2VwZWwv\">https://mirrors.bfsu.edu.cn/epel/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Homebrew\"><a href=\"#Homebrew\" class=\"headerlink\" title=\"Homebrew\"></a>Homebrew</h2><h3 id=\"Configuration-9\"><a href=\"#Configuration-9\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>如果你使用了 zsh,那么配置方式如下:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\"><span class=\"built_in\">echo</span> <span class=\"string\">'export HOMEBREW_BREW_GIT_REMOTE=\"https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git\"'</span> &gt;&gt; ~/.zshrc</span><br><span class=\"line\"><span class=\"built_in\">echo</span> <span class=\"string\">'export HOMEBREW_CORE_GIT_REMOTE=\"https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git\"'</span> &gt;&gt; ~/.zshrc</span><br><span class=\"line\"><span class=\"built_in\">echo</span> <span class=\"string\">'export HOMEBREW_BOTTLE_DOMAIN=\"https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles\"'</span> &gt;&gt; ~/.zshrc</span><br><span class=\"line\"></span><br><span class=\"line\"><span class=\"built_in\">source</span> ~/.zshrc</span><br><span class=\"line\">brew update</span><br></pre></td></tr></tbody></table></figure><p>参考:<a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly93d3cuZnJhbmtpbmRldi5jb20vMjAyMC8wNS8xNS9yZXBsYWNlLWhvbWVicmV3LXNvdXJjZS8\">Homebrew 替换国内镜像源</a></p><h3 id=\"Mirrors-9\"><a href=\"#Mirrors-9\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><ul><li>Aliyun<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmFsaXl1bi5jb20vaG9tZWJyZXcv\">https://mirrors.aliyun.com/homebrew/</a></li></ul></li><li>Tencent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2hvbWVicmV3Lw\">https://mirrors.cloud.tencent.com/homebrew/</a></li></ul></li><li>清华:<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnR1bmEudHNpbmdodWEuZWR1LmNuL2hlbHAvaG9tZWJyZXcv\">https://mirrors.tuna.tsinghua.edu.cn/help/homebrew/</a></li></ul></li><li>重庆大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNxdS5lZHUuY24vaG9tZWJyZXcv\">https://mirrors.cqu.edu.cn/homebrew/</a></li></ul></li><li>北京外国语大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmJmc3UuZWR1LmNuL2hlbHAvaG9tZWJyZXcv\">https://mirrors.bfsu.edu.cn/help/homebrew/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"cargo\"><a href=\"#cargo\" class=\"headerlink\" title=\"cargo\"></a>cargo</h2><p>rust 包管理镜像源</p><h3 id=\"Configuration-10\"><a href=\"#Configuration-10\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>修改文件<code>~/.cargo/config</code> (没有则新建)</p><figure class=\"highlight plaintext\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">[source.crates-io]</span><br><span class=\"line\">replace-with = 'rsproxy'</span><br><span class=\"line\"></span><br><span class=\"line\">[source.rsproxy]</span><br><span class=\"line\">registry = \"https://rsproxy.cn/crates.io-index\"</span><br><span class=\"line\"></span><br><span class=\"line\">[registries.rsproxy]</span><br><span class=\"line\">index = \"https://rsproxy.cn/crates.io-index\"</span><br><span class=\"line\"></span><br><span class=\"line\">[net]</span><br><span class=\"line\">git-fetch-with-cli = true</span><br></pre></td></tr></tbody></table></figure><h3 id=\"Mirrors-10\"><a href=\"#Mirrors-10\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><ul><li>字节<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yc3Byb3h5LmNuL2NyYXRlcy5pby1pbmRleA\">https://rsproxy.cn/crates.io-index</a></li></ul></li><li> 中国科学技术大学<ul><li>git://mirrors.ustc.edu.cn/crates.io-index</li></ul></li><li>清华:<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnR1bmEudHNpbmdodWEuZWR1LmNuL2dpdC9jcmF0ZXMuaW8taW5kZXguZ2l0\">https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git</a></li></ul></li><li> 上海交通大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnNqdHVnLnNqdHUuZWR1LmNuL2dpdC9jcmF0ZXMuaW8taW5kZXg\">https://mirrors.sjtug.sjtu.edu.cn/git/crates.io-index</a></li></ul></li><li> 阿里云<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9jb2RlLmFsaXl1bi5jb20vcnVzdGNjL2NyYXRlcy5pby1pbmRleA\">https://code.aliyun.com/rustcc/crates.io-index</a></li></ul></li><li> 北京外国语大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmJmc3UuZWR1LmNuL2dpdC9jcmF0ZXMuaW8taW5kZXguZ2l0\">https://mirrors.bfsu.edu.cn/git/crates.io-index.git</a></li></ul></li><li>rustcc 社区<ul><li>git://crates.rustcc.cn/crates.io-index</li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Software-Mirror\"><a href=\"#Software-Mirror\" class=\"headerlink\" title=\"Software-Mirror\"></a>Software-Mirror</h2><p>还有一些软件,直接通过官方下载比较困难,也整理出方便下载的国内优质镜像。</p></div><div class=\"story post-story\"><h2 id=\"Docker\"><a href=\"#Docker\" class=\"headerlink\" title=\"Docker\"></a>Docker</h2><h3 id=\"Official\"><a href=\"#Official\" class=\"headerlink\" title=\"Official\"></a>Official</h3><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kb2NzLmRvY2tlci5jb20vZW5naW5lL2luc3RhbGwv\">https://docs.docker.com/engine/install/</a></li></ul><h3 id=\"Mirrors-11\"><a href=\"#Mirrors-11\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><ul><li>Aliyun<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kZXZlbG9wZXIuYWxpeXVuLmNvbS9taXJyb3IvZG9ja2VyLWNl\">https://developer.aliyun.com/mirror/docker-ce</a></li></ul></li><li>Tencent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2RvY2tlci1jZS8\">https://mirrors.cloud.tencent.com/docker-ce/</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9kb2NrZXItY2Uv\">https://repo.huaweicloud.com/docker-ce/</a></li></ul></li><li>北大<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnBrdS5lZHUuY24vZG9ja2VyLWNlLw\">https://mirrors.pku.edu.cn/docker-ce/</a></li></ul></li><li>清华<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnR1bmEudHNpbmdodWEuZWR1LmNuL2RvY2tlci1jZS8\">https://mirrors.tuna.tsinghua.edu.cn/docker-ce/</a></li></ul></li><li>中科大<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnVzdGMuZWR1LmNuL2RvY2tlci1jZS8\">https://mirrors.ustc.edu.cn/docker-ce/</a></li></ul></li><li>西北农林科技大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLm53c3VhZi5lZHUuY24vZG9ja2VyLWNlLw\">https://mirrors.nwsuaf.edu.cn/docker-ce/</a></li></ul></li><li>浙江大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuemp1LmVkdS5jbi9kb2NrZXItY2Uv\">http://mirrors.zju.edu.cn/docker-ce/</a></li></ul></li><li>北京外国语大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmJmc3UuZWR1LmNuL2RvY2tlci1jZS8\">https://mirrors.bfsu.edu.cn/docker-ce/</a></li></ul></li><li>哈尔滨工业大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmhpdC5lZHUuY24vZG9ja2VyLWNl\">https://mirrors.hit.edu.cn/docker-ce</a></li></ul></li><li> 上海交通<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3Iuc2p0dS5lZHUuY24vZG9ja2VyLWNlLw\">https://mirror.sjtu.edu.cn/docker-ce/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Kubernetes\"><a href=\"#Kubernetes\" class=\"headerlink\" title=\"Kubernetes\"></a>Kubernetes</h2><h3 id=\"Official-1\"><a href=\"#Official-1\" class=\"headerlink\" title=\"Official\"></a>Official</h3><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9rdWJlcm5ldGVzLmlvL3JlbGVhc2VzL2Rvd25sb2FkLw\">https://kubernetes.io/releases/download"12
Show all 7 findings (low-signal and informational)
SeverityKindPathDetailPoints
mediumRemote Payloadpackage/notes/package-mirror/index.html.jsmatched "github.com/volantis-x/hexo-theme-volantis/#6.0.4\"><meta name=\"generator\" content=\"Hexo 8.1.2\"><meta name=\"Volantis\" content=\"6.0.4\"><meta charset=\"utf-8\"><meta name=\"robots\" content=\"index,follow, max-image-preview:large\"><link rel=\"canonical\" href=\"https://blog.mhuig.top/notes/package-mirror/\"><meta http-equiv=\"x-dns-prefetch-control\" content=\"on\"><link rel=\"dns-prefetch\" href=\"https://static.mhuig.top\"><link rel=\"preconnect\" href=\"https://static.mhuig.top\" crossorigin=\"\"><link rel=\"dns-prefetch\" href=\"https://cdnjs.cloudflare.com\"><link rel=\"preconnect\" href=\"https://cdnjs.cloudflare.com\" crossorigin=\"\"><meta name=\"renderer\" content=\"webkit\"><meta name=\"force-rendering\" content=\"webkit\"><meta http-equiv=\"X-UA-Compatible\" content=\"IE=Edge,chrome=1\"><meta name=\"HandheldFriendly\" content=\"True\"><meta name=\"mobile-web-app-capable\" content=\"yes\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1,maximum-scale=5\"><meta content=\"black-translucent\" name=\"apple-mobile-web-app-status-bar-style\"><meta content=\"telephone=no\" name=\"format-detection\"><script>function registerServiceWorker(e){\"localhost\"!=window.location.hostname&&\"serviceWorker\"in navigator&&navigator.serviceWorker.register(`${e}`).then((function(e){\"localhost\"==window.location.hostname&&(e.onupdatefound=function(){var r=e.installing;r.onstatechange=function(){switch(r.state){case\"installed\":navigator.serviceWorker.controller?console.log(\"Updated Service Worker.\"):console.log(\"Service Worker Sucess!\");break;case\"redundant\":console.log(\"The installing service worker became redundant.\")}}})})).catch((function(e){console.error(\"Error during service worker registration:\",e),\"undefined\"==typeof swinstallretry&&(swinstallretry=1,registerServiceWorker(\"/jquery.js\"))}))}registerServiceWorker(\"/jquery.js\")</script><link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/lib/favicon/apple-touch-icon.png\"><link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/lib/favicon/favicon-32x32.png\"><link rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/lib/favicon/android-chrome-192x192.png\"><link rel=\"icon\" type=\"image/png\" sizes=\"144x144\" href=\"/lib/favicon/android-chrome-144x144.png\"><link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/lib/favicon/favicon-16x16.png\"><link rel=\"manifest\" href=\"/lib/favicon/site.webmanifest\"><link rel=\"mask-icon\" href=\"/lib/favicon/safari-pinned-tab.svg\" color=\"#5bbad5\"><meta name=\"apple-mobile-web-app-title\" content=\"MHuiG Magicland\"><meta name=\"apple-mobile-web-app-status-bar-style\" content=\"black\"><meta name=\"application-name\" content=\"MHuiG Magicland\"><meta name=\"msapplication-TileColor\" content=\"#87ceeb\"><meta name=\"msapplication-TileImage\" content=\"/lib/favicon/mstile-144x144.png\"><meta name=\"theme-color\" content=\"#87ceeb\" media=\"(prefers-color-scheme: light)\"><meta name=\"theme-color\" content=\"#21232f\" media=\"(prefers-color-scheme: dark)\"><link href=\"/opensearch.xml\" rel=\"search\" title=\"MHuiG Magicland\" type=\"application/opensearchdescription+xml\"><link rel=\"sitemap\" type=\"application/xml\" title=\"MHuiG Blog Site Map\" href=\"https://blog.mhuig.top/sitemap.xml\"><link rel=\"author\" href=\"https://mhuig.top\"><meta name=\"author\" content=\"MHuiG\"><meta name=\"creator\" content=\"MHuiG\"><link rel=\"archives\" href=\"https://blog.mhuig.top/archives/\"><meta http-equiv=\"Content-Security-Policy\" content=\"frame-src 'self' https://giscus.app https://bilibili.com https://player.bilibili.com https://www.bilibili.com https://*.bilibili.com\"><script>const blockList=[\"bad-domain.com\",\"www.cdnboostcache.com\"];function blockIframe(){document.querySelectorAll(\"iframe\").forEach((e=>{try{const o=new URL(e.src).hostname;blockList.some((e=>o===e||o.endsWith(`.${e}`)))&&e.remove()}catch(e){}}))}document.addEventListener(\"DOMContentLoaded\",(function(){blockIframe();new MutationObserver(blockIframe).observe(document.body,{childList:!0,subtree:!0})}))</script><link rel=\"preload\" href=\"/css/style.css\" as=\"style\"><link rel=\"preload\" href=\"https://static.mhuig.top/npm/[email protected]/media/fonts/VarelaRound/VarelaRound-Regular.ttf\" as=\"font\" type=\"font/ttf\" crossorigin=\"anonymous\"><link rel=\"preload\" href=\"https://static.mhuig.top/npm/[email protected]/media/fonts/VarelaRound/VarelaRound-Regular.ttf\" as=\"font\" type=\"font/ttf\" crossorigin=\"anonymous\"><link rel=\"alternate\" href=\"/atom.xml\" title=\"Magicland\" type=\"application/atom+xml\"><link rel=\"alternate\" href=\"/rss2.xml\" title=\"Magicland\" type=\"application/rss+xml\"><title>Package Mirror - Magicland</title><meta name=\"keywords\" content=\"package manager, mirror,包管理器镜像,系统镜像配置,国内镜像源,MHuiG, @MHuiG, Blog, 博客, Magicland, 魔法世界\"><meta desc=\"\" name=\"description\" content=\"本文整理Go、npm、pip等主流包管理器及Docker、Kubernetes等开发工具的国内镜像配置方法,提供阿里云、华为云等多平台镜像地址,附nexus私服代理方案与版本适配指南,解决软件下载慢问题。 - MHuiG - Magicland\"><meta property=\"og:type\" content=\"website\"><meta property=\"og:title\" content=\"Package Mirror\"><meta property=\"og:url\" content=\"https://blog.mhuig.top/notes/package-mirror/\"><meta property=\"og:site_name\" content=\"Magicland\"><meta property=\"og:description\" content=\"本文整理Go、npm、pip等主流包管理器及Docker、Kubernetes等开发工具的国内镜像配置方法,提供阿里云、华为云等多平台镜像地址,附nexus私服代理方案与版本适配指南,解决软件下载慢问题。\"><meta property=\"og:locale\"><meta property=\"og:image\" content=\"https://blog.mhuig.top/lib/favicon/android-chrome-192x192.png\"><meta property=\"article:published_time\" content=\"2022-06-29T06:20:00.000Z\"><meta property=\"article:modified_time\" content=\"2025-11-20T10:18:00.000Z\"><meta property=\"article:author\" content=\"MHuiG\"><meta property=\"article:tag\" content=\"mirror\"><meta property=\"article:tag\" content=\"包管理器镜像\"><meta property=\"article:tag\" content=\"国内镜像源\"><meta property=\"article:tag\" content=\"系统镜像配置\"><meta name=\"twitter:card\" content=\"summary\"><meta name=\"twitter:image\" content=\"https://blog.mhuig.top/lib/favicon/android-chrome-192x192.png\"><meta name=\"twitter:creator\" content=\"@iMHuiG\"><meta name=\"twitter:site\" content=\"@iMHuiG\"><style>#safearea{display:none}.post-story+.post-story{content-visibility:auto;contain-intrinsic-size:10px 500px}:root{--color-site-body:#87ceeb;--color-site-bg:#87ceeb;--color-site-inner:#555;--color-site-footer:#666;--color-card:#fff;--color-text:#444;--color-block:#f6f6f6;--color-inlinecode:#d56d28;--color-codeblock:#fff7ea;--color-h1:#3a3a3a;--color-h2:#3a3a3a;--color-h3:#333;--color-h4:#444;--color-h5:#555;--color-h6:#666;--color-p:#444;--color-list:#666;--color-list-hl:#1a78c2;--color-meta:#888;--color-read-bkg:#e0d8c8;--color-read-post:#f8f1e2;--color-copyright-bkg:#f5f5f5}*{box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;outline:0;margin:0;padding:0}::-webkit-scrollbar{height:4px;width:4px}::-webkit-scrollbar-track-piece{background:0 0}::-webkit-scrollbar-thumb{background:#2196f3;cursor:pointer;border-radius:2px;-webkit-border-radius:2px}::-webkit-scrollbar-thumb:hover{background:#ff5722}html{color:var(--color-text);width:100%;height:100%;font-family:\"Varela Round\",\"PingFang SC\",\"Microsoft YaHei\",Helvetica,Arial,Menlo,Monaco,monospace,sans-serif;font-size:16px}html>::-webkit-scrollbar{height:4px;width:4px}html>::-webkit-scrollbar-track-piece{background:0 0}html>::-webkit-scrollbar-thumb{background:#2196f3;cursor:pointer;border-radius:2px;-webkit-border-radius:2px}html>::-webkit-scrollbar-thumb:hover{background:#ff5722}body{background-color:var(--color-site-body);text-rendering:optimizelegibility;-webkit-tap-highlight-color:transparent;line-height:1.6;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body.modal-active{overflow:hidden}@media screen and (max-width:680px){body.modal-active{position:fixed;top:0;right:0;bottom:0;left:0}}a{color:#2196f3;cursor:pointer;text-decoration:none;transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}a:hover{color:#ff5722}a:active,a:hover{outline:0}ol,ul{padding-left:0}ol li,ul li{list-style:none}header{display:-webkit-box;display:-moz-box;display:block}img{border:0;background:0 0;max-width:100%}svg:not(:root){overflow:hidden}hr{-moz-box-sizing:content-box;box-sizing:content-box;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;height:0;border:0;border-radius:1px;-webkit-border-radius:1px;border-bottom:1px solid rgba(68,68,68,.1)}button,input{color:inherit;font:inherit;margin:0}button{overflow:visible;text-transform:none;-webkit-appearance:button;cursor:pointer}@supports (backdrop-filter:blur(20px)){.blur{background:rgba(255,255,255,.9)!important;backdrop-filter:saturate(200%) blur(20px)}}.shadow{box-shadow:0 1px 2px 0 rgba(0,0,0,.1);-webkit-box-shadow:0 1px 2px 0 rgba(0,0,0,.1)}.shadow.floatable{transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}.shadow.floatable:hover{box-shadow:0 2px 4px 0 rgba(0,0,0,.1),0 4px 8px 0 rgba(0,0,0,.1),0 8px 16px 0 rgba(0,0,0,.1);-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,.1),0 4px 8px 0 rgba(0,0,0,.1),0 8px 16px 0 rgba(0,0,0,.1)}#l_cover{min-height:64px}.cover-wrapper{top:0;left:0;max-width:100%;height:100vh;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;flex-wrap:nowrap;-webkit-flex-wrap:nowrap;-khtml-flex-wrap:nowrap;-moz-flex-wrap:nowrap;-o-flex-wrap:nowrap;-ms-flex-wrap:nowrap;-webkit-box-direction:normal;-moz-box-direction:normal;-webkit-box-orient:vertical;-moz-box-orient:vertical;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;align-items:center;align-self:center;align-content:center;color:var(--color-site-inner);padding:0 16px;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;position:relative;overflow:hidden;margin-bottom:-100px}.cover-wrapper .cover-bg{position:absolute;width:100%;height:100%;background-position:center;background-size:cover;-webkit-background-size:cover;-moz-background-size:cover}.cover-wrapper .cover-bg.lazyload:not(.loaded){opacity:0;-webkit-opacity:0;-moz-opacity:0}.cover-wrapper .cover-bg.lazyload.loaded{animation-delay:0s;animation-duration:.5s;animation-fill-mode:forwards;animation-timing-function:ease-out;animation-name:fadeIn}@-moz-keyframes fadeIn{0%{opacity:0;-webkit-opacity:0;-moz-opacity:0;filter:blur(12px);transform:scale(1.02);-webkit-transform:scale(1.02);-khtml-transform:scale(1.02);-moz-transform:scale(1.02);-o-transform:scale(1.02);-ms-transform:scale(1.02)}100%{opacity:1;-webkit-opacity:1;-moz-opacity:1}}@-webkit-keyframes fadeIn{0%{opacity:0;-webkit-opacity:0;-moz-opacity:0;filter:blur(12px);transform:scale(1.02);-webkit-transform:scale(1.02);-khtml-transform:scale(1.02);-moz-transform:scale(1.02);-o-transform:scale(1.02);-ms-transform:scale(1.02)}100%{opacity:1;-webkit-opacity:1;-moz-opacity:1}}@-o-keyframes fadeIn{0%{opacity:0;-webkit-opacity:0;-moz-opacity:0;filter:blur(12px);transform:scale(1.02);-webkit-transform:scale(1.02);-khtml-transform:scale(1.02);-moz-transform:scale(1.02);-o-transform:scale(1.02);-ms-transform:scale(1.02)}100%{opacity:1;-webkit-opacity:1;-moz-opacity:1}}@keyframes fadeIn{0%{opacity:0;-webkit-opacity:0;-moz-opacity:0;filter:blur(12px);transform:scale(1.02);-webkit-transform:scale(1.02);-khtml-transform:scale(1.02);-moz-transform:scale(1.02);-o-transform:scale(1.02);-ms-transform:scale(1.02)}100%{opacity:1;-webkit-opacity:1;-moz-opacity:1}}.cover-wrapper .cover-body{z-index:1;position:relative;width:100%;height:100%}.cover-wrapper#full{height:calc(100vh + 100px);padding-bottom:100px}.cover-wrapper#half{max-height:640px;min-height:400px;height:calc(36vh - 64px + 200px)}.cover-wrapper #scroll-down{width:100%;height:64px;position:absolute;bottom:100px;text-align:center;cursor:pointer}.cover-wrapper #scroll-down .scroll-down-effects{color:#fff;font-size:24px;line-height:64px;position:absolute;width:24px;left:calc(50% - 12px);text-shadow:0 1px 2px rgba(0,0,0,.1);animation:scroll-down-effect 1.5s infinite;-webkit-animation:scroll-down-effect 1.5s infinite;-khtml-animation:scroll-down-effect 1.5s infinite;-moz-animation:scroll-down-effect 1.5s infinite;-o-animation:scroll-down-effect 1.5s infinite;-ms-animation:scroll-down-effect 1.5s infinite}@-moz-keyframes scroll-down-effect{0%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}50%{top:-16px;opacity:.4;-webkit-opacity:0.4;-moz-opacity:0.4}100%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}}@-webkit-keyframes scroll-down-effect{0%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}50%{top:-16px;opacity:.4;-webkit-opacity:0.4;-moz-opacity:0.4}100%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}}@-o-keyframes scroll-down-effect{0%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}50%{top:-16px;opacity:.4;-webkit-opacity:0.4;-moz-opacity:0.4}100%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}}@keyframes scroll-down-effect{0%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}50%{top:-16px;opacity:.4;-webkit-opacity:0.4;-moz-opacity:0.4}100%{top:0;opacity:1;-webkit-opacity:1;-moz-opacity:1}}.cover-wrapper .cover-body{margin-top:64px;margin-bottom:100px}.cover-wrapper .cover-body,.cover-wrapper .cover-body .bottom,.cover-wrapper .cover-body .top{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;-webkit-box-direction:normal;-moz-box-direction:normal;-webkit-box-orient:vertical;-moz-box-orient:vertical;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;align-items:center;justify-content:center;-webkit-justify-content:center;-khtml-justify-content:center;-moz-justify-content:center;-o-justify-content:center;-ms-justify-content:center;max-width:100%}.cover-wrapper .cover-body .bottom{margin-top:32px}.cover-wrapper .cover-body .title{font-family:\"Varela Round\",\"PingFang SC\",\"Microsoft YaHei\",Helvetica,Arial,Helvetica,monospace;font-size:3.125rem;line-height:1.2;text-shadow:0 1px 2px rgba(0,0,0,.1)}.cover-wrapper .cover-body .subtitle{font-size:20px}.cover-wrapper .cover-body .logo{max-height:120px;max-width:calc(100% - 4 * 16px)}@media screen and (min-height:1024px){.cover-wrapper .cover-body .title{font-size:3rem}.cover-wrapper .cover-body .subtitle{font-size:1.05rem}.cover-wrapper .cover-body .logo{max-height:150px}}.cover-wrapper .cover-body .m_search{position:relative;max-width:calc(100% - 16px);width:320px;vertical-align:middle}.cover-wrapper .cover-body .m_search .form{position:relative;display:-webkit-box;display:-moz-box;display:block;width:100%}.cover-wrapper .cover-body .m_search .icon,.cover-wrapper .cover-body .m_search .input{transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}.cover-wrapper .cover-body .m_search .icon{position:absolute;display:-webkit-box;display:-moz-box;display:block;line-height:2.5rem;width:32px;top:0;left:5px;color:rgba(68,68,68,.75)}.cover-wrapper .cover-body .m_search .input{display:-webkit-box;display:-moz-box;display:block;height:2.5rem;width:100%;box-shadow:none;-webkit-box-shadow:none;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;font-size:.875rem;-webkit-appearance:none;padding-left:36px;border-radius:1.4rem;-webkit-border-radius:1.4rem;background:rgba(255,255,255,.6);backdrop-filter:blur(10px);border:none;color:var(--color-text)}@media screen and (max-width:500px){.cover-wrapper .cover-body .m_search .input{padding-left:36px}}.cover-wrapper .cover-body .m_search .input:hover{background:rgba(255,255,255,.8)}.cover-wrapper .cover-body .m_search .input:focus{background:#fff}.cover-wrapper .list-h{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;-webkit-box-direction:normal;-moz-box-direction:normal;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;flex-wrap:wrap;-webkit-flex-wrap:wrap;-khtml-flex-wrap:wrap;-moz-flex-wrap:wrap;-o-flex-wrap:wrap;-ms-flex-wrap:wrap;align-items:stretch;border-radius:4px;-webkit-border-radius:4px;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.cover-wrapper .list-h a{-webkit-box-flex:1;-moz-box-flex:1;-webkit-flex:1 0;-ms-flex:1 0;flex:1 0;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;font-weight:600}.cover-wrapper .list-h a img{display:-webkit-box;display:-moz-box;display:block;border-radius:2px;-webkit-border-radius:2px;margin:4px;min-width:40px;max-width:44px}@media screen and (max-width:768px){.cover-wrapper .list-h a img{min-width:36px;max-width:40px}}@media screen and (max-width:500px){.cover-wrapper .list-h a img{margin:2px 4px;min-width:32px;max-width:36px}}@media screen and (max-width:375px){.cover-wrapper .list-h a img{min-width:28px;max-width:32px}}.cover-wrapper{max-width:100%}.cover-wrapper.search .bottom .menu{margin-top:16px}.cover-wrapper.search .bottom .menu .list-h a{white-space:nowrap;-webkit-box-direction:normal;-moz-box-direction:normal;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;align-items:baseline;padding:2px;margin:4px;color:var(--color-site-inner);opacity:.75;-webkit-opacity:0.75;-moz-opacity:0.75;text-shadow:0 1px 2px rgba(0,0,0,.05);border-bottom:2px solid transparent}.cover-wrapper.search .bottom .menu .list-h a i{margin-right:4px}.cover-wrapper.search .bottom .menu .list-h a p{font-size:.9375rem}.cover-wrapper.search .bottom .menu .list-h a.active,.cover-wrapper.search .bottom .menu .list-h a:active,.cover-wrapper.search .bottom .menu .list-h a:hover{opacity:1;-webkit-opacity:1;-moz-opacity:1;border-bottom:2px solid var(--color-site-inner)}.cover-wrapper.dock .menu,.cover-wrapper.featured .menu,.cover-wrapper.focus .menu{border-radius:6px;-webkit-border-radius:6px}.cover-wrapper.dock .menu .list-h a,.cover-wrapper.featured .menu .list-h a,.cover-wrapper.focus .menu .list-h a{-webkit-box-direction:normal;-moz-box-direction:normal;-webkit-box-orient:vertical;-moz-box-orient:vertical;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;align-items:center;padding:12px;line-height:24px;border-radius:4px;-webkit-border-radius:4px;border-bottom:none;text-align:center;align-content:flex-end;color:rgba(68,68,68,.7);font-size:1.5rem}@media screen and (max-width:500px){.cover-wrapper.dock .menu .list-h a,.cover-wrapper.featured .menu .list-h a,.cover-wrapper.focus .menu .list-h a{padding:12px 8px}}.cover-wrapper.dock .menu .list-h a i,.cover-wrapper.featured .menu .list-h a i,.cover-wrapper.focus .menu .list-h a i{margin:8px}.cover-wrapper.dock .menu .list-h a p,.cover-wrapper.featured .menu .list-h a p,.cover-wrapper.focus .menu .list-h a p{font-size:.875rem}.cover-wrapper.dock .menu .list-h a.active,.cover-wrapper.featured .menu .list-h a.active,.cover-wrapper.focus .menu .list-h a.active{background:var(--color-card);backdrop-filter:none}.cover-wrapper.dock .menu .list-h a.active i,.cover-wrapper.dock .menu .list-h a.active i+p,.cover-wrapper.featured .menu .list-h a.active i,.cover-wrapper.featured .menu .list-h a.active i+p,.cover-wrapper.focus .menu .list-h a.active i,.cover-wrapper.focus .menu .list-h a.active i+p{color:#2196f3}.cover-wrapper.dock .menu .list-h a.active img+p,.cover-wrapper.featured .menu .list-h a.active img+p,.cover-wrapper.focus .menu .list-h a.active img+p{color:var(--color-text)}.cover-wrapper.dock .menu .list-h a:hover,.cover-wrapper.featured .menu .list-h a:hover,.cover-wrapper.focus .menu .list-h a:hover{background:var(--color-card)}.cover-wrapper.featured .menu .list-h{margin:-2px}.cover-wrapper.featured .menu .list-h a{margin:2px;background:rgba(255,255,255,.5)}@supports (backdrop-filter:blur(20px)){.cover-wrapper.featured .menu .list-h a{background:rgba(255,255,255,.5);backdrop-filter:saturate(200%) blur(20px)}}@media (prefers-color-scheme:dark){:root{--color-mode:'dark'}:root:not([color-scheme]){--color-site-body:#121212;--color-read-bkg:#21232f;--color-read-post:#252d38;--color-site-bg:#21232f;--color-site-inner:#efefef;--color-site-footer:#666;--color-card:#252d38;--color-text:rgba(238,238,238,0.871);--color-block:rgba(68,68,68,0.65);--color-codeblock:#444;--color-inlinecode:#d56d28;--color-h1:rgba(255,255,255,0.871);--color-h2:rgba(255,255,255,0.871);--color-h3:rgba(255,255,255,0.6);--color-h4:rgba(255,255,255,0.6);--color-h5:rgba(255,255,255,0.6);--color-h6:rgba(255,255,255,0.6);--color-p:rgba(217,217,217,0.871);--color-list:rgba(217,217,217,0.871);--color-list-hl:#4dabf5;--color-meta:rgba(191,191,191,0.871);--color-link:rgba(191,191,191,0.871);--color-copyright-bkg:#21252b}:root:not([color-scheme]) img{filter:brightness(70%)!important}:root:not([color-scheme]) .blur{background:rgba(33,35,47,.9)!important}:root:not([color-scheme]) .white-box.blur{background:rgba(37,45,56,.9)!important}:root:not([color-scheme]) .nav-main .u-search-input{background:var(--color-card)!important}:root:not([color-scheme]) #l_main .article .prev-next>a{background:var(--color-block)!important}:root:not([color-scheme]) #l_main .article .prev-next>a:hover{background:var(--color-site-bg)!important}:root:not([color-scheme]) .article blockquote{background:var(--color-block)!important}:root:not([color-scheme]) .article-title a{color:var(--color-h1)!important}:root:not([color-scheme]) details>summary{color:var(--color-p)!important;background:var(--color-site-bg)!important}:root:not([color-scheme]) details{border:1px solid var(--color-site-bg)!important;background:var(--color-site-bg)!important}:root:not([color-scheme]) #u-search .modal,:root:not([color-scheme]) #u-search .modal-body,:root:not([color-scheme]) #u-search .modal-header{background:var(--color-card)!important}:root:not([color-scheme]) #u-search .modal-body .modal-results .result:hover{background:var(--color-block)!important}:root:not([color-scheme]) .u-search-input:hover{background:var(--color-block)!important}:root:not([color-scheme]) .u-search-input:focus{background:var(--color-site-body)!important}}[color-scheme=dark]{--color-site-body:#121212;--color-read-bkg:#21232f;--color-read-post:#252d38;--color-site-bg:#21232f;--color-site-inner:#efefef;--color-site-footer:#666;--color-card:#252d38;--color-text:rgba(238,238,238,0.871);--color-block:rgba(68,68,68,0.65);--color-codeblock:#444;--color-inlinecode:#d56d28;--color-h1:rgba(255,255,255,0.871);--color-h2:rgba(255,255,255,0.871);--color-h3:rgba(255,255,255,0.6);--color-h4:rgba(255,255,255,0.6);--color-h5:rgba(255,255,255,0.6);--color-h6:rgba(255,255,255,0.6);--color-p:rgba(217,217,217,0.871);--color-list:rgba(217,217,217,0.871);--color-list-hl:#4dabf5;--color-meta:rgba(191,191,191,0.871);--color-link:rgba(191,191,191,0.871);--color-copyright-bkg:#21252b}[color-scheme=dark] img{filter:brightness(70%)!important}[color-scheme=dark] .blur{background:rgba(33,35,47,.9)!important}[color-scheme=dark] .white-box.blur{background:rgba(37,45,56,.9)!important}[color-scheme=dark] .nav-main .u-search-input{background:var(--color-card)!important}[color-scheme=dark] #l_main .article .prev-next>a{background:var(--color-block)!important}[color-scheme=dark] #l_main .article .prev-next>a:hover{background:var(--color-site-bg)!important}[color-scheme=dark] .article blockquote{background:var(--color-block)!important}[color-scheme=dark] .article-title a{color:var(--color-h1)!important}[color-scheme=dark] details>summary{color:var(--color-p)!important;background:var(--color-site-bg)!important}[color-scheme=dark] details{border:1px solid var(--color-site-bg)!important;background:var(--color-site-bg)!important}[color-scheme=dark] #u-search .modal,[color-scheme=dark] #u-search .modal-body,[color-scheme=dark] #u-search .modal-header{background:var(--color-card)!important}[color-scheme=dark] #u-search .modal-body .modal-results .result:hover{background:var(--color-block)!important}[color-scheme=dark] .u-search-input:hover{background:var(--color-block)!important}[color-scheme=dark] .u-search-input:focus{background:var(--color-site-body)!important}@media screen and (max-width:500px){[color-scheme=dark] .l_header .m_search{background:var(--color-site-bg)!important}}@font-face{font-family:'Varela Round';src:url(\"https://static.mhuig.top/npm/[email protected]/media/fonts/VarelaRound/VarelaRound-Regular.ttf\");font-weight:'normal';font-style:'normal';font-display:swap}@font-face{font-family:'Varela Round';src:url(\"https://static.mhuig.top/npm/[email protected]/media/fonts/VarelaRound/VarelaRound-Regular.ttf\");font-weight:'normal';font-style:'normal';font-display:swap}.l_header{position:fixed;z-index:1000;top:0;width:100%;height:64px;background:var(--color-card);box-shadow:0 1px 2px 0 rgba(0,0,0,.1);-webkit-box-shadow:0 1px 2px 0 rgba(0,0,0,.1)}.l_header.auto{transition:opacity .4s ease;-webkit-transition:opacity .4s ease;-khtml-transition:opacity 0.4s ease;-moz-transition:opacity .4s ease;-o-transition:opacity .4s ease;-ms-transition:opacity .4s ease;visibility:hidden}.l_header.auto.show{opacity:1!important;-webkit-opacity:1!important;-moz-opacity:1!important;visibility:visible}.l_header .container{margin-left:16px;margin-right:16px}.l_header #wrapper{height:100%;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.l_header #wrapper .nav-main,.l_header #wrapper .nav-sub{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;flex-wrap:nowrap;-webkit-flex-wrap:nowrap;-khtml-flex-wrap:nowrap;-moz-flex-wrap:nowrap;-o-flex-wrap:nowrap;-ms-flex-wrap:nowrap;justify-content:space-between;-webkit-justify-content:space-between;-khtml-justify-content:space-between;-moz-justify-content:space-between;-o-justify-content:space-between;-ms-justify-content:space-between;align-items:center}.l_header #wrapper .nav-main{transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}.l_header #wrapper.sub .nav-main{transform:translateY(-64px);-webkit-transform:translateY(-64px);-khtml-transform:translateY(-64px);-moz-transform:translateY(-64px);-o-transform:translateY(-64px);-ms-transform:translateY(-64px)}.l_header #wrapper .nav-sub{transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease;opacity:0;-webkit-opacity:0;-moz-opacity:0;height:64px;width:calc(100% - 2 * 16px);position:absolute}.l_header #wrapper .nav-sub ::-webkit-scrollbar{display:-webkit-box;display:-moz-box;display:none}@media screen and (min-width:2048px){.l_header #wrapper .nav-sub{max-width:55vw;margin:auto}}.l_header #wrapper.sub .nav-sub{opacity:1;-webkit-opacity:1;-moz-opacity:1}.l_header #wrapper .title{position:relative;color:var(--color-text);padding-left:24px;max-height:64px}.l_header #wrapper .nav-main .title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-shrink:0;line-height:64px;padding:0 24px;font-size:1.25rem;font-family:\"Varela Round\",\"PingFang SC\",\"Microsoft YaHei\",Helvetica,Arial,Helvetica,monospace}.l_header #wrapper .nav-main .title img{height:64px}.l_header .nav-sub{max-width:1080px;margin:auto}.l_header .nav-sub .title{font-weight:700;font-family:\"Varela Round\",\"PingFang SC\",\"Microsoft YaHei\",Helvetica,Arial,Menlo,Monaco,monospace,sans-serif;line-height:1.2;max-height:64px;white-space:normal;flex-shrink:1}.l_header .switcher{display:-webkit-box;display:-moz-box;display:none;line-height:64px;align-items:center}.l_header .switcher .s-toc{display:-webkit-box;display:-moz-box;display:none}@media screen and (max-width:768px){.l_header .switcher .s-toc{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex}}.l_header .switcher>li{height:48px;transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease;margin:2px}@media screen and (max-width:500px){.l_header .switcher>li{margin:0 1px;height:48px}}.l_header .switcher>li>a{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;justify-content:center;-webkit-justify-content:center;-khtml-justify-content:center;-moz-justify-content:center;-o-justify-content:center;-ms-justify-content:center;align-items:center;width:48px;height:48px;padding:.85em 1.1em;border-radius:100px;-webkit-border-radius:100px;border:none;transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease;color:#2196f3}.l_header .switcher>li>a:hover{border:none}.l_header .switcher>li>a.active,.l_header .switcher>li>a:active{border:none;background:var(--color-site-bg)}@media screen and (max-width:500px){.l_header .switcher>li>a{width:36px;height:48px}}.l_header .nav-sub .switcher{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex}.l_header .m_search{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;height:64px;width:240px;transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}@media screen and (max-width:1024px){.l_header .m_search{width:44px;min-width:44px}.l_header .m_search input::placeholder{opacity:0;-webkit-opacity:0;-moz-opacity:0}.l_header .m_search:hover{width:240px}.l_header .m_search:hover input::placeholder{opacity:1;-webkit-opacity:1;-moz-opacity:1}}@media screen and (min-width:500px){.l_header .m_search:hover .input{width:100%}.l_header .m_search:hover .input::placeholder{opacity:1;-webkit-opacity:1;-moz-opacity:1}}@media screen and (max-width:500px){.l_header .m_search{min-width:0}.l_header .m_search input::placeholder{opacity:1;-webkit-opacity:1;-moz-opacity:1}}.l_header .m_search .form{position:relative;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;width:100%;align-items:center}.l_header .m_search .icon{position:absolute;width:36px;left:5px;color:var(--color-meta)}@media screen and (max-width:500px){.l_header .m_search .icon{display:-webkit-box;display:-moz-box;display:none}}.l_header .m_search .input{display:-webkit-box;display:-moz-box;display:block;padding-top:8px;padding-bottom:8px;line-height:1.3;width:100%;color:var(--color-text);background:#fafafa;box-shadow:none;-webkit-box-shadow:none;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;padding-left:40px;font-size:.875rem;border-radius:8px;-webkit-border-radius:8px;border:none;transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}@media screen and (min-width:500px){.l_header .m_search .input:focus{box-shadow:0 4px 8px 0 rgba(0,0,0,.1);-webkit-box-shadow:0 4px 8px 0 rgba(0,0,0,.1)}}@media screen and (max-width:500px){.l_header .m_search .input{background:var(--color-block);padding-left:8px;border:none}.l_header .m_search .input:focus,.l_header .m_search .input:hover{border:none}}@media (max-width:500px){.l_header .m_search{left:0;width:0;overflow:hidden;position:absolute;background:#fff;transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}.l_header .m_search .input{border-radius:32px;-webkit-border-radius:32px;margin-left:16px;padding-left:16px}.l_header.z_search-open .m_search{width:100%}.l_header.z_search-open .m_search .input{width:calc(100% - 120px)}}ul.m-pc>li>a{color:inherit;border-bottom:2px solid transparent}ul.m-pc>li>a.active,ul.m-pc>li>a:active{border-bottom:2px solid #2196f3}ul.list-v li:hover>ul.list-v,ul.m-pc li:hover>ul.list-v{display:-webkit-box;display:-moz-box;display:block}ul.nav-list-h{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;align-items:stretch}ul.nav-list-h>li{position:relative;justify-content:center;-webkit-justify-content:center;-khtml-justify-content:center;-moz-justify-content:center;-o-justify-content:center;-ms-justify-content:center;height:100%;line-height:2.4;border-radius:4px;-webkit-border-radius:4px}ul.nav-list-h>li>a{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:600}ul.list-v{z-index:1;display:-webkit-box;display:-moz-box;display:none;position:absolute;background:var(--color-card);box-shadow:0 2px 4px 0 rgba(0,0,0,.08),0 4px 8px 0 rgba(0,0,0,.08),0 8px 16px 0 rgba(0,0,0,.08);-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,.08),0 4px 8px 0 rgba(0,0,0,.08),0 8px 16px 0 rgba(0,0,0,.08);margin-top:-6px;border-radius:4px;-webkit-border-radius:4px;padding:8px 0}ul.list-v.show{display:-webkit-box;display:-moz-box;display:block}ul.list-v hr{margin-top:8px;margin-bottom:8px}ul.list-v>li{white-space:nowrap;word-break:keep-all}ul.list-v>li.header{font-size:.78125rem;font-weight:700;line-height:2em;color:var(--color-meta);margin:8px 16px 4px}ul.list-v>li.header i{margin-right:8px}ul.list-v>li ul{margin-left:0;display:-webkit-box;display:-moz-box;display:none;margin-top:-40px}ul.list-v .aplayer-container{min-height:64px;padding:6px 16px}ul.list-v>li>a{transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease;display:-webkit-box;display:-moz-box;display:block;color:var(--color-list);font-size:.875rem;font-weight:700;line-height:36px;padding:0 20px 0 16px;text-overflow:ellipsis;margin:0 4px;border-radius:4px;-webkit-border-radius:4px}@media screen and (max-width:1024px){ul.list-v>li>a{line-height:40px}}ul.list-v>li>a>i{margin-right:8px}ul.list-v>li>a.active,ul.list-v>li>a:active{color:var(--color-list-hl)}ul.list-v>li>a:hover{color:var(--color-list-hl);background:var(--color-site-bg)}.l_header .menu>ul>li>a{display:-webkit-box;display:-moz-box;display:block;padding:0 8px}.l_header .menu>ul>li>a>i{margin-right:4px}.l_header ul.nav-list-h>li{color:var(--color-list);line-height:64px}.l_header ul.nav-list-h>li>a{max-height:64px;overflow:hidden;color:inherit}.l_header ul.nav-list-h>li>a.active,.l_header ul.nav-list-h>li>a:active{color:#2196f3}.l_header ul.nav-list-h>li:hover>a{color:var(--color-list-hl)}.l_header ul.nav-list-h>li i.music{animation:rotate-effect 1.5s linear infinite;-webkit-animation:rotate-effect 1.5s linear infinite;-khtml-animation:rotate-effect 1.5s linear infinite;-moz-animation:rotate-effect 1.5s linear infinite;-o-animation:rotate-effect 1.5s linear infinite;-ms-animation:rotate-effect 1.5s linear infinite}@-moz-keyframes rotate-effect{0%{transform:rotate(0);-webkit-transform:rotate(0);-khtml-transform:rotate(0);-moz-transform:rotate(0);-o-transform:rotate(0);-ms-transform:rotate(0)}25%{transform:rotate(90deg);-webkit-transform:rotate(90deg);-khtml-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);-ms-transform:rotate(90deg)}50%{transform:rotate(180deg);-webkit-transform:rotate(180deg);-khtml-transform:rotate(180deg);-moz-transform:rotate(180deg);-o-transform:rotate(180deg);-ms-transform:rotate(180deg)}75%{transform:rotate(270deg);-webkit-transform:rotate(270deg);-khtml-transform:rotate(270deg);-moz-transform:rotate(270deg);-o-transform:rotate(270deg);-ms-transform:rotate(270deg)}100%{transform:rotate(360deg);-webkit-transform:rotate(360deg);-khtml-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg)}}@-webkit-keyframes rotate-effect{0%{transform:rotate(0);-webkit-transform:rotate(0);-khtml-transform:rotate(0);-moz-transform:rotate(0);-o-transform:rotate(0);-ms-transform:rotate(0)}25%{transform:rotate(90deg);-webkit-transform:rotate(90deg);-khtml-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);-ms-transform:rotate(90deg)}50%{transform:rotate(180deg);-webkit-transform:rotate(180deg);-khtml-transform:rotate(180deg);-moz-transform:rotate(180deg);-o-transform:rotate(180deg);-ms-transform:rotate(180deg)}75%{transform:rotate(270deg);-webkit-transform:rotate(270deg);-khtml-transform:rotate(270deg);-moz-transform:rotate(270deg);-o-transform:rotate(270deg);-ms-transform:rotate(270deg)}100%{transform:rotate(360deg);-webkit-transform:rotate(360deg);-khtml-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg)}}@-o-keyframes rotate-effect{0%{transform:rotate(0);-webkit-transform:rotate(0);-khtml-transform:rotate(0);-moz-transform:rotate(0);-o-transform:rotate(0);-ms-transform:rotate(0)}25%{transform:rotate(90deg);-webkit-transform:rotate(90deg);-khtml-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);-ms-transform:rotate(90deg)}50%{transform:rotate(180deg);-webkit-transform:rotate(180deg);-khtml-transform:rotate(180deg);-moz-transform:rotate(180deg);-o-transform:rotate(180deg);-ms-transform:rotate(180deg)}75%{transform:rotate(270deg);-webkit-transform:rotate(270deg);-khtml-transform:rotate(270deg);-moz-transform:rotate(270deg);-o-transform:rotate(270deg);-ms-transform:rotate(270deg)}100%{transform:rotate(360deg);-webkit-transform:rotate(360deg);-khtml-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg)}}@keyframes rotate-effect{0%{transform:rotate(0);-webkit-transform:rotate(0);-khtml-transform:rotate(0);-moz-transform:rotate(0);-o-transform:rotate(0);-ms-transform:rotate(0)}25%{transform:rotate(90deg);-webkit-transform:rotate(90deg);-khtml-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);-ms-transform:rotate(90deg)}50%{transform:rotate(180deg);-webkit-transform:rotate(180deg);-khtml-transform:rotate(180deg);-moz-transform:rotate(180deg);-o-transform:rotate(180deg);-ms-transform:rotate(180deg)}75%{transform:rotate(270deg);-webkit-transform:rotate(270deg);-khtml-transform:rotate(270deg);-moz-transform:rotate(270deg);-o-transform:rotate(270deg);-ms-transform:rotate(270deg)}100%{transform:rotate(360deg);-webkit-transform:rotate(360deg);-khtml-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg)}}.menu-phone li ul.list-v{right:calc(100% - .5 * 16px)}.menu-phone li ul.list-v ul{right:calc(100% - .5 * 16px)}#wrapper{max-width:1080px;margin:auto}@media screen and (min-width:2048px){#wrapper{max-width:55vw}}#wrapper .menu{-webkit-box-flex:1;-moz-box-flex:1;-webkit-flex:1 1;-ms-flex:1 1;flex:1 1;margin:0 16px 0 0}#wrapper .menu .list-v ul{left:calc(100% - .5 * 16px)}.menu-phone{display:-webkit-box;display:-moz-box;display:none;margin-top:16px;right:8px;transition:all .28s ease;-webkit-transition:all .28s ease;-khtml-transition:all 0.28s ease;-moz-transition:all .28s ease;-o-transition:all .28s ease;-ms-transition:all .28s ease}.menu-phone ul{right:calc(100% - .5 * 16px)}@media screen and (max-width:500px){.menu-phone{display:-webkit-box;display:-moz-box;display:block}}.l_header{max-width:65vw;left:calc((100% - 65vw) * .5);border-bottom-left-radius:8px;border-bottom-right-radius:8px}@media screen and (max-width:2048px){.l_header{max-width:1112px;left:calc((100% - 1112px) * .5)}}@media screen and (max-width:1112px){.l_header{left:0;border-radius:0;-webkit-border-radius:0;max-width:100%}}@media screen and (max-width:500px){.l_header .container{margin-left:0;margin-right:0}.l_header #wrapper .nav-main .title{padding-left:16px;padding-right:16px}.l_header #wrapper .nav-sub{width:100%}.l_header #wrapper .nav-sub .title{overflow-y:scroll;margin-top:2px;padding:8px 16px}.l_header #wrapper .switcher{display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;display:flex;margin-right:8px}.l_header .menu{display:-webkit-box;display:-moz-box;display:none}}@media screen and (max-width:500px){.list-v li{max-width:270px}}#u-search{display:-webkit-box;display:-moz-box;display:none;position:fixed;top:0;left:0;width:100%;height:100%;padding:60px 20px;z-index:1001}@media screen and (max-width:680px){#u-search{padding:0}}@media screen and (prefers-color-scheme:dark) and (max-width:500px){.l_header .m_search{background:var(--color-site-bg)!important}}.cover-wrapper .cover-body .subtitle{font-size:.875rem}.fa-brands.color-github,.fa-duotone.color-github,.fa-light.color-github,.fa-regular.color-github,.fa-solid.color-github,.fa-thin.color-github,.fa.color-github,.fad.color-github,.fal.color-github,.far.color-github,.fas.color-github,.iziToast>.iziToast-body .iziToast-icon.color-github{color:#000}.fa-brands.color-friends,.fa-duotone.color-friends,.fa-light.color-friends,.fa-regular.color-friends,.fa-solid.color-friends,.fa-thin.color-friends,.fa.color-friends,.fad.color-friends,.fal.color-friends,.far.color-friends,.fas.color-friends,.iziToast>.iziToast-body .iziToast-icon.color-friends{color:#d31ee9}.fa-brands.color-about,.fa-duotone.color-about,.fa-light.color-about,.fa-regular.color-about,.fa-solid.color-about,.fa-thin.color-about,.fa.color-about,.fad.color-about,.fal.color-about,.far.color-about,.fas.color-about,.iziToast>.iziToast-body .iziToast-icon.color-about{color:#0095ff}.fa-brands.color-travellings,.fa-duotone.color-travellings,.fa-light.color-travellings,.fa-regular.color-travellings,.fa-solid.color-travellings,.fa-thin.color-travellings,.fa.color-travellings,.fad.color-travellings,.fal.color-travellings,.far.color-travellings,.fas.color-travellings,.iziToast>.iziToast-body .iziToast-icon.color-travellings{color:#734ae6}mjx-container{padding:0 0!important}mjx-container:not([display=true]){padding:4px 2px 4px 6px!important}mjx-container[jax=SVG]{direction:ltr}mjx-container[jax=SVG]>svg{overflow:visible}mjx-container[jax=SVG][display=true]{display:-webkit-box;display:-moz-box;display:block;text-align:center;margin:1em 0}mjx-container[jax=SVG][justify=left]{text-align:left}mjx-container[jax=SVG][justify=right]{text-align:right}g[data-mml-node=merror]>g{fill:#f00;stroke:#f00}g[data-mml-node=merror]>rect[data-background]{fill:#ff0;stroke:none}g[data-mml-node=mtable]>line[data-line]{stroke-width:70px;fill:none}g[data-mml-node=mtable]>rect[data-frame]{stroke-width:70px;fill:none}g[data-mml-node=mtable]>.mjx-dashed{stroke-dasharray:140}g[data-mml-node=mtable]>.mjx-dotted{stroke-linecap:round;stroke-dasharray:0,140}g[data-mml-node=mtable]>svg{overflow:visible}[jax=SVG] mjx-tool{display:-webkit-box;display:-moz-box;display:inline-block;position:relative;width:0;height:0}[jax=SVG] mjx-tool>mjx-tip{position:absolute;top:0;left:0}mjx-tool>mjx-tip{display:-webkit-box;display:-moz-box;display:inline-block;padding:.2em;border:1px solid #888;font-size:70%;background-color:#f8f8f8;color:#000;box-shadow:2px 2px 5px #aaa;-webkit-box-shadow:2px 2px 5px #aaa}g[data-mml-node=maction][data-toggle]{cursor:pointer}mjx-status{display:-webkit-box;display:-moz-box;display:block;position:fixed;left:1em;bottom:1em;min-width:25%;padding:.2em .4em;border:1px solid #888;font-size:90%;background-color:#f8f8f8;color:#000}foreignObject[data-mjx-xml]{font-family:initial;line-height:normal;overflow:visible}.MathJax path{stroke-width:3}mjx-container[display=true]{overflow:auto hidden}mjx-container[display=true]+br{display:-webkit-box;display:-moz-box;display:none}</style><link rel=\"stylesheet\" href=\"/css/style.css\" media=\"print\" onload='this.media=\"all\",this.onload=null'><noscript><link rel=\"stylesheet\" href=\"/css/style.css\"></noscript><script>let userColorScheme=localStorage.getItem(\"color-scheme\");userColorScheme&&document.documentElement.setAttribute(\"color-scheme\",userColorScheme)</script><script>window.MSInputMethodContext&&document.documentMode&&document.write('<style>html{overflow-x: hidden !important;overflow-y: hidden !important;}.kill-ie{text-align:center;height: 100%;margin-top: 15%;margin-bottom: 5500%;}.kill-t{font-size: 2rem;}.kill-c{font-size: 1.2rem;}#l_header,#l_body{display: none;}</style><div class=\"kill-ie\"><span class=\"kill-t\"><b>抱歉,您的浏览器无法访问本站</b></span><br/><span class=\"kill-c\">微软已经于2016年终止了对 Internet Explorer (IE) 10 及更早版本的支持,<br/>继续使用存在极大的安全隐患,请使用当代主流的浏览器进行访问。</span><br/><a target=\"_blank\" rel=\"noopener\" href=\"https://blogs.windows.com/windowsexperience/2021/05/19/the-future-of-internet-explorer-on-windows-10-is-in-microsoft-edge/\"><strong>了解详情 ></strong></a></div>')</script><noscript><style>html{overflow-x:hidden!important;overflow-y:hidden!important}.kill-noscript{text-align:center;height:100%;margin-top:15%;margin-bottom:5500%}.kill-t{font-size:2rem}.kill-c{font-size:1.2rem}#l_body,#l_header{display:none}</style><div class=\"kill-noscript\"> <span class=\"kill-t\"><b>抱歉,您的浏览器无法访问本站</b></span><br> <span class=\"kill-c\">本页面需要浏览器支持(启用)JavaScript</span><br> <a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://www.baidu.com/s?wd=启用JavaScript\"><strong>了解详情 ></strong></a></div></noscript><script>function volantisEventListener(e,t,n){this.type=e,this.f=t,this.ele=n}function volantisDom(e){return e||(e=document.createElement(\"div\")),this.ele=e,this.ele.find=e=>{let t=this.ele.querySelector(e);if(t)return new volantisDom(t)},this.ele.hasClass=e=>this.ele.className.match(new RegExp(\"(\\\\s|^)\"+e+\"(\\\\s|$)\")),this.ele.addClass=e=>(this.ele.classList.add(e),this.ele),this.ele.removeClass=e=>(this.ele.classList.remove(e),this.ele),this.ele.toggleClass=e=>(this.ele.hasClass(e)?this.ele.removeClass(e):this.ele.addClass(e),this.ele),this.ele.on=(e,t,n=1)=>(this.ele.addEventListener(e,t,!1),n&&volantis.EventListener.list.push(new volantisEventListener(e,t,this.ele)),this.ele),this.ele.click=(e,t)=>(this.ele.on(\"click\",e,t),this.ele),this.ele.scroll=(e,t)=>(this.ele.on(\"scroll\",e,t),this.ele),this.ele.html=e=>(this.ele.innerHTML=e,this.ele),this.ele.hide=e=>(this.ele.style.display=\"none\",this.ele),this.ele.show=e=>(this.ele.style.display=\"block\",this.ele),this.ele}function RunItem(){function e(e,t){this.name=t||volantis.getFunctionHash(e),this.run=()=>{try{e()}catch(e){console.log(e)}}}this.list=[],this.start=()=>{for(var e=0;e<this.list.length;e++)this.list[e].run()},this.push=(t,n,o=!0)=>{if(\"function\"!=typeof t)return;let l=t;o&&(l=()=>{volantis.requestAnimationFrame(t)}),n=n||volantis.getFunctionHash(t);const i=this.list.findIndex((e=>e.name===n));-1===i?this.list.push(new e(l,n)):this.list[i]=new e(l,n)},this.remove=e=>{for(let t=0;t<this.list.length;t++){this.list[t].name==e&&this.list.splice(t,1)}}}function errorImgAvatar(e){e.src=\"https://static.mhuig.top/npm/[email protected]/media/placeholder/avatar/round/3442075.svg\",e.onerror=null}function errorImgCover(e){e.src=\"https://static.mhuig.top/npm/[email protected]/media/placeholder/cover/76b86c0226ffd.svg\",e.onerror=null}!function(){const e=new WeakMap,t=new Proxy({},{get(n,o){const l=e.get(t);return l?.[o]},set(n,o,l){e.has(t)||e.set(t,Object.create(null));return e.get(t)[o]=l,!0},deleteProperty(n,o){const l=e.get(t);return!(!l||!Object.prototype.hasOwnProperty.call(l,o))&&(delete l[o],0===Object.keys(l).length&&e.delete(t),!0)},ownKeys(n){const o=e.get(t);return o?Object.keys(o):[]},getOwnPropertyDescriptor(n,o){const l=e.get(t);if(l&&Object.prototype.hasOwnProperty.call(l,o))return{value:l[o],writable:!0,enumerable:!0,configurable:!0}}});Object.defineProperty(window,\"volantis\",{value:t,writable:!0,configurable:!0,enumerable:!0})}(),volantis.debug=\"false\",volantis.dom={},volantis.simpleTextHash=e=>{let t=5381;for(let n=0;n<e.length;n++)t=(t<<5)+t+e.charCodeAt(n),t&=t;return t.toString(16).padStart(8,\"0\")},volantis.getFunctionHash=e=>{const t=e.toString();return volantis.simpleTextHash(t)},volantis.EventListener={},volantis.EventListener.list=[],volantis.EventListener.remove=()=>{volantis.EventListener.list.forEach((function(e){e.ele.removeEventListener(e.type,e.f,!1)})),volantis.EventListener.list=[]},volantis.dom.$=e=>e?new volantisDom(e):null,volantis.pjax={},volantis.pjax.method={complete:new RunItem,error:new RunItem,send:new RunItem},volantis.pjax=Object.assign(volantis.pjax,{push:volantis.pjax.method.complete.push,error:volantis.pjax.method.error.push,send:volantis.pjax.method.send.push}),volantis.rightmenu={},volantis.rightmenu.method={handle:new RunItem},volantis.rightmenu=Object.assign(volantis.rightmenu,{handle:volantis.rightmenu.method.handle.push}),volantis.dark={},volantis.dark.method={toggle:new RunItem},volantis.dark=Object.assign(volantis.dark,{push:volantis.dark.method.toggle.push}),volantis.js=(e,t)=>new Promise((n=>{setTimeout((function(){var o=document.getElementsByTagName(\"head\")[0]||document.documentElement,l=document.createElement(\"script\");if(l.setAttribute(\"type\",\"text/javascript\"),t)if(JSON.stringify(t))for(let e in t)\"onload\"==e?l[e]=()=>{t[e](),n()}:(l[e]=t[e],l.onload=n);else l.onload=()=>{t(),n()};else l.onload=n;l.setAttribute(\"src\",e),o.appendChild(l)}))})),volantis.css=e=>new Promise((t=>{setTimeout((function(){var n=document.createElement(\"link\");n.rel=\"stylesheet\",n.href=e,n.onload=t,document.getElementsByTagName(\"head\")[0].appendChild(n)}))})),volantis.import={jQuery:()=>\"undefined\"==typeof jQuery?volantis.js(\"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js\"):new Promise((e=>{e()}))},volantis.throttle=(e,t=200)=>{let n=0;return function(...o){const l=Date.now();l-n>=t&&(e.apply(this,o),n=l)}},volantis.debounce=(e,t=200)=>{let n=null;return function(){n&&clearTimeout(n),n=setTimeout((()=>{e.apply(this,arguments),n=null}),t)}},volantis.requestAnimationFrame=e=>(window.requestAnimationFrame||(window.requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)}),window.requestAnimationFrame(e)),volantis.layoutHelper=(e,t,n)=>{function o(e,t,n){volantis.tempDiv=document.createElement(\"div\"),volantis.tempDiv.innerHTML=t;let o=document.querySelector(\"#layoutHelper-\"+e);o&&(n&&(o.innerHTML=\"\"),o.append(volantis.tempDiv))}n=Object.assign({clean:!1,pjax:!0},n),o(e,t,n.clean),n.pjax&&volantis.pjax.push((()=>{o(e,t,n.clean)}),\"layoutHelper-\"+e)},volantis.scroll={engine:new RunItem,unengine:new RunItem},volantis.scroll=Object.assign(volantis.scroll,{push:volantis.scroll.engine.push}),volantis.scroll.getScrollTop=()=>{let e;return window.pageYOffset?e=window.pageYOffset:document.compatMode&&\"BackCompat\"!=document.compatMode?e=document.documentElement.scrollTop:document.body&&(e=document.body.scrollTop),e},volantis.scroll.scrollHeight=function(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},volantis.scroll.offsetHeight=function(){return Math.min(document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)},volantis.scroll.progress=function(){return volantis.scroll.getScrollTop()/(volantis.scroll.scrollHeight()-volantis.scroll.offsetHeight())},volantis.scroll.handleScrollEvents=()=>{volantis.scroll.lastScrollTop=volantis.scroll.getScrollTop(),volantis.requestAnimationFrame((function e(){const t=volantis.scroll.getScrollTop();volantis.scroll.lastScrollTop!==t?(volantis.scroll.del=t-volantis.scroll.lastScrollTop,volantis.scroll.lastScrollTop=t,volantis.scroll.unengine.list=[],volantis.scroll.engine.start()):volantis.scroll.unengine.start(),volantis.requestAnimationFrame(e)}))},volantis.scroll.handleScrollEvents(),volantis.scroll.ele=null,volantis.scroll.to=(e,t={})=>{e&&(volantis.scroll.ele=e,opt={top:e.getBoundingClientRect().top+document.documentElement.scrollTop,behavior:\"smooth\"},\"top\"in t&&(opt.top=t.top),\"behavior\"in t&&(opt.behavior=t.behavior),\"addTop\"in t&&(opt.top+=t.addTop),\"observerDic\"in t||(t.observerDic=100),window.scrollTo(opt),t.observer&&setTimeout((()=>{volantis.scroll.ele==e&&volantis.scroll.unengine.push((()=>{let n=e.getBoundingClientRect().top;n>=-t.observerDic&&n<=t.observerDic||volantis.scroll.to(e,t),volantis.scroll.unengine.remove(\"unengineObserver\")}),\"unengineObserver\")}),1e3))},volantis.cleanContentVisibility=()=>{document.querySelector(\".post-story\")&&(console.log(\"cleanContentVisibility\"),document.querySelectorAll(\".post-story\").forEach((e=>{e.classList.remove(\"post-story\")})))};const nativeSetTimeout=window.setTimeout,nativeSetInterval=window.setInterval,nativeClearTimeout=window.clearTimeout,nativeClearInterval=window.clearInterval;volantis.activeTimeout=[],volantis.activeInterval=[],window.setTimeout=function(e,t,...n){const o=nativeSetTimeout((function(...t){try{return e.apply(this,t)}finally{const e=volantis.activeTimeout.indexOf(o);-1!==e&&volantis.activeTimeout.splice(e,1)}}),t,...n);return volantis.activeTimeout.push(o),o},window.setInterval=function(e,t,...n){const o=nativeSetInterval(e,t,...n);return volantis.activeInterval.push(o),o},window.clearTimeout=function(e){nativeClearTimeout(e);const t=volantis.activeTimeout.indexOf(e);-1!==t&&volantis.activeTimeout.splice(t,1)},window.clearInterval=function(e){nativeClearInterval(e);const t=volantis.activeInterval.indexOf(e);-1!==t&&volantis.activeInterval.splice(t,1)},volantis.getActiveInterval=function(){return[...volantis.activeInterval]},volantis.getActiveTimeout=function(){return[...volantis.activeTimeout]},volantis.clearAllTimers=function(){volantis.getActiveInterval().forEach((function(e){clearInterval(e)})),volantis.getActiveTimeout().forEach((function(e){clearTimeout(e)}))},volantis.pjax.send(volantis.clearAllTimers,\"clearAllTimers\")</script><script>volantis.GLOBAL_CONFIG={root:\"/\",debug:!1,default:{avatar:\"https://static.mhuig.top/npm/[email protected]/media/placeholder/avatar/round/3442075.svg\",link:\"https://static.mhuig.top/npm/[email protected]/media/placeholder/link/8f277b4ee0ecd.svg\",cover:\"https://static.mhuig.top/npm/[email protected]/media/placeholder/cover/76b86c0226ffd.svg\",image:\"https://static.mhuig.top/npm/[email protected]/media/placeholder/image/2659360.svg\"},lastupdate:new Date(1781075450850),cdn:{izitoast_css:\"https://cdnjs.cloudflare.com/ajax/libs/izitoast/1.4.0/css/iziToast.min.css\",izitoast_js:\"https://cdnjs.cloudflare.com/ajax/libs/izitoast/1.4.0/js/iziToast.min.js\",fancybox_css:\"https://cdnjs.cloudflare.com/ajax/libs/fancyapps-ui/4.0.31/fancybox.min.css\",fancybox_js:\"https://cdnjs.cloudflare.com/ajax/libs/fancyapps-ui/4.0.31/fancybox.umd.min.js\"},sidebar:{for_page:[\"blogger\",\"navigation\",\"webinfo\"],for_post:[\"toc\"],webinfo:{lastupd:{enable:!1,friendlyShow:!0},runtime:{data:\"2019/08/19\",unit:\"天\"}}},plugins:{message:{enable:!1,icon:{default:\"fa-solid fa-info-circle light-blue\",quection:\"fa-solid fa-question-circle light-blue\"},time:{default:5e3,quection:2e4},position:\"topRight\",transitionIn:\"bounceInLeft\",transitionOut:\"fadeOutRight\",titleColor:\"var(--color-text)\",messageColor:\"var(--color-text)\",backgroundColor:\"var(--color-card)\",zindex:2147483647,copyright:{enable:!0,title:\"知识共享许可协议\",message:\"请遵守 CC BY-NC-SA 4.0 协议。\",icon:\"far fa-copyright light-blue\"},aplayer:{enable:!0,play:\"fa-solid fa-play\",pause:\"fa-solid fa-pause\"},rightmenu:{enable:!0,notice:!0}},aplayer:{id:1480000098,enable:!0}},search:{dataPath:(\"/\".endsWith(\"/\")?\"/\":\"//\")+\"content.json\"},languages:{search:{hits_empty:\"找不到您查询的内容:${query}\",hits_stats:\"找到 ${hits} 条结果,用时 ${time} 毫秒\"}}}</script><script type=\"application/ld+json\">[{\"@context\":\"http://schema.org\",\"@type\":\"Organization\",\"name\":\"MHuiG Magicland\",\"url\":\"https://blog.mhuig.top/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"/lib/favicon/android-chrome-192x192.png\",\"width\":192,\"height\":192}},{\"@context\":\"http://schema.org\",\"@type\":\"Person\",\"name\":\"MHuiG\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"/lib/favicon/android-chrome-192x192.png\"},\"url\":\"https://blog.mhuig.top/\",\"sameAs\":[\"https://github.com/MHuiG\",\"https://twitter.com/iMHuiG\",\"https://t.me/MHuiG\",\"https://keybase.io/MHuiG\"],\"description\":\"「Be Yourself, Make a Difference.」\"},{\"@context\":\"http://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@id\":\"https://blog.mhuig.top/\",\"name\":\"Magicland\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@id\":\"https://blog.mhuig.top/categories/package manager/\",\"name\":\"package manager\"}},{\"@type\":\"ListItem\",\"position\":3,\"item\":{\"@id\":\"https://blog.mhuig.top/notes/package-mirror/index.html\",\"name\":\"Package Mirror\"}}]},{\"@context\":\"http://schema.org\",\"@type\":\"WebSite\",\"name\":\"MHuiG Magicland\",\"url\":\"https://blog.mhuig.top/\",\"keywords\":\"MHuiG, @MHuiG, Blog, 博客, Magicland, 魔法世界\",\"description\":\"宠辱不惊,看庭前花开花落;去留无意,望天上云卷云舒。「Be Yourself, Make a Difference.」 - Magic Island\",\"author\":{\"@type\":\"Person\",\"name\":\"MHuiG\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"/lib/favicon/android-chrome-192x192.png\"},\"url\":\"https://blog.mhuig.top/\",\"description\":\"「Be Yourself, Make a Difference.」\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"MHuiG Magicland\",\"url\":\"https://blog.mhuig.top/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"/lib/favicon/android-chrome-192x192.png\",\"width\":192,\"height\":192}},\"potentialAction\":{\"@type\":\"SearchAction\",\"name\":\"CoCo | The Cat of MHuiG\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https://blog.mhuig.top/havefun/coco/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}},{\"@context\":\"http://schema.org\",\"@type\":\"BlogPosting\",\"headline\":\"Package Mirror\",\"description\":\"本文整理Go、npm、pip等主流包管理器及Docker、Kubernetes等开发工具的国内镜像配置方法,提供阿里云、华为云等多平台镜像地址,附nexus私服代理方案与版本适配指南,解决软件下载慢问题。\",\"inLanguage\":\"zh-Hans\",\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https://blog.mhuig.top/notes/package-mirror/\"},\"author\":{\"@type\":\"Person\",\"name\":\"MHuiG\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"/lib/favicon/android-chrome-192x192.png\"},\"url\":\"https://blog.mhuig.top/\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"MHuiG Magicland\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"/lib/favicon/android-chrome-192x192.png\",\"width\":192,\"height\":192}},\"url\":\"https://blog.mhuig.top/notes/package-mirror/\",\"wordCount\":0,\"datePublished\":\"2022-06-29T06:20:00.000Z\",\"dateModified\":\"2025-11-20T10:18:00.000Z\",\"articleSection\":\"package manager\",\"keywords\":\"mirror,包管理器镜像,系统镜像配置,国内镜像源\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"/lib/favicon/android-chrome-192x192.png\",\"width\":192,\"height\":192}}]</script></head><body itemscope=\"\" itemtype=\"http://schema.org/WebPage\"><pjax></pjax><header itemscope=\"\" itemtype=\"http://schema.org/WPHeader\" id=\"l_header\" class=\"l_header auto shadow floatable blur show\" style=\"opacity:0\"><div class=\"container\"><div id=\"wrapper\"><div class=\"nav-sub\"><p class=\"title\"></p><ul class=\"switcher nav-list-h m-phone\" id=\"pjax-header-nav-list\"><li><a id=\"s-comment\" class=\"fa-solid fa-comments fa-fw\" target=\"_self\" title=\"comment\"></a></li><li><a id=\"s-toc\" class=\"s-toc fa-solid fa-list fa-fw\" target=\"_self\" title=\"toc\"></a></li></ul></div><div class=\"nav-main\"> <a class=\"title flat-box\" target=\"_self\" href=\"/\">MHuiG</a><div class=\"menu navigation\"><ul class=\"nav-list-h m-pc\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"索引\"><i class=\"fa-duotone fa-list-alt fa-fw\"></i> 索引</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/notes/\" title=\"便签\" active-action=\"action-notes\"><i class=\"fa-duotone fa-books fa-fw\"></i> 便签</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/categories/\" title=\"分类\" active-action=\"action-categories\"><i class=\"fa-duotone fa-folder-open fa-fw\"></i> 分类</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/tags/\" title=\"标签\" active-action=\"action-tags\"><i class=\"fa-duotone fa-tags fa-fw\"></i> 标签</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/archives/\" title=\"归档\" active-action=\"action-archives\"><i class=\"fa-duotone fa-archive fa-fw\"></i> 归档</a></li></ul></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/friends/\" title=\"友链\" active-action=\"action-pagesfriends\"><i class=\"fa-duotone fa-link fa-fw\"></i> 友链</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"https://www.travellings.cn/go-by-clouds.html\" title=\"Travelling\" target=\"_blank\" active-action=\"action-https:wwwtravellingscngo-by-cloudshtml\" rel=\"external nofollow noopener noreferrer\"><i class=\"fa-duotone fa-subway fa-fw\"></i> Travelling</a></li></ul></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/about/\" title=\"关于\" active-action=\"action-pagesabout\"><i class=\"fa-duotone fa-user-tie fa-fw\"></i> 关于</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/time-machine/\" title=\"时光机\" active-action=\"action-pagestime-machine\"><i class=\"fa-duotone fa-clock fa-fw\"></i> 时光机</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"noopener\" href=\"https://mhuig.top/privacy-policy/\" title=\"隐私政策\" active-action=\"action-https:mhuigtopprivacy-policy\"><i class=\"fa-duotone fa-user-secret fa-fw\"></i> 隐私政策</a></li></ul></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"更多\"><i class=\"fa-duotone fa-fan fa-spin fa-fw\"></i> 更多</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/beer/\" title=\"Sponsor\" active-action=\"action-pagesbeer\"><i class=\"fa-duotone fa-heart-square fa-fw\"></i> Sponsor</a></li><hr><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"博客管理\"><i class=\"fa-duotone fa-user-shield fa-fw\"></i> 博客管理</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box header toggle-mode-btn\"><i class=\"fa-duotone fa-bat fa-fw\"></i> 暗黑模式</a></li><li></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/rss/\" title=\"RSS订阅\" active-action=\"action-pagesrss\"><i class=\"fa-duotone fa-rss fa-fw\"></i> RSS订阅</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/sitemap.xml\" title=\"站点地图\" active-action=\"action-sitemapxml\"><i class=\"fa-duotone fa-sitemap fa-fw\"></i> 站点地图</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://mhuig.instatus.com/\" title=\"Monitors\" active-action=\"action-https:mhuiginstatuscom\"><i class=\"fa-duotone fa-telescope fa-fw\"></i> Monitors</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://ssl.mhuig.top/\" title=\"SSL Status\" active-action=\"action-https:sslmhuigtop\"><i class=\"fa-brands fa-expeditedssl fa-fw\"></i> SSL Status</a></li></ul></li><hr><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"工具箱\"><i class=\"fa-duotone fa-tools fa-fw\"></i> 工具箱</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://rssbox.mhuig.top/\" title=\"RSS Box\" active-action=\"action-https:rssboxmhuigtop\"><i class=\"fa-duotone fa-conveyor-belt-boxes fa-fw\"></i> RSS Box</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/havefun/coco/\" title=\"My Cat\" active-action=\"action-havefuncoco\"><i class=\"fa-duotone fa-cat fa-fw\"></i> My Cat</a></li><li><a class=\"menuitem flat-box\"><i class=\"fa-duotone fa-compact-disc fa-spin fa-fw music\"></i> Music</a><ul class=\"list-v\"><li><div class=\"aplayer-container\"><div class=\"aplayer-local\"></div></div></li></ul></li><li></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/talk/\" title=\"碎言碎语\" active-action=\"action-pagestalk\"><i class=\"fa-duotone fa-comments fa-fw\"></i> 碎言碎语</a></li></ul></li><hr><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://github.com/MHuiG\" title=\"GitHub\" active-action=\"action-https:githubcomMHuiG\"><i class=\"fa-brands fa-github fa-fw\"></i> GitHub</a></li></ul></li></ul></div><div class=\"m_search\"><form name=\"searchform\" class=\"form u-search-form\"><i class=\"icon fa-solid fa-search fa-fw\"></i> <input type=\"text\" class=\"input u-search-input\" placeholder=\"Search...\"></form></div><ul class=\"switcher nav-list-h m-phone\"><li><a class=\"s-search fa-solid fa-search fa-fw\" target=\"_self\" title=\"search\"></a></li><li><a class=\"s-menu fa-solid fa-bars fa-fw\" target=\"_self\" title=\"menu\"></a><ul class=\"menu-phone list-v navigation white-box\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"索引\"><i class=\"fa-duotone fa-list-alt fa-fw\"></i> 索引</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/notes/\" title=\"便签\" active-action=\"action-notes\"><i class=\"fa-duotone fa-books fa-fw\"></i> 便签</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/categories/\" title=\"分类\" active-action=\"action-categories\"><i class=\"fa-duotone fa-folder-open fa-fw\"></i> 分类</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/tags/\" title=\"标签\" active-action=\"action-tags\"><i class=\"fa-duotone fa-tags fa-fw\"></i> 标签</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/archives/\" title=\"归档\" active-action=\"action-archives\"><i class=\"fa-duotone fa-archive fa-fw\"></i> 归档</a></li></ul></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/friends/\" title=\"友链\" active-action=\"action-pagesfriends\"><i class=\"fa-duotone fa-link fa-fw\"></i> 友链</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"https://www.travellings.cn/go-by-clouds.html\" title=\"Travelling\" target=\"_blank\" active-action=\"action-https:wwwtravellingscngo-by-cloudshtml\" rel=\"external nofollow noopener noreferrer\"><i class=\"fa-duotone fa-subway fa-fw\"></i> Travelling</a></li></ul></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/about/\" title=\"关于\" active-action=\"action-pagesabout\"><i class=\"fa-duotone fa-user-tie fa-fw\"></i> 关于</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/time-machine/\" title=\"时光机\" active-action=\"action-pagestime-machine\"><i class=\"fa-duotone fa-clock fa-fw\"></i> 时光机</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"noopener\" href=\"https://mhuig.top/privacy-policy/\" title=\"隐私政策\" active-action=\"action-https:mhuigtopprivacy-policy\"><i class=\"fa-duotone fa-user-secret fa-fw\"></i> 隐私政策</a></li></ul></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"更多\"><i class=\"fa-duotone fa-fan fa-spin fa-fw\"></i> 更多</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/beer/\" title=\"Sponsor\" active-action=\"action-pagesbeer\"><i class=\"fa-duotone fa-heart-square fa-fw\"></i> Sponsor</a></li><hr><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"博客管理\"><i class=\"fa-duotone fa-user-shield fa-fw\"></i> 博客管理</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box header toggle-mode-btn\"><i class=\"fa-duotone fa-bat fa-fw\"></i> 暗黑模式</a></li><li></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/rss/\" title=\"RSS订阅\" active-action=\"action-pagesrss\"><i class=\"fa-duotone fa-rss fa-fw\"></i> RSS订阅</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/sitemap.xml\" title=\"站点地图\" active-action=\"action-sitemapxml\"><i class=\"fa-duotone fa-sitemap fa-fw\"></i> 站点地图</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://mhuig.instatus.com/\" title=\"Monitors\" active-action=\"action-https:mhuiginstatuscom\"><i class=\"fa-duotone fa-telescope fa-fw\"></i> Monitors</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://ssl.mhuig.top/\" title=\"SSL Status\" active-action=\"action-https:sslmhuigtop\"><i class=\"fa-brands fa-expeditedssl fa-fw\"></i> SSL Status</a></li></ul></li><hr><li><a class=\"menuitem flat-box faa-parent animated-hover\" title=\"工具箱\"><i class=\"fa-duotone fa-tools fa-fw\"></i> 工具箱</a><ul class=\"list-v\"><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://rssbox.mhuig.top/\" title=\"RSS Box\" active-action=\"action-https:rssboxmhuigtop\"><i class=\"fa-duotone fa-conveyor-belt-boxes fa-fw\"></i> RSS Box</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/havefun/coco/\" title=\"My Cat\" active-action=\"action-havefuncoco\"><i class=\"fa-duotone fa-cat fa-fw\"></i> My Cat</a></li><li><a class=\"menuitem flat-box faa-parent animated-hover\" href=\"/pages/talk/\" title=\"碎言碎语\" active-action=\"action-pagestalk\"><i class=\"fa-duotone fa-comments fa-fw\"></i> 碎言碎语</a></li></ul></li><hr><li><a class=\"menuitem flat-box faa-parent animated-hover\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://github.com/MHuiG\" title=\"GitHub\" active-action=\"action-https:githubcomMHuiG\"><i class=\"fa-brands fa-github fa-fw\"></i> GitHub</a></li></ul></li></ul></li></ul></div></div></div></header><div id=\"l_body\"><div id=\"l_cover\"><div id=\"none\" class=\"cover-wrapper post featured\" style=\"display:none\"><div class=\"cover-bg lazyload placeholder\" data-bg=\"\"></div><div class=\"cover-body\"><div class=\"top\"><p class=\"title\">Magicland</p><p class=\"subtitle\">「看庭前花开花落,望天上云卷云舒」</p></div><div class=\"bottom\"><div class=\"menu navigation\"><div class=\"list-h\"><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"https://github.com/MHuiG\" active-action=\"action-https:githubcomMHuiG\"><i class=\"fa-brands fa-github color-github fa-fw\"></i><p>Github</p></a><a href=\"/pages/friends/\" active-action=\"action-pagesfriends\"><i class=\"fa-duotone fa-link color-friends fa-fw\"></i><p>友链</p></a><a href=\"/pages/about/\" active-action=\"action-pagesabout\"><i class=\"fa-duotone fa-user-tie color-about fa-fw\"></i><p>关于</p></a><a href=\"https://www.travellings.cn/go-by-clouds.html\" target=\"_blank\" active-action=\"action-https:wwwtravellingscngo-by-cloudshtml\" rel=\"external nofollow noopener noreferrer\"><i class=\"fa-duotone fa-subway color-travellings fa-fw\"></i><p>Travelling</p></a></div></div></div></div><div id=\"scroll-down\" style=\"display:none\"><i class=\"fa fa-chevron-down scroll-down-effects\"></i></div></div></div><div id=\"safearea\"><div class=\"body-wrapper\"><div id=\"l_main\" class=\"\"><article itemscope=\"\" itemtype=\"http://schema.org/Article\" class=\"article post white-box reveal md shadow floatable blur article-type-post\" id=\"post\" itemprop=\"blogPost\"><link itemprop=\"mainEntityOfPage\" href=\"https://blog.mhuig.top/notes/package-mirror/\"><span hidden=\"\" itemprop=\"publisher\" itemscope=\"\" itemtype=\"http://schema.org/Organization\"><meta itemprop=\"name\" content=\"Magicland\"></span><span hidden=\"\" itemprop=\"post\" itemscope=\"\" itemtype=\"http://schema.org/CreativeWork\"><meta itemprop=\"name\" content=\"Package Mirror\"><meta itemprop=\"description\" content=\"本文整理Go、npm、pip等主流包管理器及Docker、Kubernetes等开发工具的国内镜像配置方法,提供阿里云、华为云等多平台镜像地址,附nexus私服代理方案与版本适配指南,解决软件下载慢问题。\"></span><span hidden=\"\"><meta itemprop=\"image\" content=\"/lib/favicon/android-chrome-192x192.png\"></span><div class=\"article-meta\" id=\"top\"><h1 class=\"title\" itemprop=\"name headline\"> Package Mirror</h1><div class=\"new-meta-box\"><div class=\"new-meta-item author\" itemprop=\"author\" itemscope=\"\" itemtype=\"http://schema.org/Person\"> <a itemprop=\"url\" class=\"author\" target=\"_blank\" href=\"https://mhuig.top/\" rel=\"nofollow noopener\" alt=\"author\"><img itemprop=\"image\" src=\"/lib/avatar/avatar-16.webp\" class=\"lazyload\" data-srcset=\"/lib/avatar/avatar-16.webp\" srcset=\"data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"><p itemprop=\"name\">MHuiG</p></a></div><div class=\"new-meta-item wordcount\"><a class=\"notlink\"><i class=\"fa-duotone fa-keyboard fa-fw\" aria-hidden=\"true\"></i><p>字数:5.9k 字</p></a></div><div class=\"new-meta-item readtime\"><a class=\"notlink\"><i class=\"fa-duotone fa-hourglass-half fa-fw\" aria-hidden=\"true\"></i><p>时长:30 分钟</p></a></div></div></div><div id=\"layoutHelper-page-plugins\"></div><div id=\"post-body\" itemprop=\"articleBody\"><p><code>注意:</code>假如所有的镜像都已经被本地 nexus 私服代理,那么对应的地址为<code>nexus.eryajf.net/repository/***/</code>。(这只是个域名示例,不代表实际可用!)</p><div class=\"story post-story\"><h2 id=\"Go\"><a href=\"#Go\" class=\"headerlink\" title=\"Go\"></a>Go</h2><h3 id=\"Configuration\"><a href=\"#Configuration\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>如果 go 版本用的<code>go1.11</code>或者<code>go1.12</code>,需进行如下配置:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\"><span class=\"built_in\">export</span> GO111MODULE=on</span><br><span class=\"line\"><span class=\"built_in\">export</span> GOPROXY=<span class=\"string\">\"http://nexus.eryajf.net/repository/go/\"</span></span><br></pre></td></tr></tbody></table></figure><p>如果使用 <code>go1.13</code>以上的版本则可以用如下配置:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\"><span class=\"built_in\">export</span> GOPROXY=<span class=\"string\">\"http://nexus.eryajf.net/repository/go/\"</span></span><br><span class=\"line\">GONOPROXY=<span class=\"string\">\"gitlab.eryajf.net\"</span></span><br><span class=\"line\">GONOSUMDB=<span class=\"string\">\"gitlab.eryajf.net\"</span></span><br><span class=\"line\">GOPRIVATE=<span class=\"string\">\"gitlab.eryajf.net\"</span></span><br><span class=\"line\">GOSUMDB=<span class=\"string\">\"sum.golang.google.cn\"</span></span><br></pre></td></tr></tbody></table></figure><p>关于如上两个版本配置差异,以及配置参数详解可参考:<a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly93aWtpLmVyeWFqZi5uZXQvcGFnZXMvNDk0MS5odG1s\">https://wiki.eryajf.net/pages/4941.html</a></p><h3 id=\"Mirrors\"><a href=\"#Mirrors\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><ul><li>Aliyun<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmFsaXl1bi5jb20vZ29wcm94eS8\">https://mirrors.aliyun.com/goproxy/</a></li></ul></li><li>Proxy-cn<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9nb3Byb3h5LmNuLw\">https://goproxy.cn</a></li></ul></li><li>Proxy-io<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9wcm94eS5nb2xhbmcuY29tLmNuLw\">https://proxy.golang.com.cn</a></li></ul></li><li>Baidu<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9nb3Byb3h5LmJqLmJjZWJvcy5jb20v\">https://goproxy.bj.bcebos.com/</a></li></ul></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2hlbHAvZ28uaHRtbA\">Tencent</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2dvLw\">https://mirrors.cloud.tencent.com/go/</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9yZXBvc2l0b3J5L2dvcHJveHkv\">https://repo.huaweicloud.com/repository/goproxy/</a></li></ul></li></ul><p>其中<code>GOSUMDB</code>在国内可用的两个镜像分别如下:</p><ul><li>Google<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9zdW0uZ29sYW5nLmdvb2dsZS5jbi8\">https://sum.golang.google.cn/</a></li></ul></li><li>sumdb-io<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9nb3N1bS5pby8\">https://gosum.io/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Npm\"><a href=\"#Npm\" class=\"headerlink\" title=\"Npm\"></a>Npm</h2><h3 id=\"Configuration-1\"><a href=\"#Configuration-1\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>配置<code>npm</code>代理,需进行如下配置:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\"><span class=\"comment\"># npm配置</span></span><br><span class=\"line\">$ <span class=\"built_in\">echo</span> <span class=\"string\">'registry=http://nexus.eryajf.net/repository/npm'</span> &gt; ~/.npmrc</span><br><span class=\"line\"><span class=\"comment\"># 查看</span></span><br><span class=\"line\">$ npm config get registry</span><br><span class=\"line\">http://nexus.eryajf.net/repository/npm</span><br><span class=\"line\"></span><br><span class=\"line\"><span class=\"comment\"># yarn配置</span></span><br><span class=\"line\">$ <span class=\"built_in\">echo</span> <span class=\"string\">'registry \"http://nexus.eryajf.net/repository/npm\"'</span> &gt; ~/.yarnrc</span><br><span class=\"line\"><span class=\"comment\"># 查看</span></span><br><span class=\"line\">$ yarn config get registry</span><br><span class=\"line\">http://nexus.eryajf.net/repository/npm</span><br></pre></td></tr></tbody></table></figure><h3 id=\"Mirrors-1\"><a href=\"#Mirrors-1\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><ul><li>Taobao<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZWdpc3RyeS5ucG0udGFvYmFvLm9yZy8\">https://registry.npm.taobao.org</a><br>但是请注意如下一个消息:<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly96aHVhbmxhbi56aGlodS5jb20vcC80NjU0MjQ3Mjg_c3BtPWEyYzZoLjI0NzU1MzU5LjAuMC42ZDQ0NGRjY3lSTHhOOA\">淘宝 npm 域名即将切换 &amp;&amp; npmmirror 重构升级</a>:即原来的淘宝 npm 域名将停止解析,因此所有依赖此域名的都需要进行更改。<ul><li>域名切换规则:<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL25wbS50YW9iYW8ub3JnLw\">http://npm.taobao.org</a>=&gt; <a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL25wbW1pcnJvci5jb20v\">http://npmmirror.com</a></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL3JlZ2lzdHJ5Lm5wbS50YW9iYW8ub3JnLw\">http://registry.npm.taobao.org</a>=&gt; <a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL3JlZ2lzdHJ5Lm5wbW1pcnJvci5jb20v\">http://registry.npmmirror.com</a></li></ul></li></ul></li></ul></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9yZXBvc2l0b3J5L25wbS8\">https://repo.huaweicloud.com/repository/npm/</a></li></ul></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2hlbHAvbnBtLmh0bWw\">Tencent</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuY2xvdWQudGVuY2VudC5jb20vbnBtLw\">http://mirrors.cloud.tencent.com/npm/</a></li></ul></li><li>浙江大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuemp1LmVkdS5jbi9ucG0v\">http://mirrors.zju.edu.cn/npm/</a></li></ul></li><li>南京邮电<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLm5qdXB0LmVkdS5jbi9uZXh1cy9yZXBvc2l0b3J5L25wbS8\">https://mirrors.njupt.edu.cn/nexus/repository/npm/</a></li></ul></li><li>npmjs<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZWdpc3RyeS5ucG1qcy5vcmcv\">https://registry.npmjs.org</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Pip\"><a href=\"#Pip\" class=\"headerlink\" title=\"Pip\"></a>Pip</h2><h3 id=\"Configuration-2\"><a href=\"#Configuration-2\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>配置<code>Python</code>代理,需进行如下配置:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">$ <span class=\"built_in\">mkdir</span> ~/.pip</span><br><span class=\"line\"></span><br><span class=\"line\">$ <span class=\"built_in\">cat</span> &gt; ~/.pip/pip.conf &lt;&lt; <span class=\"string\">EOF</span></span><br><span class=\"line\"><span class=\"string\">[global]</span></span><br><span class=\"line\"><span class=\"string\">timeout = 60</span></span><br><span class=\"line\"><span class=\"string\">trusted-host = nexus.eryajf.net</span></span><br><span class=\"line\"><span class=\"string\">index-url = http://nexus.eryajf.net/repository/pypi/simple</span></span><br><span class=\"line\"><span class=\"string\">EOF</span></span><br><span class=\"line\"></span><br></pre></td></tr></tbody></table></figure><p><code>注意:</code>通常在配置文件后边,我们会添加一个<code>simple</code>。</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\"><span class=\"comment\"># 简洁配置方式 1</span></span><br><span class=\"line\">pip config <span class=\"built_in\">set</span> global.index-url https://pypi.tuna.tsinghua.edu.cn/simple</span><br><span class=\"line\"><span class=\"comment\"># 简洁配置方式 2 </span></span><br><span class=\"line\">pip3 install --upgrade -i https://pypi.tuna.tsinghua.edu.cn/simple yt-dlp</span><br></pre></td></tr></tbody></table></figure><h3 id=\"Mirrors-2\"><a href=\"#Mirrors-2\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><p>目前代理外部私仓有:</p><ul><li>Aliyun<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuYWxpeXVuLmNvbS9weXBpLw\">http://mirrors.aliyun.com/pypi/</a></li></ul></li><li>douban<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL3B5cGkuZG91YmFuLmNvbS8\">http://pypi.douban.com/</a></li></ul></li><li>清华<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9weXBpLnR1bmEudHNpbmdodWEuZWR1LmNuLw\">https://pypi.tuna.tsinghua.edu.cn/</a></li></ul></li><li>163<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLjE2My5jb20vcHlwaQ\">https://mirrors.163.com/pypi</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9yZXBvc2l0b3J5L3B5cGk\">https://repo.huaweicloud.com/repository/pypi</a></li></ul></li><li>Tencent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL3B5cGkv\">https://mirrors.cloud.tencent.com/pypi/</a></li></ul></li><li>北大<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnBrdS5lZHUuY24vcHlwaS8\">https://mirrors.pku.edu.cn/pypi/</a></li></ul></li><li>南阳理工<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3Iubnlpc3QuZWR1LmNuL3B5cGkv\">https://mirror.nyist.edu.cn/pypi/</a></li></ul></li><li>大连东软<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMubmV1c29mdC5lZHUuY24vcHlwaS93ZWIv\">http://mirrors.neusoft.edu.cn/pypi/web/</a></li></ul></li><li>哈尔滨工业大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmhpdC5lZHUuY24vcHlwaS93ZWIv\">https://mirrors.hit.edu.cn/pypi/web/</a></li></ul></li><li>上海交通大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3Iuc2p0dS5lZHUuY24vcHlwaS93ZWIvc2ltcGxlLw\">https://mirror.sjtu.edu.cn/pypi/web/simple/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Composer\"><a href=\"#Composer\" class=\"headerlink\" title=\"Composer\"></a>Composer</h2><p><em>Composer</em> 是 PHP 的一个依赖管理工具,需要 PHP 5.3.2 以上才能运行。</p><h3 id=\"Configuration-3\"><a href=\"#Configuration-3\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>配置<code>PHP</code>代理,需进行如下配置:</p><ul><li>全局配置(推荐)<ul><li>所有项目都会使用该镜像地址:<figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/</span><br></pre></td></tr></tbody></table></figure></li><li>取消配置:<figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">composer config -g --<span class=\"built_in\">unset</span> repos.packagist</span><br></pre></td></tr></tbody></table></figure></li></ul></li><li>项目配置<ul><li>仅修改当前工程配置,仅当前工程可使用该镜像地址:<figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">composer config repo.packagist composer https://mirrors.aliyun.com/composer/</span><br></pre></td></tr></tbody></table></figure></li><li>取消配置:<figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">composer config --<span class=\"built_in\">unset</span> repos.packagist</span><br></pre></td></tr></tbody></table></figure></li></ul></li></ul><p>参考:<a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kZXZlbG9wZXIuYWxpeXVuLmNvbS9jb21wb3Nlcg\">https://developer.aliyun.com/composer</a></p><h3 id=\"Mirrors-3\"><a href=\"#Mirrors-3\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><p>目前代理外部私仓有:</p><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kZXZlbG9wZXIuYWxpeXVuLmNvbS9jb21wb3Nlcg\">Aliyun</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmFsaXl1bi5jb20vY29tcG9zZXIv\">https://mirrors.aliyun.com/composer/</a></li></ul></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2hlbHAvY29tcG9zZXIuaHRtbA\">Tencent</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2NvbXBvc2VyLw\">https://mirrors.cloud.tencent.com/composer/</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmh1YXdlaWNsb3VkLmNvbS9yZXBvc2l0b3J5L3BocC8\">https://mirrors.huaweicloud.com/repository/php/</a></li></ul></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9wa2cueHl6Lw\">Packagist</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9wYWNrYWdpc3QucGhwY29tcG9zZXIuY29tLw\">https://packagist.phpcomposer.com</a></li></ul></li><li> 上海交通<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9wYWNrYWdpc3QubWlycm9ycy5zanR1Zy5zanR1LmVkdS5jbi8\">https://packagist.mirrors.sjtug.sjtu.edu.cn</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Rubygems\"><a href=\"#Rubygems\" class=\"headerlink\" title=\"Rubygems\"></a>Rubygems</h2><p><em>RubyGems</em> 是 Ruby 的一个包管理器,它提供一个分发 Ruby 程序和库的标准格式,还提供一个管理程序包安装的工具。</p><h3 id=\"Configuration-4\"><a href=\"#Configuration-4\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>配置<code>Ruby</code>代理,需进行如下配置:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\"><span class=\"comment\"># 首先,查看当前源:</span></span><br><span class=\"line\">$ gem sources -l</span><br><span class=\"line\">*** CURRENT SOURCES ***</span><br><span class=\"line\">https://rubygems.org/</span><br><span class=\"line\"></span><br><span class=\"line\"></span><br><span class=\"line\"><span class=\"comment\"># 接着,移除 https://rubygems.org/,并添加国内下载源 https://gems.ruby-china.com/。</span></span><br><span class=\"line\">$ gem sources --remove https://rubygems.org/</span><br><span class=\"line\">$ gem sources -a https://gems.ruby-china.com/</span><br><span class=\"line\">$ gem sources -l</span><br><span class=\"line\">*** CURRENT SOURCES ***</span><br><span class=\"line\"></span><br><span class=\"line\">https://gems.ruby-china.com/</span><br><span class=\"line\"></span><br><span class=\"line\"><span class=\"comment\"># 请确保只有 gems.ruby-china.com</span></span><br><span class=\"line\">$ gem install rails</span><br></pre></td></tr></tbody></table></figure><p>参考:<a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly93d3cucnVub29iLmNvbS9ydWJ5L3J1YnktcnVieWdlbXMuaHRtbA\">https://www.runoob.com/ruby/ruby-rubygems.html</a></p><h3 id=\"Mirrors-4\"><a href=\"#Mirrors-4\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><p>目前代理外部私仓有:</p><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kZXZlbG9wZXIuYWxpeXVuLmNvbS9taXJyb3IvcnVieWdlbXM\">Aliyun</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmFsaXl1bi5jb20vcnVieWdlbXMv\">https://mirrors.aliyun.com/rubygems/</a></li></ul></li><li>Tencent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL3J1YnlnZW1zLw\">https://mirrors.cloud.tencent.com/rubygems/</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9yZXBvc2l0b3J5L3J1YnlnZW1zLw\">https://repo.huaweicloud.com/repository/rubygems/</a></li></ul></li><li>清华<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnR1bmEudHNpbmdodWEuZWR1LmNuL3J1YnlnZW1zLw\">https://mirrors.tuna.tsinghua.edu.cn/rubygems/</a></li></ul></li><li>中科大<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnVzdGMuZWR1LmNuL3J1YnlnZW1zLw\">https://mirrors.ustc.edu.cn/rubygems/</a></li></ul></li><li>北京外国语大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmJmc3UuZWR1LmNuL3J1YnlnZW1zLw\">https://mirrors.bfsu.edu.cn/rubygems/</a></li></ul></li><li>哈尔滨工业大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmhpdC5lZHUuY24vcnVieWdlbXMv\">https://mirrors.hit.edu.cn/rubygems/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Maven\"><a href=\"#Maven\" class=\"headerlink\" title=\"Maven\"></a>Maven</h2><h3 id=\"Configuration-5\"><a href=\"#Configuration-5\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>Java 系的工具版本规范如下:</p><ul><li><code>JDK:</code>1.8.0_292</li><li><code>MVN:</code>3.3.9</li></ul><p>配置 Maven 代理,参考配置文件: <a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL2VyeWFqZi9UaGFua3MtTWlycm9yL21haW4vc3JjL3NldHRpbmdzLnhtbA\">settings.xml</a></p><h3 id=\"Mirrors-5\"><a href=\"#Mirrors-5\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><ul><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9yZXBvc2l0b3J5L21hdmVuLw\">https://repo.huaweicloud.com/repository/maven/</a></li></ul></li><li>Maven Central Repository<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvMS5tYXZlbi5vcmcvbWF2ZW4yLw\">https://repo1.maven.org/maven2/</a></li></ul></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kZXZlbG9wZXIuYWxpeXVuLmNvbS9tdm4vZ3VpZGU\">Aliyun</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21hdmVuLmFsaXl1bi5jb20vbmV4dXMvY29udGVudC9ncm91cHMvcHVibGljLw\">http://maven.aliyun.com/nexus/content/groups/public/</a></li></ul></li><li>Tencent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL21hdmVuLw\">https://mirrors.cloud.tencent.com/maven/</a></li></ul></li><li>南京邮电<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLm5qdXB0LmVkdS5jbi9uZXh1cy9yZXBvc2l0b3J5L21hdmVuLWNlbnRyYWw\">https://mirrors.njupt.edu.cn/nexus/repository/maven-central</a></li></ul></li><li>Apache Maven<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLm1hdmVuLmFwYWNoZS5vcmcvbWF2ZW4y\">https://repo.maven.apache.org/maven2</a></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvc2l0b3J5LmFwYWNoZS5vcmcvY29udGVudC9ncm91cHMvc25hcHNob3Rz\">https://repository.apache.org/content/groups/snapshots</a></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvc2l0b3J5LmFwYWNoZS5vcmcvY29udGVudC9ncm91cHMvc3RhZ2luZy8\">https://repository.apache.org/content/groups/staging/</a></li><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvc2l0b3J5LmFwYWNoZS5vcmcvY29udGVudC9ncm91cHMvcHVibGljLw\">https://repository.apache.org/content/groups/public/</a></li></ul></li><li>confluent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL3BhY2thZ2VzLmNvbmZsdWVudC5pby9tYXZlbi8\">http://packages.confluent.io/maven/</a></li></ul></li><li>cloudera<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL3JlcG8uaG9ydG9ud29ya3MuY29tL2NvbnRlbnQvcmVwb3NpdG9yaWVzL3JlbGVhc2Vz\">http://repo.hortonworks.com/content/repositories/releases</a></li></ul></li><li>jboss<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvc2l0b3J5Lmpib3NzLm9yZy9uZXh1cy9jb250ZW50L2dyb3Vwcy9wdWJsaWM\">https://repository.jboss.org/nexus/content/groups/public</a></li></ul></li><li>Lss233's.Mirror(供 Minecraft 开发使用)<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL2xzczIzMy5saXR0bGVzZXJ2aWNlLmNuL3JlcG9zaXRvcmllcy9taW5lY3JhZnQ\">http://lss233.littleservice.cn/repositories/minecraft</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Yum\"><a href=\"#Yum\" class=\"headerlink\" title=\"Yum\"></a>Yum</h2><h3 id=\"Configuration-6\"><a href=\"#Configuration-6\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>如果<code>CentOS</code>服务器要接入私服<code>yum</code>源,则清空本地 <code>/etc/yum.repos.d</code>的内容,添加如下内容:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">$ <span class=\"built_in\">cat</span> &gt;&gt; /etc/yum.repos.d/nexus.repo &lt;&lt; <span class=\"string\">'EOF'</span></span><br><span class=\"line\">[nexus]</span><br><span class=\"line\">name=Nexus Repository</span><br><span class=\"line\">baseurl=http://nexus.eryajf.net/repository/yum/<span class=\"variable\">$releasever</span>/os/<span class=\"variable\">$basearch</span>/</span><br><span class=\"line\">enabled=1</span><br><span class=\"line\">gpgcheck=0</span><br><span class=\"line\"></span><br><span class=\"line\">[nexus-local]</span><br><span class=\"line\">name=Nexus Repository</span><br><span class=\"line\">baseurl=http://nexus.eryajf.net/repository/eryajf-yum-local/</span><br><span class=\"line\">enabled=1</span><br><span class=\"line\">gpgcheck=0</span><br><span class=\"line\">EOF</span><br></pre></td></tr></tbody></table></figure><p>然后执行如下命令:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">yum clean all</span><br><span class=\"line\">yum makecache</span><br></pre></td></tr></tbody></table></figure><h3 id=\"Mirrors-6\"><a href=\"#Mirrors-6\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><p>目前代理外部源:</p><ul><li>Aliyun<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmFsaXl1bi5jb20vY2VudG9zLw\">https://mirrors.aliyun.com/centos/</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9jZW50b3Mv\">https://repo.huaweicloud.com/centos/</a></li></ul></li><li>Tencent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2NlbnRvcy8\">https://mirrors.cloud.tencent.com/centos/</a></li></ul></li><li>北京交通<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3IuYmp0dS5lZHUuY24vY2VudG9zLw\">https://mirror.bjtu.edu.cn/centos/</a></li></ul></li><li>东北大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvci5uZXUuZWR1LmNuL2NlbnRvcy8\">http://mirror.neu.edu.cn/centos/</a></li></ul></li><li>兰州大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3IubHp1LmVkdS5jbi9jZW50b3Mv\">https://mirror.lzu.edu.cn/centos/</a></li></ul></li><li>清华<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnR1bmEudHNpbmdodWEuZWR1LmNuL2NlbnRvcy8\">https://mirrors.tuna.tsinghua.edu.cn/centos/</a></li></ul></li><li>华中科技大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnVzdGMuZWR1LmNuL2NlbnRvcy8\">https://mirrors.ustc.edu.cn/centos/</a></li></ul></li><li>浙江大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuemp1LmVkdS5jbi9jZW50b3Mv\">http://mirrors.zju.edu.cn/centos/</a></li></ul></li><li>souhu<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuc29odS5jb20vY2VudG9zLw\">http://mirrors.sohu.com/centos/</a></li></ul></li><li>163:<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuMTYzLmNvbS9jZW50b3Mv\">http://mirrors.163.com/centos/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Remi\"><a href=\"#Remi\" class=\"headerlink\" title=\"Remi\"></a>Remi</h2><p>Remi repository 是包含最新版本 PHP 和 MySQL 包的 Linux 源,由 Remi 提供维护。</p><p>官方地址:<a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9ycG1zLnJlbWlyZXBvLm5ldC8\">https://rpms.remirepo.net/</a></p><h3 id=\"Configuration-7\"><a href=\"#Configuration-7\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>详情参考:<a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly93aWtpLmVyeWFqZi5uZXQvcGFnZXMvZjM1OTg2\">https://wiki.eryajf.net/pages/f35986</a></p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">yum install -y epel-release</span><br><span class=\"line\">yum install -y https://mirrors.tuna.tsinghua.edu.cn/remi/enterprise/remi-release-7.rpm</span><br></pre></td></tr></tbody></table></figure><h3 id=\"Mirrors-7\"><a href=\"#Mirrors-7\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><p>目前代理外部源:</p><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kZXZlbG9wZXIuYWxpeXVuLmNvbS9taXJyb3IvcmVtaQ\">Aliyun</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmFsaXl1bi5jb20vcmVtaS8\">https://mirrors.aliyun.com/remi/</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9yZW1pLw\">https://repo.huaweicloud.com/remi/</a></li></ul></li><li>清华<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnR1bmEudHNpbmdodWEuZWR1LmNuL3JlbWkv\">https://mirrors.tuna.tsinghua.edu.cn/remi/</a></li></ul></li><li>中科大<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnVzdGMuZWR1LmNuL3JlbWkv\">https://mirrors.ustc.edu.cn/remi/</a></li></ul></li><li>上海交通<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL2Z0cC5zanR1LmVkdS5jbi9yZW1pLw\">http://ftp.sjtu.edu.cn/remi/</a></li></ul></li><li>首都在线<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMueXVuLWlkYy5jb20vcmVtaS8\">http://mirrors.yun-idc.com/remi/</a></li></ul></li><li>北京外国语大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmJmc3UuZWR1LmNuL3JlbWkv\">https://mirrors.bfsu.edu.cn/remi/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Epel\"><a href=\"#Epel\" class=\"headerlink\" title=\"Epel\"></a>Epel</h2><p>EPEL 的全称叫 Extra Packages for Enterprise Linux。EPEL 是由 Fedora 社区打造,为 RHEL 及衍生发行版如 CentOS、Scientific Linux 等提供高质量软件包的项目。</p><p>官方地址:<a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kb2NzLmZlZG9yYXByb2plY3Qub3JnL2VuLVVTL2VwZWwv\">https://docs.fedoraproject.org/en-US/epel/</a></p><h3 id=\"Configuration-8\"><a href=\"#Configuration-8\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\"><span class=\"comment\"># 备份</span></span><br><span class=\"line\"><span class=\"built_in\">mv</span> /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel.repo.backup</span><br><span class=\"line\"><span class=\"built_in\">mv</span> /etc/yum.repos.d/epel-testing.repo /etc/yum.repos.d/epel-testing.repo.backup</span><br><span class=\"line\"></span><br><span class=\"line\"><span class=\"comment\"># 下载</span></span><br><span class=\"line\">wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo</span><br></pre></td></tr></tbody></table></figure><h3 id=\"Mirrors-8\"><a href=\"#Mirrors-8\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><p>目前代理外部源:</p><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kZXZlbG9wZXIuYWxpeXVuLmNvbS9taXJyb3IvZXBlbA\">Aliyun</a><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmFsaXl1bi5jb20vZXBlbC8\">https://mirrors.aliyun.com/epel/</a></li></ul></li><li>Tencent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2VwZWwv\">https://mirrors.cloud.tencent.com/epel/</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9lcGVsLw\">https://repo.huaweicloud.com/epel/</a></li></ul></li><li>清华<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnR1bmEudHNpbmdodWEuZWR1LmNuL2VwZWwv\">https://mirrors.tuna.tsinghua.edu.cn/epel/</a></li></ul></li><li>中科大<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnVzdGMuZWR1LmNuL2VwZWwv\">https://mirrors.ustc.edu.cn/epel/</a></li></ul></li><li>浙江大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuemp1LmVkdS5jbi9lcGVsLw\">http://mirrors.zju.edu.cn/epel/</a></li></ul></li><li>兰州大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3IubHp1LmVkdS5jbi9lcGVsLw\">https://mirror.lzu.edu.cn/epel/</a></li></ul></li><li>上海交通<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL2Z0cC5zanR1LmVkdS5jbi9lcGVsLw\">http://ftp.sjtu.edu.cn/epel/</a></li></ul></li><li>首都在线<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMueXVuLWlkYy5jb20vZXBlbC8\">http://mirrors.yun-idc.com/epel/</a></li></ul></li><li>大连东软<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMubmV1c29mdC5lZHUuY24vZXBlbC8\">http://mirrors.neusoft.edu.cn/epel/</a></li></ul></li><li>大连理工<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvci5kbHV0LmVkdS5jbi9lcGVsLw\">http://mirror.dlut.edu.cn/epel/</a></li></ul></li><li>南京邮电<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMubmp1cHQuZWR1LmNuL2VwZWwv\">http://mirrors.njupt.edu.cn/epel/</a></li></ul></li><li>重庆大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNxdS5lZHUuY24vZXBlbC8\">https://mirrors.cqu.edu.cn/epel/</a></li></ul></li><li>北京外国语大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmJmc3UuZWR1LmNuL2VwZWwv\">https://mirrors.bfsu.edu.cn/epel/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Homebrew\"><a href=\"#Homebrew\" class=\"headerlink\" title=\"Homebrew\"></a>Homebrew</h2><h3 id=\"Configuration-9\"><a href=\"#Configuration-9\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>如果你使用了 zsh,那么配置方式如下:</p><figure class=\"highlight bash\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\"><span class=\"built_in\">echo</span> <span class=\"string\">'export HOMEBREW_BREW_GIT_REMOTE=\"https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git\"'</span> &gt;&gt; ~/.zshrc</span><br><span class=\"line\"><span class=\"built_in\">echo</span> <span class=\"string\">'export HOMEBREW_CORE_GIT_REMOTE=\"https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git\"'</span> &gt;&gt; ~/.zshrc</span><br><span class=\"line\"><span class=\"built_in\">echo</span> <span class=\"string\">'export HOMEBREW_BOTTLE_DOMAIN=\"https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles\"'</span> &gt;&gt; ~/.zshrc</span><br><span class=\"line\"></span><br><span class=\"line\"><span class=\"built_in\">source</span> ~/.zshrc</span><br><span class=\"line\">brew update</span><br></pre></td></tr></tbody></table></figure><p>参考:<a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly93d3cuZnJhbmtpbmRldi5jb20vMjAyMC8wNS8xNS9yZXBsYWNlLWhvbWVicmV3LXNvdXJjZS8\">Homebrew 替换国内镜像源</a></p><h3 id=\"Mirrors-9\"><a href=\"#Mirrors-9\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><ul><li>Aliyun<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmFsaXl1bi5jb20vaG9tZWJyZXcv\">https://mirrors.aliyun.com/homebrew/</a></li></ul></li><li>Tencent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2hvbWVicmV3Lw\">https://mirrors.cloud.tencent.com/homebrew/</a></li></ul></li><li>清华:<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnR1bmEudHNpbmdodWEuZWR1LmNuL2hlbHAvaG9tZWJyZXcv\">https://mirrors.tuna.tsinghua.edu.cn/help/homebrew/</a></li></ul></li><li>重庆大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNxdS5lZHUuY24vaG9tZWJyZXcv\">https://mirrors.cqu.edu.cn/homebrew/</a></li></ul></li><li>北京外国语大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmJmc3UuZWR1LmNuL2hlbHAvaG9tZWJyZXcv\">https://mirrors.bfsu.edu.cn/help/homebrew/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"cargo\"><a href=\"#cargo\" class=\"headerlink\" title=\"cargo\"></a>cargo</h2><p>rust 包管理镜像源</p><h3 id=\"Configuration-10\"><a href=\"#Configuration-10\" class=\"headerlink\" title=\"Configuration\"></a>Configuration</h3><p>修改文件<code>~/.cargo/config</code> (没有则新建)</p><figure class=\"highlight plaintext\"><table><tbody><tr><td class=\"code\"><pre><span class=\"line\">[source.crates-io]</span><br><span class=\"line\">replace-with = 'rsproxy'</span><br><span class=\"line\"></span><br><span class=\"line\">[source.rsproxy]</span><br><span class=\"line\">registry = \"https://rsproxy.cn/crates.io-index\"</span><br><span class=\"line\"></span><br><span class=\"line\">[registries.rsproxy]</span><br><span class=\"line\">index = \"https://rsproxy.cn/crates.io-index\"</span><br><span class=\"line\"></span><br><span class=\"line\">[net]</span><br><span class=\"line\">git-fetch-with-cli = true</span><br></pre></td></tr></tbody></table></figure><h3 id=\"Mirrors-10\"><a href=\"#Mirrors-10\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><ul><li>字节<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yc3Byb3h5LmNuL2NyYXRlcy5pby1pbmRleA\">https://rsproxy.cn/crates.io-index</a></li></ul></li><li> 中国科学技术大学<ul><li>git://mirrors.ustc.edu.cn/crates.io-index</li></ul></li><li>清华:<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnR1bmEudHNpbmdodWEuZWR1LmNuL2dpdC9jcmF0ZXMuaW8taW5kZXguZ2l0\">https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git</a></li></ul></li><li> 上海交通大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnNqdHVnLnNqdHUuZWR1LmNuL2dpdC9jcmF0ZXMuaW8taW5kZXg\">https://mirrors.sjtug.sjtu.edu.cn/git/crates.io-index</a></li></ul></li><li> 阿里云<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9jb2RlLmFsaXl1bi5jb20vcnVzdGNjL2NyYXRlcy5pby1pbmRleA\">https://code.aliyun.com/rustcc/crates.io-index</a></li></ul></li><li> 北京外国语大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmJmc3UuZWR1LmNuL2dpdC9jcmF0ZXMuaW8taW5kZXguZ2l0\">https://mirrors.bfsu.edu.cn/git/crates.io-index.git</a></li></ul></li><li>rustcc 社区<ul><li>git://crates.rustcc.cn/crates.io-index</li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Software-Mirror\"><a href=\"#Software-Mirror\" class=\"headerlink\" title=\"Software-Mirror\"></a>Software-Mirror</h2><p>还有一些软件,直接通过官方下载比较困难,也整理出方便下载的国内优质镜像。</p></div><div class=\"story post-story\"><h2 id=\"Docker\"><a href=\"#Docker\" class=\"headerlink\" title=\"Docker\"></a>Docker</h2><h3 id=\"Official\"><a href=\"#Official\" class=\"headerlink\" title=\"Official\"></a>Official</h3><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kb2NzLmRvY2tlci5jb20vZW5naW5lL2luc3RhbGwv\">https://docs.docker.com/engine/install/</a></li></ul><h3 id=\"Mirrors-11\"><a href=\"#Mirrors-11\" class=\"headerlink\" title=\"Mirrors\"></a>Mirrors</h3><ul><li>Aliyun<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9kZXZlbG9wZXIuYWxpeXVuLmNvbS9taXJyb3IvZG9ja2VyLWNl\">https://developer.aliyun.com/mirror/docker-ce</a></li></ul></li><li>Tencent<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmNsb3VkLnRlbmNlbnQuY29tL2RvY2tlci1jZS8\">https://mirrors.cloud.tencent.com/docker-ce/</a></li></ul></li><li>HUAWEI<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9yZXBvLmh1YXdlaWNsb3VkLmNvbS9kb2NrZXItY2Uv\">https://repo.huaweicloud.com/docker-ce/</a></li></ul></li><li>北大<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnBrdS5lZHUuY24vZG9ja2VyLWNlLw\">https://mirrors.pku.edu.cn/docker-ce/</a></li></ul></li><li>清华<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnR1bmEudHNpbmdodWEuZWR1LmNuL2RvY2tlci1jZS8\">https://mirrors.tuna.tsinghua.edu.cn/docker-ce/</a></li></ul></li><li>中科大<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLnVzdGMuZWR1LmNuL2RvY2tlci1jZS8\">https://mirrors.ustc.edu.cn/docker-ce/</a></li></ul></li><li>西北农林科技大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLm53c3VhZi5lZHUuY24vZG9ja2VyLWNlLw\">https://mirrors.nwsuaf.edu.cn/docker-ce/</a></li></ul></li><li>浙江大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cDovL21pcnJvcnMuemp1LmVkdS5jbi9kb2NrZXItY2Uv\">http://mirrors.zju.edu.cn/docker-ce/</a></li></ul></li><li>北京外国语大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmJmc3UuZWR1LmNuL2RvY2tlci1jZS8\">https://mirrors.bfsu.edu.cn/docker-ce/</a></li></ul></li><li>哈尔滨工业大学<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3JzLmhpdC5lZHUuY24vZG9ja2VyLWNl\">https://mirrors.hit.edu.cn/docker-ce</a></li></ul></li><li> 上海交通<ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9taXJyb3Iuc2p0dS5lZHUuY24vZG9ja2VyLWNlLw\">https://mirror.sjtu.edu.cn/docker-ce/</a></li></ul></li></ul></div><div class=\"story post-story\"><h2 id=\"Kubernetes\"><a href=\"#Kubernetes\" class=\"headerlink\" title=\"Kubernetes\"></a>Kubernetes</h2><h3 id=\"Official-1\"><a href=\"#Official-1\" class=\"headerlink\" title=\"Official\"></a>Official</h3><ul><li><a target=\"_blank\" rel=\"external nofollow noopener noreferrer\" href=\"/go.html?u=aHR0cHM6Ly9rdWJlcm5ldGVzLmlvL3JlbGVhc2VzL2Rvd25sb2FkLw\">https://kubernetes.io/releases/download"12
lowLarge Javascript Payloadpackage/notes/p-2000/1.html.js2220317 bytes0
lowLarge Javascript Payloadpackage/notes/person/1.html.js6556196 bytes0
lowLarge Javascript Payloadpackage/notes/zeta/2.html.js2114859 bytes0
lowLarge Javascript Payloadpackage/notes/zeta/24.html.js2651778 bytes0
lowLarge Javascript Payloadpackage/notes/zeta/50.html.js3134985 bytes0
lowLarge Javascript Payloadpackage/notes/zeta/65.html.js8219716 bytes0