Gentoo Linux เป็น Linux OS ที่ Portage package manager เป็น foundation โดดเด่นใน Linux distros ด้วย locally compiled source code Linux distros ให้ flexibility มากกว่า OS แบบดั้งเดิม Gentoo นำ do-it-yourself mentality ไปจนสุด
True Linux OS สำหรับ power users Gentoo ให้ full control software installations แต่ไม่สำหรับคนใจอ่อน ด้วยความรู้ที่เหมาะสม คุณได้ control PC มากด้วย Gentoo Linux!
Gentoo Linux คืออะไร?
Gentoo Linux เป็น minimal Linux OS โบสถ์ total system control คล้าย Linux distros อย่าง NuTyX แม้ desktop environments อย่าง GNOME, KDE พร้อมใช้ Gentoo บูทตรง command line core installation Gentoo minimal OS ไม่มี pre-installed packages blank canvas ต้อง compile kernel ตอนติดตั้งเอง
Linux ใช้ penguin logo Gentoo ชื่อจาก Gentoo penguin ที่ว่ายน้ำใต้น้ำเร็วที่สุด Gentoo 重視 speed 和 flexibility มากกว่า ease of use แต่不代表 Gentoo 難 เริ่มต้น complex กว่า desktop Linux OS 平均 แต่ documentation 强 使 Gentoo 成為 server environments 或 desktops 絕佳 Linux distro
Gentoo Linux Portage Package Manager
Gentoo 用 portage package management 和 software distribution system 用 emerge command local update, 尋找 download/package 完成 compile/install 包括 dependencies Portage 目錄 19,000+ packages
เริ่มต้นกับ Gentoo Linux
ก่อนอื่น grab Gentoo version ที่ชอบ Gentoo 有 several iterations 選擇เยอะ Initial installation เรียก compile kernel และ set partitions เลือก live CD ได้ live Gentoo พร้อม desktop environment เลือก desktop environment login 不需要 密碼 neat: login desktop environment 用 live CD install Gentoo via command line
แต minimal CD navigation ต่าง ต้อง specify ทุกอย่าง: kernel, filesystem, stage tarball options 巨大 近 overwhelming
What You Can Do
ผ่าน core install ที่นี่ fun 開始 Gentoo ให้ recommended applications list ใน Wiki นี่ only best-of list
ติดตั้ง GNOME
เริ่ม ติดตั้ง desktop environment มี guide 绝妙 安装 GNOME
ได้ splash screen สวย รัน:
echo "gnome-base/gnome-session branding" >> /etc/portage/package.use
ติดตั้ง GNOME:
emerge --ask gnome-base/gnome
ติดตั้ง KDE
KDE Gentoo Wiki 建議 select profile ดู list profiles:
eselect profile list
决定 profile 用:
select profile set X
แทน X ด้วย KDE profile ที่ชอบ
ติดตั้ง OpenOffice
工具 有用: OpenOffice search:
emerge --search openoffice
2 versions: source-based และ pre-compiled binary 预编译 版 install time 短 好 Portage และ emerge 指定 flags เช่น Java USE flag Portage install Java packages OpenOffice 用:
USE="java" emerge --pretend openoffice
或:
USE="java" emerge --pretend openoffice-bin
ติดตั้ง Monit
Monit monitor/manage system processes, files, programs 好 安装:
emerge --ask app-admin/monit
編輯 /etc/monitrc 加:
include /etc/monit.d/*
include files 在 directory 特定 start monit auto at boot:
monit reload
輸入:
Run monit in standard runlevels mo:2345:respawn:/usr/bin/monit -Ic /etc/monitrc
ติดตั้ง Sudo
Sudo awesome tool:
emerge --ask app-admin/sudo
ให้ administrative access actions
ติดตั้ง Dhcpcd
Dhcpcd = Dynamic Host Configuration Protocol Client Daemon manage network, handle IPv4/IPv6:
emerge --ask net-misc/dhcpcd
ตั้งค่าใน dhcpcd.conf
ติดตั้ง lm_sensors
Modular installation 很多 Gentoo users 重视 total control lm_sensors hardware monitoring utility set track/control voltage, fan speed, temperature ติดตั้ง前 确保 lm_sensors 正常 運作 需要 kernel modules
需要 I2C support kernel options:
Device Drivers ---> -*- I2C support ---> <*> I2C device interface <*> Hardware Monitoring support ---> Select driver, e.g.: [*] Intel Core/Core2/Atom temperature sensor (coretemp)
ติดตั้ง lm_sensor:
emerge --ask sys-apps/lm_sensors
แต packages 有 lm_sensors USE flag ต้อง set flag แต่ละ package ใน /etc/portage/package.use 或 global /etc/porgage/make.conf update @world pull sys-apps/lm_sensors as dependency:
emerge --ask --changed-use --deep @world
รัน:
sensors-detect
motherboard hardware scan output บอก kernel config มี/ไม่มีอะไร
ติดตั้ง ConsoleKit
ConsoleKit track/define users, seats, login sessions focus tracking users/logins 好 multi-user environment
Kernel requirements ConsoleKit:
General setup ---> [*] Auditing support [*] Enable system-call auditing support
Enable D-Bus เพิ่ม USE flag D-Bus 在 /etc/portage/make.conf:
USE="dbus"
Run update:
emerge --ask --changed-use --deep @world
Config kernel options และ enable D-Bus แล้ว edit /etc/portage/make.conf set USE flag ConsoleKit:
USE="consolekit"
ไม่ใช่ full list แต่เป็น tools/apps 建議 ให้ control PC 起點 不錯 สร้าง build 管理 resources, admin access 更多 看 packages list
Gentoo Linux: Linux OS ควบคุมสูงสุด
High-flexibility และ control Gentoo ส่อง สด boot default command line ไม่มี pre-installed programs ไม่มี bloatware Gentoo 更進一步 compile 自己的 kernel OS tailored 硬件 理論上 increased operating efficiency
此外 Gentoo control services running/installed และ manage memory 透過 cut unnecessary kernel services
The Gentoo Wiki
Area Gentoo dominates: beefy Wiki 極 好 plotted 信息 topics: core Gentoo landscape 到 software, hardware, dedicated sections desktop/server environments AMD64 handbook 完整: intro Linux, install Gentoo, break desktop/enterprise/system admin performance tuning section 绝妙
ใครควรใช้ Gentoo Linux?
ต่าง specialized Linux OS ไม่มี main use เดียว Container Linux 強調 distributed installs/spinning containers Gentoo 開放 適合 幾乎 任何 目的
แนะนำ tech-savvy Linux users 建議 深入 Gentoo 如果 有 patience 探索 Linux 和 command line Gentoo 是 最佳 Linux OS 之一 想要 control 安裝 不 繁瑣 試 NuTyX 雖然 Gentoo 安裝 不一定 難 但 complex 平均 desktop OS 即使 知道 command line/bash 好 準備 mistype command บ่อย back track 或 打 慢 proofread 每 command
仍然 comprehensive documentation 跟隨 directions 裝 Gentoo Linux 想 學 更多 Linux Gentoo 提供 potential 因為 compile kernel Gentoo 教 很多 Linux ecosystem Linux buffs ชอบ flexibility modular install 平均 Linux desktop OS 少 bloatware Gentoo 極端 不像 開 manual 過 automatic 而是 自己 造 車 System administrators 可能 享受 Gentoo 輕量 solid Linux server landscape Beginners 可能 欣賞 Sabayon 给 Gentoo 力量 減去 麻煩
Final Thoughts on Gentoo Linux
Gentoo Linux 獻上 superb, highly-flexible Linux OS 最好 technically proficient users 求 total control system แสดงเป็น influence resource consumption, installed software, compiled kernel Linux OS 通常 提供 customization 選項 Gentoo 超越 limit bloatware 是 bootstrapped OS 最大 control 但 compile 自己的 kernel 和 configure 整個 distro 从 头
Gentoo Linux 不 為 膽小者 承認 更多 工作 平均 Linux OS Compile kernel 聽起來 騷人 真 相當 軟體 等價 自己 造 PC 但 最大 控制 每 面向 OS 有 Gentoo 加上 Gentoo 是 top Linux OS 之一 成為 Linux pro
คุณใช้ Gentoo Linux ไหม? ไม่ใช่ จะ สลับ ไหม?
Image Credit: Billion Photos via Shutterstock