Linux for Makers cover

Linux for Makers

No rating yet
Chapters
40
ISBN
9787111609094

Tags

Summary

Linux for Makers, originally published as Make: Linux for Makers, is a Linux primer aimed specifically at makers rather than programmers and system administrators. The author, Aaron Newcomb, has more than twenty years of IT experience and founded a nonprofit makerspace, and he knows well the tech fear makers feel when facing the command line. The book therefore focuses on what makers actually use and cuts out details unrelated to building projects. The book follows the Raspbian distribution running on Raspberry Pi as its main thread, starting with choosing and downloading a disk image, extracting it, writing the image to an SD card, and booting the Raspberry Pi for the first time. It then introduces basic concepts such as the Linux desktop, terminal, shell, file system structure, users and groups, permissions and sudo, services, and processes, before moving layer by layer into practical use: the trade-offs of desktop systems, command-line basics and file location, networking and installing software with apt, rebooting and shutting down, headless operation without a monitor (finding devices, ssh, vnc, scp, and sftp file transfer), and practical tips such as changing the hostname, rc.local startup scripts, aliases, top performance monitoring, managing processes with ps and kill, job control, lsusb, grep, and cron scheduled tasks. The final chapters connect Linux to the physical world and the cloud: controlling peripherals with GPIO, playing audio and video, accessing cloud storage and IFTTT from the command line, setting up your own web server or cloud storage service, and running a virtual Raspberry Pi on a computer. An appendix also adds a brief history of Linux. The book includes Try It and Maker Notes sections and many illustrations, making it easy to read and act on at the same time.

Editor's review

很多创客买回树莓派后,第一道坎不是硬件,而是那块黑底白字的终端。市面上的 Linux 书大多写给运维和开发,动辄讲内核、讲服务编排,读完仍不知道如何把板子跑起来。《Linux创客实战》的定位恰好相反:它由 O'Reilly 的 Make 系列出品,作者本人是创客空间创始人,全书只有一个出发点——让你尽快用 Linux 把东西做出来。 它从烧写 SD 卡讲到 ssh 远程登录、从 apt 装软件讲到 GPIO 控制外设,章节短、步骤清、插图多,每章末尾的“创客须知”和书中的“试一试”把知识点直接变成手边动作。193 页的篇幅不厚,却覆盖了创客日常真正会遇到的九成场景:无显示器怎么连、怎么传文件、脚本开机自启怎么做、定时任务怎么写。即便你用的不是树莓派,作者也明确说明大多数内容适用于其他 Linux 发行版。 如果你厌倦了在论坛帖子间来回跳转、想有一本系统又不啰嗦的案头手册,这本书值得放在工作台边。

Who it's for

A good fit for

  • 刚入手树莓派、想快速让板子跑起来并联网的创客新手
  • 没有 Linux 基础,但要做软硬件结合项目的电子爱好者与创客
  • 需要给中学生、社团成员讲授 Linux 入门的老师与社团负责人
  • 有编程经验、想补齐命令行与系统操作短板的学生和工程师

Not a good fit for

  • 希望深入学习内核、驱动开发或系统调优的资深 Linux 运维
  • 需要服务器集群、容器编排、云原生架构等企业级内容的读者
  • 只想找成品项目图纸、不愿敲命令行的纯手工向读者

Reading tips

  1. 边读边做:准备好树莓派、SD 卡和读卡器,按第1章的步骤一次性把系统点亮,避免只读不练。
  2. 第4至6章的命令行与技巧部分建议在终端里逐条敲一遍,把常用的别名、ssh、cron 记进自己的速查笔记。
  3. 没有硬件也可先用第10章的虚拟树莓派跟练,等熟悉命令后再上板动手做 GPIO 与多媒体实验。
  4. 把每章末尾的「创客须知」当作检查清单,读完一章就对照确认自己能否独立完成对应操作。

About the publisher

China Machine Press China · Founded in 1950

In addition to science and technology and professional publishing, the books in our catalog from China Machine Press also reflect a sustained focus on psychology, computing, management, finance and economics, and social sciences. In psychology, the catalog includes works by C. G. Jung and introductions to analytical psychology, as well as applied topics such as stress and health, and addiction and healing. In computing, it features Structure and Interpretation of Computer Programs (JavaScript Edition). Management and finance titles include Administrative Behavior (4th Edition), The Price of Inequality (Collector's Edition), and This Time Is Different: Eight Centuries of Financial Folly (Commemorative Edition). In the philosophy and history of science, there is The Worldview: The Third Edition. Relevant authors include C. G. Jung, William McGuire, Sonu Shamdasani, and Gabor Maté. Public information is limited; the above summarizes the publisher's profile based solely on the books in our catalog.

Contents

  1. Preface
  2. Chapter 1 Getting Started
  3. Choosing and Downloading a Disk Image
  4. Extracting the Disk Image
  5. Writing the Disk Image to an SD Card
  6. Booting the Raspberry Pi for the First Time
  7. Maker Notes
  8. Chapter 2 How Linux Works
  9. The Linux Desktop
  10. Terminal or Console
  11. Introduction to the Shell
  12. The File System and Structure
  13. Users and Groups
  14. Permissions and sudo
  15. Services
  16. Processes
  17. Chapter 3 Using the Desktop System
  18. When to Use the Desktop System
  19. When Not to Use the Desktop System
  20. Understanding the Layout
  21. Connecting to the Network
  22. Personalizing Settings
  23. Chapter 4 Command-Line Basics
  24. Understanding the Prompt
  25. Locating Files and Directories
  26. Reducing Typing
  27. Connecting to the Network via the Command Line
  28. Installing Software: apt
  29. Rebooting and Shutting Down
  30. Chapter 5 Headless Operation
  31. Turning Off the Desktop
  32. Finding Your System on the Network
  33. Command-Line Access: ssh
  34. Remote Desktop: vnc
  35. Transferring Files: scp and sftp
  36. Chapter 6 Tips and Tricks
  37. Changing the Hostname
  38. Running Scripts at Startup: rc.local
  39. Aliases
  40. Performance Monitoring: top

FAQ

这本书需要先学 Linux 基础吗?
不需要。本书明确面向第一次接触 Linux 的学生与创客,从烧写系统镜像、认识终端和 shell 讲起,零基础也能跟着做,重点放在创客会用到的那部分知识上。
没有树莓派能读这本书吗?
可以。书中第10章介绍了在电脑上安装虚拟树莓派的方法,可先跟着练习命令行操作;作者也说明书中大多数主题同样适用于其他 Linux 发行版,只是 GPIO 等硬件内容需有板子才能实践。
书里的内容会过时吗?
命令行、文件系统、权限、ssh、cron 等核心知识相对稳定,长期有效。但树莓派系统版本、桌面环境和部分软件安装方式更新较快,实操时建议对照当前官方文档,遇到菜单差异不必慌张。
这本书适合当教材或社团培训用书吗?
适合。全书193页、章节短小,每章有「创客须知」小结,书中还有「试一试」环节,便于安排成若干次社团活动或选修课,按章节推进并配套动手任务。
学完这本之后该看什么?
若继续做硬件项目,可转向树莓派项目类图书与 GPIO、传感器实战资料;若想深入系统层面,则可阅读 Linux 命令行与系统管理方向的经典教材,补齐服务、网络与脚本编程知识。

Comments

Find this book

This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.

Top rated in the same category