解决Windows WLAN AutoConfig服务无法启动问题
2026/10/28 19:30:06
sudoaptupdatesudoaptinstall-ycurlgnupg2 ca-certificates lsb-release ubuntu-keyringcurl-fsSLhttps://nginx.org/keys/nginx_signing.key\|sudogpg--dearmor--yes\-o/usr/share/keyrings/nginx-archive-keyring.gpglsb_release -cs用于查看系统代号,例如 focal、jammy 等。需要说明的是,focal 已不再维护,已经落后于最新版本。echo"deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] https://nginx.org/packages/ubuntu$(lsb_release-cs)nginx"\|sudotee/etc/apt/sources.list.d/nginx.listecho-e"Package: *\nPin: origin nginx.org\nPin: release o=nginx\nPin-Priority: 900\n"\|sudotee/etc/apt/preferences.d/99-nginxsudoaptupdatesudoapt-cachepolicy nginxsudoaptinstallnginxhttps://nginx.org/en/linux_packages.html#Ubuntu