﻿{"id":17482,"date":"2022-08-05T08:25:24","date_gmt":"2022-08-05T00:25:24","guid":{"rendered":"https:\/\/www.linuxmi.com\/?p=17482"},"modified":"2022-08-04T21:07:43","modified_gmt":"2022-08-04T13:07:43","slug":"alpine-linux","status":"publish","type":"post","link":"https:\/\/www.linuxmi.com\/alpine-linux.html","title":{"rendered":"Alpine Linux &#8211; \u4e3a\u6709\u7ecf\u9a8c\u7528\u6237\u91cf\u8eab\u5b9a\u5236 Linux"},"content":{"rendered":"<p>\u5982\u679c\u60a8\u6b63\u5728\u5bfb\u627e\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u7684 Linux \u53d1\u884c\u7248\uff0c\u90a3\u4e48 Alpine Linux \u5bf9\u60a8\u6765\u8bf4\u53ef\u80fd\u662f\u4f17\u591a Linux \u53d1\u884c\u7248\u4e2d\u7684\u4e00\u80a1\u6e05\u6d41\u3002<\/p>\n<h2><strong>\u4ec0\u4e48\u662f Alpine Linux\uff1f<\/strong><\/h2>\n<p><a href=\"https:\/\/alpinelinux.org\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Alpine Linux<\/a> \u662f\u4e00\u4e2a\u4e3a\u6709\u7ecf\u9a8c\u7528\u6237\u91cf\u8eab\u5b9a\u5236 Linux \u53d1\u884c\u7248\uff0c\u5176\u76ee\u6807\u662f\u5728\u7a7a\u95f4\u548c\u8303\u56f4\u4e0a\u5b9e\u73b0\u6700\u4f4e\u9650\u5ea6\uff0c\u5e76\u5b9e\u73b0\u66f4\u9ad8\u7684\u5b89\u5168\u6027\u3002\u9ed8\u8ba4\u5b89\u88c5\u4ecb\u8d28\u53ea\u6709 133 MB\u3002\u4ee4\u4eba\u5370\u8c61\u6df1\u523b\uff0c\u56e0\u4e3a\u5176\u4ed6\u53d1\u884c\u7248\u4e0a\u7684\u4e00\u4e9b ISO \u6587\u4ef6\u66f4\u591a\u5730\u662f\u4e3a DVD \u548c\u62c7\u6307\u9a71\u52a8\u5668\u8bbe\u8ba1\u7684\u3002Alpine \u53ef\u8212\u9002\u5730\u653e\u5728 CD-R\u4e0a\uff0c\u5e76\u6709\u8db3\u591f\u7684\u7a7a\u95f4\u3002<\/p>\n<p>\u76ee\u524d\u6700\u65b0\u7248 Alpine Linux 3.16 \u7531 Linux 5.15 LTS \u5185\u6838 \u63d0\u4f9b\u652f\u6301\uff0c\u652f\u6301\u6700\u65b0\u6700\u597d\u7684 GNOME 42 \u548c KDE Plasma 5.24 LTS \u684c\u9762\uff0c\u540e\u8005\u4f34\u968f\u7740 KDE Gear 22.04 \u548c Plasma Mobile Gear 22.04 \u8f6f\u4ef6\u5957\u4ef6\u3002<\/p>\n<p>Alpine Linux \u4f7f\u7528\u4e00\u79cd\u79f0\u4e3a\u4f4d\u7f6e\u65e0\u5173\u7684\u53ef\u6267\u884c\u6587\u4ef6\u7684\u6280\u672f\u6765\u968f\u673a\u5316\u7a0b\u5e8f\u5728\u5185\u5b58\u4e2d\u7684\u4f4d\u7f6e\u3002\u8fd9\u4f7f\u5f97\u653b\u51fb\u8005\u96be\u4ee5\u5229\u7528\u5185\u5b58\u4e2d\u7684\u5f02\u5e38\u60c5\u51b5\u6765\u63a5\u7ba1\u673a\u5668\u3002<\/p>\n<p>\u8be5\u53d1\u884c\u7248\u7684\u914d\u7f6e\u4e5f\u662f\u6781\u7b80\u7684\u3002\u5b83\u901a\u8fc7\u4f7f\u7528 BusyBox \u5957\u4ef6\u5728\u4e00\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\u4e2d\u63d0\u4f9b\u5927\u90e8\u5206\u5b9e\u7528\u7a0b\u5e8f\uff0c\u5b83\u83b7\u5f97\u4e86\u8f83\u5c0f\u7684\u5927\u5c0f\u3002<\/p>\n<p>Alpine \u7684\u5c0f\u5c3a\u5bf8\u4f7f\u5176\u9002\u5408\u8fd0\u884c\u5bb9\u5668\u7684\u4eba\uff0c\u5c24\u5176\u662f Docker\u3002<\/p>\n<p><strong>\u4e0b\u8f7d<\/strong>\uff1a<a href=\"https:\/\/alpinelinux.org\/downloads\/\" target=\"_blank\" rel=\"nofollow noopener\">Alpine Linux<\/a><\/p>\n<h2 id=\"installing-alpine-linux\">\u5b89\u88c5 Alpine Linux<\/h2>\n<p>\u5b89\u88c5 Alpine Linux \u7c7b\u4f3c\u4e8e\u5b89\u88c5\u4efb\u4f55\u5176\u4ed6 Linux \u53d1\u884c\u7248\u3002\u60a8\u83b7\u53d6\u5b89\u88c5\u6620\u50cf\u5e76\u5c06\u5176\u4f20\u8f93\u5230\u60a8\u7684\u9996\u9009\u4ecb\u8d28\uff0c\u7136\u540e\u91cd\u65b0\u542f\u52a8\u8ba1\u7b97\u673a\u3002<\/p>\n<p>Alpine \u7684\u6781\u7b80\u4e3b\u4e49\u4e5f\u9002\u7528\u4e8e\u5176\u5b89\u88c5\u8fc7\u7a0b\u3002\u60a8\u4f1a\u53d1\u73b0\u81ea\u5df1\u5904\u4e8e\u6807\u51c6\u7684 Linux \u6587\u672c\u63a7\u5236\u53f0\u3002\u8fd9\u91cc\u6ca1\u6709\u56fe\u5f62\u5b89\u88c5\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-17485 aligncenter\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/08\/Alpine-Linux-3.16-1.png\" alt=\"\" width=\"1024\" height=\"768\" \/><\/p>\n<p>\u81f3\u4e8e\u5b89\u88c5\u6620\u50cf\uff0c\u60a8\u5728\u4e0b\u8f7d\u9875\u9762\u4e0a\u6709\u591a\u79cd\u9009\u62e9\uff0c\u5177\u4f53\u53d6\u51b3\u4e8e\u60a8\u8981\u5b89\u88c5\u7684\u7cfb\u7edf\u7684\u5b8c\u6574\u7a0b\u5ea6\u3002<\/p>\n<p>\u6807\u51c6\u6620\u50cf\uff08<strong>Standard<\/strong>\uff09\u63a8\u8350\u7ed9\u5927\u591a\u6570\u4eba\uff0c\u5305\u62ec\u6700\u5e38\u7528\u7684\u5305\u3002\u5982\u679c\u4f60\u662f Alpine \u7684\u65b0\u624b\uff0c\u53ef\u4ee5\u8bd5\u8bd5\u8fd9\u4e2a\u3002<\/p>\n<p>\u6269\u5c55\u6620\u50cf\uff08<strong>Extended<\/strong>\uff09\u662f\u4e13\u4e3a\u8def\u7531\u5668\u548c\u670d\u52a1\u5668\u8fd9\u6837\u7684\u7279\u6b8a\u8bbe\u5907\u8bbe\u8ba1\u7684\uff0c\u56e0\u4e3a\u8fd9\u4e9b\u8bbe\u5907\u4e0d\u4f1a\u66f4\u65b0\u592a\u591a\uff0c\u5b83\u6bd4\u6807\u51c6\u6620\u50cf\u62e5\u6709\u66f4\u591a\u7684\u8f6f\u4ef6\u5305\u3002\u4eceRAM\u8fd0\u884c\u3002\u5305\u62ecAMD\u548cIntel\u5fae\u7801\u66f4\u65b0\u3002<\/p>\n<p>\u5982\u679c\u60a8\u60f3\u5b89\u88c5\u4e00\u4e2a\u975e\u5e38\u7b80\u5355\u7684\u7cfb\u7edf\uff0c\u90a3\u4e48\u5c31\u4f7f\u7528 <strong>Netboot <\/strong>\u6620\u50cf\uff0c\u5176\u4e2d\u4ec5\u5305\u542b\u542f\u52a8\u548c\u8fde\u63a5\u5230\u7f51\u7edc\u7684\u6700\u4f4e\u200b\u200b\u8981\u6c42\u3002\u7136\u540e\u5fc5\u987b\u4e0b\u8f7d\u5176\u4ed6\u6240\u9700\u7684\u8f6f\u4ef6\u5305\u3002\u8fd9\u4e2a\u9009\u9879\u9002\u7528\u4e8e\u90a3\u4e9b\u771f\u6b63\u559c\u6b22\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u5b9a\u5236\u7cfb\u7edf\u7684\u4eba\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-17489\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/08\/Alpine-Linux-3.16-5.png\" alt=\"\" width=\"1920\" height=\"1080\" \/><\/p>\n<p>\u5728\u5b89\u88c5\u65f6\uff0c\u60a8\u4ee5 root \u8eab\u4efd\u767b\u5f55\u5230\u5f15\u5bfc\u7cfb\u7edf\u3002\u6ca1\u6709\u83dc\u5355\u9a71\u52a8\u7684\u7cfb\u7edf\u3002\u6240\u6709\u7684\u8bbe\u7f6e\u90fd\u662f\u5728\u547d\u4ee4\u884c\u5b8c\u6210\u7684\u3002\u5982\u679c\u4f60\u5df2\u7ecf\u5b89\u88c5\u8fc7 Arch Linux\uff0c\u8fd9\u4e2a\u8fc7\u7a0b\u4f60\u4f1a\u5f88\u719f\u6089\u3002<\/p>\n<p>\u867d\u7136\u5b89\u88c5 Alpine \u6709\u4e9b\u4e0d\u987a\u624b\uff0c\u4f46\u5b83\u4eec\u5305\u542b\u4e86\u4e00\u4e9b\u811a\u672c\uff0c\u53ef\u4ee5\u5f15\u5bfc\u60a8\u5b8c\u6210\u5b89\u88c5\u8fc7\u7a0b\u3002\u6700\u91cd\u8981\u7684\u662f <strong>setup-alpine<\/strong>\u3002\u8be5\u811a\u672c\u4f1a\u8be2\u95ee\u60a8\u7684\u952e\u76d8\u5e03\u5c40\u548c\u65f6\u533a\u7b49\u4fe1\u606f\uff0c\u5e76\u5c06\u5e2e\u52a9\u60a8\u5bf9\u78c1\u76d8\u8fdb\u884c\u5206\u533a\u3002\u60a8\u53ef\u4ee5\u53ea\u63a5\u53d7\u9ed8\u8ba4\u503c\u3002<\/p>\n<p>\u60a8\u53ef\u4ee5\u5728<a href=\"https:\/\/docs.alpinelinux.org\/user-handbook\/0.1a\/index.html\" target=\"_blank\" rel=\"nofollow noopener\">\u6587\u6863<\/a>\u548c<a href=\"https:\/\/wiki.alpinelinux.org\/wiki\/Main_Page\" target=\"_blank\" rel=\"nofollow noopener\">wiki<\/a>\u4e2d\u627e\u5230\u6709\u5173\u5728\u60a8\u7684\u673a\u5668\u4e0a\u8bbe\u7f6e Alpine \u7684\u66f4\u591a\u8be6\u7ec6\u4fe1\u606f\u3002\u67d0\u4e9b\u4fe1\u606f\u53ef\u80fd\u5df2\u8fc7\u65f6\u3002\u60a8\u53ef\u80fd\u4f1a\u5c1d\u8bd5\u5b89\u88c5\u6587\u6863\u4e2d\u63a8\u8350\u7684\u8f6f\u4ef6\u5305\uff0c\u6216\u8bb8\u53d1\u73b0\u5b83\u5728\u5b58\u50a8\u5e93\u4e2d\u4e0d\u5b58\u5728\u3002<\/p>\n<h2 id=\"configure-alpine-linux\">\u914d\u7f6e Alpine Linux<\/h2>\n<p>\u5f53\u60a8\u6700\u7ec8\u542f\u52a8\u5230\u65b0\u7684 Alpine \u5b89\u88c5\u65f6\uff0c\u5b83\u4ecd\u7136\u975e\u5e38\u7b80\u5355\uff0c\u53ea\u6709\u6587\u672c\u63a7\u5236\u53f0\u548c shell\u3002\u60a8\u9700\u8981\u5bf9\u9ed8\u8ba4\u7cfb\u7edf\u8fdb\u884c\u4e00\u4e9b\u81ea\u5b9a\u4e49\u4ee5\u4f7f\u5176\u771f\u6b63\u6709\u7528\u3002<\/p>\n<h3 id=\"set-up-a-regular-user\">\u8bbe\u7f6e\u666e\u901a\u7528\u6237<\/h3>\n<p>\u9996\u6b21\u5b89\u88c5 Alpine \u65f6\uff0c\u552f\u4e00\u7684\u7528\u6237\u662f root\u3002\u8fd9\u662f\u4e00\u4e2a\u5b89\u5168\u98ce\u9669\uff0c\u60a8\u53ef\u80fd\u4f1a\u610f\u5916\u635f\u574f\u91cd\u8981\u7684\u7cfb\u7edf\u6587\u4ef6\u3002\u60a8\u4e0d\u60f3\u4e00\u76f4\u4ee5 root \u8eab\u4efd\u8fd0\u884c\u3002<\/p>\n<p>\u8981\u6dfb\u52a0\u53e6\u4e00\u4e2a\u7528\u6237\uff0c\u53ea\u9700\u952e\u5165\uff1a<\/p>\n<pre><code class=\"hljs shell\">adduser -h \/home\/username -s \/bin\/ash\/ username<\/code><\/pre>\n<p>\u60a8\u5c06\u7528\u60a8\u8981\u7528\u4e8e\u767b\u5f55\u7684\u7528\u6237\u540d\u66ff\u6362\u201cusername\u201d\u3002<strong>-h <\/strong>\u9009\u9879\u6307\u5b9a\u4e3b\u76ee\u5f55\uff0c\u800c <strong>-s <\/strong>\u9009\u9879\u6307\u5b9a shell \u7684\u8def\u5f84\u540d ash\uff0c\u5b83\u662f BusyBox \u7684\u9ed8\u8ba4 shell\uff0c\u56e0\u6b64\u4e5f\u662f\u5b89\u88c5\u5728 Alpine Linux \u4e2d\u7684 shell\u3002\u5982\u679c\u60a8\u60f3\u4f7f\u7528\u53e6\u4e00\u4e2a shell\uff0c\u60a8\u53ef\u4ee5\u5c06\u6b64\u9009\u9879\u66f4\u6539\u4e3a\u60a8\u9996\u9009 shell \u7684\u8def\u5f84\u3002<\/p>\n<p>\u8981\u4e3a\u7528\u6237\u8bbe\u7f6e\u5bc6\u7801\uff0c\u8bf7\u4f7f\u7528<strong>passwd<\/strong>\u547d\u4ee4\uff1a<\/p>\n<pre><code class=\"hljs shell\">passwd username<\/code><\/pre>\n<p>\u7cfb\u7edf\u5c06\u63d0\u793a\u60a8\u4e3a\u7528\u6237\u8bbe\u7f6e\u5bc6\u7801\u3002\u91cd\u65b0\u8f93\u5165\u5bc6\u7801\u4ee5\u786e\u8ba4\u8be5\u8fc7\u7a0b\u3002\u5b8c\u6210\u6b64\u64cd\u4f5c\u540e\uff0c\u60a8\u53ef\u4ee5\u9000\u51fa root \u5e10\u6237\u5e76\u767b\u5f55\u5230\u60a8\u7684\u5e38\u89c4\u7528\u6237\u5e10\u6237\u3002<\/p>\n<p>\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u5f53\u60a8\u60f3\u4ee5 root \u8eab\u4efd\u8fd0\u884c\u547d\u4ee4\u65f6\uff0c\u60a8\u5c06\u4f7f\u7528<strong>su<\/strong>\u547d\u4ee4\uff1a<\/p>\n<pre><code class=\"hljs shell\">su -<\/code><\/pre>\n<p>-\u9009\u9879\u610f\u5473\u7740\u542f\u52a8\u767b\u5f55 shell\u00a0<strong>\uff0c<\/strong>\u5c31\u50cf\u60a8\u76f4\u63a5\u767b\u5f55\u5230 root \u4e00\u6837\u3002\u51fa\u73b0\u63d0\u793a\u65f6\u952e\u5165 root \u5bc6\u7801\uff0c\u7136\u540e\u60a8\u5c06\u770b\u5230<strong>#<\/strong>\u63d0\u793a\u7b26\uff0c\u8868\u660e\u60a8\u6b63\u5728\u4ee5 root \u8eab\u4efd\u8fd0\u884c\u3002\u5b8c\u6210\u8fd0\u884c\u7ba1\u7406\u547d\u4ee4\u540e\uff0c\u6700\u597d\u901a\u8fc7\u952e\u5165<strong>logout<\/strong>\u6216\u6309<strong>Ctrl<\/strong>\u00a0+\u00a0\u00a0<strong>D<\/strong>\u6765\u9000\u51fa\u6839\u4f1a\u8bdd\u4ee5\u8fd4\u56de\u5e38\u89c4\u4f1a\u8bdd\u3002<\/p>\n<p>\u5982\u679c\u60a8\u4e60\u60ef\u4f7f\u7528 sudo\uff0c\u6587\u6863\u4e2d\u5305\u542b\u6709\u5173<a href=\"https:\/\/docs.alpinelinux.org\/user-handbook\/0.1a\/Working\/post-install.html#_granting_your_user_administrative_access\" target=\"_blank\" rel=\"nofollow noopener\">\u5982\u4f55\u8bbe\u7f6e\u5b83\u7684<\/a>\u4fe1\u606f\u3002<\/p>\n<h3 id=\"package-management\">\u5305\u7ba1\u7406<\/h3>\n<p>\u4e0e\u4efb\u4f55\u5176\u4ed6\u73b0\u4ee3 Linux \u53d1\u884c\u7248\u4e00\u6837\uff0cAlpine \u4f7f\u7528\u5305\u7ba1\u7406\u5668\u3002\u4ed6\u4eec\u521b\u5efa\u4e86\u81ea\u5df1\u7684 Alpine Package Keeper \u6216 APK\u3002<\/p>\n<p>\u4f7f\u7528 APK \u5f88\u7b80\u5355\u3002\u5982\u679c\u4f60\u4e60\u60ef\u4e8e\u5728Debian \u6216 Ubuntu\u4e0a\u4f7f\u7528 Apt \uff0c\u90a3\u5c31\u66f4\u7b80\u5355\u4e86\u3002\u4e0d\u6e05\u695a\u8fd9\u662f\u5426\u662f\u6545\u610f\u7684\uff0c\u4f46\u8bb8\u591a\u547d\u4ee4\u662f\u76f8\u540c\u7684\u3002<\/p>\n<p>\u8981\u66f4\u65b0\u5b58\u50a8\u5e93\uff0c\u53ea\u9700\u53d1\u51fa\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<pre><code class=\"hljs sql\">apk <span class=\"hljs-keyword\">update<\/span><\/code><\/pre>\n<p>\u8981\u5c06\u60a8\u7684\u8f6f\u4ef6\u5305\u5347\u7ea7\u5230\u53ef\u7528\u7684\u6700\u65b0\u7248\u672c\uff0c\u8bf7\u952e\u5165\uff1a<\/p>\n<pre><code class=\"hljs \">apk upgrade<\/code><\/pre>\n<p>\u8981\u5b89\u88c5\u7279\u5b9a\u7684\u5305\uff0c\u5728\u672c\u4f8b\u4e2d\u4e3a Vim\uff0c\u8bf7\u952e\u5165\uff1a<\/p>\n<pre><code class=\"hljs \">apk add vim<\/code><\/pre>\n<p>\u8981\u5220\u9664\u5305\uff0c\u8bf7\u952e\u5165\uff1a<\/p>\n<pre><code class=\"hljs java\">apk del <span class=\"hljs-keyword\">package<\/span><\/code><\/pre>\n<p>\u5982\u679c\u5220\u9664\u540e\u4e0d\u518d\u9700\u8981\u4efb\u4f55\u5305\uff0cAPK \u4f1a\u81ea\u52a8\u5220\u9664\u5b83\u4eec\u3002\u8fd9\u4e0e APT \u4e0d\u540c\uff0c\u56e0\u4e3a\u60a8\u5fc5\u987b\u8fd0\u884c<strong>apt autoremove<\/strong>\u547d\u4ee4\u624d\u80fd\u6267\u884c\u76f8\u540c\u64cd\u4f5c\u3002<\/p>\n<h3 id=\"set-up-a-desktop-environment\">\u8bbe\u7f6e\u684c\u9762\u73af\u5883<\/h3>\n<p>\u9664\u975e\u60a8\u6253\u7b97\u5c06 Alpine \u5b89\u88c5\u4e3a\u670d\u52a1\u5668\uff0c\u5426\u5219\u60a8\u53ef\u80fd\u9700\u8981\u5b89\u88c5\u56fe\u5f62\u73af\u5883\u3002\u5e78\u8fd0\u7684\u662f\uff0cAlpine \u652f\u6301\u4e3b\u8981\u7684\u7a97\u53e3\u7ba1\u7406\u5668\u548c\u684c\u9762\u73af\u5883\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-17487\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/08\/Alpine-Linux-3.png\" alt=\"\" width=\"1920\" height=\"1080\" \/><\/p>\n<p>\u4e3a\u4e86\u8bbe\u7f6e X\uff0cAlpine \u63d0\u4f9b\u4e86<strong>setup-xorg-base<\/strong>\u811a\u672c\u3002\u5b83\u7c7b\u4f3c\u4e8e\u5b89\u88c5\u8fc7\u7a0b\uff0c\u60a8\u53ef\u4ee5\u5728\u5176\u4e2d\u8fd0\u884c\u5b83\u5e76\u56de\u7b54\u4e00\u4e9b\u6709\u5173\u60a8\u7684\u8bbe\u7f6e\u7684\u95ee\u9898\u3002\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c\u914d\u7f6e\u662f\u81ea\u52a8\u7684\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-17486 aligncenter\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2022\/08\/Alpine-Linux-3.16-2.png\" alt=\"\" width=\"1024\" height=\"768\" \/><\/p>\n<p>\u60a8\u5fc5\u987b\u81ea\u884c\u5b89\u88c5\u9996\u9009\u7684\u7a97\u53e3\u7ba1\u7406\u5668\u3001\u684c\u9762\u3001\u6587\u4ef6\u7ba1\u7406\u5668\u7b49\u3002\u60a8\u53ef\u80fd\u8fd8\u60f3\u5b89\u88c5\u50cf LightDM \u8fd9\u6837\u7684\u663e\u793a\u7ba1\u7406\u5668\u3002\u4f46\u662f\uff0c\u60a8\u5fc5\u987b\u544a\u8bc9 OpenRC \u81ea\u52a8\u542f\u52a8\u5b83\u3002<\/p>\n<p>\u4f8b\u5982\uff0c\u4f7f\u7528 LXDM\uff1b<\/p>\n<pre><code class=\"hljs sql\">rc-<span class=\"hljs-keyword\">update<\/span> lxdm\r\nrc-service lxdm <span class=\"hljs-keyword\">start<\/span><\/code><\/pre>\n<h2 id=\"is-alpine-linux-for-you\">Alpine Linux \u9002\u5408\u4f60\u5417\uff1f<\/h2>\n<p>\u5982\u679c\u60a8\u6b63\u5728\u5bfb\u627e\u4e0e\u901a\u5e38\u7684 Linux \u53d1\u884c\u7248\u4e0d\u540c\u7684\u4e1c\u897f\uff0c\u90a3\u4e48 Alpine Linux \u662f\u503c\u5f97\u8003\u8651\u7684\u3002\u5982\u679c\u60a8\u60f3\u8981\u4e00\u4e2a\u7528\u4e8e\u865a\u62df\u5316\u6216\u5bb9\u5668\u7684\u8f7b\u91cf\u7ea7\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf\uff0c\u90a3\u4e48 Alpine \u5c31\u662f\u60a8\u7684\u7406\u60f3\u4e4b\u9009\u3002<\/p>\n<p>\u5c3d\u7ba1\u7f51\u7edc\u4e0a\u6709\u8bb8\u591a\u8f7b\u91cf\u7ea7 Linux \u53d1\u884c\u7248\uff0c\u4f46\u60a8\u5e94\u8be5\u4f1a\u53d1\u73b0 Alpine Linux \u9002\u5408\u60a8\u7684\u6240\u6709\u9700\u6c42\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5982\u679c\u60a8\u6b63\u5728\u5bfb\u627e\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u7684 Linux \u53d1\u884c\u7248\uff0c\u90a3\u4e48 Alpine Linux \u5bf9\u60a8\u6765\u8bf4\u53ef\u80fd\u662f\u4f17\u591a  &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[76,2],"tags":[1144],"class_list":["post-17482","post","type-post","status-publish","format-standard","hentry","category-linuxxiazai","category-zixun","tag-alpine-linux"],"aioseo_notices":[],"views":2118,"_links":{"self":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts\/17482","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/comments?post=17482"}],"version-history":[{"count":4,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts\/17482\/revisions"}],"predecessor-version":[{"id":17490,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts\/17482\/revisions\/17490"}],"wp:attachment":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/media?parent=17482"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/categories?post=17482"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/tags?post=17482"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}