Tìm hiểu chung về Linux Distro
Posted on February 6, 2023 by thangbuiq and chimlun0910 ‐ 6 min read
diff --git a/404.html b/404.html new file mode 100644 index 00000000..af6307bb --- /dev/null +++ b/404.html @@ -0,0 +1,9 @@ +
Welcome to the ubunchuu-truong-us blog, built with Hugo and Doks.
-Posted on February 6, 2023 by thangbuiq and chimlun0910 ‐ 6 min read
Posted on February 21, 2023 by thangbuiq and chimlun0910 ‐ 6 min read
Posted on March 19, 2023 by chimlun0910 ‐ 9 min read
Creator of Hyas.
The Doks contributors.
Posted on December 24, 2022 by lelouvincx, thangbuiq, chimlun0910 ‐ 9 min read
Posted on December 24, 2022 by lelouvincx, thangbuiq, chimlun0910 ‐ 17 min read
Posted on December 24, 2022 by lelouvincx ‐ 3 min read
Posted on February 1, 2023 by lelouvincx ‐ 5 min read
Posted on December 24, 2022 by lelouvincx ‐ 5 min read
Posted on May 27, 2023 by lelouvincx and thangbuiq ‐ 5 min read
Posted on December 24, 2022 by thangbuiq ‐ 4 min read
Posted on February 6, 2023 by thangbuiq and chimlun0910 ‐ 6 min read
Posted on February 21, 2023 by thangbuiq and chimlun0910 ‐ 6 min read
Posted on May 31, 2023 by thangbuiq ‐ 6 min read
Posted on May 27, 2023 by lelouvincx and thangbuiq ‐ 5 min read
Theo số liệu thống kê từ trang truelist.co (số liệu thống kê tính tới ngày 02/02/2023), hiện nay số lượng các distros Linux đang hoạt động vào khoảng hơn 600 distros. +Một số distros được sử dụng phổ biến nhất hiện nay là Debian, Ubuntu, Manjaro, Arch Linux, Kali Linux, và còn nhiều hơn thế nữa. +Tuy nhiên, để chọn ra được một distro phù hợp với tính chất công việc, nhu cầu sử dụng của bạn thì có lẽ là một việc không hề dễ dàng và tốn nhiều thời gian trải nghiệm.
Ubunchuu sẽ cố gắng hết sức để giúp các bạn có thể chọn được một distro phù hợp với bản thân của các bạn. +Có một câu nói đùa khá là “viral” trong cộng đồng Li-nú:
“Chọn distro cũng giống như cách mà các bạn chọn mẫu người yêu lí tưởng cho bản thân, không cần là người tốt nhất, chỉ cần là người phù hợp nhất. +Tuy nhiên có được cả hai thì lại là một điều quá đỗi tuyệt vời”.
Ở bài viết này, Ubunchuu sẽ phân loại distro theo đối tượng người dùng cũng như tính chất công việc, nhu cầu giải trí của họ.
Với những người dùng đã thân thuộc với giao diện của hệ điều hành Windows và không có nhu cầu khám phá nhiều về tính cá nhân hóa của Linux, Ubunchuu đề xuất cho các bạn những distro sau:
Linux Mint: Đây là một trong những bản phân phối Linux khá nhẹ và có phần khá giống với Windows về hình thức bên ngoài. +Một trong những ứng dụng độc đáo mà Linux Mint có là Warpinator: một công cụ dựa trên Giver giúp dễ dàng chia sẻ tệp với những người dùng khác trên mạng cục bộ.
OpenSuse: Với giao diện mang phong cách thân thiện với người dùng Windows, OpenSuse sẽ là distro phù hợp với những người dùng thành thạo với Linux. +Một trong những điểm đặc biệt là OpenSuse được lựa chọn đa phần với những người làm IT, quản trị hệ thống và những con dân Coder, Dev, …
Kubuntu: Sở hữu một cái tên nghe khá tương đồng với Ubuntu, Kubuntu là sự hợp nhất hợp nhất Ubuntu với KDE và giao diện desktop Plasma tuyệt vời. +Distro này đến cho bạn một bộ ứng dụng đầy đủ. +Bản cài đặt bao gồm các ứng dụng năng suất, văn phòng, email, âm nhạc sẵn sàng sử dụng khi khởi động. +Konsole của Kubuntu được coi là một trong những Terminal tốt nhất trong cộng đồng Li-nú.
Đối với quan điểm cá nhân của người viết bài viết này, giao diện đồ họa người dùng của MacOS thực sự là một trong những giao diện đẹp, thân thiện với người dùng. +Nếu các bạn yêu thích một giao diện mới mẻ, không thiên hướng Windows, Ubunchuu sẽ đề xuất một vài distro sau:
Ubuntu: Ubuntu là một trong những bản phân phối Linux linh hoạt nhất với một cộng đồng lớn và hỗ trợ lâu dài. +Distro này được người dùng mới tiếp cận và người dùng đã có kinh nghiệm ưa thích, đặc biệt là do số lượng lớn các tiện ích phần mềm có sẵn. +Ubuntu nổi tiếng với sức mạnh của Terminal - một text-based interface cho phép người dùng truy cập trực tiếp vào hệ thống UNIX. +Trong những bản cập nhật gần đây, giao diện đồ họa người dùng của Ubuntu được đánh giá là có sự tương đồng với giao diện của MacOS.
Elementary OS: Được đánh giá là trong những distro Linux đẹp nhất, ElementaryOS có giao diện thân thiện với những người dùng MacOS và những người dùng thích khám phá sự cá nhân hóa mà Linux mang lại. +Elementary OS có thanh Dock khá đep cũng như những hiệu ứng chuyển tab mượt mà. +Distro này dựa trên Ubuntu và yêu cầu laptop có tài nguyên phù hợp để hoạt động mượt mà.
Garuda Linux: Một trong những distro “cool, ngầu” nhất, Garuda Linux là một bản phân phối Linux dựa trên Arch Linux. +Giao diện của Garuda Linux khá bắt mắt chính vì vậy một số lượng tài nguyên nhất định sẽ được yêu cầu trước khi cài đặt distro này.
Kết luận: Như Ubunchuu đã đề cập ở trên - Hãy chọn cho mình distro hợp với tính chất công việc, nhu cầu giải trí của mình để các bạn có thể truy cập, sử dụng được tính năng mà bản thân mong muốn. +Ubunchuu sẽ gợi ý một vài các yếu tố sau để giúp bạn có cái nhìn dễ dàng hơn:
Mục đích sử dụng: Có rất nhiều distro với nhiều tính năng riêng biệt. +Hãy chọn distro mà có lợi nhất cho bản thân cũng như nhu cầu của bạn. +Lựa chọn sai distro có thể khiến bạn tốn nhiều thời gian để làm quen, điều chỉnh, …
Yêu cầu phần cứng: Ubunchuu khuyến khích các bạn không nên bỏ qua bước này bởi vì sự tương thích phần cứng sẽ là yếu tố quyết định đến trải nghiệm của bạn.
Trình độ hiểu biết: Một số distro không dành cho những người mới tiếp xúc với Linux như Arch Linux, Slackware, Gentoo Linux, và Kali Linux. +Chắc hẳn các bạn cũng không muốn minh có một trải nghiệm “ác mộng” với những câu lệnh, packages và nhiều thứ khác.
Cộng đồng hỗ trợ: Ubunchuu khuyến khích các bạn chọn một distro sở hữu một cộng đồng hỗ trợ, đóng góp lớn. +Mọi lỗi xảy ra trong quá trình bạn trải nghiệm có thể tìm thấy cách khắc phục trong cộng đồng và cũng có thể là một đóng góp nhỏ để phát triển cộng đồng từng ngày.
Hướng dẫn và tài liệu: Đúng! Luôn phải có sự hiểu biết nhất định về distro mà bạn sắp sử dụng, từ cách cài đặt, cách sử dụng packages manager đến cách cài đặt những phần mềm của distro đó. +Các bạn sẽ không muốn trải nghiệm lần mò những câu lệnh để sử dụng, cài đặt.
Khác với Windows và MacOS, Ubuntu không yêu cầu một khoản phí bất kỳ nào để có thể cài đặt và sử dụng hệ điều hành.
Việc cài đặt Ubuntu theo tụi mình đánh giá là đơn giản hơn việc cài đặt hệ điều hành Windows khá nhiều. Các bạn chỉ cần có vốn tiếng anh nhất định và sự hiểu biết đơn giản về máy tính.
Ubuntu có tính cá nhân hóa cao hơn khi so sánh với bất kỳ hệ điều hành phổ biến hiện nay (Windows, MacOS). Bạn có thể tùy chỉnh ở nhiều khía cạnh liên quan đến UI để phục vụ cho nhu cầu cá nhân hóa của bản thân.
Nếu giao diện mặc định của Ubuntu đã quá nhàm chán, Ubunchuu khuyến khích các bạn tìm hiểu về chủ đề này. UI Customization ở Linux thường không quá ảnh hưởng quá nhiều đến hiệu năng của máy (như ngốn RAM, ăn CPU, ..) +Trong tương lai, Ubunchuu sẽ dành một bài viết riêng về chủ đề này. Tuy nhiên, nếu các bạn muốn tìm hiểu trước, tụi mình sẽ để đường link tham khảo: LinuxScoop - một trong những kênh youtube nổi tiếng về Linux UI Customization.
Nếu bạn là một dân IT hoặc là một người yêu thích việc gõ code, hoặc cho dù là không đi nữa. Nếu công việc của bạn có liên quan đến việc lập trình, Ubuntu chính là một lựa chọn tốt bởi Ubuntu cung cấp cho bạn một Terminal với sức mạnh “tuyệt đối”. Đối với nhiều lập trình viên, việc thao tác với chuột thường khá ít và thao tác dòng lệnh (command line) trên Linux phải gọi là rất “đã” và tốt hơn Windows rất nhiều. Hơn nữa, hầu hết các ngôn ngữ lập trình đều hỗ trợ CLI (Command Line Interface) điều này là cần thiết với các lập trình viên.
Nghe có vẻ phi lý khi mà Ubuntu là một hệ điều hành miễn phí, mã nguồn mở nhưng lại có tính bảo mật cao? Ubuntu nói riêng và Linux nói chung đều sở hữu quyền “root”, điều này cho phép bạn thao tác với hệ thống ở quyền hạn cao nhất (tương đương với Administrator bên Windows). Tuy nhiên, mặc định người dùng hệ thống không được cấp quyền này và nếu có cuộc tấn công nào vào máy tính nhưng lại không có quyền “root” thì cũng phải là 1 điều gì đó quan ngại.
Nếu Ubuntu chưa phải là sự lựa chọn phù hợp của bạn, hãy tham khảo những Distro khác mà tụi mình đã lên bài ở đây nhé: Tìm hiểu chung về Linux Distro
Ubuntu yêu cầu thiết bị của bạn đáp ứng những yêu cầu sau:
- 2 GHz dual-core processor hoặc hơn.
- Tối thiếu 4 GB RAM (Ubunchu khuyến khích thiết bị của các bạn nên có ít nhất 8 GB RAM để mọi tác vụ của hệ thống trở nên mượt mà).
- Tối thiểu 25 GB dung lượng ổ đĩa.
- Một kết nối Internet xuyên suốt quá trình cài đặt để hệ thống có thể cập nhật và tải những tài nguyên cần thiết.
- USB Boot chứa bộ cài Ubuntu.
Việc Backup tất cả dữ liệu trong máy của bạn trước khi cài đặt Ubuntu là một điều hết sức cần thiết vì trong quá trình cài đặt luôn có xác suất rất nhỏ xảy ra những lỗi liên quan đến hệ điều hành và phần cứng. +Ubunchuu khuyến khích các bạn nên Backup dữ liệu của mình sang một nơi an toàn như Google Drive, OneDrive, Dropbox, .. để đề phòng trường hợp mất mát dữ liệu khi cài đặt nhé.
Trước khi cài đặt Ubuntu, các bạn nên có một cái nhìn tổng quát lại nhu cầu và mục đích của các bạn khi sử dụng Ubuntu. Và hãy đảm bảo rằng nếu các bạn cần làm việc trên một phần mềm nào, phần mềm đó cần có tính tương thích và sẵn sàng để dùng.
Tất nhiên là chúng ta sẽ không muốn mất thời gian để thực hiện công việc “Quên mật khẩu” đâu nhỉ ? Hãy ghi nhớ những tài khoản cần thiết cho ứng dụng bạn làm việc để cho việc cài đặt, trải nghiệm tốt nhất có thể.
Dung lượng của một Linux Distro sẽ dao động trong khoảng từ dưới 1 GB cho đến trên 10 GB. Tuy vậy, một distro thông thường với hầu hết các tính năng có sẵn sẽ có dung lượng dao động từ 3 GB đến 5 GB. Ubunchuu khuyến khích các bạn nên chuẩn bị một USB có dung lượng từ 8 GB trở lên để việc tạo USB boot, cài đặt trở nên mượt mà.
Bước 1: Các bạn cần tải phần mềm để thực hiện công việc tạo USB boot cho việc cài đặt. Ở đây, Ubunchuu đề xuất phần mềm Rufus - một phần mềm dễ sử dụng nhất để tạo USB khởi động trên máy tính và được đánh giá là một trong những công cụ tốt nhất.
Bước 2: Sau khi tải về, các bạn mở file .exe lên. Rufus không yêu cầu quá trình cài đặt nên các bạn chỉ cần tải về và sử dụng luôn.
Bước 3: Ở mục đầu tiên (Device), các bạn cần chọn USB được dùng trong việc cài đặt. Thông thường, nếu thiết bị của bạn chỉ cắm duy nhất 1 chiếc USB, tên của USB sẽ hiện ra trong ô này.
Bước 4: Ở phần Boot selection, các bạn ấn vào “Select” và tiến hành chọn file ISO Ubuntu đã tải về.
Tùy thuộc vào phiên bản sẽ có tên khác nhau, của tụi mìn ở đây là “ubuntu-22.04.2-desktop-amd64.iso”
Bước 5: Những tùy chọn khác, Ubunchuu khuyến khích các bạn để mặc định. Sau đó, ấn “Start”. Một hộp thoại mới hiện lên, các bạn chọn dòng “Write in ISO Image mode (Recommended)”.
Bước 6: Rufus sẽ hỏi lại về việc xóa hết tất cả dữ liệu trong USB để chuẩn bị cho việc tạo USB boot. Nếu các bạn có dữ liệu gì quan trọng, vui lòng chọn “Cancel” và di chuyển những dữ liệu ra ngoài USB. Nếu không, hãy chọn “OK”. Các bạn cần đợi một khoảng thời gian ngắn để Rufus thực hiện quá trình của mình.
Note: Nếu máy tính bạn đủ khả năng để phân vùng (cho phép khả năng partition tối đa) thì trước hết ta hãy sử dụng công cụ có sẵn trong máy tính là Disk Management để đạt hiệu quả và độ an toàn nhé.
Với người mới bắt đầu hoặc muốn trải nghiệm Ubuntu song song với hệ điều hành Windows, Ubunchuu khuyến khích các bạn nên chia phân vùng tầm 60 đến 100GB cho Ubuntu và thực hiện Dual-boot. Điều này giúp cho Ubuntu có đủ dung lượng hệ thống để thực hiện các tác vụ, giúp các bạn có thể sử dụng Ubuntu một cách thoải mái nhất.
Tuy nhiên nếu bạn chỉ muốn cài đặt để trải nghiệm và không thường xuyên sử dụng trong tương lai, các bạn có thể để tầm 25 GB dung lượng trống như Ubunchu đã đề cập ở phần chuẩn bị ở trên.
Ubunchuu sẽ đưa ra hai cách trong việc chia phân vùng trên máy tính. Cách thứ nhất, Ubunchuu sẽ hướng dẫn các bạn sử dụng công cụ có sẵn trên Windows là Disk Management. Cách thứ hai, Ubunchuu sẽ nhờ sự trợ giúp của phần mềm MiniTool Partition Wizard - một trong nhưng phần mềm miễn phí tốt nhất trong việc hỗ trợ phân vùng ổ đĩa.
Bước 1: Nhấn tổ hợp phím Windows + X và chọn Disk Management để mở cửa sổ Disk Management (hoặc chuột phải vào This PC trong File Explorer và chọn Disk Management).
Giao diện của Disk Management hiện ra với trung tâm chính giữa là danh sách các phân vùng ổ đĩa có sẵn trong máy. Tùy vào từng thiết bị mà danh sách các phân vùng.
Bước 2: Các bạn cần xác định ổ đĩa cần phân vùng. Ở đây, tụi mình sẽ chọn ổ đĩa C với dung lượng 352.26 GB để phân vùng ra một phân vùng mới dung để cài đặt. Chuột phải vào ổ đĩa cần chia nhỏ ra và chọn Shrink Volume. Sau đó, máy tính của bạn cần một khoảng thời gian nhỏ để tính toán khả năng chia phân vùng.
Một số máy tính sẽ ngăn cản bãn truy cập vào chức năng này vì một số lý do hệ thống (chi tiết vui lòng truy cập: How to Fix Can’t Shrink Volume in Windows 11/10/8/7). Lúc này, Ubunchuu cần bạn di chuyển đến cách thứ 2 Phân vùng ổ đĩa với MiniTool Partition Wizard
Bước 3: Nhập dung lượng bạn dành cho hệ điều hành Ubuntu vào ô “Enter the amount of space to shrink in MB”. Ví dụ nếu bạn muốn dành 50GB cho Ubuntu thì sẽ để là 50 x 1024 = 51200MB
Lưu ý: Hãy chọn dung lượng phù hợp cho Ubuntu nhé, đừng chia phân vùng quá lớn (nếu không cần thiết) hoặc quá nhỏ và trên hết là phải nằm trong khả năng cho phép của ổ đĩa.
Bước 4: Nhấn Shrink và khởi động lại máy tính để PC của bạn hoàn tất tiến trình phân vùng nhé.
Tuy nhiên, nếu trong trường hợp máy tính của các bạn không đủ khả năng cho phép phân vùng nhiều (Dung lượng vượt quá mức dung lượng cho phép chia nhỏ vì bị giới hạn bởi vùng sao lưu an toàn - Recovery Parition) thì sẽ hiện như hình sau: (Total Size sau khi phân vùng sẽ là 0MB)
Lúc này, các bạn nên sử dụng các phần mềm rời bên thứ 3 để thực hiện công việc phân vùng. Ubunchuu sẽ hướng dẫn các bạn chia phân vùng bằng một công cụ mã nguồn mở có độ tin cậy cao và bảo mật nhất, đó chính là MiniTool Partition Wizard.
Bước 5: Nếu các bạn đã thành công ở bước 4 (nếu không, Ubunchuu sẽ cần bạn qua cách làm khác là: Phân vùng ổ đĩa với MiniTool Partition Wizard, một phân vùng trống sẽ hiện ra trong danh sách các phân vùng. Lúc này, các bạn ấn chuột phải vào phân vùng mới đó, chọn “New Simple Volume” và thực hiện điền các bước sau:
- Các bạn chọn “Next” ở cửa sổ đầu tiên.
- Chọn dung lượng cần để tạo phân vùng mới. Ở bước này các bạn chỉ cần ấn “Next” mà không cần chỉnh sửa gì hết.
- Chọn ký tự cho phân vùng mới. Chọn “Next”.
- Ở bước này, hệ thống sẽ hỏi bạn có muốn format cho phân vùng mới này không ? Ubunchuu cần bạn chọn vào lựa chọn “Format this volume with the following settings”. Lưu ý, hãy nhớ chọn FAT32 ở phần “File system”. +Chọn “Next” và “Finish” để tiến hành phân vùng ổ cứng
Note: Một số máy sẽ không có tùy chọn FAT32 ở phần “File system”, lúc này hãy chuyển sang phần Phân vùng ổ đĩa với MiniTool Partition Wizard.
Bước 1: Truy cập trang web chính chủ của MiniTool Partition Wizard và tiến hành tải xuống phiên bản miễn phí (Free Edition) của phần mềm về, sau đó tiến hành setup đơn giản.
Note: Phần này dành cho những bạn không biết setup, những bạn biết rồi có thể bỏ qua:
- Bước 1: Nhấn vào nút Local Download, file cài đặt sẽ được tải về máy, mở file này lên bằng cách nhấn đúp chuột:
Bước 2: Chọn ngôn ngữ là English và nhấn “OK” ở cửa sổ hiện lên đầu tiên. Sau đó chọn “Continue installing free edition” và nhấn Next. (vì bản free đã thực hiện tốt chức năng phân vùng rồi)
Bước 3: Bỏ chọn công cụ ShadowMaker vì ở MiniTool Partition Wizard chúng ta đã có chức năng Backup dữ liệu rồi.
- Bước 4: Chọn đường dẫn cần cài đặt phần mềm và nhấn “Next”.
- Bước 5: Nhấn “Finish” để kết thúc cài đặt.
Bước 2: Mở MiniTool Parition Wizard lên, giao diện của phần mềm khá tương đồng với công cụ Disk Management của hệ thống. Nhấn chuột phải vào ổ đĩa cần chia nhỏ phân vùng và nhấn vào tùy chọn Split.
Bước 3: Nhập dung lượng bạn dành cho Ubuntu vào phần “New Partition Size” hoặc kéo phần Slide bên trên cho vừa với dung lượng bạn cần (Tụi mình sẽ phân vùng cho Ubuntu với dung lượng vào khoảng 50GB), sau đó nhấn “OK”.
Bước 4: Lúc này, các bạn sẽ thấy một phân vùng trống (Unallocated) có dung lượng 50 GB (Tùy vào dung lượng phân chia của các bạn). Ấn chuột phải vào phân vùng trống này, chọn “Create”. Một hộp thoại sẽ hiện lên, các bạn lần lượt nhập các thông tin sau:
- Partition Label: Tên của phân vùng.
- File System: FAT32 (Điều này là cần thiết để bộ cài Ubuntu nhận diện được phân vùng để cài đặt).
- Drive Letter: Kí tự của phân vùng (Có thể để mặc định theo phần mềm).
- Kiểm tra lại dung lượng một lần cuối trong phần “Size and Location”.
Nhấn “Ok”"
Bước 5: Nhấn “Apply” ở bên trái dưới cùng của ứng dụng để tiến hành công việc phân vùng ổ cứng. Sau đó, các bạn hãy khởi động lại máy tính, đợi boot tầm 5-10p để máy tính tiến hành phân vùng nhé.
Sau khi khởi động lại máy tính, khi vào Disk Management kiểm tra lại bạn sẽ thấy có một phân vùng mới với dung lượng bằng chính dung lượng mà bạn đã chia nhỏ (như mình thì là 50GB).
Sau khi đã hoàn thành xong việc tạo USB boot chứa bộ cài Ubuntu, Ubunchuu sẽ đưa các bạn đến với những bước cài đặt chính.
Bước 1: Khởi động lại thiết bị, cắm USB và tiến hành truy cập vào Menu Boot.
Tùy thuộc vào từng hãng thiết bị mà sẽ có những phím tắt khác nhau để truy cập vào Menu Boot (các phím tắt có thể là F1 -> F12, ESC, DEL, …). Chi tiết, các bạn truy cập vào link này hoặc thử các phím tắt theo hình bên dưới:
Bước 2: Một màn hình đen với các dòng chữ trắng sẽ hiện lên (đối với phiên bản Ubuntu 22.04 LTS trở lên). Các bạn chọn dòng đầu tiên “Try or Install Ubuntu”. Lúc này, các bạn cần chờ một khoảng thời gian để bộ cài từ USB được chuẩn bị. +
Bước 3: Ubunchuu nhận thấy hầu hết các distro sẽ hỗ trợ tính năng thử nghiệm để mọi người có thể làm quen cũng như khám phá những tính năng của distro đó để đưa ra sự lựa chọn cài đặt hoặc hủy bỏ. Nếu các bạn cảm thấy hài lòng với Ubuntu, hãy chọn “Install Ubuntu”. +
Bước 4: Ubuntu sẽ yêu cầu chọn ngôn ngữ bàn phím, các bạn nên chọn “English (US)”. Chọn “Next”. +
Bước 5: Ở bước này, Ubuntu sẽ hỏi rằng bạn muốn cài đặt một phiên bản đầy đủ trình duyệt web, các tiện ích, phần mềm ứng dụng cần thiết (“Normal installation”) hay là phiên bản rút gọn với những tiện ích cần thiết (“Minimal installation”). Ubunchuu khuyến khích các bạn cài đặt phiên bản đầy đủ (“Normal installation”). Ở các lựa chọn sau, các bạn nên tích hết để trong quá trình cài đặt, các bản cập nhật và một số phần mềm bổ sung từ bên thứ 3 sẽ được sẽ được tải xuống. Chọn “Continue”. +
Tuy nhiên, các bạn không cần thiết phải chọn hết các tùy chọn để quá trình cài đặt được diễn ra nhanh hơn.
Bước 6: Đây là bước quan trọng trong quá trình cài đặt Ubuntu. Chúng ta sẽ có các lựa chọn như sau: +
Not Recommended. Ubunchuu khuyên bạn sử dụng cài đặt Something else để tự tùy biến theo nhu cầu của bạn với các phân vùng mà bạn cần sử dụng.
Các bạn nên cẩn thận khi chọn tùy chọn này.
Bước 7: Danh sách các phân vùng có sẵn trong máy sẽ được liệt kê trong cửa số mới xuất hiện. Các bạn cần tìm đúng phân vùng đã chia ở Mục 3.
Lưu ý: Các phân vùng sẽ khá khó để nhận diện vì tên của chúng lúc này được đặt theo cấu trúc của Linux. Cách dễ dàng nhất để nhận diện phân vùng cần tìm là dựa vào dung lượng chúng ta đã chia cho nó.
Đầu tiên, ta cần nhấn đúp chuột vào “free space” (tức là phần phân vùng mà bạn đã chia ở Mục 3) và lần lượt tạo các phân vùng cho máy tính của bạn:
/home (Optional - không bắt buộc): từ phiên bản Ubuntu 20.04 trở đi, kể cả bạn chỉ chọn mỗi “/” thì Ubuntu vẫn sẽ tự động tạo thêm thư mục “/home/username” bên trong nên điều này là không cần thiết. Tuy nhiên, nếu bạn muốn tùy chọn dung lượng cho thư mục home (dùng để chứa tài liệu, file cá nhân,…) thì có thể tạo thêm và chọn Use as: “ext4”, Mount point: "/home". +/boot (Optional - không bắt buộc): có thể tạo thư mục chứa file để boot, không cần thiết nhưng có thể tạo để đề phòng khi cần thiết. +
Như hình trên, phân vùng cần boot của mình là /dev/sda1 vì ở trong bảng các phân vùng, device “/dev/sda1” của mình có type là “efi” như mình đã tạo.
Bước 8: Thiết lập vị trí và múi giờ ở nơi chúng ta đang sinh sống. Chọn “Continue”. +
Bước 9: Ubuntu yêu cầu bạn nhập các thông tin cần thiết. Hãy luôn nhớ password vì điều này là cần thiết trong quá trình sử dụng.
Nếu cần thiết, hãy take-note password mà bạn vừa tạo đi.
Các bạn có thể chọn “Log in automatically” việc nhập password là quá phiền phức mỗi khi khởi động máy, hoặc chọn “Require my password to log in” để tăng tính bảo mật cho thiết bị. Chọn “Continue”.
Bước 10: Quá trình cài đặt sẽ được thực hiện. Thiết bị của bạn sẽ khởi động lại một vài lần, chính vì thế hãy chờ đợi cho đến khi mọi thứ hoàn thành xong. +
Cuối cùng, sau khi quá trình cài đặt đã hoàn tất, hãy khởi động lại máy tính, sau đó rút USB boot ra và nhấn Enter khi nhìn thấy tùy chọn “Please remove the installation medium then press enter”.
Hãy trải nghiệm và tận hưởng những tính năng độc đáo của Ubuntu các bạn nhé :3
Khác với Windows và MacOS, Ubuntu không yêu cầu một khoản phí bất kỳ nào để có thể cài đặt và sử dụng hệ điều hành.
Việc cài đặt Ubuntu theo tụi mình đánh giá là đơn giản hơn việc cài đặt hệ điều hành Windows khá nhiều. Các bạn chỉ cần có vốn tiếng anh nhất định và sự hiểu biết đơn giản về máy tính.
Ubuntu có tính cá nhân hóa cao hơn khi so sánh với bất kỳ hệ điều hành phổ biến hiện nay (Windows, MacOS). Bạn có thể tùy chỉnh ở nhiều khía cạnh liên quan đến UI để phục vụ cho nhu cầu cá nhân hóa của bản thân.
Nếu giao diện mặc định của Ubuntu đã quá nhàm chán, Ubunchuu khuyến khích các bạn tìm hiểu về chủ đề này. UI Customization ở Linux thường không quá ảnh hưởng quá nhiều đến hiệu năng của máy (như ngốn RAM, ăn CPU, ..) +Trong tương lai, Ubunchuu sẽ dành một bài viết riêng về chủ đề này. Tuy nhiên, nếu các bạn muốn tìm hiểu trước, tụi mình sẽ để đường link tham khảo: LinuxScoop - một trong những kênh youtube nổi tiếng về Linux UI Customization.
Nếu bạn là một dân IT hoặc là một người yêu thích việc gõ code, hoặc cho dù là không đi nữa. Nếu công việc của bạn có liên quan đến việc lập trình, Ubuntu chính là một lựa chọn tốt bởi Ubuntu cung cấp cho bạn một Terminal với sức mạnh “tuyệt đối”. Đối với nhiều lập trình viên, việc thao tác với chuột thường khá ít và thao tác dòng lệnh (command line) trên Linux phải gọi là rất “đã” và tốt hơn Windows rất nhiều. Hơn nữa, hầu hết các ngôn ngữ lập trình đều hỗ trợ CLI (Command Line Interface) điều này là cần thiết với các lập trình viên.
Nghe có vẻ phi lý khi mà Ubuntu là một hệ điều hành miễn phí, mã nguồn mở nhưng lại có tính bảo mật cao? Ubuntu nói riêng và Linux nói chung đều sở hữu quyền “root”, điều này cho phép bạn thao tác với hệ thống ở quyền hạn cao nhất (tương đương với Administrator bên Windows). Tuy nhiên, mặc định người dùng hệ thống không được cấp quyền này và nếu có cuộc tấn công nào vào máy tính nhưng lại không có quyền “root” thì cũng phải là 1 điều gì đó quan ngại.
Nếu Ubuntu chưa phải là sự lựa chọn phù hợp của bạn, hãy tham khảo những Distro khác mà tụi mình đã lên bài ở đây nhé: Tìm hiểu chung về Linux Distro
Ubuntu yêu cầu thiết bị của bạn đáp ứng những yêu cầu sau:
- 2 GHz dual-core processor hoặc hơn.
- Tối thiếu 4 GB RAM (Ubunchu khuyến khích thiết bị của các bạn nên có ít nhất 8 GB RAM để mọi tác vụ của hệ thống trở nên mượt mà).
- Tối thiểu 25 GB dung lượng ổ đĩa.
- Một kết nối Internet xuyên suốt quá trình cài đặt để hệ thống có thể cập nhật và tải những tài nguyên cần thiết.
- USB Boot chứa bộ cài Ubuntu.
Việc Backup tất cả dữ liệu trong máy của bạn trước khi cài đặt Ubuntu là một điều hết sức cần thiết vì trong quá trình cài đặt luôn có xác suất rất nhỏ xảy ra những lỗi liên quan đến hệ điều hành và phần cứng. +Ubunchuu khuyến khích các bạn nên Backup dữ liệu của mình sang một nơi an toàn như Google Drive, OneDrive, Dropbox, .. để đề phòng trường hợp mất mát dữ liệu khi cài đặt nhé.
Trước khi cài đặt Ubuntu, các bạn nên có một cái nhìn tổng quát lại nhu cầu và mục đích của các bạn khi sử dụng Ubuntu. Và hãy đảm bảo rằng nếu các bạn cần làm việc trên một phần mềm nào, phần mềm đó cần có tính tương thích và sẵn sàng để dùng.
Tất nhiên là chúng ta sẽ không muốn mất thời gian để thực hiện công việc “Quên mật khẩu” đâu nhỉ ? Hãy ghi nhớ những tài khoản cần thiết cho ứng dụng bạn làm việc để cho việc cài đặt, trải nghiệm tốt nhất có thể.
Dung lượng của một Linux Distro sẽ dao động trong khoảng từ dưới 1 GB cho đến trên 10 GB. Tuy vậy, một distro thông thường với hầu hết các tính năng có sẵn sẽ có dung lượng dao động từ 3 GB đến 5 GB. Ubunchuu khuyến khích các bạn nên chuẩn bị một USB có dung lượng từ 8 GB trở lên để việc tạo USB boot, cài đặt trở nên mượt mà.
Bước 1: Các bạn cần tải phần mềm để thực hiện công việc tạo USB boot cho việc cài đặt. Ở đây, Ubunchuu đề xuất phần mềm Rufus - một phần mềm dễ sử dụng nhất để tạo USB khởi động trên máy tính và được đánh giá là một trong những công cụ tốt nhất.
Bước 2: Sau khi tải về, các bạn mở file .exe lên. Rufus không yêu cầu quá trình cài đặt nên các bạn chỉ cần tải về và sử dụng luôn.
Bước 3: Ở mục đầu tiên (Device), các bạn cần chọn USB được dùng trong việc cài đặt. Thông thường, nếu thiết bị của bạn chỉ cắm duy nhất 1 chiếc USB, tên của USB sẽ hiện ra trong ô này.
Bước 4: Ở phần Boot selection, các bạn ấn vào “Select” và tiến hành chọn file ISO Ubuntu đã tải về.
Tùy thuộc vào phiên bản sẽ có tên khác nhau, của tụi mìn ở đây là “ubuntu-22.04.2-desktop-amd64.iso”
Bước 5: Những tùy chọn khác, Ubunchuu khuyến khích các bạn để mặc định. Sau đó, ấn “Start”. Một hộp thoại mới hiện lên, các bạn chọn dòng “Write in ISO Image mode (Recommended)”.
Bước 6: Rufus sẽ hỏi lại về việc xóa hết tất cả dữ liệu trong USB để chuẩn bị cho việc tạo USB boot. Nếu các bạn có dữ liệu gì quan trọng, vui lòng chọn “Cancel” và di chuyển những dữ liệu ra ngoài USB. Nếu không, hãy chọn “OK”. Các bạn cần đợi một khoảng thời gian ngắn để Rufus thực hiện quá trình của mình.
Sau khi đã hoàn thành xong việc tạo USB boot chứa bộ cài Ubuntu, Ubunchuu sẽ đưa các bạn đến với những bước cài đặt chính.
Bước 1: Khởi động lại thiết bị, cắm USB và tiến hành truy cập vào Menu Boot.
Tùy thuộc vào từng hãng thiết bị mà sẽ có những phím tắt khác nhau để truy cập vào Menu Boot (các phím tắt có thể là F1 -> F12, ESC, DEL, …). Chi tiết, các bạn truy cập vào link này hoặc thử các phím tắt theo hình bên dưới:
Bước 2: Một màn hình đen với các dòng chữ trắng sẽ hiện lên (đối với phiên bản Ubuntu 22.04 LTS trở lên). Các bạn chọn dòng đầu tiên “Try or Install Ubuntu”. Lúc này, các bạn cần chờ một khoảng thời gian để bộ cài từ USB được chuẩn bị. +
Bước 3: Ubunchuu nhận thấy hầu hết các distro sẽ hỗ trợ tính năng thử nghiệm để mọi người có thể làm quen cũng như khám phá những tính năng của distro đó để đưa ra sự lựa chọn cài đặt hoặc hủy bỏ. Nếu các bạn cảm thấy hài lòng với Ubuntu, hãy chọn “Install Ubuntu”. +
Bước 4: Ubuntu sẽ yêu cầu chọn ngôn ngữ bàn phím, các bạn nên chọn “English (US)”. Chọn “Next”. +
Bước 5: Ở bước này, Ubuntu sẽ hỏi rằng bạn muốn cài đặt một phiên bản đầy đủ trình duyệt web, các tiện ích, phần mềm ứng dụng cần thiết (“Normal installation”) hay là phiên bản rút gọn với những tiện ích cần thiết (“Minimal installation”). Ubunchuu khuyến khích các bạn cài đặt phiên bản đầy đủ (“Normal installation”). Ở các lựa chọn sau, các bạn nên tích hết để trong quá trình cài đặt, các bản cập nhật và một số phần mềm bổ sung từ bên thứ 3 sẽ được sẽ được tải xuống. Chọn “Continue”. +
Tuy nhiên, các bạn không cần thiết phải chọn hết các tùy chọn để quá trình cài đặt được diễn ra nhanh hơn.
Bước 6: Đây là bước quan trọng trong quá trình cài đặt Ubuntu. Chúng ta sẽ có các lựa chọn như sau: +
Ubunchu cần các bạn chọn vào mục “Erase disk and install Ubuntu”. Chọn “Install now”. Hoặc nếu các bạn cần tùy chọn nâng cao cho các phân vùng của Ubuntu, xin hãy chọn “Something else” và xem qua bước 7.
Bước 7: (Optional - chỉ dành cho những bạn chọn “Something else”)
Xin mời skip bước này và xem đến bước 8 nếu bạn không muốn chia phân vùng tùy thích theo yêu cầu.
Các bạn xem qua hưỡng dẫn chi tiết chia các phân vùng con cho riêng Ubuntu ở bước 7 - phần 4 của bài viết sau: Bước 7 - Phần 4 của Post: Cài đặt Ubuntu Dual-boot
Bước 8: Thiết lập vị trí và múi giờ ở nơi chúng ta đang sinh sống. Chọn “Continue”. +
Bước 9: Ubuntu yêu cầu bạn nhập các thông tin cần thiết. Hãy luôn nhớ password vì điều này là cần thiết trong quá trình sử dụng.
Nếu cần thiết, hãy take-note password mà bạn vừa tạo đi.
Các bạn có thể chọn “Log in automatically” việc nhập password là quá phiền phức mỗi khi khởi động máy, hoặc chọn “Require my password to log in” để tăng tính bảo mật cho thiết bị. Chọn “Continue”.
Bước 10: Quá trình cài đặt sẽ được thực hiện. Thiết bị của bạn sẽ khởi động lại một vài lần, chính vì thế hãy chờ đợi cho đến khi mọi thứ hoàn thành xong. +
Cuối cùng, sau khi quá trình cài đặt đã hoàn tất, hãy khởi động lại máy tính, sau đó rút USB boot ra và nhấn Enter khi nhìn thấy tùy chọn “Please remove the installation medium then press enter”.
Hãy trải nghiệm và tận hưởng những tính năng độc đáo của Ubuntu các bạn nhé :3
onedrive
,file-syncing-with-onedrive
OneDrive là dịch vụ đám mây của Microsoft được sử dụng để lưu trữ dữ liệu của người dùng. Dịch vụ cho phép người dùng kết nối với dữ liệu của họ thông qua việc lưu trữ và bảo vệ dữ liệu. Người dùng có thể chia sẻ dữ liệu với những người khác và truy cập đến chúng từ mọi nơi trên tất cả các thiết bị của họ. Đây được coi là một trong những thế mạnh của dịch vụ lưu trữ đám mây.
Khi người dùng sử dụng OneDrive bằng tài khoản do công ty hoặc trường học của họ cung cấp, tài khoản đó đôi khi được gọi là “OneDrive for work or school.” (OneDrive dành cho cơ quan hoặc trường học). Vì từng được gọi là “OneDrive for Business” nên đôi khi người dùng vẫn có thể thấy nó được gọi như vậy ở nhiều nơi.
Tại sao Ubunchuu lại khuyến khích các bạn sử dụng OneDrive ? Một câu trả lời đơn giản thôi: Chúng ta luôn muốn dữ liệu của bạn thân được lưu trữ, đồng bộ hóa và luôn hiện hữu trên thiết bị mà chúng ta đang làm việc.
OneDrive thể hiện ưu thế qua những công dụng sau:
Hiện tại OneDrive đang cung cấp 2 loại dịch vụ đám mây với những loại người dùng và nhóm tiện ích khác nhau:
Tùy vào từng loại dịch vụ sẽ có mưc giá khác nhau và phương thức thanh toán khác nhau (Thanh toán hàng năm / Thanh toán hàng tháng)
Có thể nói từ khi biết đến OneDrive, bản thân mình cảm thấy việc sao lưu, đồng bộ hóa cũng như chỉnh sửa dữ liệu vô cùng dễ dàng, đặc biệt là khi dùng tài khoản do trường hoặc cơ quan cung cấp.
Để cài đặt OneDrive, trước tiên, cần cài đặt một số dependency. Các bạn hãy ấn phím tắt Ctrl + Alt + T hoặc mở Terminal một cách thủ công và thực hiện các bước sau:
Nếu thiết bị của bạn đã cài đặt trước OneDrive với bất kỳ PPA repository, Ubunchuu khuyến khích các bạn nên xóa hết và cài đặt mới lại từ đầu để đảm bảo các bạn được trải nghiệm phiên bản mới nhất của OneDrive
Debian repository là một tập hợp các gói Debian được tổ chức trong một cây thư mục đặc biệt, được sử dụng để lưu trữ các chương trình cài đặt. Các thiết bị có thể kết nối đến repository để tải xuống và cài đặt các gói bằng công cụ Quản lý gói (PackageManagement) dựa trên Apt.
Nếu thiết bị của bạn chưa cài đặt OneDrive, bạn có thể bỏ qua bước này và tiếp tục ở bước Cài đặt OneDrive +Đầu tiên, hãy thực hiện việc xóa OneDrive (nếu đã có sẵn trong OS).
sudo apt remove onedrive
+sudo apt autoremove
+
Hãy chạy lệnh apt update
để thực hiện việc cập nhật danh sách các packages của hệ thống và lệnh này sẽ không thực hiện nâng cấp bất kỳ package nào của hệ thống cả.
sudo apt update
+
Thao tác cài đặt OneDrive sẽ được thực hiện qua câu lệnh sau:
sudo apt-get install onedrive
+
Quá trình cài đặt sẽ không tốn nhiều thời gian, để kiểm tra xem OneDrive đã cài đặt thành công hay chưa, các bạn có thể nhập lệnh sau:
onedrive --version
+
Terminal sẽ hiển thị kết quả là phiên bản mới nhất của OneDrive được cài đặt trong máy.
Để bắt đầu sử dụng OneDrive, hãy nhập onedrive
vào Terminal và ấn Enter.
onedrive
+
Kết quả trả về là một đường link đăng nhập của OneDrive. Các bạn hãy copy đường link đó vào trình duyệt và tiến hành đăng nhập như thông thường. Sau khi đăng nhập, các bạn sẽ được trình duyệt chuyển đến một trang trống, hãy copy đường link của trang đó và paste vào Terminal nhé.
Lưu ý: Để paste vào Terminal, các bạn có thể chuột phải chọn Paste hoặc ấn tổ hợp phím tắt Ctrl + Shift + V (thêm phím tắt Shift so với thông thường).
Sau khi thao tác, các bạn sẽ thầy dòng thông báo biểu thị việc đăng nhập thành công.
Application has been successfully authorised, however no additional command switches were provided
Lúc này, các bạn có thể sử dụng lệnh sau đề đồng bộ hóa tất cả dữ liệu trên OneDrive xuống máy của các bạn:
onedrive --synchronize
+
Để biết thêm nhiều tùy chọn khác của OneDrive như loggout
, …, vui lòng nhập lệnh sau:
onedrive --help
+
Khi thực hiện việc đồng bộ hóa dữ liệu theo mặc định, OneDrive sẽ tự tạo một folder có tên “OneDrive” ở đường dẫn /home/user_name/
. Tuy nhiên, nếu không muốn lúc nào cũng phải truy cập ở đường dẫn này, các bạn có thể thay đổi đường dẫn cho OneDrive để nó đồng bộ hóa vô một thư mục với đường dẫn nhất định.
Ở đây, tụi mình muốn OneDrive sẽ đồng bộ hóa dữ liệu vào thư mục Documents
trong hệ thống. Cách cài đặt sẽ được thực hiện như sau:
Đầu tiên hãy tạo file config của OneDrive trong hệ thống.
mkdir -p ~/.config/onedrive
+cd ~/.config/onedrive
+sudo touch config.txt
+
Tiếp theo, chúng ta sẽ mở file config.txt
lên và tiến hành cấu hình. Có hai tùy chọn cấu hình là: “sync_dir” và “skip_files”.
Để mở file config.txt
, các bạn thực hiện câu lệnh sau:
sudo nano config.txt
+
Các bạn hãy thêm vào file dòng sau:
sync_dir = "~/Documents"
+
Đây là thao tác đồng bộ hóa dữ liệu trên OneDrive vào thư mục Documents với cấu hình là tất cả các định dạng của dữ liệu. Chẳng hạn, nếu các bạn không muốn đồng bộ hóa các file có đuôi .bat
, hãy thêm vào bước trên dòng lệnh sau nhé:
skip_file = ".bat"
+
Sau đó hãy ấn Ctrl + X và chọn Y để lưu lại file cấu hình này. +Cuối cùng, hãy nhập lệnh để OneDrive tiến hành đồng bộ hóa dữ liệu nha.
onedrive --synchronize
+
Kết quả cuối cùng là thư mục chúng ta mong muốn đã được đồng bộ hóa dữ liệu.
Thông thường, OneDrive không tự khởi động khi đăng nhập. Tuy nhiên, Ubunchuu có cách để giúp các bạn khắc phục việc này.
Hãy nhập dòng lệnh sau để OneDrive luôn khởi động cùng thiết bị nha.
systemctl --user enable onedrive
+systemctl --user start onedrive
+
Như vậy, Ubunchuu đã dành ra một bài viết nhỏ để giúp các bạn có thể làm việc với OneDrive trên Linux. Điều này giúp cho học tập, công việc của chúng ta trở nên thuận tiện hơn bao giờ hết vì dữ liệu luôn sẵn sàng mọi lúc, mọi nơi. +Nếu các bạn gặp lỗi trong quá trình cài đặt, các bạn vui lòng liên hệ với tụi mình để tụi mình có thể giúp các bạn khắc phục lỗi giúp các bạn sớm nhất có thể nha. Chúc các bạn thành công :3
Xin chào, lại là Tux đây! Sau khi cài đặt thành công Ubuntu, bước tiếp theo chúng ta cần làm là thiết lập Ubuntu để có thể sử dụng. Cùng mình đi tiếp những bước cài đặt nhé!
Nhìn chung, các hệ máy UNIX như Linux, MacOS đều cung cấp một giao diện làm việc với dòng lệnh (Command Line Interface), hay gọi dân dã là Terminal. Bạn có thể mở terminal bằng icon này hoặc ấn tổ hợp Crtrl + Alt + T
.
sudo apt-get update
+sudo apt-get dist-upgrade
+
ℹ️ Nhớ dùng mật khẩu đã nhập ở khâu cài đặt nhé!
sudo apt-get install software-properties-common build-essential openssl-dev dirmngr gnupg apt-transport-https ca-certificates -y
+sudo apt-get install curl wget -y
+
Note: Thêm tag
-y
vào giúp bạn không cần chọnyes/no
trong quá trình cài đặt
Có một vài bộ gõ tiếng Việt trên mạng như IBus Unikey, IBus Bamboo, IBus Teni, … nhưng ở đây Tux sẽ hướng dẫn bạn cài IBus Bamboo, hiện tại là phiên bản hoàn thiện nhất để gõ tiếng Việt trên Linux.
Trang chủ của IBus Bamboo.
Chạy từng dòng một như dưới đây nhé:
sudo add-apt-repository ppa:bamboo-engine/ibus-bamboo
+sudo apt-get update
+sudo apt-get install ibus ibus-bamboo --install-recommends
+ibus restart
+env DCONF_PROFILE=ibus dconf write /desktop/ibus/general/preload-engines "['BambooUs', 'Bamboo']" && gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'us'), ('ibus', 'Bamboo')]"
+
Sau khi chạy xong, bạn Log Out lại máy để IBus được khởi động.
(Cần có máy để viết chính xác)
Htop giúp bạn kiểm tra tài nguyên hiện tại của máy như CPU, RAM, swap, … Bạn cũng có thể tìm kiếm, filter, sắp xếp các process đang chạy.
Kiểm tra htop đã được cài hay chưa:
htop --version
+# Nếu chưa được cài
+sudo apt install htop
+
Bên cạnh htop, neofetch cho bạn cái nhìn tổng quan về hiện trạng của Linux với một giao diện đẹp:
Kiểm tra neofetch đã được cài hay chưa:
neofetch
+# Nếu chưa được cài
+sudo apt install neofetch
+
Tiếp theo là ứng dụng để chụp màn hình, ở đây Tux dùng flameshot vì độ nhẹ và dễ chỉnh sửa:
sudo apt-get install flameshot -y
+
ℹ️ Thêm tag
-y
để tự động chọn yes khi cài đặt
(config flameshot vào autostart, bind phím tắt nhưng mà để có máy rồi làm)
Zoom là ứng dụng không thể thiếu sau thời đại dịch Covid-19. Hiện tại Zoom đã release phiên bản .deb cho các hệ Debian. Truy cập trang download của Zoom: https://zoom.us/download?os=linux
Chọn như trong hình:
Sau khi download về, bạn có thể vào thư mục Downloads và click vào link để chạy gói cài đặt, y như Windows vậy :D
VLC là ứng dụng mã nguồn mở để xem video phổ biến trên Linux.
# Kiểm tra VLC đã cài trong máy
+vlc --version
+# Cài đặt VLC
+sudo apt-get install vlc -y
+
Tương tự như Zoom, Visual Studio Code cũng cung cấp bộ cài cho bạn. Truy cập trang download của VSCode: https://code.visualstudio.com/download
Chọn file .deb, sau đó tải về và cài đặt như bình thường. +
Tới đây chắc bạn cũng hình dung được cách cài đặt ứng dụng trên Linux rồi đúng không nào. Tux sẽ tổng hợp lại giúp các bạn.
Giả sử bạn cần cài ứng dụng tên là ubunchuu:
sudo apt update
+sudo apt install ubunchuu
+
Cài đặt bằng gói deb
Ngoài 2 cách phổ biến trên, với một số ứng dụng sẽ có câu lệnh chuyên dụng để cài đặt, ví dụ như để cài Fig Terminal, bạn chỉ cần copy và chạy câu lệnh này:
Truy cập trang download của R Studio và follow theo hướng dẫn trên trang: https://posit.co/download/rstudio-desktop/
E.g: edge/chrome/brave/opera
Dựa theo kiến thức ở trên, hãy thử tự cài browser ưa thích của bạn vào máy nhé! Nếu gặp bất cứ khó khăn nào, hãy liên hệ với Ubunchuu qua messenger.
Để thay thế Microsoft Office, bạn có thể dùng ứng dụng cài sẵn như Libre Office. Hoặc WPS Office cho UI đẹp hơn và chức năng tốt hơn. Nhưng cũng trade-off vì WPS sẽ nặng hơn và cần config để Linux mở mặc định bằng WPS.
Link download WPS: https://www.wps.com/office/linux/
Matlab không hỗ trợ Linux, nhưng bạn có thể sử dụng online ở nlink sau:
Hiện tại có phiên bản Maple cho Linux, nhưng khá nặng và việc cài đặt rườm rà nên Tux không viết vào. Bạn có thể xem hướng dẫn ở đây nhé.
Hiện tại không có phiên bản cho Linux/Ubuntu. Nhưng bạn có thể sử dụng VSCode thay thế, bằng việc cài plugin liên quan.
Hiện tại không có phiên bản Zalo cho Linux, bạn có thể dùng Zalo web để thay thế.
Để làm việc với file trên Linux (hay trên Linux server), các bạn không thể sử dụng các thao tác bằng đồ họa (kéo thả như trên Windows) mà phải thao tác qua cửa sổ dòng lệnh (command-line). Điều này gây khó khăn cho những người không quen thuộc với việc sử dụng console.
Thông qua bài viết này, Tux sẽ giúp mọi người làm quen với một số lệnh cơ bản để quản lý file trên hệ thống Linux. Chúng ta sẽ bắt đầu với các lệnh này cơ bản, đơn giản và dễ nhớ, giúp cho việc quản lý file trên Linux trở nên dễ dàng hơn.
💡 Hãy nhớ nút mở Terminal mặc định trên Linux là Ctrl+Alt+T nhé!
Dưới đây là một số lệnh cơ bản để quản lý file trên Linux: +Các lệnh đều tuần theo syntax như sau: [command] [option] (option là các tags)
pwd
Lệnh pwd
(print working directory) dùng để hiển thị đường dẫn thư mục hiện tại. Mặc định khi chưa thực hiện thao tác “đổi thư mục” thì khi chúng ta mới mở Terminal lên, chúng ta sẽ đang ở thư mục /home/username.
+Lệnh có 2 tags chính: -L (Logical), -P (Physical)
Ví dụ:
pwd #Output: /home/ubunchuu nếu username là ubunchuu
+
cd
Lệnh cd
(change directory) dùng để di chuyển đến thư mục khác.
Ví dụ:
cd /home/ubunchuu/oop-project
+
Lúc này khi lệnh cd đã được thực thi, chúng ta sẽ có output của lệnh
pwd
bên trên là:/home/ubunchuu/oop-project
Mẹo riêng dành cho lệnh cd
:
cd
: gõ chỉ mình lệnh cd
giúp ta chuyển nhanh đến thư mục /home/username
hiện tại mà không cần phải ghi địa chỉ ra.cd ..
: giúp ta đi đến thư mục mẹ của thư mục hiện tại.cd ~[username]
: giúp ta đi đến user khác nằm trong máy tính Linux.cd -
: đi đến thư mục trước đó.ls
Lệnh ls
(list) dùng để liệt kê nội dung của thư mục hiện tại.
+Các tags của lệnh list:
ls -R
: liệt kê tất cả files bên trong mọi thư mục con.ls -a
: hiện ra tất cả files kể cả files đang bị ẩn (hidden).ls -lh
: hiên ra files kèm kích thước của files ví dụ như ubunchuu 2022MB
.Ví dụ:
ls -a #list ra tất cả file, kể cả file ẩn trong thư mục hiện tại
+
touch
Lệnh touch
dùng để tạo ra một file mới tại thư mục hiện tại hoặc theo đường dẫn của file.
Ví dụ:
touch /home/ubunchuu/document/penguin.cpp # tạo file vào đường dẫn này
+touch penguin.cpp # tạo file tại thư mục đang cd vào
+
mkdir
Lệnh mkdir
(make directory) dùng để tạo ra một thư mục mới tại đường dẫn hiện tại hoặc đường dẫn đầy đủ tự định nghĩa.
Ví dụ:
mkdir ubunchuu-vip #tạo thư mục tên ubunchuu bên trong thư mục hiện tại
+mkdir /home/ubunchuu/document/ubunchuu-vip #tạo thư mục tên ubunchuu bên trong thư mục hiện tại
+
cat
Lệnh cat
dùng để hiển thị nội dung của một file.
+Một số mẹo hay với lệnh cat:
cat > filename.txt
: in nội dung của file này vào 1 file mới.cat filename1.txt filename2.txt > filename3.txt
: lấy ra output của filename1.txt
và filename2.txt
, nối chúng lại rồi đưa vào một file mới là filename3.txt
.tac filename.txt
: in nội dung file này theo thứ tự ngược lại.Ví dụ:
cat cautrucdulieu.txt # In output bên trong file trên Terminal
+
cp
Lệnh cp
(copy) dùng để sao chép một file hoặc một thư mục tới một địa chỉ.
+Một số cách dùng với lệnh cp
:
cp *.py /python
: copy tất cả file có đuôi .py vào thư mục pythoncp filename1.txt filename2.txt /stored
: lưu nhiều files vào 1 địa chỉ, điều kiện là các files phải ở trong cùng thư mục đang cd
vào.cp -R /ubunchuu /best-website-to-learn-linux
: tag -R
giúp ta copy được cả một thư mục vào một địa chỉ xác định.Ví dụ:
cp hoclinux.txt mybrain/
+
mv
Lệnh mv
(move) dùng để di chuyển hoặc đổi tên một file hoặc thư mục.
+Các cách dùng lệnh mv:
mv filename.txt /home/username/Documents
: di chuyển file đến địa chỉ thư mục.mv old_filename.txt new_filename.txt
: đổi tên một file sang tên khác.Ví dụ:
mv old-ubunchuu.cpp new-ubunchuu.cpp
+
rm
Lệnh rm
(remove) dùng để xóa một file hoặc thư mục.
+Các tags của lệnh rm
:
-i
: đưa ra thông báo khi xóa.-f
: xóa files mà không cần xác nhận từ người dùng.-r
: xóa files lẫn thư mục.Ta cũng có thể sử dụng kết hợp các tags với nhau như :
-rf
Ví dụ:
rm -rf windows # xóa tất cả file và thư mục con của thư mục windows
+
grep
Lệnh grep
dùng để tìm kiếm và hiển thị các dòng trong file phù hợp với một mẫu (pattern) cụ thể.
Ví dụ:
grep "pattern" filename.txt
+grep linux ubunchuu.txt # hiển thị ra những dòng có linux trong file.
+
Ngoài các lệnh dùng thường xuyên trên, Ubunchuu khuyến khích các bạn nên học thêm nhiều lệnh hay khác, Ubunchuu recommend cách học nhanh qua cheatsheet như: https://www.guru99.com/linux-commands-cheat-sheet.html
Học phải đi đôi với hành, Ubunchuu cung cấp cho các bạn một bài tập điều khiển thao tác với files và thư mục (làm quen với Terminal) của Ngày 1 trong hệ thống bài học “15 Days Flying With Tux” như sau:
Bài tập sử dụng các lệnh điều khiển Linux
Hãy thực hiện các tác vụ sau đây bằng cách sử dụng các lệnh điều khiển Linux đã học:
Hãy take note lại các lệnh bạn sử dụng để thực hiện từng tác vụ trên và kết quả sau khi thực hiện vào ứng dụng take note (ví dụ: Notion) của các bạn nhé.
Trong bài viết này, chúng ta sẽ học cách cài đặt và tùy chỉnh terminal trên Ubuntu. Terminal là một phần quan trọng trong quá trình làm việc với Linux. Chúng ta sẽ sử dụng Alacritty làm terminal emulator.
Alacritty là một terminal emulator nhanh và nhẹ, có tích hợp GPU. Nó được viết bằng Rust và có thể chạy trên nhiều hệ điều hành khác nhau như Linux, macOS, Windows.
Ghé thăm trang chủ của Alacritty ở đây nhé: https://alacritty.org
Lý do nên yêu ngay Alacritty:
Giao diện rất modern và đẹp (ngay cả khi để default): Alacritty được thiết kế để trông đẹp mắt ngay cả khi bạn không tùy chỉnh gì cả. Em nó có một giao diện tối giản, nhưng rất thẩm mỹ.
Khả năng customizing cao: Alacritty cho phép ta tùy chỉnh mọi thứ, từ font chữ, màu sắc, đến các phím tắt. Nếu cánh cụt là một ubunchuu-er thì chắc chắn sẽ thích vọc vạch cả ngày với Alacritty.
Hiệu năng cao: Alacritty được viết bằng Rust, một ngôn ngữ lập trình rất nổi tiếng về hiệu năng. Alacritty có thể chạy rất nhanh và nhẹ nhàng, đặc biệt là khi ta sử dụng nó để làm việc với các tools khác như vim, tmux, …
sudo apt-get install cmake pkg-config libfreetype6-dev libfontconfig1-dev libxcb-xfixes0-dev libxkbcommon-dev python3 git-core -y
+
sudo add-apt-repository ppa:aslatter/ppa -y
+sudo apt-get update
+sudo apt-get install alacritty -y
+
Mở Alacritty bằng cách search trong danh sách App thôi 🎉
Lúc này, Alacritty cơ bản đã được cài đặt thành công vào máy của bạn. Tuy nhiên, Alacritty vẫn sử dụng các config default và những thứ này hoàn toàn có thể customize lại được tùy ý theo ý thích của mình.
Những config của Alacritty thường nằm trong một file YAML. Bạn có thể tìm default config tại ~/.config/alacritty/alacritty.yml
và chỉnh sửa theo ý muốn.
Nếu không thấy file default, hãy clone ở đây về: +https://github.com/tmcdonell/config-alacritty/blob/master/alacritty.yml
Một số field cần lưu ý khi config Alacritty:
Hãy xem qua cấu trúc của file config YAML của Alacritty:
env:
+ TERM: xterm-256color
+
+window:
+ padding:
+ x: 6
+ y: 6
+
+scrolling:
+ history: 5000
+
+font:
+ normal:
+ family: JetBrainsMono Nerd Font Mono
+ style: Regular
+ bold:
+ family: JetBrainsMono Nerd Font Mono
+ style: Bold
+ italic:
+ family: JetBrainsMono Nerd Font Mono
+ style: Italic
+ bold_italic:
+ family: JetBrainsMono Nerd Font Mono
+ style: Bold Italic
+ size: 14.0 # Kích thước font chữ
+ offset:
+ x: 1
+ y: 1
+
+colors:
+ # Chỗ này dùng để config theme cho terminal
+ # Cánh cụt nhà mình có thể tham khảo thêm tại:
+ # https://github.com/alacritty/alacritty-theme
+background_opacity: 0.95 # Độ trong suốt của background
+
+key_bindings:
+ # Đây là phần config các shortcut, tùy chỉnh theo ý thích của mình thôi nhé
+ # Xem syntax mẫu dưới đây nhé
+ - { key: Home, mods: Shift, action: ScrollToTop, mode: ~Alt }
+
sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator $(which alacritty) 10
+sudo update-alternatives --config x-terminal-emulator
+
Một list các nerd fonts mà nhà cánh cụt recommend:
https://github.com/ryanoasis/nerd-fonts
+
Có nhiều nerd fonts cho bạn lựa chọn, nhưng ở đây recommend JetBrains Mono Nerd Font Mono
.
+Link download:
https://github.com/ryanoasis/nerd-fonts/releases/download/v3.1.1/JetBrainsMono.zip
+
wget
hoặc curl
.# Dùng wget để download
+wget https://github.com/ryanoasis/nerd-fonts/releases/download/v3.1.1/JetBrainsMono.zip
+
+# Dùng curl để download
+curl -L https://github.com/ryanoasis/nerd-fonts/releases/download/v3.1.1/JetBrainsMono.zip -O JetBrainsMono.zip
+
unzip JetBrainsMono.zip
+
~/.fonts
mkdir -p ~/.fonts
+cp JetBrainsMono/*.ttf ~/.fonts
+
fc-cache -f -v
+
Link: https://github.com/ubunchuu-truong-us/dotfiles/blob/main/alacritty.toml
Hoặc các cánh cụt cũng có thể copy trực tiếp từ đây và paste vào file config của mình: (nhớ đổi đuôi file thành .toml
nhé)
live_config_reload = true
+
+[colors]
+draw_bold_text_with_bright_colors = true
+
+[colors.bright]
+black = "#565656"
+blue = "#49a4f8"
+cyan = "#99faf2"
+green = "#c0e17d"
+magenta = "#a47de9"
+red = "#ec5357"
+white = "#ffffff"
+yellow = "#f9da6a"
+
+[colors.normal]
+black = "#2e2e2e"
+blue = "#47a0f3"
+cyan = "#64dbed"
+green = "#abe047"
+magenta = "#7b5cb0"
+red = "#eb4129"
+white = "#e5e9f0"
+yellow = "#f6c744"
+
+[colors.primary]
+background = "#101421"
+foreground = "#fffbf6"
+
+[cursor]
+style = "Block"
+
+[env]
+TERM = "alacritty"
+
+[font]
+size = 13
+
+[font.normal]
+family = "JetBrainsMono Nerd Font Mono"
+
+[scrolling]
+history = 10000
+multiplier = 3
+
+[selection]
+save_to_clipboard = true
+semantic_escape_chars = ",│`|:\"' ()[]{}<>\t"
+
+[window]
+decorations = "Full"
+dynamic_padding = false
+opacity = 0.95
+startup_mode = "Windowed"
+title = "Alacritty"
+
+[window.class]
+general = "Alacritty"
+instance = "Alacritty"
+
+[window.dimensions]
+columns = 160
+lines = 45
+
+[window.padding]
+x = 5
+y = 0
+
Nếu không thích emulator này, các bạn có thể bye bye em nó bằng lệnh:
sudo apt-get remove -y alacritty
+
Về terminal emulator sẽ có rất nhiều option khác cho mọi người lựa chọn, như:
Tuy nhiên, chúng mình sẽ không bao giờ giới thiệu và guide một cái gì không tốt cho mọi người. Khi mới bắt đầu học Linux và muốn nhập môn với bộ môn custom, tụi mình vẫn khuyên các bạn nên sử dụng Alacritty, đây cũng là cơ hội để chúng mình tập làm quen với việc config những cái cơ bản bằng file YAML (nếu bạn chưa dùng qua YAML bao giờ).
Tin chúng mình đi, sau khi thử qua tất cả Emulator thì chúng mình đã nhận ra, Alacritty là mượt nhất 🌻
Chào mừng bạn đến với bài viết đầu tiên, mở đầu tutorial của chúng mình. +Mình là Tux, người đồng hành cùng bạn trong cuộc hành trình này. +Hãy cùng bắt đầu với một chút flashback về lịch sử đằng sau sự hình thành linux.
Năm 1969, Ken Thompson và Dennis Ritchie tại viện nghiên cứu Bell (đại học MIT) đã phát triển hệ điều hành UNIX. +Ban đầu, UNIX được viết bằng assembly. +Sau đó nó đã được viết lại bằng C để ổn định và di động hơn.
Suốt khoảng thời gian đó, rất nhiều hệ điều hành như BSD, MINIX, … được phát triển dựa trên hệ thống UNIX. +Tuy nhiên, chúng đều không quá thành công. +Điểm chung của chúng là đều thiếu một nhân (kernel) thống nhất.
Nhân (kernel) là thành phần quan trọng nhất của một hệ điều hành. Nhân cho phép phần cứng “nói chuyện” được với phần mềm. Ngoài ra, nó còn có thể làm được ti tỉ thứ khác, nhưng chúng ta sẽ tìm hiểu sau. Còn giờ, bạn chỉ cần biết nhân điều khiển hầu như mọi thứ trong hệ thống của bạn.
Vào năm 1991, một thanh niên trẻ tên Linus Torvalds đã bắt đầu phát triển thứ mà chúng ta gọi là nhân linux. +Và rồi… boom!
Linux ra đời!
Linux là hệ điều hành mã nguồn mở (open-source) ra đời từ khoảng 30 năm trở lại đây, được phát triển dựa trên hệ điều hành UNIX và viết bằng ngôn ngữ lập trình C.
Fun fact: Linus Torvalds đã muốn gọi phát minh của mình là Freax, một từ ghép giữa “free”, “freak”, và “x” (như là một ám chỉ đến Unix). +Ông đã từng xem xét cái tên “Linux,” nhưng ban đầu bác bỏ nó do quá tự cao tự đại. +Sau đó thì một trong những admin của máy chủ linux của trường tự đặt tên dự án là “Linux” mà không hỏi ý kiến Torvalds. +Sau cùng, ông cũng đồng ý với cái tên “Linux”.
Linux được xuất bản dưới giấy phép công cộng GNU, giúp hạn chế hoạt động về thương mại. Ông từng tuyên bố, “Phát hành Linux theo GNU chắc chắn là điều tốt nhất tôi từng làm.” Nếu không thì chúng ta đã không có một hệ điều hành tuyệt vời với đông đảo lập trình viên ưa thích như hôm nay.
Cấu trúc hệ điều hành Linux tóm gọn lại chỉ gồm 3 phần chính:
💡 Ghi nhớ: Linux là hệ điều hành open-source, đa số các thao tác thực hiện trên linux sẽ thông qua các câu lệnh gọn gàng và nhanh trên terminal.
Chúng ta hãy cùng so sánh Linux với hai hệ điều hành phổ biến là Windows và MacOS.
Để cài Windows, chỉ cần một USB Boot có chứa Windows là có thể cài được. Windows chạy được với hầu hết các loại phần cứng, nhưng yêu cầu tối thiểu 1 GHz CPU, RAM từ 1-2 Gb và ổ cứng 15 Gb. Sau đó, quy trình cài đặt chỉ cần “bấm” và “chọn”.
Khác với Windows, macOS được cài đặt sẵn trong các máy macbook hoặc iMac. Khi máy về, chỉ cần tùy chỉnh một số chức năng cho phù hợp là được.
Hiện tại, cài đặt Ubuntu đã được tinh gọn, thêm giao diện người dùng (UI). Cũng giống Windows, để cài Ubuntu chỉ cần một USB Boot có chứa Ubuntu theo phiên bản đã chọn. Nhưng so với Windows thì Ubuntu có yêu cầu phần cứng thấp hơn nhiều. Các máy từ đời “Hán” với chip Pentium 10 năm tuổi cũng có thể cài được và sử dụng trơn tru.
Nhưng nếu bạn cài đặt một phiên bản của Linux: Arch thì đó là một câu chuyện khác. Bạn sẽ phải cài đặt lại hết từ đầu những thứ cần có của một hệ điều hành. Từ việc chia phân vùng, kết nối internet, thiết lập đồng hồ, cài đặt packages liên quan, … tất cả thực hiện trên giao diện dòng lệnh terminal (CLI).
Nhưng “thương cho roi cho vọt”, một khi bạn cài được Arch, bạn sẽ học được vô số kiến thức bổ ích về Linux, thứ sẽ giúp bạn rất nhiều sau này.
Windows là hệ điều hành thông dụng nhất, và nhờ đó hầu hết phần mềm tương thích với nó. Tương tự, macOS cũng có một hệ sinh thái phần mềm riêng. Ví dụ đối với editor, thay vì dùng Adobe Premier (tương thích với Windows và macOS), họ có thể dùng DaVinci Resolve, phần mềm edit video độc quyền của macOS.
Tuy nhiên đối với Linux, một vài phần mềm ở Windows không có phiên bản cho Linux như Zalo, Adobe (Photoshop, Illustrator, Premier, …). Bạn vẫn có thể sử dụng chúng thông qua Wine, nhưng khó để nói chúng chạy mượt mà như trên Windows.
Ngoài ra hầu hết các game trên Windows sử dụng driver của riêng họ là DirectX, vì vậy, nếu bạn dành phần lớn thời gian chơi game thì tốt nhất là dùng Windows.
Tuy nhiên, lợi thế của Linux là các phần mềm cũ từ nhiều năm trước cũng có thể cài đặt được. Ví dụ bạn cần cài đặt phiên bản chục năm trước của một phần mềm để học tập.
Windows và macOS có giao diện rất thân thiện với người dùng. Tuy nhiên, chúng không phải môi trường tốt cho việc coding. MacOS được phát triển từ nhân Linux nên có một số câu lệnh tương tự Linux, nhưng thực tế, không ai chạy và quản lý server bằng macOS cả.
Hiện tại phiên bản Ubuntu 22.10 đã được phát triển rất thân thiện với người dùng, bạn không phải mất quá nhiều thời gian để làm quen với nó.
Không có gì phải bàn cãi, Linux là hệ điều hành bảo mật và ổn định nhất. Thực tế với mã nguồn được công khai không khiến nó trở nên nguy hiểm như bạn vẫn nghĩ, ngược lại đó là một lợi thế. Mã nguồn mở khiến lỗi được phát hiện và chữa nhanh hơn.
Mặc khác, Windows được coi là hệ điều hành dễ bị lây lan virus nhất. Với lượng người dùng lớn, Windows trở thành mục tiêu cho các phần mềm malware và virus.
Windows sử dụng “drives”, gọi dân dã là ổ đĩa/phân vùng. Thường là ổ đĩa C hoặc D sẽ chứa files liên quan đến hệ thống. Bạn cũng có thể chia thêm ổ đĩa từ C hoặc D để lưu trữ file cá nhân. Ngoài ra có các ổ đĩa ngoài như CD, USB.
Mặt khác, macOS và Linux có hệ thống quản lý files khá tương đồng vì cùng đến từ UNIX. Chúng không có “drives” như Windows, thay vào đó mọi thứ trong máy tính được coi như 1 file (kể cả ổ cứng ngoài), và tất cả files được tổ chức dưới dạng thư mục, phân chia theo cây với cùng một gốc.
Một trong những thứ mà Tux thích nhất khi dùng Linux là terminal. Cả Linux và macOS đều đặt bash
là shell mặc định. Trong khi đó Windows có hệ thống shell riêng là powershell
, với cách dùng và syntax khác biệt.
Là lập trình viên, sử dụng shell để tương tác với kernel là một trong những điều bắt buộc. Lý do vì hầu hết các server hiện nay đều là Linux, kể cả khi bạn muốn thuê một VPS, hay Cloud Compute Engine. Terminal thực sự giúp cuộc sống lập trình viên dễ dàng hơn, hay vì luôn dùng chuột để điều khiển máy tính.
Mặc dù lượng người dùng không nhiều bằng hai hệ điều hành kia, cộng đồng người dùng Linux là những người yêu phần mềm và đam mê công nghệ. Họ thường trao đổi, chia sẻ, hỗ trợ kiến thức với nhau.
MacOS cũng sở hữu một lượng fan, phần lớn về sáng tạo (thiết kế đồ họa, animation, video, …) và về cách sử dụng những thứ được Apple làm sẵn.
Và cuối cùng, Windows được sử dụng đại trà bởi người dùng phổ thông.
Distro là từ viết tắt của linux distribution, có tên tiếng việt là phân phối của Linux.
☘️ Ghi nhớ: Distro đơn giản là một phiên bản “biến hóa” của hệ điều hành dựa trên nhân linux, được tùy biến tùy theo nhu cầu của người sử dụng.
Linux được chia làm nhiều nhánh và các distro của nó được phát triển dựa trên từng nhánh riêng biệt này. +Linux hiện đang được chia làm các nhánh chính như sau:
Khám phá thêm về Debian tại đây.
Khám phá thêm về Ubuntu tại đây.
Khám phá thêm về Linux Mint tại đây.
Khám phá thêm về Kali Linux tại đây.
Khám phá thêm về Fedora tại đây.
Khám phá thêm về OpenSuse tại đây.
Khám phá thêm về CentOS tại đây.
Khám phá thêm về Slackware tại đây.
Khám phá thêm về Arch Linux tại đây.
💡 Hint: Hãy cân nhắc chọn một Distro phù hợp với mình và có mục đích sử dụng phù hợp với nhu cầu của mình.
Không cần là người tốt nhất, chỉ cần đó là người phù hợp nhất.
Khi bạn quá mệt với các yêu cầu trả tiền bản quyền các ứng dụng, hay thậm chí là bản quyền cho chính hệ điều hành của bạn? +Linux là dành cho bạn, nơi mà mọi người chỉ cần clone về mọi thứ một cách miễn phí. +Ngoài ra nó còn có điểm cộng nữa là bạn có thể xem được bên trong source của chúng có những gì, thông qua đó, ta có thể dễ dàng tùy biến chúng.
Tốc độ compile, debug bằng các ngôn ngữ lập trình trên Linux nhanh hơn nhiều so với các hệ điều hành khác. +Thích hợp hoàn hảo dành cho dân code chính hiệu. +Ảnh dưới so sánh tốc độ compile một file C++ 1000 dòng code, sample size = 1000 lần.
Điều này dễ hiểu vì khi cài đặt hay thực thi bất cứ thứ gì trong Linux bạn cũng sẽ cần sự cấp phép “superuser", và cũng nhờ cơ chế phân quyền tài khoản, cách linux tổ chức quản lí file trên hệ thống,… +Như chúng ta đã biết, các hệ điều hành khác sẽ dễ bị tấn công bởi các kiểu tấn công khác nhau (hoặc bị khai thác các lỗ hổng zero-day). +Tuy không phải là bất khả xâm phạm nhưng theo những thống kê cho thấy: số lượng các cuộc tấn công hay mã độc chủ yếu xảy ra với các server chạy Windows. +Linux không phải là tượng đài bất khả xâm phạm nhưng chắc chắn nó an toàn hơn windows mặc cho các công nghệ tường lửa trên windows ngày một phát triển (thật ra không ai rảnh mà viết malware hay virus cho linux cả).
Cấu hình mà Linux yêu cầu là rất thấp, thấp hơn rất nhiều so với các OS khác như macOS hay Windows. +Thực tế ta thấy nhiều người có máy tính chỉ với 1GB RAM chạy linux trên chip Pentium vẫn ổn định mượt mà, với cấu hình tương tự chúng ta sẽ gặp nhiều khó khăn khi thực hiện các thao tác thông thường trên Windows. +Vì thế, không phải lo về việc Linux chiếm bao nhiêu dung lượng hay đòi hỏi cấu hình ra sao, cho dù máy tính bạn chỉ còn trống vài chục GB và có cấu hình từ đời “tống", thì nó vẫn chạy rất tốt Linux.
Yêu cầu tối thiểu của Linux (Distro: Arch):
Linux mang lại cho người dùng khả năng “thiên biến vạn hóa” trên chính hệ điều hành của mình, từ custom giao diện (hay còn gọi là “RICE”), config terminal, config hệ thống, v.v… +Nhưng sẽ còn tùy thuộc vào thẩm mỹ của người mình (Tux sẽ có thêm chi tiết về custom giao diện Linux chi tiết cho các bạn sau).
Khi sử dụng Linux, nếu bạn đang có thắc mắc hay chiếc máy tính chạy Linux của bạn không may gặp phải gì đó. +Thay vì phải đem ra tiệm và bị ép cài win lại như máy Win (xong bị thu phí vài trăm ngàn), hoặc bị tư vấn và phải mua hẳn một cái máy mới như macbook, thì ta chỉ cần search google hay tra stackoverflow để biết được mọi giải pháp cho mọi vấn đề fix mọi thứ, các trang cộng đồng linux như ITS-FOSS, hoặc như ở đây, các bạn có UBUNCHUU, mọi người luôn luôn welcome và cởi mở để giúp đỡ nhau. +Chỉ cần với tinh thần ham học hỏi, không việc gì là khó với chúng mình cả.
Một project 'Lai nú' giấu tên tại trường Ú hứa hẹn giúp mọi người bước đầu tiếp cận với Linux, đặc biệt là Ubuntu cùng cách thiết lập chúng như một pro developer.
Get Started +Or click here to visit our fanpage 📟Ubunchuu Trường Ú cung cấp cho bạn hệ thống tutorial được đầy đủ, +chuẩn hóa và đồng bộ để bạn có thể cài đặt và sử dụng.
Bằng việc follow hướng dẫn của chúng mình, bạn sẽ có thể cài đặt và sử +dụng ubuntu một cách dễ dàng.
Chúng mình có team hỗ trợ (gần như) 24/7, sẵn sàng giúp đỡ khi bạn gặp +lỗi. Hãy liên hệ với chúng mình qua email hoặc facebook.
Có nhiều dự án để bạn khám phá như "15 Days Fly With Tux", manga +"Ubunchuu", config giao diện, terminal, etc.
Tìm kiếm từ khóa dễ dàng với công cụ tìm kiếm được build sẵn trong +trang.
Bạn có thể đổi light/dark mode bằng cách nhấn vào biểu tượng mặt trăng +ở góc trên bên phải.