{"id":52447,"date":"2023-06-02T13:36:29","date_gmt":"2023-06-02T05:36:29","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=52447"},"modified":"2023-06-02T13:36:29","modified_gmt":"2023-06-02T05:36:29","slug":"make-ubuntu-better","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/make-ubuntu-better.html","title":{"rendered":"\u5982\u4f55\u8ba9Ubuntu\u5728\u8001\u65e7\u8bbe\u5907\u4e0a\u98de\u901f\u8fd0\u884c\uff01"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u636e\u4f60\u7684 Ubuntu \u7cfb\u7edf\u53ef\u4ee5\u8fd0\u884c\u5f97\u5982\u6b64\u987a\u7545\uff0c\u4ee5\u81f3\u4e8e\u4f60\u4f1a\u5947\u602a\u4e3a\u4ec0\u4e48\u6ca1\u6709\u65e9\u4e00\u4e9b\u4ece\u90a3\u4e9b\u684c\u9762\u52a0\u8f7d\u5f88\u6162\u7684\u64cd\u4f5c\u7cfb\u7edf\uff08\u6bd4\u5982 Windows\uff09\u8f6c\u8fc7\u6765\u3002Ubuntu \u5728\u5927\u591a\u6570\u73b0\u4ee3\u5316\u7684\u673a\u5668\u4e0a\u90fd\u80fd\u591f\u5f88\u987a\u7545\u7684\u8fd0\u884c\uff0c\u4e00\u4e9b\u66f4\u8001\u7684\u673a\u5668\u4f7f\u7528 Ubuntu \u7cfb\u7edf\u7684\u4e00\u4e9b\u53d8\u79cd\u7248\u672c\uff0c\u6bd4\u5982 Lubuntu\u3001Xubuntu \u548c Ubuntu MATE\uff0c\u540c\u6837\u7ed9\u4eba\u7559\u4e0b\u4e86\u6df1\u523b\u5370\u8c61\u3002
\n<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\u6781\u5c11\u7684\u60c5\u51b5\u4e0b\uff0c\u4f60\u5bf9 Ubuntu \u684c\u9762\u7684\u4f7f\u7528\u4f53\u9a8c\u4f1a\u8d8a\u6765\u8d8a\u7cdf\u3002\u5982\u679c\u975e\u5e38\u4e0d\u8d70\u8fd0\uff0c\u4f60\u7684 Ubuntu \u7cfb\u7edf\u5e76\u6ca1\u6709\u50cf\u4f60\u6240\u5e0c\u671b\u7684\u90a3\u6837\u8fd0\u884c\u987a\u7545\uff0c\u90a3\u4e48\u4f60\u53ef\u4ee5\u505a\u4e00\u4e9b\u4e8b\u60c5\u6765\u63d0\u9ad8\u7cfb\u7edf\u6027\u80fd\u548c\u54cd\u5e94\u901f\u5ea6\u3002<\/p>\n

\"\u52a0\u901f\u8001\u65e7<\/p>\n

\u4e0d\u8fc7\u9996\u5148\u6211\u4eec\u6765\u770b\u4e00\u770b\u4e3a\u4ec0\u4e48\u7535\u8111\u4f1a\u8fd0\u884c\u5f97\u5f88\u6162\uff1f\u4e0b\u9762\u662f\u6211\u5217\u4e3e\u7684\u4e00\u4e9b\u539f\u56e0\uff1a<\/p>\n

    \n
  1. \u7535\u8111\u9648\u65e7<\/li>\n
  2. \u5b89\u88c5\u4e86\u592a\u591a\u7684\u5e94\u7528<\/li>\n
  3. \u7cfb\u7edf\u91cc\u7684\u4e00\u4e9b\u4e1c\u897f\u574f\u4e86<\/li>\n
  4. \u8fd8\u6709\u66f4\u591a\u7684\u539f\u56e0...<\/li>\n<\/ol>\n

    \u73b0\u5728\u8ba9\u6211\u4eec\u6765\u770b\u4e00\u4e9b\u6539\u5584\u8fd9\u4e2a\u95ee\u9898\u7684\u6280\u5de7\u3002<\/p>\n

    1\u3001 \u4ea4\u6362\u503c<\/ruby><\/strong><\/div>\n

    \u5982\u679c\u4f60\u7684\u7cfb\u7edf\u6709\u4e00\u4e2a\u4ea4\u6362\u5206\u533a\uff0c\u90a3\u4e48\u8fd9\u4e2a\u6280\u5de7\u5bf9\u4f60\u662f\u6700\u9002\u5408\u7684\uff08\u6ce8\uff1a\u4ea4\u6362\u5206\u533a\u4e0d\u5efa\u8bae\u4e3a\u56fa\u6001\u9a71\u52a8\u5668\uff0c\u56e0\u4e3a\u8fd9\u6837\u4f1a\u7f29\u77ed\u9a71\u52a8\u5668\u7684\u4f7f\u7528\u5bff\u547d\uff09\u3002\u4ea4\u6362\u5206\u533a\u53ef\u4ee5\u5e2e\u52a9\u7cfb\u7edf\uff0c\u7279\u522b\u662f\u5185\u5b58\u5bb9\u91cf\u8f83\u4f4e\u7684\u7cfb\u7edf\uff0c\u6765\u7ba1\u7406\u7cfb\u7edf\u5185\u5b58\u3002\u5c06\u6570\u636e\u5199\u5165\u4ea4\u6362\u5206\u533a\uff08\u786c\u76d8\uff09\u6bd4\u5199\u5165\u5185\u5b58\u8981\u6162\u4e00\u4e9b\uff0c\u6240\u4ee5\u4f60\u53ef\u4ee5\u901a\u8fc7\u51cf\u5c11swappiness<\/strong>\u503c\u6765\u9650\u5236\u6570\u636e\u5199\u5165\u4ea4\u6362\u5206\u533a\u7684\u9891\u7387\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c Ubuntu \u7684swappiness<\/strong>\u503c\u662f 60%\uff0c \u6240\u4ee5\u4f60\u53ef\u4ee5\u901a\u8fc7\u4e0b\u9762\u7684\u547d\u4ee4\u5c06\u5b83\u51cf\u81f3 10%\uff1a<\/p>\n

    sudo bash -c \"echo 'vm.swappiness = 10' >> \/etc\/sysctl.conf\"\r\n<\/pre>\n
    2\u3001 \u505c\u6b62\u7d22\u5f15<\/strong><\/div>\n

    \u7d22\u5f15\u7684\u76ee\u7684\u662f\u52a0\u5feb\u641c\u7d22\u7ed3\u679c\uff0c\u4f46\u53e6\u4e00\u65b9\u9762\uff0c\u7d22\u5f15\u4f1a\u5bfc\u81f4\u8f83\u8001\u914d\u7f6e\u7684\u7cfb\u7edf\u51fa\u73b0\u4e00\u4e9b\u95ee\u9898\u3002\u4e3a\u4e86\u505c\u6b62\u7d22\u5f15\uff0c\u8f93\u5165\u4e0b\u9762\u7684\u547d\u4ee4\u6765\u79fb\u9664\u7d22\u5f15\u5de5\u5177\uff1a<\/p>\n

    sudo apt-get purge apt-xapian-index\r\n<\/pre>\n
    3\u3001 \u7ba1\u7406\u542f\u52a8\u5e94\u7528<\/ruby><\/strong><\/div>\n

    \u542f\u52a8\u5e94\u7528\u4f1a\u5bf9\u7cfb\u7edf\u6027\u80fd\u9020\u6210\u5f88\u5927\u7684\u5f71\u54cd\u3002\u5f53\u4f60\u5b89\u88c5\u4e00\u4e9b\u5e94\u7528\u4ee5\u540e\uff0c\u8fd9\u4e9b\u5e94\u7528\u4f1a\u6dfb\u52a0\u542f\u52a8\u9879\uff0c\u4ece\u800c\u5f53\u4f60\u542f\u52a8\u7cfb\u7edf\u7684\u65f6\u5019\u5b83\u4eec\u4e5f\u8ddf\u7740\u542f\u52a8\uff0c\u4f46\u4f60\u53ef\u4ee5\u79fb\u9664\u8fd9\u4e9b\u5e94\u7528\u4ee5\u63d0\u9ad8\u7cfb\u7edf\u6027\u80fd\u3002\u901a\u8fc7\u5728 Unity \u7a97\u53e3\u641c\u7d22\u6253\u5f00 \u201c\u542f\u52a8\u5e94\u7528\u201d\u3002\u7edd\u5927\u591a\u6570\u81ea\u542f\u52a8\u9009\u9879\u90fd\u4f1a\u88ab\u9690\u85cf\uff0c\u6240\u4ee5\u5728\u7ec8\u7aef\u8f93\u5165\u4e0b\u9762\u7684\u547d\u4ee4\u4f7f\u5b83\u4eec\u53ef\u89c1\u7136\u540e\u4f60\u5c31\u53ef\u4ee5\u505c\u6b62\u67d0\u4e9b \u201c\u542f\u52a8\u5e94\u7528\u201d\u4e86\uff1a<\/p>\n

    sudo sed -i \"s\/NoDisplay=true\/NoDisplay=false\/g\" \/etc\/xdg\/autostart\/\/*.desktop\r\n<\/pre>\n

    \"\u52a0\u901f\u8001\u65e7<\/p>\n

    4\u3001 \u5c1d\u8bd5\u9884\u8f7d\u5165<\/strong><\/div>\n

    \u9884\u8f7d\u5165\uff08preload<\/strong>\uff09 \u662f\u4e00\u4e2a\u5b88\u62a4\u8fdb\u7a0b\/\u540e\u53f0\u670d\u52a1\uff0c\u5b83\u53ef\u4ee5\u76d1\u63a7\u7cfb\u7edf\u4e0a\u4f7f\u7528\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u5b83\u4f1a\u5c06\u6240\u9700\u8981\u7684\u4e8c\u8fdb\u5236\u5e93\u5728\u5176\u9700\u8981\u52a0\u8f7d\u5230\u5185\u5b58\u524d\u5c31\u9884\u5148\u8f7d\u5165\uff0c\u4ee5\u4fbf\u5e94\u7528\u7a0b\u5e8f\u542f\u52a8\u5f97\u66f4\u5feb\u3002\u5728\u7ec8\u7aef\u8f93\u5165\u4e0b\u9762\u7684\u547d\u4ee4\u5b89\u88c5\u9884\u8f7d\u5165\uff1a<\/p>\n

    sudo apt-get install preload\r\n<\/pre>\n
    5\u3001 \u9009\u62e9\u66f4\u52a0\u8f7b\u91cf\u578b\u7684\u5e94\u7528<\/strong><\/div>\n

    \u4f60\u5728 Ubuntu \u684c\u9762\u4e0a\u4f7f\u7528\u4ec0\u4e48\u5e94\u7528\u7a0b\u5e8f\u5462\uff1f\u6709\u66f4\u8f7b\u91cf\u7684\u66ff\u4ee3\u54c1\u5417\uff1f\u5982\u679c\u6709\uff0c\u5c31\u66ff\u6362\u6210\u5b83\u4eec\u2014\u2014\u5982\u679c\u5b83\u4eec\u4e5f\u80fd\u6ee1\u8db3\u4f60\u7684\u9700\u6c42\u7684\u8bdd\u3002 LibreOffice \u80fd\u591f\u7ed9\u4f60\u6700\u597d\u7684\u529e\u516c\u4f53\u9a8c\uff0c\u4f46\u662f\u5b83\u7684\u66ff\u4ee3\u54c1\uff0c\u6bd4\u5982 Abiword \u80fd\u591f\u5f88\u5927\u7a0b\u5ea6\u7684\u6539\u5584\u7cfb\u7edf\u6027\u80fd\u3002<\/p>\n

    6\u3001 \u5207\u6362\u5230\u4e00\u4e2a\u66f4\u52a0\u8f7b\u91cf\u578b\u7684\u684c\u9762\u73af\u5883<\/strong><\/div>\n

    \u4f60\u5728 Ubuntu \u7cfb\u7edf\u4e0a\u4f7f\u7528\u7684\u684c\u9762\u73af\u5883\u662f Unity \u6216 KDE \u5417\uff1f\u8fd9\u4e9b\u684c\u9762\u73af\u5883\u5bf9\u7cfb\u7edf\u7684\u8981\u6c42\u5f88\u9ad8\u3002\u76f8\u53cd\uff0c\u4f60\u53ef\u4ee5\u5728\u5f53\u524d\u684c\u9762\u73af\u5883\u4e4b\u5916\u540c\u65f6\u5b89\u88c5\u4e00\u4e2a LxQt \u6216\u8005 XFCE \u73af\u5883\uff0c\u7136\u540e\u5207\u6362\u5230\u5b83\u4eec\u3002\u6216\u8005\uff0c\u4f60\u4e5f\u53ef\u4ee5\u6362\u5230 Ubuntu \u7684\u4e0d\u540c\u53d8\u79cd\u7248\u672c\uff0c\u6bd4\u5982 Lubuntu \u6216 Xubuntu \uff0c\u4ece\u800c\u4eab\u53d7\u66f4\u5feb\u7684\u4f53\u9a8c\u3002<\/p>\n

    7\u3001 \u6e05\u7406\u7cfb\u7edf\u5783\u573e<\/strong><\/div>\n

    \u5c3d\u7ba1 Ubuntu \u7cfb\u7edf\u4e0d\u4f1a\u53d8\u5f97\u50cf Windows \u7cfb\u7edf\u90a3\u4e48\u6162\uff0c\u4f46\u5b83\u8fd8\u662f\u4f1a\u53d8\u6162\u3002\u6e05\u9664\u7cfb\u7edf\u91cc\u4e0d\u9700\u8981\u7684\u6587\u4ef6\u53ef\u4ee5\u6539\u5584\u7cfb\u7edf\u6027\u80fd\u3002\u5c1d\u8bd5\u4f7f\u7528 Ubuntu Tweak \u5de5\u5177\u4e2d\u7684 Janitor \u5de5\u5177\u6765\u6e05\u7406\u7cfb\u7edf\u3002\u8fd8\u6709\u4e00\u4e2a Bleachbit \u5de5\u5177\u4e5f\u53ef\u7528\u6765\u6e05\u7406\u7cfb\u7edf\u3002<\/p>\n

    \u540c\u65f6\u8bf7\u9605\u8bfb - Bleachbit - CCleaner \u7684\u4e00\u4e2a\u66ff\u4ee3\u54c1<\/p>\n

    8\u3001 \u5c1d\u8bd5\u91cd\u65b0\u5b89\u88c5<\/strong><\/div>\n

    \u6709\u65f6\uff0c\u4e00\u4e9b\u4e1c\u897f\u53ef\u80fd\u574f\u4e86\uff0c\u6e05\u7406\u5783\u573e\u6216\u8005\u4f7f\u7528\u4e0a\u9762\u63d0\u5230\u7684\u5927\u591a\u6570\u6280\u5de7\u90fd\u6ca1\u7528\u3002\u8fd9\u65f6\uff0c\u4f60\u552f\u4e00\u7684\u9009\u62e9\u5c31\u662f\u5907\u4efd\u6587\u4ef6\uff0c\u7136\u540e\u5c1d\u8bd5\u91cd\u65b0\u5b89\u88c5\u3002<\/p>\n

    9\u3001 \u5347\u7ea7\u786c\u4ef6<\/strong><\/div>\n

    \u6211\u5217\u8868\u4e0a\u7684\u6700\u540e\u4e00\u4e2a\u6280\u5de7\u662f\u5347\u7ea7\u786c\u4ef6\u3002\u5728\u7edd\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c\u8fd9\u662f\u53ef\u4ee5\u7684\u3002\u5982\u679c\u53ef\u4ee5\u8fd9\u6837\u505a\uff0c\u90a3\u5c06\u6781\u5927\u7684\u63d0\u9ad8\u7cfb\u7edf\u6027\u80fd\u3002\u4f60\u53ef\u4ee5\u589e\u52a0\u5df2\u5b89\u88c5\u7684\u5185\u5b58\uff0c \u4ece\u4f20\u7edf\u78c1\u76d8\u5207\u6362\u5230\u56fa\u6001\u9a71\u52a8\u5668\u6216\u8005\u5347\u7ea7\u4f60\u7684\u5904\u7406\u5668\uff0c\u7279\u522b\u662f\u5982\u679c\u4f60\u5728\u53f0\u5f0f\u7535\u8111\u4e0a\u8fd0\u884c Ubuntu \u7cfb\u7edf\uff0c\u8fd9\u5c06\u6781\u5927\u63d0\u9ad8\u7cfb\u7edf\u6027\u80fd\u3002<\/p>\n

    \u7ed3\u8bba<\/strong><\/div>\n

    \u6211\u5e0c\u671b\u8fd9\u4e9b\u6280\u5de7\u80fd\u591f\u966a\u4f34\u4f60\u8d70\u5f88\u957f\u7684\u4e00\u6bb5\u8def\uff0c\u8ba9\u4f60\u7684 Ubuntu \u684c\u9762\u4ee5\u4e00\u4e2a\u4ee4\u4eba\u5370\u8c61\u6df1\u523b\u7684\u901f\u5ea6<\/strong>\u8fd0\u884c\u3002\u6ce8\u610f\uff0c\u4f60\u4e0d\u9700\u8981\u5c1d\u8bd5\u6240\u6709\u7684\u6280\u5de7\uff0c\u53ea\u9700\u8981\u627e\u5230\u4e00\u4e2a\u9002\u5408\u4f60\u7684\u60c5\u51b5\u7684\u6280\u5de7\uff0c\u7136\u540e\u89c2\u5bdf\u7cfb\u7edf\u54cd\u5e94\u5982\u4f55\u53d8\u5316\u3002\u4f60\u8fd8\u77e5\u9053\u5176\u4ed6\u63d0\u9ad8 Ubuntu \u7cfb\u7edf\u6027\u80fd\u7684\u6280\u5de7\u5417\uff1f\u8bf7\u5728\u8bc4\u8bba\u91cc\u5206\u4eab\u7ed9\u6211\u4eec\u3002<\/p>\n


    \n

    via: http:\/\/www.linuxandubuntu.com\/home\/tips-to-improve-ubuntu-speed<\/a><\/p>\n

    \u4f5c\u8005\uff1alinuxandubuntu.com<\/a> \u8bd1\u8005\uff1aucasFL<\/a> \u6821\u5bf9\uff1ajasminepeng<\/a><\/p>\n

    \u672c\u6587\u7531 LCTT<\/a> \u539f\u521b\u7f16\u8bd1\uff0cLinux\u4e2d\u56fd<\/a> \u8363\u8a89\u63a8\u51fa<\/p>\n

    \n

    \u539f\u6587\u6765\u81ea\uff1ahttps:\/\/linux.cn\/article-8240-1.html<\/a><\/p>\n

    \u672c\u6587\u5730\u5740\uff1ahttp:\/\/lrxjmw.cn\/make-ubuntu-better.html<\/a>\u7f16\u8f91\u5458\uff1a\u5510\u8d44\u5bcc\uff0c\u5ba1\u6838\u5458\uff1a\u82cf\u897f\u4e91<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

    \u4f60\u7684 Ubuntu \u7cfb\u7edf\u53ef\u4ee5\u8fd0\u884c\u5f97\u5982\u6b64\u987a\u7545\uff0c\u4ee5\u81f3\u4e8e\u4f60\u4f1a\u5947\u602a\u4e3a\u4ec0\u4e48\u6ca1\u6709\u65e9\u4e00\u4e9b\u4ece\u90a3\u4e9b\u684c\u9762\u52a0\u8f7d\u5f88\u6162\u7684\u64cd\u4f5c\u7cfb\u7edf\uff08\u6bd4\u5982 Windows\uff09\u8f6c\u8fc7\u6765\u3002Ubuntu \u5728\u5927\u591a\u6570\u73b0\u4ee3\u5316\u7684\u673a\u5668\u4e0a\u90fd\u80fd\u591f\u5f88\u987a\u7545\u7684\u8fd0\u884c\uff0c\u4e00\u4e9b\u66f4\u8001\u7684\u673a\u5668\u4f7f\u7528 Ubuntu \u7cfb\u7edf\u7684\u4e00\u4e9b\u53d8\u79cd\u7248\u672c\uff0c\u6bd4\u5982 Lubuntu\u3001Xubuntu \u548c Ubuntu MATE\uff0c\u540c\u6837\u7ed9\u4eba\u7559\u4e0b\u4e86\u6df1\u523b\u5370\u8c61\u3002\u6781\u5c11\u7684\u60c5\u51b5\u4e0b\uff0c\u4f60\u5bf9 Ubuntu \u684c\u9762\u7684\u4f7f\u7528\u4f53\u9a8c\u4f1a\u8d8a\u6765\u8d8a\u7cdf\u3002\u5982\u679c\u975e\u5e38\u4e0d\u8d70\u8fd0\uff0c\u4f60\u7684 Ubuntu \u7cfb\u7edf\u5e76\u6ca1\u6709\u50cf\u4f60\u6240\u5e0c\u671b\u7684\u90a3\u6837\u8fd0\u884c\u987a\u7545\uff0c\u90a3\u4e48\u4f60\u53ef\u4ee5\u505a\u4e00\u4e9b\u4e8b\u60c5\u6765\u63d0\u9ad8\u7cfb\u7edf\u6027\u80fd\u548c\u54cd\u5e94\u901f\u5ea6\u3002<\/p>\n","protected":false},"author":63,"featured_media":45361,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-52447","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/52447","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=52447"}],"version-history":[{"count":12,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/52447\/revisions"}],"predecessor-version":[{"id":273946,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/52447\/revisions\/273946"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/45361"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=52447"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=52447"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=52447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}