{"id":813,"date":"2006-01-12T22:29:00","date_gmt":"2006-01-12T14:29:00","guid":{"rendered":""},"modified":"2024-03-19T21:59:19","modified_gmt":"2024-03-19T13:59:19","slug":"ubunut%e5%88%9d%e6%ac%a1%e9%85%8d%e7%bd%ae%e5%85%a8%e6%94%bb%e7%95%a5%ef%bc%81","status":"publish","type":"post","link":"https:\/\/www.fatesky.com\/?p=813","title":{"rendered":"Ubunut\u521d\u6b21\u914d\u7f6e\u5168\u653b\u7565\uff01"},"content":{"rendered":"<p>\u539f\u6765\uff0c\u6628\u5929\u770b\u5230\u7684\u653b\u7565\u5728\u81ea\u5df1\u4eca\u5929 \u5b9e\u9645\u7684\u5f15\u7528\u540e\u624d\u53d1\u73b0\u539f\u6765\u6709\u5f88\u591a\u7684\u95ee\u9898\uff0c\u6bd4\u5982\u8bf4\u81ea\u52a8\u6302\u8f7d\u4e2d\u7684Fstab\u7684\u95ee\u9898\uff0c\u8f93\u5165\u6cd5\u7684\u95ee\u9898\uff0c\u4fee\u6539\u66f4\u65b0\u6e90\u7684\u95ee\u9898\u7b49 \u7b49~\u4eca\u5929\u4e0a\u5b98\u65b9\u7f51\u7ad9\u4ed4\u7ec6\u7684\u770b\u4e86\u770b\u624d\u77e5\u9053\u539f\u6765\u8fd8\u662f\u5b98\u65b9\u6240\u5199\u7684\u725b\u6c14\uff01<\/p>\n<p>\u672c\u6587\u4ec5\u4ec5\u9002\u7528\u4e8e\u91c7\u7528i386\u5b89\u88c5\u5149\u76d8\u5b89\u88c5\u7684\u7cfb\u7edf\uff0c\u90e8\u5206\u5185\u5bb9\u5e76\u4e0d\u9002\u5408Amd64\u548cPPC\u5b89\u88c5\u3002<br \/>\n\u56e0\u4e3a\u4e2d\u95f4\u90e8\u5206\u5305\u6ca1\u6709\u76f8\u5e94\u7684Amd64\u548cPPC\u7684\u5bf9\u5e94\u5305\uff0c\u56e0\u6b64\u4f1a\u51fa\u73b0\u627e\u4e0d\u5230\u8be5\u5305\u7684\u60c5\u51b5\u3002<br \/>\n\u5982\u679c\u4f60\u662f\u5c5e\u4e8e\u8fd9\u6837\u7684\u7cfb\u7edf\uff0c\u8bf7\u5230\u8bba\u575b\u54a8\u8be2\u3002<\/p>\n<p>\u5f53\u4f60\u521a\u521a\u5b89\u88c5\u5b8c\u6bd5\u4e4b\u540e\uff0c\u6211\u4eec\u6765\u82b110\u5206\u949f\u8bbe\u7f6e\u4e00\u4e0b\u7cfb\u7edf\uff0c\u8ba9\u5176\u6709\u4e00\u4e2a\u66f4\u52a0\u8212\u9002\u7684\u4e2d\u6587\u73af\u5883\u3002<\/p>\n<p>\u5f53\u4f60\u5b89\u88c5\u5b8c\u6bd5\u540e\uff0c\u8fdb\u5165\uff0c\u4e0d\u8bba\u4f60\u8fdb\u5165\u7684\u662f\u4e2d\u6587\uff0c\u8fd8\u662f\u82f1\u6587\uff0c\u90fd\u6765\u548c\u6211\u4e00\u8d77\u6765\u521b\u5efa\u4e00\u4e2a\u5408\u9002\u7684\u73af\u5883\u3002<\/p>\n<p>\u5982\u679c\u60a8\u770b\u5230 &#8220;$&#8221;, \u7684\u7b26\u53f7, \u610f\u601d\u662f\u4f60\u5fc5\u987b\u5728\u7ec8\u7aef\u72b6\u6001\u4e0b\u8fd0\u884c\u6b64\u547d\u4ee4. (\u5e94\u7528\u7a0b\u5e8f -> \u9644\u4ef6 -> \u7ec8\u7aef)<\/p>\n<p>&#8220;sudo&#8221; \u7684\u610f\u601d\u662f\u4e3a\u8d85\u7ea7\u7528\u6237\u6267\u884c. &#8220;sudo&#8221; \u9700\u8981\u63d0\u4f9b\u5bc6\u7801 &#8220;Password:&#8221;. \u8bf7\u8f93\u5165\u60a8\u6307\u5b9a\u7684\u7528\u6237\u5bc6\u7801<\/p>\n<p>\u5982\u679c\u538c\u70e6\u53cd\u590d\u952e\u5165 &#8220;sudo&#8221; \u53ef\u4ee5\u901a\u8fc7\u952e\u5165 &#8220;sudo -s -H&#8221; \u548c\u60a8\u7684\u5bc6\u7801\u8f6c\u6362\u5230\u8d85\u7ea7\u7528\u6237.<br \/>\nsudo \u662f\u4ec0\u4e48\u4e1c\u897f? \u4e3a\u4ec0\u4e48\u4e0d\u76f4\u63a5\u4f7f\u7528 su \u8fdb\u5165 root \u5e10\u53f7?<\/p>\n<p>   1.<\/p>\n<p>      \u4fee\u6539\u4f60\u7684\u6e90,\u5e76\u5347\u7ea7\u5230\u6700\u65b0\u7684\u7cfb\u7edf:<\/p>\n<p>      sudo gedit \/etc\/apt\/sources.list<\/p>\n<p>      \u5728\u7f16\u8f91\u5668\u91cc,\u5220\u9664\u6240\u6709\u4e1c\u897f,\u5e76\u5728\u52a0\u4e0a\u4e0b\u9762\u7684\u884c:<\/p>\n<p>      deb http:\/\/archive.ubuntu.org.cn\/ubuntu\/ breezy main restricted universe multiverse<br \/>\n      deb http:\/\/archive.ubuntu.org.cn\/ubuntu\/ breezy-security main restricted universe multiverse<br \/>\n      deb http:\/\/archive.ubuntu.org.cn\/ubuntu\/ breezy-updates main restricted universe multiverse<br \/>\n      deb http:\/\/archive.ubuntu.org.cn\/ubuntu\/ breezy-backports main restricted universe multiverse<br \/>\n      deb http:\/\/archive.ubuntu.org.cn\/ubuntu-cn\/ breezy main restricted universe multiverse<br \/>\n      deb http:\/\/archive.ubuntu.org.cn\/backports\/ breezy-extras main restricted universe multiverse<\/p>\n<p>      \u8fd9\u91cc\u4f60\u4e5f\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u66f4\u5feb\u901f\u7684ubuntu.cn99.com\u7684\u6e90\uff08\u63a8\u8350\uff09\uff1a<\/p>\n<p>      deb http:\/\/ubuntu.cn99.com\/ubuntu\/ breezy main restricted universe multiverse<br \/>\n      deb http:\/\/ubuntu.cn99.com\/ubuntu\/ breezy-updates main restricted universe multiverse<br \/>\n      deb http:\/\/ubuntu.cn99.com\/ubuntu\/ breezy-security main restricted universe multiverse<br \/>\n      deb http:\/\/ubuntu.cn99.com\/ubuntu\/ breezy-backports main restricted universe multiverse<br \/>\n      deb http:\/\/ubuntu.cn99.com\/ubuntu-cn\/ breezy main restricted universe multiverse<br \/>\n      deb http:\/\/ubuntu.cn99.com\/backports\/ breezy-extras main restricted universe multiverse<\/p>\n<p>      \u8fd9\u91cc\u4f60\u8fd8\u53ef\u4ee5\u4f7f\u7528\u901f\u5ea6\u4e5f\u975e\u5e38\u5feb\u7684\u7684mirror.lupaworld.com\u7684\u6e90\uff1a<\/p>\n<p>      deb http:\/\/mirror.lupaworld.com\/ubuntu\/archive\/ breezy main restricted universe multiverse<br \/>\n      deb http:\/\/mirror.lupaworld.com\/ubuntu\/archive\/ breezy-security main restricted universe multiverse<br \/>\n      deb http:\/\/mirror.lupaworld.com\/ubuntu\/archive\/ breezy-updates main restricted universe multiverse<br \/>\n      deb http:\/\/mirror.lupaworld.com\/ubuntu\/archive\/ breezy-backports main restricted universe multiverse<br \/>\n      deb http:\/\/mirror.lupaworld.com\/ubuntu\/ubuntu-cn\/ breezy main restricted universe multiverse<br \/>\n      deb http:\/\/mirror.lupaworld.com\/ubuntu\/backports\/ breezy-extras main restricted universe multiverse<\/p>\n<p>      \u4fdd\u5b58\uff0c\u5173\u95ed\u7f16\u8f91\u5668<\/p>\n<p>      \u7cfb\u7edf\u5347\u7ea7(\u5982\u679c\u51fa\u73b0\u9700\u8981\u8f93\u5165[Y\/n] \u6216 [y\/N] \u4e00\u5f8b\u8f93\u5165 y \u5e76 \u56de\u8f66):<\/p>\n<p>      sudo apt-get update<br \/>\n      sudo apt-get dist-upgrade<\/p>\n<p>   2.<\/p>\n<p>      \u8bbe\u7f6e\u672c\u5730local\u73af\u5883:<\/p>\n<p>      sudo dpkg-reconfigure locales  <\/p>\n<p>      \u786e\u4fdd zh_CN.UTF-8 \u88ab\u9009\u62e9\uff0c\u540c\u65f6\u4e5f\u9ed8\u8ba4local\u4e3a zh_CN.UTF-8<br \/>\n   3.<\/p>\n<p>      \u6839\u636e\u4f60\u5b89\u88c5\u7684\u7cfb\u7edf\u6765\u9009\u62e9\u5b89\u88c5\u7684\u4e2d\u6587\u652f\u6301\u73af\u5883<\/p>\n<p>      \u5b89\u88c5\u4e2d\u6587\u8bed\u8a00\u652f\u6301\uff08Ubuntu\uff09:<\/p>\n<p>      sudo apt-get install language-pack-gnome-zh language-pack-gnome-zh-base language-pack-zh language-pack-zh-base language-support-zh<\/p>\n<p>      \u5b89\u88c5\u4e2d\u6587\u8bed\u8a00\u652f\u6301\uff08KUbuntu\uff09):<\/p>\n<p>      sudo apt-get install language-pack-kde-zh language-pack-kde-zh-base language-pack-zh language-pack-zh-base language-support-zh<\/p>\n<p>   4.<\/p>\n<p>      \u5b89\u88c5\u4e2d\u6587\u5b57\u4f53(\u5982\u679c\u51fa\u73b0\u9700\u8981\u8f93\u5165[Y\/n] \u6216 [y\/N] \u4e00\u5f8b\u8f93\u5165 y \u5e76 \u56de\u8f66):<\/p>\n<p>      sudo apt-get install ttf-arphic-ukai ttf-arphic-uming<\/p>\n<p>      \u5982\u679c\u5e0c\u671b\u6709\u66f4\u597d\u7684\u4e2d\u6587\u663e\u793a\uff0c\u63a8\u8350 \u4f7f\u7528\u5706\u4f53\u7f8e\u5316 \u3002<br \/>\n   5.<\/p>\n<p>      \u5b89\u88c5\u8f93\u5165\u6cd5\uff0c\u4f60\u53ef\u4ee5\u5728SCIM\u548cfcitx\u8f93\u5165\u6cd5\u4e2d\u4efb\u9009\u4e00\u79cd\u5b89\u88c5<br \/>\n          * SCIM:<\/p>\n<p>            sudo apt-get install scim scim-modules-socket scim-modules-table scim-pinyin scim-tables-zh scim-input-pad<br \/>\n            sudo sh -c &#8221; echo &#8216;export XMODIFIERS=@im=SCIM ; export GTK_IM_MODULE=&#8221;scim&#8221; ; scim -d &#8216; > \/etc\/X11\/Xsession.d\/95xinput &#8221;<br \/>\n            sudo chmod +755 \/etc\/X11\/Xsession.d\/95xinput<\/p>\n<p>          * fcitx:<\/p>\n<p>            sudo apt-get install fcitx<br \/>\n            sudo sh -c &#8221; echo &#8216;export XMODIFIERS=@im=fcitx ; export GTK_IM_MODULE=&#8221;fcitx&#8221; ; fcitx &#8216; > \/etc\/X11\/Xsession.d\/95xinput &#8221;<br \/>\n            sudo chmod +755 \/etc\/X11\/Xsession.d\/95xinput<\/p>\n<p>   6. \u8bbe\u7f6eLC_ALL\u548c\u5176\u5b83\u5c5e\u6027:<\/p>\n<p>      sudo gedit \/etc\/environment<\/p>\n<p>      \u5728\u7f16\u8f91\u5668\u91cc\uff0c\u5c06\u5185\u5bb9\u4fee\u6539\u5982\u4e0b:<\/p>\n<p>      LAN<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u539f\u6765\uff0c\u6628\u5929\u770b\u5230\u7684\u653b\u7565\u5728\u81ea\u5df1\u4eca\u5929 \u5b9e\u9645\u7684\u5f15\u7528\u540e\u624d\u53d1\u73b0\u539f\u6765\u6709\u5f88\u591a\u7684\u95ee\u9898\uff0c\u6bd4\u5982\u8bf4\u81ea\u52a8\u6302\u8f7d\u4e2d\u7684Fstab\u7684\u95ee\u9898\uff0c\u8f93\u5165\u6cd5 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-813","post","type-post","status-publish","format-standard","hentry","category-2"],"_links":{"self":[{"href":"https:\/\/www.fatesky.com\/index.php?rest_route=\/wp\/v2\/posts\/813","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fatesky.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fatesky.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fatesky.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fatesky.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=813"}],"version-history":[{"count":1,"href":"https:\/\/www.fatesky.com\/index.php?rest_route=\/wp\/v2\/posts\/813\/revisions"}],"predecessor-version":[{"id":4262,"href":"https:\/\/www.fatesky.com\/index.php?rest_route=\/wp\/v2\/posts\/813\/revisions\/4262"}],"wp:attachment":[{"href":"https:\/\/www.fatesky.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=813"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fatesky.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=813"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fatesky.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=813"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}