{"id":17736,"date":"2025-04-19T00:17:49","date_gmt":"2025-04-18T16:17:49","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/17736.html"},"modified":"2025-04-19T00:17:49","modified_gmt":"2025-04-18T16:17:49","slug":"ubuntu%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%ad%90%e7%94%a8%e6%88%b7%ef%bc%88%e6%97%a0sudo%e6%9d%83%e9%99%90%ef%bc%89%e5%bb%ba%e7%ab%8b%e5%8f%8acuda%e5%ae%89%e8%a3%85","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/17736.html","title":{"rendered":"ubuntu\u670d\u52a1\u5668\u5b50\u7528\u6237\uff08\u65e0sudo\u6743\u9650\uff09\u5efa\u7acb\u53cacuda\u5b89\u88c5"},"content":{"rendered":"<\/p>\n<h4>ubuntu\u670d\u52a1\u5668\u5b50\u7528\u6237&#xff08;\u65e0sudo\u6743\u9650&#xff09;\u5efa\u7acb\u53cacuda\u5b89\u88c5<\/h4>\n<ul>\n<li>1.\u521b\u5efa\/\u5220\u9664\u5b50\u7528\u6237<\/li>\n<li>\n<ul>\n<li>\u521b\u5efa\u5b50\u7528\u6237&#xff08;\u4f7f\u7528adduser&#xff09;<\/li>\n<li>\u7ed9\u7528\u6237\u5206\u914d\u6743\u9650<\/li>\n<li>\u7ed9\u7528\u6237\u5206\u914dsudo\u6743\u9650&#xff08;\u4e0d\u5efa\u8bae&#xff09;<\/li>\n<li>\u5207\u6362\u7528\u6237<\/li>\n<li>\u5220\u9664\u5b50\u7528\u6237or\u5b50\u7528\u6237\u7684sudo\u6743\u9650<\/li>\n<\/ul>\n<\/li>\n<li>2. \u5728\u65e0sudo\u6743\u9650\u7684\u5b50\u7528\u6237\u4e2d\u5b89\u88c5cuda&#xff08;\u81ea\u5b9a\u4e49\u8def\u5f84&#xff09;<\/li>\n<li>\n<ul>\n<li>\u4f7f\u7528\u7ba1\u7406\u5458\u8d26\u6237&#xff0c;\u5728\u6839\u76ee\u5f55\u4e0b\u521b\u5efa\u6587\u4ef6\u5939<\/li>\n<li>\u4e0b\u8f7d\u5b89\u88c5cuda<\/li>\n<li>\u66f4\u6539\u73af\u5883\u53d8\u91cf<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u6587\u732e\u53c2\u8003&#xff1a; https:\/\/blog.csdn.net\/flag_ing\/article\/details\/127746679 https:\/\/blog.csdn.net\/qq_35498453\/article\/details\/110532839<\/p>\n<h2>1.\u521b\u5efa\/\u5220\u9664\u5b50\u7528\u6237<\/h2>\n<h3>\u521b\u5efa\u5b50\u7528\u6237&#xff08;\u4f7f\u7528adduser&#xff09;<\/h3>\n<p><span class=\"token comment\"># adduser \u4f1a\u5728\/home\u4e0b\u81ea\u52a8\u521b\u5efa\u4e0e\u7528\u6237\u540d\u540c\u540d\u7684\u7528\u6237\u76ee\u5f55&#xff0c;\u7cfb\u7edfshell\u7248\u672c<\/span><br \/>\n<span class=\"token comment\"># \u4f1a\u5728\u521b\u5efa\u65f6\u4f1a\u63d0\u793a\u8bbe\u7f6e\u5bc6\u7801\u3001\u586b\u5199\u7528\u6237\u4fe1\u606f\u7b49&#xff0c;\u89c1\u4e0b\u56fe&#xff0c;\u5bf9\u7ba1\u7406\u8005\u66f4\u52a0\u53cb\u597d\u3002<\/span><br \/>\n<span class=\"token function\">sudo<\/span> adduser <span class=\"token punctuation\">[<\/span>username<span class=\"token punctuation\">]<\/span><\/p>\n<p><span class=\"token comment\"># \u4f7f\u7528 id \u547d\u4ee4\u67e5\u8be2\u7528\u6237\u6240\u5728\u7684\u7ec4\u4fe1\u606f&#xff08;\u53ef\u9009&#xff09;<\/span><br \/>\n<span class=\"token function\">id<\/span> username<\/p>\n<p><span class=\"token comment\"># \u4fee\u6539\u521b\u5efa\u7684\u7528\u6237\u7684\u7528\u6237\u540d\u3001uid\u3001gid&#xff08;\u53ef\u9009&#xff09;<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">usermod<\/span> -l newname oldname<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">usermod<\/span> -u uid username<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">usermod<\/span> -g gid usrname<\/p>\n<p><span class=\"token comment\"># \u4f7f\u7528 passwd \u547d\u4ee4\u8bbe\u7f6e\u5bf9\u5e94\u7528\u6237\u540d\u7684\u5bc6\u7801&#xff0c;\u4e0d\u7ba1\u8bbe\u7f6e\u8fc7\u6ca1\u6709&#xff0c;\u65b0\u5bc6\u7801\u5c06\u8986\u76d6\u8c03\u65e7\u5bc6\u7801<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418161747-68027b2bb5315.png\" alt=\"\u8bf7\u6dfb\u52a0\u56fe\u7247\u63cf\u8ff0\" \/> \u4f7f\u7528\u547d\u4ee4 sudo cat \/etc\/group \u4f1a\u53d1\u73b0 adduser \u547d\u4ee4\u4f1a\u81ea\u52a8\u521b\u5efa\u4e00\u4e2a\u540c\u540d\u7684\u7528\u6237\u7ec4\u3002\u5e76\u4e14&#xff0c;\u5728\/home\u4e0b\u4ea7\u751f[username]\u6587\u4ef6\u3002<\/p>\n<h3>\u7ed9\u7528\u6237\u5206\u914d\u6743\u9650<\/h3>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">chmod<\/span> xxx \/home\/username<\/p>\n<p>\u5176\u4e2d xxx \u4e09\u4e2a\u4f4d\u7f6e\u7684\u503c\u5206\u522b\u5bf9\u5e94u\/g\/o&#xff0c;\u5373\u7528\u6237user&#xff08;\u6587\u4ef6\u6216\u76ee\u5f55\u7684\u6240\u6709\u8005&#xff09;\u3001\u540c\u7ec4\u7528\u6237group&#xff08;\u4e0e\u6587\u4ef6\u5c5e\u4e3b\u6709\u76f8\u540c\u7ec4ID\u7684\u6240\u6709\u7528\u6237&#xff09;\u3001\u5176\u4ed6\u7528\u6237others\u3002&#xff0c;\u6743\u9650\u6709\u8bfb\u3001\u5199\u3001\u6267\u884c\u4e09\u79cd\u53ef\u9009&#xff0c;\u5177\u4f53\u7684\u6570\u503c\u7531\u62e5\u6709\u6743\u9650\u4e4b\u7684\u548c\u6765\u786e\u5b9a&#xff0c;\u4ee5\u4e0b\u5206\u522b\u4e3a\u4e09\u79cd\u6743\u9650\u7684\u503c\u3002<\/p>\n<ul>\n<li>r &#061; \u53ef\u8bfb\u5c5e\u6027&#xff0c;\u503c&#xff1d;4<\/li>\n<li>w &#061; \u53ef\u5199\u5c5e\u6027&#xff0c;\u503c&#xff1d;2<\/li>\n<li>x &#061; \u53ef\u6267\u884c\u5c5e\u6027&#xff0c;\u503c&#xff1d;1<\/li>\n<\/ul>\n<p>\u4e0d\u540c\u7684\u7ec4\u5408\u4f1a\u6709\u4e0d\u540c\u7684\u6570\u503c&#xff0c;\u6bd4\u5982 700 \u4ee3\u8868u&#061;7(4&#043;2&#043;1)\u3001g&#061;0\u3001o&#061;0&#xff0c;\u6587\u4ef6\u53ea\u6709\u672c\u7528\u6237\u624d\u6709\u8bfb\u5199\u6267\u884c\u6743\u9650&#xff0c;\u5176\u4ed6\u6240\u6709\u7528\u6237\u5bf9\u8be5\u6587\u4ef6\u4e0d\u80fd\u6709\u4efb\u4f55\u64cd\u4f5c\u3002\u6bd4\u5982\u6211\u7ed9 username\u7528\u6237\u8bbe\u7f6e\u4e86 700 \u6743\u9650<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">chmod<\/span> <span class=\"token number\">700<\/span> \/home\/username<\/p>\n<h3>\u7ed9\u7528\u6237\u5206\u914dsudo\u6743\u9650&#xff08;\u4e0d\u5efa\u8bae&#xff09;<\/h3>\n<p><span class=\"token comment\"># \u8fdb\u5165\u7ba1\u7406\u5458\u6743\u9650<\/span><br \/>\n<span class=\"token function\">su<\/span> <span class=\"token function\">sudo<\/span> <\/p>\n<p><span class=\"token comment\"># \u4e3ausername\u6dfb\u52a0sudo\u6743\u9650&#xff0c;\u5c06username\u6dfb\u52a0\u5230sudo\u7528\u6237\u7ec4<\/span><br \/>\nadduser username <span class=\"token function\">sudo<\/span><\/p>\n<h3>\u5207\u6362\u7528\u6237<\/h3>\n<p><span class=\"token function\">su<\/span> username<\/p>\n<h3>\u5220\u9664\u5b50\u7528\u6237or\u5b50\u7528\u6237\u7684sudo\u6743\u9650<\/h3>\n<p>\u5220\u9664\u5b50\u7528\u6237<\/p>\n<p><span class=\"token comment\"># userdel \u53ea\u80fd\u5220\u9664\u7528\u6237&#xff0c;\u5e76\u4e0d\u4f1a\u5220\u9664\u76f8\u5173\u7684\u76ee\u5f55\u6587\u4ef6\u3002userdel -r \u53ef\u4ee5\u5220\u9664\u7528\u6237\u53ca\u76f8\u5173\u76ee\u5f55<\/span><br \/>\n<span class=\"token comment\"># \u5982\u679c username \u8fd8\u5904\u4e8e\u8fdb\u7a0b\u4e2d&#xff0c;\u9700\u8981\u52a0\u4e0a -f \u5f3a\u5236\u5220\u9664<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">userdel<\/span> -r <span class=\"token punctuation\">[<\/span>-f<span class=\"token punctuation\">]<\/span> username<\/p>\n<p>\u5220\u9664\u5b50\u7528\u6237\u7684sudo\u6743\u9650<\/p>\n<p><span class=\"token function\">sudo<\/span> gpasswd -d username <span class=\"token function\">sudo<\/span> <\/p>\n<h2>2. \u5728\u65e0sudo\u6743\u9650\u7684\u5b50\u7528\u6237\u4e2d\u5b89\u88c5cuda&#xff08;\u81ea\u5b9a\u4e49\u8def\u5f84&#xff09;<\/h2>\n<p>\u6d4b\u8bd5\u7cfb\u7edf&#xff1a;ubuntu22.04 \u9700\u6c42&#xff1a;cuda12.2<\/p>\n<h3>\u4f7f\u7528\u7ba1\u7406\u5458\u8d26\u6237&#xff0c;\u5728\u6839\u76ee\u5f55\u4e0b\u521b\u5efa\u6587\u4ef6\u5939<\/h3>\n<ul>\n<li>\u4f7f\u7528sudo\u521b\u5efa\u6587\u4ef6\u5939&#xff1a;<\/li>\n<\/ul>\n<p><span class=\"token comment\"># \u5c06subuser_folder\u66ff\u6362\u4e3a\u5b9e\u9645\u6587\u4ef6\u5939\u540d\u3002<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">mkdir<\/span> \/username<\/p>\n<ul>\n<li>\u4fee\u6539\u6587\u4ef6\u5939\u6240\u6709\u8005&#xff1a;<\/li>\n<\/ul>\n<p><span class=\"token comment\"># \u786e\u4fddsubuser\u4e3a\u5b9e\u9645\u7684\u5b50\u7528\u6237\u540d\u3002<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">chown<\/span> username:username \/username <\/p>\n<ul>\n<li>&#xff08;\u53ef\u9009&#xff09;\u8c03\u6574\u6587\u4ef6\u5939\u6743\u9650&#xff1a;<\/li>\n<\/ul>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">chmod<\/span> <span class=\"token number\">700<\/span> \/username <\/p>\n<p>\u6b64\u6b65\u9aa4\u5c06\u6743\u9650\u8bbe\u7f6e\u4e3a\u4ec5\u5141\u8bb8\u6240\u6709\u8005\u8bbf\u95ee&#xff0c;\u6309\u9700\u8c03\u6574\u3002<\/p>\n<p>\u6b64\u65f6&#xff0c;username\u7528\u6237\u5bf9\u6839\u76ee\u5f55\u4e0b\u7684username\/\u6587\u4ef6\u5939\u5177\u6709\u6240\u6709\u6743\u3002<\/p>\n<h3>\u4e0b\u8f7d\u5b89\u88c5cuda<\/h3>\n<p><span class=\"token function\">wget<\/span> https:\/\/developer.download.nvidia.com\/compute\/cuda\/12.2.0\/local_installers\/cuda_12.2.0_535.54.03_linux.run<\/p>\n<p><span class=\"token function\">sh<\/span> cuda_12.2.0_535.54.03_linux.run<\/p>\n<p>\u4ee5\u4e0b\u56fe\u7247\u5728\u7f51\u7edc\u4e0a\u67e5\u627e&#xff08;https:\/\/blog.csdn.net\/qq_35498453\/article\/details\/110532839&#xff09; \u9009\u62e9accept \u540e&#xff0c;\u66f4\u6539\u5b89\u88c5\u9009\u9879&#xff08;\u2018X\u2019 \u4ee3\u8868\u9009\u4e2d&#xff0c;\u53ea\u5b89\u88c5CUDA Toolkit&#xff09; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418161747-68027b2bd0a4b.png\" alt=\"\u8bf7\u6dfb\u52a0\u56fe\u7247\u63cf\u8ff0\" \/> \u9009\u4e2dOptions: <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418161747-68027b2be8c18.png\" alt=\"\u8bf7\u6dfb\u52a0\u56fe\u7247\u63cf\u8ff0\" \/> \u5148\u66f4\u6539Toolkit Options (\/usr\u8fd9\u79cd\u975e\u7528\u6237\u76ee\u5f55\u7684\u90fd\u8981\u53bb\u6389&#xff0c;\u66ff\u6362\u81ea\u5df1\u6839\u76ee\u5f55\u4e0b\u7684\u8def\u5f84&#xff0c;\u53e6\u5916\u8fdb\u5165Change Toolkit Install Path\u8bbe\u7f6ecuda\u5b89\u88c5\u5230\u81ea\u5df1\u5177\u6709\u5199\u5165\u6743\u9650\u7684\u8def\u5f84&#xff08;\u63d0\u524d\u5efa\u597d&#xff09;&#xff0c;\u6211\u8fd9\u91cc\u662f\u201c\/home\/yourname\/cuda-10.1\/\u201d): <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418161748-68027b2c0b1e3.png\" alt=\"\u8bf7\u6dfb\u52a0\u56fe\u7247\u63cf\u8ff0\" \/> \u8def\u5f84\u8981\u6539\u5bf9\u4e86&#xff0c;\u56fe\u7247\u6765\u81ea\u5176\u4ed6\u535a\u5ba2 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418161748-68027b2c2af39.png\" alt=\"\u8bf7\u6dfb\u52a0\u56fe\u7247\u63cf\u8ff0\" \/> \u505a\u5b8cDone&#xff0c;\u56de\u5230Options\u83dc\u5355&#xff0c; \u66f4\u6539Library install path&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418161748-68027b2c42606.png\" alt=\"\u8bf7\u6dfb\u52a0\u56fe\u7247\u63cf\u8ff0\" \/> \u6210\u529f\u4e4b\u540e\u4f1a\u6709\u4e2a\u63d0\u793a\u201csummary\u201d<\/p>\n<h3>\u66f4\u6539\u73af\u5883\u53d8\u91cf<\/h3>\n<p><span class=\"token builtin class-name\">export<\/span> <span class=\"token assign-left variable\"><span class=\"token environment constant\">PATH<\/span><\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;\/home\/yourname\/cuda-10.1\/bin:<span class=\"token environment constant\">$PATH<\/span>&#034;<\/span><br \/>\n<span class=\"token builtin class-name\">export<\/span> <span class=\"token assign-left variable\">LD_LIBRARY_PATH<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;\/home\/yourname\/cuda-10.1\/lib64:\/home\/yourname\/cuda-10.1\/mylib\/lib64:<span class=\"token variable\">$LD_LIBRARY_PATH<\/span>&#034;<\/span><\/p>\n<p>\u66f4\u65b0bashrc\u6587\u4ef6<\/p>\n<p><span class=\"token builtin class-name\">source<\/span> ~\/.bashrc<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb756\u6b21\uff0c\u70b9\u8d5e10\u6b21\uff0c\u6536\u85cf13\u6b21\u3002\u6d4b\u8bd5\u7cfb\u7edf\uff1aubuntu22.04\u9700\u6c42\uff1acuda12.2\u3002_ubuntu \u65e0\u7ba1\u7406\u5458\u6743\u9650 \u5b89\u88c5cuda<\/p>\n","protected":false},"author":2,"featured_media":17730,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,103,43],"topic":[],"class_list":["post-17736","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-linux","tag-ubuntu","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>ubuntu\u670d\u52a1\u5668\u5b50\u7528\u6237\uff08\u65e0sudo\u6743\u9650\uff09\u5efa\u7acb\u53cacuda\u5b89\u88c5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/17736.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ubuntu\u670d\u52a1\u5668\u5b50\u7528\u6237\uff08\u65e0sudo\u6743\u9650\uff09\u5efa\u7acb\u53cacuda\u5b89\u88c5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb756\u6b21\uff0c\u70b9\u8d5e10\u6b21\uff0c\u6536\u85cf13\u6b21\u3002\u6d4b\u8bd5\u7cfb\u7edf\uff1aubuntu22.04\u9700\u6c42\uff1acuda12.2\u3002_ubuntu \u65e0\u7ba1\u7406\u5458\u6743\u9650 \u5b89\u88c5cuda\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/17736.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-18T16:17:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418161747-68027b2bb5315.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/17736.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/17736.html\",\"name\":\"ubuntu\u670d\u52a1\u5668\u5b50\u7528\u6237\uff08\u65e0sudo\u6743\u9650\uff09\u5efa\u7acb\u53cacuda\u5b89\u88c5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T16:17:49+00:00\",\"dateModified\":\"2025-04-18T16:17:49+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/17736.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/17736.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/17736.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ubuntu\u670d\u52a1\u5668\u5b50\u7528\u6237\uff08\u65e0sudo\u6743\u9650\uff09\u5efa\u7acb\u53cacuda\u5b89\u88c5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ubuntu\u670d\u52a1\u5668\u5b50\u7528\u6237\uff08\u65e0sudo\u6743\u9650\uff09\u5efa\u7acb\u53cacuda\u5b89\u88c5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/17736.html","og_locale":"zh_CN","og_type":"article","og_title":"ubuntu\u670d\u52a1\u5668\u5b50\u7528\u6237\uff08\u65e0sudo\u6743\u9650\uff09\u5efa\u7acb\u53cacuda\u5b89\u88c5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb756\u6b21\uff0c\u70b9\u8d5e10\u6b21\uff0c\u6536\u85cf13\u6b21\u3002\u6d4b\u8bd5\u7cfb\u7edf\uff1aubuntu22.04\u9700\u6c42\uff1acuda12.2\u3002_ubuntu \u65e0\u7ba1\u7406\u5458\u6743\u9650 \u5b89\u88c5cuda","og_url":"https:\/\/www.wsisp.com\/helps\/17736.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T16:17:49+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418161747-68027b2bb5315.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/17736.html","url":"https:\/\/www.wsisp.com\/helps\/17736.html","name":"ubuntu\u670d\u52a1\u5668\u5b50\u7528\u6237\uff08\u65e0sudo\u6743\u9650\uff09\u5efa\u7acb\u53cacuda\u5b89\u88c5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T16:17:49+00:00","dateModified":"2025-04-18T16:17:49+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/17736.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/17736.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/17736.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"ubuntu\u670d\u52a1\u5668\u5b50\u7528\u6237\uff08\u65e0sudo\u6743\u9650\uff09\u5efa\u7acb\u53cacuda\u5b89\u88c5"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/17736","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=17736"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/17736\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/17730"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=17736"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=17736"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=17736"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=17736"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}