|
| 1 | ++++ |
| 2 | +title = "Linux Install Party" |
| 3 | +outputs = ["Reveal"] |
| 4 | + |
| 5 | +[reveal_hugo] |
| 6 | +custom_theme = "shuosc-light-theme.scss" |
| 7 | +custom_theme_compile = true |
| 8 | + |
| 9 | +[logo] |
| 10 | +src = "/shuosc.webp" |
| 11 | +width = "7%" # Overrides diag. |
| 12 | ++++ |
| 13 | + |
| 14 | +# Linux Install Party |
| 15 | + |
| 16 | +by [SHUOSC](https://shuosc.github.io/) |
| 17 | + |
| 18 | +--- |
| 19 | + |
| 20 | +{{% section %}} |
| 21 | + |
| 22 | +## [声明](https://www.gnu.org/gnu/linux-and-gnu.zh-cn.html) |
| 23 | + |
| 24 | +- Linux 是内核,它只能在完整的操作系统框架下才能发挥作用 |
| 25 | + |
| 26 | +- Linux 一般和 GNU 软件一起使用:整个系统基本上就是 GNU 加上 Linux,或叫 GNU/Linux。 |
| 27 | + |
| 28 | +- 所有被叫做“Linux”的发行版实际上是 GNU/Linux 发行版。 |
| 29 | + |
| 30 | +{{% /section %}} |
| 31 | + |
| 32 | +--- |
| 33 | + |
| 34 | +{{% section %}} |
| 35 | + |
| 36 | +## Linux 的历史 |
| 37 | + |
| 38 | +--- |
| 39 | +### 起源 |
| 40 | +- UNIX的诞生 |
| 41 | +- GNU 计划:开发一个完全自由的类Unix操作系统 |
| 42 | +- MINIX:用于教学的微内核架构的类Unix系统 |
| 43 | + |
| 44 | +--- |
| 45 | +### Linux的诞生 |
| 46 | +<a href="https://groups.google.com/g/comp.os.minix/c/dlNtH7RRrGA/m/SwRavCzVE7gJ"> |
| 47 | + <img src="img/just_a_hoppy.png" alt="" width="700"> |
| 48 | +</a> |
| 49 | + |
| 50 | +--- |
| 51 | +### 什么是 GNU/Linux ? |
| 52 | +<a href="https://zh.wikipedia.org/wiki/GNU/Linux%E5%91%BD%E5%90%8D%E7%88%AD%E8%AD%B0"> |
| 53 | + <img src="img/is_GNU_Linux.jpg" alt="" width="400"> |
| 54 | +</a> |
| 55 | + |
| 56 | +{{% /section %}} |
| 57 | + |
| 58 | +--- |
| 59 | + |
| 60 | +{{% section %}} |
| 61 | + |
| 62 | +## 为什么选择 Linux |
| 63 | + |
| 64 | +--- |
| 65 | + |
| 66 | +### 开源自由 |
| 67 | + |
| 68 | +Linux 是开源的,你可以自由地使用、复制、分发、学习、修改 Linux |
| 69 | + |
| 70 | +--- |
| 71 | + |
| 72 | +### 安全稳定 |
| 73 | + |
| 74 | +由于 Linux 的开源性质,任何人都可以查看源代码,发现并修复漏洞 |
| 75 | + |
| 76 | +> Given enough eyeballs, all bugs are shallow. |
| 77 | +> —— Linus' Law |
| 78 | +
|
| 79 | +--- |
| 80 | + |
| 81 | +### 轻量高效 |
| 82 | + |
| 83 | +- 遵循 [UNIX 哲学](https://zh.wikipedia.org/wiki/Unix%E5%93%B2%E5%AD%A6)“小即是美” |
| 84 | +- 系统占用资源少,这使得 Linux 硬件下限极低 |
| 85 | +- 让你的老电脑焕发第二春 |
| 86 | + |
| 87 | +--- |
| 88 | + |
| 89 | +### 适合程序员 |
| 90 | + |
| 91 | +- 强大的命令行 |
| 92 | +- 方便的包管理器(apt, pacman...) |
| 93 | +- 详细的报错提示和日志信息 |
| 94 | +- 接近实际服务器环境 |
| 95 | + |
| 96 | +--- |
| 97 | + |
| 98 | +### 自定义程度高 |
| 99 | + |
| 100 | +- 自定义内核(zen, lts, xanmod...) |
| 101 | +- 自定义桌面环境(GNOME, KDE, XFCE, i3wm...) |
| 102 | +- 自定义一切,理论上你可以自由修改 Linux 的任何开源代码并编译安装,~~让她彻底变成你的形状~~ |
| 103 | + |
| 104 | +--- |
| 105 | + |
| 106 | +### Linux 应用实例 |
| 107 | + |
| 108 | +- 服务器、超算 |
| 109 | +- 路由器 |
| 110 | +- Android |
| 111 | +- ... |
| 112 | + |
| 113 | +--- |
| 114 | + |
| 115 | +### 日常使用 |
| 116 | + |
| 117 | +- 办公学习 |
| 118 | +- 娱乐 |
| 119 | +- 开发 |
| 120 | +- ... |
| 121 | + |
| 122 | +{{% /section %}} |
| 123 | + |
| 124 | +--- |
| 125 | + |
| 126 | +{{% section %}} |
| 127 | + |
| 128 | +## Linux 常见发行版介绍 |
| 129 | + |
| 130 | +[适合自己](https://distrochooser.de/zh-hans)的才是最好的 |
| 131 | + |
| 132 | +--- |
| 133 | + |
| 134 | + |
| 135 | + |
| 136 | +--- |
| 137 | +### <img src="https://www.debian.org/logos/openlogo.svg" alt="Debian" width="250"/> |
| 138 | + |
| 139 | +- 固若金汤,稳定性极强 |
| 140 | +- 坚守 UNIX 和自由软件的精神 |
| 141 | +- 支持众多计算机架构 |
| 142 | +- 众多发行版的直接上游或源头 |
| 143 | + |
| 144 | +--- |
| 145 | +### <img src="https://assets.ubuntu.com/v1/a7e3c509-Canonical%20Ubuntu.svg" alt="Ubuntu" width="700"/> |
| 146 | + |
| 147 | +- 简单易上手,适合新手 |
| 148 | +- 基于 Debian,有着丰富软件源 |
| 149 | +- Canonical 公司运营,~~商业推广出色~~ |
| 150 | +- 群众基础广泛,有大量的教程和问答 |
| 151 | + |
| 152 | +--- |
| 153 | +### <img src="https://archlinux.org/static/logos/archlinux-logo-dark-scalable.518881f04ca9.svg" alt="Arch Linux" width="700"/> |
| 154 | + |
| 155 | +- 遵循 [KISS 原则](https://zh.wikipedia.org/wiki/KISS%E5%8E%9F%E5%88%99),简单高效 |
| 156 | +- 滚动更新,永不过时 |
| 157 | +- 极其丰富的软件源(包括用户自制的AUR)和积极的社区支持 |
| 158 | +- [Arch Wiki](http://wiki.archlinux.org/) 是 Linux 社区最好的 Wiki |
| 159 | +- 适合有 DIY 需求的用户 |
| 160 | + |
| 161 | +--- |
| 162 | +### <img src="https://upload.wikimedia.org/wikipedia/commons/8/85/Manjaro_logo_text.svg" alt="Manjaro" width="700"/> |
| 163 | + |
| 164 | +- 基于 Arch Linux,但安装更友好,适合新手 |
| 165 | +- 界面美观,自带驱动,可更换内核 |
| 166 | +- 能沿用 Arch Linux 的软件源和文档(易出问题 |
| 167 | + |
| 168 | +--- |
| 169 | +### <img src="https://raw.githubusercontent.com/endeavouros-team/artwork-images-logo/master/endeavouros-logo-text.svg" alt="EndeavourOS" width="750"/> |
| 170 | + |
| 171 | +- 基于 Arch Linux,但安装更友好 |
| 172 | +- 界面美观,保持精简,适合 DIY 用户 |
| 173 | +- 直接使用 Arch Linux 软件源,与上游完全同步 |
| 174 | + |
| 175 | +--- |
| 176 | +### <img src="https://upload.wikimedia.org/wikipedia/commons/8/8f/Fedora_logo_%282021%29.svg" alt="Fedora" width="700"/> |
| 177 | + |
| 178 | +- 由 Red Hat 公司赞助,CentOS/RHEL 的上游 |
| 179 | +- 有着丰富的软件源 |
| 180 | +- Linus Torvalds 使用的发行版 |
| 181 | +- 适合有一定 Linux 基础的用户 |
| 182 | +--- |
| 183 | +### <img src="https://upload.wikimedia.org/wikipedia/commons/d/d0/OpenSUSE_Logo.svg" alt="openSUSE" width="500"/> |
| 184 | + |
| 185 | +- 新手友好,易于上手,有着优秀的桌面环境体验 |
| 186 | +- 特性丰富,YaST 以简便直接的形式控制系统的一切 |
| 187 | +- 坚如磐石,比较稳定,有社区和商业支持 |
| 188 | +--- |
| 189 | +### <img src="https://raw.githubusercontent.com/AOSC-Dev/logo/master/aosc-os-branding.zh_CN.svg" alt="AOSC OS" width="800"/> |
| 190 | + |
| 191 | +- 多语言支持开箱即用 |
| 192 | +- 各架构体验统一且优化充分 |
| 193 | +- 预装针对特定地区的网络连通工具 |
| 194 | +--- |
| 195 | +### <img src="https://upload.wikimedia.org/wikipedia/commons/4/4b/Kali_Linux_2.0_wordmark.svg" alt="KALI Linux" width="600"/> |
| 196 | + |
| 197 | +- 专注于渗透测试,内置大量渗透工具 |
| 198 | +- ~~KALI 学得好,牢饭吃到饱~~ |
| 199 | + |
| 200 | +--- |
| 201 | +### <img src="https://www.gentoo.org/assets/img/logo/gentoo-horizontal.svg" alt="Gentoo" width="800"/> |
| 202 | + |
| 203 | +- 勤快一时,懒惰一世 |
| 204 | +- 适合对性能有极高要求的用户 |
| 205 | + |
| 206 | +--- |
| 207 | +### <img src="https://upload.wikimedia.org/wikipedia/commons/c/c4/NixOS_logo.svg" alt="NixOS" width="700"/> |
| 208 | + |
| 209 | +- 声明式配置,纯函数式包管理 |
| 210 | +- 原子化升级和回滚 |
| 211 | +- 易于复现系统环境,安全稳定 |
| 212 | +- 适合进阶用户 |
| 213 | + |
| 214 | +--- |
| 215 | +### <img src="https://upload.wikimedia.org/wikipedia/commons/b/bf/Centos-logo-light.svg" alt="CentOS" width="750"/> |
| 216 | + |
| 217 | +- 社区驱动,~~起夜级~~稳定 |
| 218 | +- CentOS 7 将于 2024 年 6 月 30 日停止维护 |
| 219 | +- 所有 CentOS 用户都应该尽快将生产环境迁移到 Rocky Linux 等替代品 |
| 220 | + |
| 221 | +{{% /section %}} |
| 222 | + |
| 223 | +--- |
| 224 | + |
| 225 | +{{% section %}} |
| 226 | + |
| 227 | +## Linux 桌面环境速览 |
| 228 | + |
| 229 | +桌面环境=Desktop Environment(DE) |
| 230 | + |
| 231 | +--- |
| 232 | + |
| 233 | +### Linux 桌面环境的特点 |
| 234 | + |
| 235 | +- 桌面环境可单独安装,独立于发行版 |
| 236 | +- 不同桌面环境风格各异,提供丰富的软件选择 |
| 237 | +- 稳定性在逐渐提升,完全满足日用需求 |
| 238 | + |
| 239 | +--- |
| 240 | + |
| 241 | +### GNOME |
| 242 | + |
| 243 | + |
| 244 | + |
| 245 | +--- |
| 246 | +### KDE |
| 247 | + |
| 248 | + |
| 249 | + |
| 250 | +--- |
| 251 | + |
| 252 | +### Xfce |
| 253 | + |
| 254 | + |
| 255 | + |
| 256 | +{{% /section %}} |
| 257 | + |
| 258 | +--- |
| 259 | + |
| 260 | +{{% section %}} |
| 261 | + |
| 262 | +## Linux 安装的 N 种方式 |
| 263 | + |
| 264 | +--- |
| 265 | + |
| 266 | +### 获取 Linux 系统安装介质 |
| 267 | + |
| 268 | +- 和 Windows 一样,安装介质通常是 ISO 文件 |
| 269 | +- 可就近选择镜像站下载 |
| 270 | + - [清华大学开源软件镜像站](https://mirrors.tuna.tsinghua.edu.cn/) |
| 271 | + - [中国科学技术大学开源软件镜像站](http://mirrors.ustc.edu.cn/) |
| 272 | + - [校园网联合镜像站](https://mirrors.cernet.edu.cn/os) |
| 273 | + - [腾讯软件源](http://mirrors.cloud.tencent.com/) |
| 274 | + |
| 275 | +--- |
| 276 | +### 实体机安装 |
| 277 | + |
| 278 | +- 性能最好,体验最真实 |
| 279 | +- 需要对磁盘分区和系统启动方式有一定了解 |
| 280 | +- 步骤: |
| 281 | + - 用Ventoy等工具将ISO文件装入至U盘 |
| 282 | + - 开机从U盘启动Live系统或安装程序 |
| 283 | + |
| 284 | +--- |
| 285 | + |
| 286 | +### 虚拟机安装 |
| 287 | + |
| 288 | +- 无需重启,管理方便 |
| 289 | +- 隔离性好,安全稳定 |
| 290 | +- 步骤: |
| 291 | + - 用VMware/VirtualBox等软件创建虚拟机 |
| 292 | + - 在虚拟机设置插入ISO文件 |
| 293 | + |
| 294 | +--- |
| 295 | + |
| 296 | +### WSL 安装 |
| 297 | + |
| 298 | +- 性能损耗低 |
| 299 | +- 区分 WSL1/WSL2 |
| 300 | +- 与 Windows 无缝集成 |
| 301 | + |
| 302 | +--- |
| 303 | + |
| 304 | +### 容器安装 |
| 305 | + |
| 306 | +- 使用 Podman/Docker 等容器方案可以便捷创建轻量的 Linux 环境 |
| 307 | +- 借助 [Termux](https://f-droid.org/zh_Hans/packages/com.termux/) 和 proot/chroot 容器可以实现在 Android 设备上运行 Linux 系统 |
| 308 | + |
| 309 | +```shell |
| 310 | +pkg install proot proot-distro |
| 311 | +proot-distro install debian |
| 312 | +``` |
| 313 | + |
| 314 | +{{% /section %}} |
| 315 | + |
| 316 | +--- |
| 317 | + |
| 318 | +{{% section %}} |
| 319 | + |
| 320 | +## Linux 用户遇到问题该怎么办? |
| 321 | + |
| 322 | +--- |
| 323 | + |
| 324 | +### 自力更生 |
| 325 | + |
| 326 | +- RTFM: Read The Manual |
| 327 | +- STFW: Search The Web |
| 328 | + |
| 329 | +--- |
| 330 | + |
| 331 | +### 社区支持 |
| 332 | + |
| 333 | +[提问的智慧](https://lug.ustc.edu.cn/wiki/doc/smart-questions/) |
| 334 | + |
| 335 | +- Forum/BBS |
| 336 | +- Telegram/QQ Group |
| 337 | + |
| 338 | +{{% /section %}} |
| 339 | + |
| 340 | +--- |
| 341 | + |
| 342 | +{{% section %}} |
| 343 | + |
| 344 | +## Talk is cheap, let's install Linux. |
| 345 | + |
| 346 | +{{% /section %}} |
0 commit comments