{"id":1682,"date":"2022-07-26T14:31:41","date_gmt":"2022-07-26T07:31:41","guid":{"rendered":"https:\/\/dt-corp.com.vn\/?p=1682"},"modified":"2022-07-26T14:31:41","modified_gmt":"2022-07-26T07:31:41","slug":"cach-cai-dat-linux-mint-tren-wsl-cho-windows-10-va-11","status":"publish","type":"post","link":"https:\/\/dt-corp.com.vn\/?p=1682","title":{"rendered":"C\u00e1ch c\u00e0i \u0111\u1eb7t Linux Mint tr\u00ean WSL cho Windows 10 v\u00e0 11"},"content":{"rendered":"<p><strong><a class=\"local-link\" href=\"https:\/\/anonyviet.com\/cai-dat-windows-subsystem-for-linux-2-windows-10\/\">Windows Subsystem for Linux (WSL)<\/a>\u00a0l\u00e0 m\u1ed9t c\u00f4ng c\u1ee5 c\u1ef1c k\u1ef3 m\u1ea1nh m\u1ebd cho c\u1ea3 Windows 10 v\u00e0 Windows 11 v\u1edbi m\u1ed9t lo\u1ea1t c\u00e1c b\u1ea3n ph\u00e2n ph\u1ed1i c\u00f3 th\u1ec3 c\u00e0i \u0111\u1eb7t d\u1ec5 d\u00e0ng trong Microsoft Store. Nh\u01b0ng b\u1ea1n kh\u00f4ng b\u1ecb gi\u1edbi h\u1ea1n ch\u1ec9 v\u1edbi nh\u1eefng th\u1ee9 c\u00f3 s\u1eb5n trong Store. B\u1ea1n ho\u00e0n to\u00e0n c\u00f3 th\u1ec3 c\u00e0i \u0111\u1eb7t c\u00e1c b\u1ea3n ph\u00e2n ph\u1ed1i kh\u00e1c b\u1eb1ng c\u00e1c c\u00f4ng c\u1ee5 WSL t\u00edch h\u1ee3p mi\u1ec5n l\u00e0 b\u1ea1n c\u00f3 c\u00e1c t\u1ec7p ph\u00f9 h\u1ee3p.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-39182 size-full entered lazyloaded\" title=\"C\u00e1ch c\u00e0i \u0111\u1eb7t Linux Mint tr\u00ean WSL cho Windows 10 v\u00e0 11 25\" src=\"https:\/\/anonyviet.com\/wp-content\/uploads\/2022\/01\/linux-mint-terminal-wsl.jpg\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" srcset=\"https:\/\/anonyviet.com\/wp-content\/uploads\/2022\/01\/linux-mint-terminal-wsl.jpg 600w, https:\/\/anonyviet.com\/wp-content\/uploads\/2022\/01\/linux-mint-terminal-wsl-300x169.jpg 300w\" alt=\"C\u00e1ch c\u00e0i \u0111\u1eb7t Linux Mint tr\u00ean WSL cho Windows 10 v\u00e0 11\" width=\"600\" height=\"338\" data-lazy-srcset=\"https:\/\/anonyviet.com\/wp-content\/uploads\/2022\/01\/linux-mint-terminal-wsl.jpg 600w, https:\/\/anonyviet.com\/wp-content\/uploads\/2022\/01\/linux-mint-terminal-wsl-300x169.jpg 300w\" data-lazy-sizes=\"(max-width: 600px) 100vw, 600px\" data-lazy-src=\"https:\/\/anonyviet.com\/wp-content\/uploads\/2022\/01\/linux-mint-terminal-wsl.jpg\" data-pin-no-hover=\"true\" data-ll-status=\"loaded\" \/><\/p>\n<p>Trong m\u1ed9t s\u1ed1 tr\u01b0\u1eddng h\u1ee3p, ch\u1eb3ng h\u1ea1n nh\u01b0 Ubuntu, b\u1ea1n c\u00f3 th\u1ec3 c\u00e0i \u0111\u1eb7t b\u1ea3n ph\u00e1t h\u00e0nh m\u1edbi nh\u1ea5t v\u1edbi image ch\u00ednh th\u1ee9c. Nh\u01b0ng b\u1ea1n c\u0169ng c\u00f3 th\u1ec3 t\u00ecm \u0111\u1ebfn c\u1ed9ng \u0111\u1ed3ng WSL \u0111\u1ec3 \u0111\u01b0\u1ee3c h\u1ed7 tr\u1ee3 v\u00e0 \u0111\u00f3 ch\u00ednh x\u00e1c l\u00e0 tr\u01b0\u1eddng h\u1ee3p c\u1ee7a b\u1ea5t k\u1ef3 ai mu\u1ed1n c\u00e0i \u0111\u1eb7t Linux Mint ngay b\u00e2y gi\u1edd.<\/p>\n<p>Nh\u1edd m\u1ed9t d\u1ef1 \u00e1n tr\u00ean GitHub, m\u00e0 vi\u1ec7c c\u00e0i \u0111\u1eb7t Linux Mint v\u00e0o WSL t\u1eeb gi\u1edd s\u1ebd r\u1ea5t d\u1ec5 d\u00e0ng v\u00e0 h\u01a1n n\u1eefa, n\u00f3 \u0111\u00e3 h\u1ed7 tr\u1ee3 phi\u00ean b\u1ea3n m\u1edbi nh\u1ea5t, Linux Mint 20.3.<\/p>\n<h2 id=\"ftoc-cach-cai-dat-linux-mint-tren-wsl\" class=\"ftwp-heading\">C\u00e1ch c\u00e0i \u0111\u1eb7t Linux Mint tr\u00ean WSL<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-39183 aligncenter entered lazyloaded\" title=\"C\u00e1ch c\u00e0i \u0111\u1eb7t Linux Mint tr\u00ean WSL cho Windows 10 v\u00e0 11 26\" src=\"https:\/\/anonyviet.com\/wp-content\/uploads\/2022\/01\/linux-mint-terminal-wsl-neovim.jpg\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" srcset=\"https:\/\/anonyviet.com\/wp-content\/uploads\/2022\/01\/linux-mint-terminal-wsl-neovim.jpg 600w, https:\/\/anonyviet.com\/wp-content\/uploads\/2022\/01\/linux-mint-terminal-wsl-neovim-300x169.jpg 300w\" alt=\"C\u00e1ch c\u00e0i \u0111\u1eb7t Linux Mint tr\u00ean WSL cho Windows 10 v\u00e0 11 19\" width=\"600\" height=\"338\" data-lazy-srcset=\"https:\/\/anonyviet.com\/wp-content\/uploads\/2022\/01\/linux-mint-terminal-wsl-neovim.jpg 600w, https:\/\/anonyviet.com\/wp-content\/uploads\/2022\/01\/linux-mint-terminal-wsl-neovim-300x169.jpg 300w\" data-lazy-sizes=\"(max-width: 600px) 100vw, 600px\" data-lazy-src=\"https:\/\/anonyviet.com\/wp-content\/uploads\/2022\/01\/linux-mint-terminal-wsl-neovim.jpg\" data-pin-no-hover=\"true\" data-ll-status=\"loaded\" \/><\/p>\n<p>Linux Mint l\u00e0 m\u1ed9t b\u1ea3n ph\u00e2n ph\u1ed1i Linux d\u1ef1a tr\u00ean Ubuntu v\u00e0 ch\u1eafc ch\u1eafn l\u00e0 m\u1ed9t trong nh\u1eefng l\u1ef1a ch\u1ecdn ph\u1ed5 bi\u1ebfn nh\u1ea5t hi\u1ec7n nay, th\u01b0\u1eddng \u0111\u01b0\u1ee3c ca ng\u1ee3i l\u00e0 m\u1ed9t n\u01a1i ho\u00e0n h\u1ea3o \u0111\u1ec3 b\u1eaft \u0111\u1ea7u chuy\u1ec3n sang Linux. T\u1ea5t nhi\u00ean, vi\u1ec7c s\u1eed d\u1ee5ng Linux trong WSL h\u01a1i kh\u00e1c m\u1ed9t ch\u00fat so v\u1edbi vi\u1ec7c ch\u1ec9 t\u1ea3i n\u00f3 l\u00ean PC.<\/p>\n<p>V\u00ec v\u1eady, n\u1ebfu b\u1ea1n mu\u1ed1n s\u1eed d\u1ee5ng n\u00f3 tr\u00ean WSL, b\u1ea1n s\u1ebd c\u1ea7n ph\u1ea3i s\u1eed d\u1ee5ng m\u1ed9t d\u1ef1 \u00e1n c\u1ed9ng \u0111\u1ed3ng \u0111\u01b0\u1ee3c g\u1ecdi l\u00e0 LinuxmintWSL. N\u00f3 \u0111\u01b0\u1ee3c l\u01b0u tr\u1eef t\u1ea1i\u00a0<a class=\"ext-link\" href=\"https:\/\/anonyviet.com\/tieptucdidentrangmoi\/?url=https%3A%2F%2Fgithub.com%2Fsileshn%2FLinuxmintWSL\" target=\"_blank\" rel=\"noopener external nofollow\">GitHub<\/a>. N\u00f3 c\u0169ng ch\u1ec9 \u0111\u01b0\u1ee3c x\u00e2y d\u1ef1ng cho WSL 2, v\u00ec v\u1eady n\u1ebfu b\u1ea1n ch\u01b0a c\u00e0i \u0111\u1eb7t WSL 2 th\u00ec c\u00f3 th\u1ec3\u00a0<a class=\"local-link\" href=\"https:\/\/anonyviet.com\/cai-dat-windows-subsystem-for-linux-2-windows-10\/\">\u0111\u1ecdc b\u00e0i vi\u1ebft n\u00e0y<\/a>. Tuy nhi\u00ean, n\u00f3 h\u1ed7 tr\u1ee3 c\u1ea3 m\u00e1y Intel\/AMD v\u00e0 ARM, v\u00ec v\u1eady ng\u01b0\u1eddi d\u00f9ng Windows tr\u00ean ARM s\u1ebd kh\u00f4ng b\u1ecb b\u1ecf r\u01a1i.<\/p>\n<p>Tr\u00ean kho l\u01b0u tr\u1eef GitHub, h\u00e3y truy c\u1eadp trang ph\u00e1t h\u00e0nh v\u00e0 t\u1ea3i xu\u1ed1ng g\u00f3i m\u1edbi nh\u1ea5t. Sau khi t\u1ea3i xu\u1ed1ng, gi\u1ea3i n\u00e9n t\u1ec7p zip v\u00e0o th\u01b0 m\u1ee5c b\u1ea1n mu\u1ed1n ch\u1ea1y n\u00f3, sau \u0111\u00f3 ch\u1ec9 c\u1ea7n ch\u1ea1y Mint.exe. Kh\u00f4ng gi\u1ed1ng nh\u01b0 c\u00e0i \u0111\u1eb7t c\u00e1c b\u1ea3n ph\u00e1t h\u00e0nh m\u1edbi nh\u1ea5t c\u1ee7a Ubuntu t\u1eeb m\u1ed9t trong nh\u1eefng image ch\u00ednh th\u1ee9c, n\u00f3 \u0111\u00e3 \u0111\u01b0\u1ee3c g\u00f3i l\u1ea1i \u0111\u1ec3 gi\u1ed1ng v\u1edbi c\u00e1c b\u1ea3n ph\u00e2n ph\u1ed1i m\u00e0 b\u1ea1n s\u1ebd t\u1ea3i xu\u1ed1ng t\u1eeb Microsoft Store h\u01a1n.<\/p>\n<p>S\u1ebd m\u1ea5t v\u00e0i gi\u00e2y (ho\u1eb7c l\u00e2u h\u01a1n t\u00f9y thu\u1ed9c v\u00e0o ph\u1ea7n c\u1ee9ng c\u1ee7a b\u1ea1n) \u0111\u1ec3 ch\u1ea1y qu\u00e1 tr\u00ecnh c\u00e0i \u0111\u1eb7t ho\u00e0n t\u1ea5t, nh\u01b0ng tr\u00ecnh c\u00e0i \u0111\u1eb7t kh\u00f4ng y\u00eau c\u1ea7u b\u1ea5t k\u1ef3 s\u1ef1 t\u01b0\u01a1ng t\u00e1c n\u00e0o t\u1eeb b\u1ea1n. N\u00f3 s\u1ebd m\u1edf ra m\u1ed9t c\u1eeda s\u1ed5 d\u00f2ng l\u1ec7nh v\u00e0 khi ho\u00e0n t\u1ea5t, b\u1ea1n s\u1ebd \u0111\u01b0\u1ee3c y\u00eau c\u1ea7u nh\u1ea5n Enter. Sau \u0111\u00f3, c\u1eeda s\u1ed5 d\u00f2ng l\u1ec7nh s\u1ebd \u0111\u00f3ng l\u1ea1i.<\/p>\n<p>N\u1ebfu b\u1ea1n s\u1eed d\u1ee5ng Windows Terminal, Mint b\u00e2y gi\u1edd s\u1ebd hi\u1ec3n th\u1ecb trong menu th\u1ea3 xu\u1ed1ng \u0111\u1ec3 kh\u1edfi ch\u1ea1y v\u00e0o l\u1ea7n ti\u1ebfp theo b\u1ea1n load n\u00f3. N\u1ebfu kh\u00f4ng, b\u1ea1n c\u00f3 th\u1ec3 kh\u1edfi ch\u1ea1y n\u00f3 th\u00f4ng qua PowerShell gi\u1ed1ng nh\u01b0 b\u1ea5t k\u1ef3 b\u1ea3n ph\u00e2n ph\u1ed1i Linux n\u00e0o kh\u00e1c b\u1eb1ng l\u1ec7nh n\u00e0y:<\/p>\n<pre><code>wsl -d Mint<\/code><\/pre>\n<p>Theo m\u1eb7c \u0111\u1ecbnh, b\u1ea1n s\u1ebd ch\u1ec9 c\u00f3 quy\u1ec1n truy c\u1eadp root, v\u00ec v\u1eady b\u1ea1n s\u1ebd c\u1ea7n th\u1ef1c hi\u1ec7n m\u1ed9t s\u1ed1 thi\u1ebft l\u1eadp c\u01a1 b\u1ea3n tr\u01b0\u1edbc khi b\u1eaft \u0111\u1ea7u.<\/p>\n<h2 id=\"ftoc-cach-thiet-lap-linux-mint-tren-wsl\" class=\"ftwp-heading\">C\u00e1ch thi\u1ebft l\u1eadp Linux Mint tr\u00ean WSL<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-39184 aligncenter entered lazyloaded\" title=\"C\u00e1ch c\u00e0i \u0111\u1eb7t Linux Mint tr\u00ean WSL cho Windows 10 v\u00e0 11 27\" src=\"https:\/\/anonyviet.com\/wp-content\/uploads\/2022\/01\/linux-mint-wsl-install-1.jpg\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" srcset=\"https:\/\/anonyviet.com\/wp-content\/uploads\/2022\/01\/linux-mint-wsl-install-1.jpg 600w, https:\/\/anonyviet.com\/wp-content\/uploads\/2022\/01\/linux-mint-wsl-install-1-300x169.jpg 300w\" alt=\"C\u00e1ch c\u00e0i \u0111\u1eb7t Linux Mint tr\u00ean WSL cho Windows 10 v\u00e0 11 20\" width=\"600\" height=\"338\" data-lazy-srcset=\"https:\/\/anonyviet.com\/wp-content\/uploads\/2022\/01\/linux-mint-wsl-install-1.jpg 600w, https:\/\/anonyviet.com\/wp-content\/uploads\/2022\/01\/linux-mint-wsl-install-1-300x169.jpg 300w\" data-lazy-sizes=\"(max-width: 600px) 100vw, 600px\" data-lazy-src=\"https:\/\/anonyviet.com\/wp-content\/uploads\/2022\/01\/linux-mint-wsl-install-1.jpg\" data-pin-no-hover=\"true\" data-ll-status=\"loaded\" \/><\/p>\n<p>Nh\u1eadp Mint v\u00e0o terminal b\u1eb1ng m\u1ed9t trong c\u00e1c c\u00e1ch tr\u00ean. B\u1ea1n s\u1ebd th\u1ea5y m\u1ed9t l\u1eddi nh\u1eafc c\u01a1 b\u1ea3n b\u1eaft \u0111\u1ea7u b\u1eb1ng\u00a0root@.\u00a0Nh\u01b0 v\u1edbi b\u1ea5t k\u1ef3 b\u1ea3n ph\u00e2n ph\u1ed1i Linux n\u00e0o kh\u00e1c tr\u00ean WSL, b\u1ea1n s\u1ebd c\u1ea7n th\u00eam m\u1ed9t ng\u01b0\u1eddi d\u00f9ng v\u00e0o Mint v\u1edbi c\u00e1c quy\u1ec1n ph\u00f9 h\u1ee3p tr\u01b0\u1edbc khi l\u00e0m b\u1ea5t c\u1ee9 \u0111i\u1ec1u g\u00ec. B\u1ea1n c\u0169ng kh\u00f4ng c\u00f3 m\u1eadt kh\u1ea9u, v\u00ec v\u1eady b\u1ea1n s\u1ebd c\u1ea7n th\u00eam m\u1eadt kh\u1ea9u tr\u01b0\u1edbc khi b\u1eaft \u0111\u1ea7u.<\/p>\n<p>Trong terminal, h\u00e3y nh\u1eadp:<\/p>\n<pre><code>passwd<\/code><\/pre>\n<p>L\u00e0m theo l\u1eddi nh\u1eafc \u0111\u1ec3 \u0111\u1eb7t m\u1eadt kh\u1ea9u root. Ti\u1ebfp theo, ch\u00fang ta s\u1ebd th\u00eam m\u1ed9t ng\u01b0\u1eddi d\u00f9ng b\u1eb1ng l\u1ec7nh:<\/p>\n<div class=\"code-block code-block-6 ai-viewport-1 ai-viewport-2\">\n<div align=\"center\">\n<div id=\"passback_pc_article_mid1_728x90\/\/300x250\/\/336x280\"><\/div>\n<\/div>\n<\/div>\n<pre><code>useradd -m &lt;username&gt;<\/code><\/pre>\n<p>V\u00e0 t\u1ea1o m\u1eadt kh\u1ea9u cho ng\u01b0\u1eddi d\u00f9ng m\u1edbi:<\/p>\n<pre><code>passwd &lt;username&gt;<\/code><\/pre>\n<p>M\u1ed9t l\u1ea7n n\u1eefa, h\u00e3y l\u00e0m theo l\u1eddi nh\u1eafc \u0111\u1ec3 th\u00eam m\u1eadt kh\u1ea9u c\u1ee7a b\u1ea1n.<\/p>\n<p>B\u01b0\u1edbc ti\u1ebfp theo l\u00e0 th\u00eam c\u00e1c quy\u1ec1n ph\u00f9 h\u1ee3p cho ng\u01b0\u1eddi d\u00f9ng c\u1ee7a b\u1ea1n \u0111\u1ec3 c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng l\u1ec7nh sudo, n\u1ebfu kh\u00f4ng b\u1ea1n s\u1ebd g\u1eb7p l\u1ed7i. Ch\u00fang ta c\u00f3 th\u1ec3 l\u00e0m \u0111i\u1ec1u n\u00e0y b\u1eb1ng c\u00e1ch nh\u1eadp:<\/p>\n<pre><code>usermod -aG sudo &lt;yourusername&gt;<\/code><\/pre>\n<p>Sau \u0111\u00f3, b\u1ea1n c\u00f3 th\u1ec3 chuy\u1ec3n sang ng\u01b0\u1eddi d\u00f9ng c\u1ee7a m\u00ecnh b\u1eb1ng l\u1ec7nh:<\/p>\n<pre><code>su &lt;username&gt;<\/code><\/pre>\n<p>\u0110i\u1ec1u ti\u1ebfp theo c\u1ea7n l\u00e0m l\u00e0 \u0111\u1ea3m b\u1ea3o r\u1eb1ng khi b\u1ea1n kh\u1edfi ch\u1ea1y Mint n\u1ebfu b\u1ea1n mu\u1ed1n tr\u1edf th\u00e0nh ng\u01b0\u1eddi d\u00f9ng ch\u1ee9 kh\u00f4ng ph\u1ea3i root (khuy\u1ebfn kh\u00edch), b\u1ea1n ph\u1ea3i c\u1ea5u h\u00ecnh n\u00f3 \u0111\u1ec3 kh\u00f4ng ph\u1ea3i th\u1ef1c hi\u1ec7n th\u1ee7 c\u00f4ng m\u1ed7i khi m\u1edf Mint. C\u00f3 hai c\u00e1ch \u0111\u1ec3 th\u1ef1c hi\u1ec7n vi\u1ec7c n\u00e0y, c\u00e1ch th\u1ee9 nh\u1ea5t l\u00e0 v\u1edbi t\u1ec7p wsl.conf v\u00e0 c\u00e1ch th\u1ee9 hai l\u00e0 b\u1eb1ng c\u00e1ch \u0111\u1ecbnh c\u1ea5u h\u00ecnh Windows Terminal.<\/p>\n<p>B\u1ea1n s\u1ebd kh\u00f4ng c\u00f3 t\u1ec7p wsl.conf khi l\u1ea7n \u0111\u1ea7u ti\u00ean thi\u1ebft l\u1eadp Linux Mint, v\u00ec v\u1eady ch\u00fang ta s\u1ebd c\u1ea7n t\u1ea1o t\u1ec7p \u0111\u00f3 v\u00e0 nh\u1eadp c\u00e0i \u0111\u1eb7t ph\u00f9 h\u1ee3p. Trong terminal, h\u00e3y nh\u1eadp:<\/p>\n<pre><code>nano \/etc\/wsl.conf<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-39185 aligncenter entered lazyloaded\" title=\"C\u00e1ch c\u00e0i \u0111\u1eb7t Linux Mint tr\u00ean WSL cho Windows 10 v\u00e0 11 28\" src=\"https:\/\/anonyviet.com\/wp-content\/uploads\/2022\/01\/wslconf-nano-1.jpg\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" srcset=\"https:\/\/anonyviet.com\/wp-content\/uploads\/2022\/01\/wslconf-nano-1.jpg 600w, https:\/\/anonyviet.com\/wp-content\/uploads\/2022\/01\/wslconf-nano-1-300x188.jpg 300w\" alt=\"C\u00e1ch c\u00e0i \u0111\u1eb7t Linux Mint tr\u00ean WSL cho Windows 10 v\u00e0 11 21\" width=\"600\" height=\"375\" data-lazy-srcset=\"https:\/\/anonyviet.com\/wp-content\/uploads\/2022\/01\/wslconf-nano-1.jpg 600w, https:\/\/anonyviet.com\/wp-content\/uploads\/2022\/01\/wslconf-nano-1-300x188.jpg 300w\" data-lazy-sizes=\"(max-width: 600px) 100vw, 600px\" data-lazy-src=\"https:\/\/anonyviet.com\/wp-content\/uploads\/2022\/01\/wslconf-nano-1.jpg\" data-pin-no-hover=\"true\" data-ll-status=\"loaded\" \/><\/p>\n<p>Gi\u1edd \u0111\u00e2y, tr\u00ecnh so\u1ea1n th\u1ea3o v\u0103n b\u1ea3n Nano s\u1ebd m\u1edf m\u1ed9t t\u1ec7p tr\u1ed1ng m\u1edbi. Nh\u1eadp l\u1ec7nh n\u00e0y v\u00e0o t\u1ec7p:<\/p>\n<pre><code># Set the user when launching a distribution with WSL.\r\n[user]\r\ndefault=YourUserName<\/code><\/pre>\n<p>Nh\u1ea5n Ctrl + X, sau \u0111\u00f3 nh\u1ea5n Y, sau \u0111\u00f3 nh\u1ea5n Enter \u0111\u1ec3 l\u01b0u v\u00e0 tho\u00e1t. \u0110\u00f3ng phi\u00ean b\u1ea3n Linux Mint c\u1ee7a b\u1ea1n, \u0111\u1ee3i v\u00e0i gi\u00e2y, sau \u0111\u00f3 khi kh\u1edfi ch\u1ea1y l\u1ea1i, b\u1ea1n \u0111\u00e3 \u0111\u0103ng nh\u1eadp v\u1edbi t\u01b0 c\u00e1ch ng\u01b0\u1eddi d\u00f9ng.<\/p>\n<p>Ngo\u00e0i ra, n\u1ebfu b\u1ea1n \u0111ang s\u1eed d\u1ee5ng Windows Terminal, h\u00e3y m\u1edf\u00a0<strong>Settings<\/strong>, t\u00ecm b\u1ea3n c\u00e0i \u0111\u1eb7t Linux Mint c\u1ee7a b\u1ea1n , sau \u0111\u00f3 trong h\u1ed9p\u00a0<strong>command line<\/strong>\u00a0\u0111\u1ea3m b\u1ea3o l\u1ec7nh n\u00e0y \u0111\u01b0\u1ee3c l\u01b0u tr\u1eef:<\/p>\n<div id=\"ftwp-postcontent\">\n<pre><code>wsl.exe -d &lt;distroname&gt; -u &lt;yourusername&gt;<\/code><\/pre>\n<p>L\u1ec7nh n\u00e0y s\u1ebd c\u00f3 t\u00e1c d\u1ee5ng t\u01b0\u01a1ng t\u1ef1 sau khi \u0111\u00f3ng v\u00e0 kh\u1edfi \u0111\u1ed9ng l\u1ea1i. Tuy nhi\u00ean, vi\u1ec7c thi\u1ebft l\u1eadp t\u1ec7p wsl.conf l\u00e0 t\u1ed1t h\u01a1n, v\u00ec n\u00f3 \u0111\u1ea3m b\u1ea3o b\u1ea1n lu\u00f4n \u0111\u0103ng nh\u1eadp v\u1edbi t\u01b0 c\u00e1ch ng\u01b0\u1eddi d\u00f9ng. N\u1ebfu b\u1ea1n s\u1eed d\u1ee5ng settings Windows Terminal v\u00e0 m\u1edf Linux Mint qua PowerShell, b\u1ea1n s\u1ebd l\u00e0 root.<\/p>\n<p>Linux Mint hi\u1ec7n \u0111\u00e3 \u0111\u01b0\u1ee3c thi\u1ebft l\u1eadp tr\u00ean WSL \u0111\u1ec3 b\u1ea1n s\u1eed d\u1ee5ng gi\u1ed1ng nh\u01b0 b\u1ea5t k\u1ef3 distro n\u00e0o kh\u00e1c m\u00e0 b\u1ea1n c\u00e0i \u0111\u1eb7t th\u00f4ng qua Microsoft Store. B\u1ea1n c\u00f3 th\u1ec3 th\u1ea5y m\u1ed9t s\u1ed1 \u1ee9ng d\u1ee5ng GUI c\u0169ng \u0111\u00e3 xu\u1ea5t hi\u1ec7n trong Start Menu \u0111i k\u00e8m v\u1edbi c\u00e0i \u0111\u1eb7t ti\u00eau chu\u1ea9n c\u1ee7a Linux Mint, nh\u01b0ng t\u1ea5t c\u1ea3 nh\u1eefng \u1ee9ng d\u1ee5ng \u0111\u00f3 \u0111\u1ec1u c\u00f3 th\u1ec3 b\u1ecb x\u00f3a n\u1ebfu b\u1ea1n kh\u00f4ng mu\u1ed1n.<\/p>\n<p>Ngo\u00e0i ra, b\u1ea1n c\u00f3 th\u1ec3 ch\u1ea1y nhi\u1ec1u phi\u00ean b\u1ea3n Linux Mint tr\u00ean WSL. \u0110\u1ed1i v\u1edbi m\u1ed7i l\u1ea7n c\u00e0i \u0111\u1eb7t ti\u1ebfp theo, ch\u1ec9 c\u1ea7n thay \u0111\u1ed5i t\u00ean c\u1ee7a t\u1ec7p Mint.exe t\u1eeb \u0111\u1ea7u h\u01b0\u1edbng d\u1eabn n\u00e0y th\u00e0nh t\u00ean kh\u00e1c, sau \u0111\u00f3 ch\u1ea1y l\u1ea1i. Phi\u00ean b\u1ea3n m\u1edbi s\u1ebd \u0111\u01b0\u1ee3c thi\u1ebft l\u1eadp v\u1edbi t\u00ean t\u1ec7p \u0111\u00e3 thay \u0111\u1ed5i.<\/p>\n<p>Theo: AnonyViet<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p class=\"tx-excerpt\">Windows Subsystem for Linux (WSL)\u00a0l\u00e0 m\u1ed9t c\u00f4ng c\u1ee5 c\u1ef1c k\u1ef3 m\u1ea1nh m\u1ebd cho c\u1ea3 Windows 10 v\u00e0 Windows 11 v\u1edbi m\u1ed9t lo\u1ea1t c\u00e1c b\u1ea3n ph\u00e2n ph\u1ed1i c\u00f3 th\u1ec3 c\u00e0i \u0111\u1eb7t d\u1ec5 d\u00e0ng trong","protected":false},"author":3,"featured_media":1683,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[13],"tags":[],"class_list":["post-1682","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/dt-corp.com.vn\/wp-content\/uploads\/2022\/07\/linux-mint-terminal-wsl.jpg","_links":{"self":[{"href":"https:\/\/dt-corp.com.vn\/index.php?rest_route=\/wp\/v2\/posts\/1682","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dt-corp.com.vn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dt-corp.com.vn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dt-corp.com.vn\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/dt-corp.com.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1682"}],"version-history":[{"count":1,"href":"https:\/\/dt-corp.com.vn\/index.php?rest_route=\/wp\/v2\/posts\/1682\/revisions"}],"predecessor-version":[{"id":1684,"href":"https:\/\/dt-corp.com.vn\/index.php?rest_route=\/wp\/v2\/posts\/1682\/revisions\/1684"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dt-corp.com.vn\/index.php?rest_route=\/wp\/v2\/media\/1683"}],"wp:attachment":[{"href":"https:\/\/dt-corp.com.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1682"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dt-corp.com.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1682"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dt-corp.com.vn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1682"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}