Mac OS X Tiger for Unix Geeks,3/e
暫譯: Unix 黑客的 Mac OS X Tiger,第三版

Brian Jepson, Ernest E. Rothman

  • 出版商: O'Reilly
  • 出版日期: 2005-06-11
  • 售價: $1,430
  • 貴賓價: 9.5$1,359
  • 語言: 英文
  • 頁數: 416
  • 裝訂: Paperback
  • ISBN: 0596009127
  • ISBN-13: 9780596009120
  • 相關分類: MAC OS 蘋果電腦
  • 已過版

買這商品的人也買了...

商品描述

Description:

If you're one of the many Unix developers drawn to Mac OS X for its Unix core, you'll find yourself in surprisingly unfamiliar territory. Unix and Mac OS X are kissing cousins, but there are enough pitfalls and minefields in going from one to another that even a Unix guru can stumble, and most guides to Mac OS X are written for Mac aficionados. For a Unix developer, approaching Tiger from the Mac side is a bit like learning Russian by reading the Russian side of a Russian-English dictionary. Fortunately, O'Reilly has been the Unix authority for over 25 years, and in Mac OS X Tiger for Unix Geeks, that depth of understanding shows.

This is the book for Mac command-line fans. Completely revised and updated to cover Mac OS X Tiger, this new edition helps you quickly and painlessly get acclimated with Tiger's familiar-yet foreign-Unix environment. Topics include:

  • Using the Terminal and understanding how it differs from an xterm
  • Using Directory Services, Open Directory (LDAP), and NetInfo
  • Compiling code with GCC 3
  • Library linking and porting Unix software
  • Creating and installing packages with Fink
  • Using DarwinPorts
  • Search through metadata with Spotlight's command-line utilities
  • Building the Darwin kernel
  • Running X Windows on top of Mac OS X, or better yet, run Mac OS X on a Windows machine with PearPC!



Mac OS X Tiger for Unix Geeks is the ideal survival guide for taming the Unix side of Tiger. If you're a Unix geek with an interest in Mac OS X, you'll find this clear, concise book invaluable.

 

Table of Contents:

Preface

Part I. Getting Around

1. Inside the Terminal

     Mac OS X Shells
     The Terminal and xterm Compared

     Using the Terminal

     Customizing the Terminal

     The Services Menu

     Bonjour

     Alternative Terminal Applications

     The open Command

2. Searching and Metadata

     Spotlight

     Resource Forks and HFS+ Metadata

3. The Mac OS X Filesystem

     Working with Foreign Filesystems

     Files and Directories

4. Startup

     Booting Mac OS X

     Adding Startup Items

     Scheduling Tasks

5. Directory Services

     Understanding Directory Services

     Programming with Directory Services

     Configuring Directory Services

     NetInfo Manager

     Directory Services Utilities

     Managing Groups

     Managing Users and Passwords

     Managing Hostnames and IP Addresses

     Exporting Directories with NFS

     Flat Files and Their Directory Services Counterparts

     Restoring the Directory Services Database

6. Printing

     Printer Setup Utility

     Common Unix Printing System (CUPS)

     Gimp-Print

7. The X Window System

     Installing X11

     Running X11

     Customizing X11

     X11-based Applications and Libraries

     Connecting to Other X Window Systems

     Virtual Network Computing

8. Multimedia

     Burning CDs

     Video

     Image Editing

     3D Modeling

9. Third-Party Tools and Applications

     Virtual Desktops and Screens

     The Application Menu

     Expos?

     Virtual Desktops

     SSH GUIs

     R with an Aqua GUI

     NeoOffice/J and OpenOffice

10. Dual-Boot and Beyond

     Why Bother?

     Linux on Mac Hardware

     Emulators on Mac OS X

     Emulating the Mac

Part II. Building Applications

11. Compiling Source Code

     Compiler Differences

     Compiling Unix Source Code

     Architectural Issues

     X11-based Applications and Libraries

     Xgrid

12. Libraries, Headers, and Frameworks

     Header Files

     The System Library: libSystem

     libstdc++

     Shared Libraries Versus Loadable Modules

     Library Versions

     Creating and Linking Static Libraries

     Creating Frameworks

     The Dynamic Linker dyld: Prebinding, the Pre-Tiger Way

     Performance Tools and Debugging Tools

     CHUD Tools

     Interesting and Important Libraries

     Numerical Libraries

Part III. Working with Packages

13. Fink

     Installing Fink

     Using Fink

     FinkCommander

     Installing Binaries

14. DarwinPorts

     Installing DarwinPorts

     Using DarwinPorts

     DarwinPorts Maintenance

     Installing Binaries

     DPGUI

15. Creating and Installing Packages

     Using PackageMaker

     Using GNU tar

     Disk Images

     Creating Fink Packages

     Creating DarwinPorts Packages

Part IV. Serving and System Management

16. Using Mac OS X as a Server

     Getting Connected

     Built-in Services: The Sharing Panel

     Email

     The Mac OS X Firewall

17. System Management Tools

     Diagnostic Utilities

     Kernel Utilities

     System Configuration

     Third-Party Applications

18. Free Databases

     SQLite

     MySQL

     PostgreSQL

     PHP and Perl

19. Perl and Python

     Perl for Mac OS X Geeks

     Python for Mac OS X Geeks

Part V. Appendixes

A. Mac OS X GUI Primer

B. Mac OS X's Unix Development Tools

Index

商品描述(中文翻譯)

**描述:**
如果你是眾多因 Unix 核心而被 Mac OS X 吸引的開發者之一,你會發現自己置身於意外陌生的領域。Unix 和 Mac OS X 是親密的表親,但在從一個轉到另一個的過程中,有足夠的陷阱和雷區,即使是 Unix 大師也可能會跌倒,而大多數 Mac OS X 的指南都是為 Mac 愛好者所寫。對於 Unix 開發者來說,從 Mac 方面接觸 Tiger 有點像通過閱讀俄英詞典的俄文部分來學習俄語。幸運的是,O'Reilly 已經是 Unix 的權威超過 25 年,在《Mac OS X Tiger for Unix Geeks》中,這種深厚的理解得以展現。

這是一本為 Mac 命令行愛好者而寫的書。這本新版本完全修訂並更新,以涵蓋 Mac OS X Tiger,幫助你快速且輕鬆地適應 Tiger 的熟悉卻又陌生的 Unix 環境。主題包括:
- 使用 Terminal 並理解它與 xterm 的區別
- 使用目錄服務、Open Directory (LDAP) 和 NetInfo
- 使用 GCC 3 編譯代碼
- 庫鏈接和移植 Unix 軟體
- 使用 Fink 創建和安裝包
- 使用 DarwinPorts
- 使用 Spotlight 的命令行工具搜索元數據
- 構建 Darwin 內核
- 在 Mac OS X 上運行 X Windows,或者更好的是,使用 PearPC 在 Windows 機器上運行 Mac OS X!

《Mac OS X Tiger for Unix Geeks》是馴服 Tiger 的 Unix 方面的理想生存指南。如果你是一位對 Mac OS X 感興趣的 Unix 發燒友,你會發現這本清晰、簡潔的書籍是無價的。

**目錄:**
**前言**
**第一部分:四處走動**
1. 在 Terminal 內部
- Mac OS X Shells
- Terminal 和 xterm 的比較
- 使用 Terminal
- 自定義 Terminal
- 服務菜單
- Bonjour
- 替代 Terminal 應用程序
- open 命令

2. 搜索和元數據
- Spotlight
- 資源叉和 HFS+ 元數據

3. Mac OS X 檔案系統
- 與外部檔案系統的工作
- 檔案和目錄

4. 啟動
- 啟動 Mac OS X
- 添加啟動項目
- 排程任務

5. 目錄服務
- 理解目錄服務
- 使用目錄服務進行編程
- 配置目錄服務
- NetInfo 管理器
- 目錄服務工具
- 管理群組
- 管理用戶和密碼
- 管理主機名和 IP 地址
- 使用 NFS 導出目錄
- 平面檔案及其目錄服務對應物
- 恢復目錄服務數據庫

6. 列印
- 列印設置工具
- 常見的 Unix 列印系統 (CUPS)
- Gimp-Print

7. X Window 系統
- 安裝 X11
- 運行 X11
- 自定義 X11
- 基於 X11 的應用程序和庫
- 連接到其他 X Window 系統
- 虛擬網絡計算

8. 多媒體
- 燒錄 CD
- 視頻
- 圖像編輯
- 3D 建模

9. 第三方工具和應用程序
- 虛擬桌面和螢幕
- 應用程序菜單
- Exposé
- 虛擬桌面
- SSH GUI
- 帶 Aqua GUI 的 R
- NeoOffice/J 和 OpenOffice

10. 雙啟動及其他
- 為什麼要麻煩?
- 在 Mac 硬體上運行 Linux
- 在 Mac OS X 上的模擬器
- 模擬 Mac

**第二部分:構建應用程序**
11. 編譯源代碼
- 編譯器差異
- 編譯 Unix 源代碼
- 架構問題
- 基於 X11 的應用程序和庫
- Xgrid

12. 庫、標頭和框架
- 標頭檔案
- 系統庫:libSystem
- libstdc++
- 共享庫與可加載模塊
- 庫版本
- 創建和鏈接靜態庫
- 創建框架
- 動態鏈接器 dyld:預綁定,預 Tiger 方式
- 性能工具和調試工具
- CHUD 工具
- 有趣和重要的庫
- 數值庫

**第三部分:使用包**
13. Fink
- 安裝 Fink
- 使用 Fink
- FinkCommander
- 安裝二進制檔案

14. DarwinPorts
- 安裝 DarwinPorts
- 使用 DarwinPorts
- DarwinPorts 維護
- 安裝二進制檔案
- DPGUI

15. 創建和安裝包
- 使用 PackageMaker
- 使用 GNU tar
- 磁碟映像
- 創建 Fink 包
- 創建 DarwinPorts 包

**第四部分:服務和系統管理**
16. 使用 Mac OS X 作為伺服器
- 連接
- 內建服務:共享面板
- 電子郵件
- Mac OS X 防火牆

17. 系統管理工具
- 診斷工具
- 內核工具
- 系統配置
- 第三方應用程序

18. 免費數據庫
- SQLite
- MySQL
- PostgreSQL
- PHP 和 Perl

19. Perl 和 Python
- Mac OS X 發燒友的 Perl
- Mac OS X 發燒友的 Python

**附錄**
A. Mac OS X GUI 入門
B. Mac OS X 的 Unix 開發工具
索引