Running Linux. 5th Edition - Helion
ISBN: 978-05-965-5300-5
stron: 974, Format: ebook
Data wydania: 2005-12-22
Księgarnia: Helion
Cena książki: 143,65 zł (poprzednio: 167,03 zł)
Oszczędzasz: 14% (-23,38 zł)
You may be contemplating your first Linux installation. Or you may have been using Linux for years and need to know more about adding a network printer or setting up an FTP server. Running Linux, now in its fifth edition, is the book you'll want on hand in either case. Widely recognized in the Linux community as the ultimate getting-started and problem-solving book, it answers the questions and tackles the configuration issues that frequently plague users, but are seldom addressed in other books.
This fifth edition of Running Linux is greatly expanded, reflecting the maturity of the operating system and the teeming wealth of software available for it. Hot consumer topics suchas audio and video playback applications, groupware functionality, and spam filtering are covered, along with the basics in configuration and management that always have made the book popular.
Running Linux covers basic communications such as mail, web surfing, and instant messaging, but also delves into the subtleties of network configuration--including dial-up, ADSL, and cable modems--in case you need to set up your network manually. The book canmake you proficient on office suites and personal productivity applications--and also tells you what programming tools are available if you're interested in contributing to these applications.
Other new topics in the fifth edition include encrypted email and filesystems, advanced shell techniques, and remote login applications. Classic discussions on booting, package management, kernel recompilation, and X configuration have also been updated.
The authors of Running Linux have anticipated problem areas, selected stable and popular solutions, and provided clear instructions to ensure that you'll have a satisfying experience using Linux. The discussion is direct and complete enough to guide novice users, while still providing the additional information experienced users will need to progress in their mastery of Linux.
Whether you're using Linux on a home workstation or maintaining a network server, Running Linux will provide expert advice just when you need it.
Osoby które kupowały "Running Linux. 5th Edition", wybierały także:
- Bash. Techniki zaawansowane. Kurs video. Zostań administratorem systemów IT 169,00 zł, (50,70 zł -70%)
- Administracja systemem Linux. Kurs video. Przewodnik dla początkujących 59,00 zł, (17,70 zł -70%)
- Gray Hat C#. Język C# w kontroli i łamaniu zabezpieczeń 57,74 zł, (17,90 zł -69%)
- Python dla administrator 178,97 zł, (62,64 zł -65%)
- Cybersecurity dla ka 144,86 zł, (52,15 zł -64%)
Spis treści
Running Linux. 5th Edition eBook -- spis treści
- Running Linux, 5th Edition
- SPECIAL OFFER: Upgrade this ebook with OReilly
- Preface
- Organization of This Book
- Conventions Used in This Book
- Using Code Examples
- How to Contact Us
- Safari Enabled
- Acknowledgments
- I. Enjoying and Being Productive on Linux
- 1. Introduction to Linux
- 1.1. About This Book
- 1.2. Whos Using Linux?
- 1.3. System Features
- 1.3.1. A Bag of Features
- 1.3.2. Kernel
- 1.3.3. Commands and Shells
- 1.3.4. Text Processing and Word Processing
- 1.3.5. Commercial Applications
- 1.3.6. Programming Languages and Utilities
- 1.3.7. The X Window System
- 1.3.8. KDE and GNOME
- 1.3.9. Networking
- 1.3.10. Laptop Support
- 1.3.11. Interfacing with Windows
- 1.3.12. Other Applications
- 1.4. About Linux's Copyright
- 1.4.1. A Summary of Free Software Licensing
- 1.4.2. SCO and Other Challenges
- 1.5. Open Source and the Philosophy of Linux
- 1.5.1. Hints for Unix Novices
- 1.5.2. Hints for Unix Gurus
- 1.6. Sources of Linux Information
- 1.6.1. Online Documents
- 1.6.2. Books and Other Published Works
- 1.6.3. Usenet Newsgroups
- 1.6.4. Internet Mailing Lists
- 1.7. Getting Help
- 2. Preinstallation and Installation
- 2.1. Distributions of Linux
- 2.1.1. Getting Linux via Mail Order or Other Hard Media
- 2.1.2. Getting Linux from the Internet
- 2.2. Preparing to Install Linux
- 2.2.1. Installation Overview
- 2.2.2. Repartitioning Concepts
- 2.2.3. Linux Partition Requirements
- 2.2.4. Creating Swap Space
- 2.2.5. Creating the Filesystems
- 2.2.6. Installing the Software
- 2.2.7. Creating the Boot Floppy or Installing GRUB
- 2.2.8. Additional Installation Procedures
- 2.3. Post-Installation Procedures
- 2.3.1. Creating a User Account
- 2.3.2. Getting Online Help
- 2.3.3. Editing /etc/fstab
- 2.3.4. Shutting Down the System
- 2.4. Running into Trouble
- 2.4.1. Problems with Booting the Installation Medium
- 2.4.2. Hardware Problems
- 2.4.2.1. Isolating hardware problems
- 2.4.2.2. Problems recognizing hard drive or controller
- 2.4.2.3. Problems with SCSI controllers and devices
- 2.4.3. Problems Installing the Software
- 2.4.4. Problems After Installing Linux
- 2.4.4.1. Problems booting Linux from floppy
- 2.4.4.2. Problems booting Linux from the hard drive
- 2.4.4.3. Problems logging in
- 2.4.4.4. Problems using the system
- 2.1. Distributions of Linux
- 3. Desktop Environments
- 3.1. Why Use a Graphical Desktop?
- 3.2. The K Desktop Environment
- 3.2.1. General Features
- 3.2.2. Installing KDE
- 3.2.3. Using KDE
- 3.2.3.1. The KDE panel and the K menu
- 3.2.3.2. The KDE Control Center
- 3.3. KDE Applications
- 3.3.1. konsole: Your Home Base
- 3.3.1.1. Starting up konsole
- 3.3.1.2. Cutting and pasting selections
- 3.3.1.3. More konsole tricks
- 3.3.2. Clocks
- 3.3.3. KGhostview: Displaying PostScript and PDF
- 3.3.4. Reading Documentation with Konqueror
- 3.3.5. Burning CDs with K3b
- 3.3.1. konsole: Your Home Base
- 3.4. The GNOME Desktop Environment
- 3.4.1. Core Desktop Interface
- 3.4.1.1. Basic GNOME tasks
- 3.4.1.2. The panel
- 3.4.1.3. Nautilus: your desktop and file manager
- 3.4.2. Expert Settings: GConf
- 3.4.1. Core Desktop Interface
- 3.5. GNOME Applications
- 3.5.1. Evolution: Mail, Calendar, and Contacts
- 3.5.1.1. Evolution mail
- 3.5.1.2. Evolution calendar
- 3.5.1.3. Evolution contacts
- 3.5.2. GNOME and Office Software
- 3.5.3. Movies and Music: Totem and Rhythmbox
- 3.5.4. Additional Applications and Resources
- 3.5.1. Evolution: Mail, Calendar, and Contacts
- 4. Basic Unix Commands and Concepts
- 4.1. Logging In
- 4.2. Setting a Password
- 4.3. Virtual Consoles
- 4.4. Popular Commands
- 4.4.1. Directories
- 4.4.2. Listing Files
- 4.4.3. Viewing Files, More or Less
- 4.4.4. Symbolic Links
- 4.5. Shells
- 4.6. Useful Keys and How to Get Them to Work
- 4.7. Typing Shortcuts
- 4.7.1. Word Completion
- 4.7.2. Moving Around Among Commands
- 4.8. Filename Expansion
- 4.9. Saving Your Output
- 4.10. What Is a Command?
- 4.11. Putting a Command in the Background
- 4.12. Remote Logins and Command Execution
- 4.13. Manual Pages
- 4.14. Startup Files
- 4.15. Important Directories
- 4.16. Basic Text Editing
- 4.17. Advanced Shells and Shell Scripting
- 4.17.1. Setting Terminal Attributes
- 4.17.2. Shell Programming
- 4.17.3. Being More Efficient with the Z Shell
- 5. Web Browsers and Instant Messaging
- 5.1. The World Wide Web
- 5.1.1. Using Konqueror
- 5.1.2. Other Web Browsers
- 5.2. Instant Messaging
- 5.2.1. Initial Configuration
- 5.2.2. Chatting
- 5.2.3. Advanced Configuration
- 5.1. The World Wide Web
- 6. Electronic Mail Clients
- 6.1. Using KMail
- 6.2. Using Mozilla Mail & News
- 6.3. Getting the Mail to Your Computer with fetchmail
- 6.4. OpenPGP Encryption with GnuPG
- 6.4.1. Symmetric Encryption
- 6.4.2. Public-Key Cryptography
- 6.4.3. Creating a New Key Pair
- 6.4.4. Encrypting with Public Keys
- 6.4.5. Digital Signatures
- 6.4.6. The Web of Trust
- 6.4.7. Using gPG-agent
- 7. Games
- 7.1. Gaming
- 7.2. Quake III
- 7.2.1. Installation
- 7.2.2. Single Player
- 7.2.3. Multiplayer
- 7.2.4. Mods
- 7.3. Return to Castle Wolfenstein
- 7.3.1. Installation
- 7.3.2. Single Player
- 7.3.3. Multiplayer
- 7.4. Unreal Tournament 2004
- 7.4.1. Installation
- 7.4.2. Play
- 7.4.3. Game Server
- 7.4.4. Updates
- 7.5. Emulators
- 7.5.1. MAME
- 7.5.2. Nestra
- 7.5.3. SNES9x
- 7.6. Frozen Bubble
- 7.7. Tux Racer
- 8. Office Suites and Personal Productivity
- 8.1. Using OpenOffice
- 8.1.1. "OpenOffice" Versus "OpenOffice.org"
- 8.1.2. The Modules of OpenOffice
- 8.1.3. OpenDocument and OpenOffice 2
- 8.1.4. OpenOffice Writer
- 8.1.4.1. Launching OOoWriter
- 8.1.4.2. Opening files
- 8.1.4.3. Saving files
- 8.1.4.4. Exporting and sending files
- 8.1.4.5. Identifying the toolbars
- 8.1.4.6. Basic formatting
- 8.1.4.7. Printing a document
- 8.1.4.8. Advanced formatting
- 8.1.4.9. Templates
- 8.1.4.10. Styles
- 8.1.4.11. Collaboration with documents
- 8.1.4.12. Navigator
- 8.1.4.13. Keyboard shortcuts
- 8.1.4.14. Searching a document with Find & Replace
- 8.1.4.15. Inserting hyperlinks
- 8.1.4.16. Word count
- 8.1.4.17. Password-protecting documents
- 8.1.5. OOoWriter Customization
- 8.1.5.1. OOoWriter toolbar customization
- 8.1.5.2. Adding an OOoWriter icon on the desktop or taskbar panel
- 8.1.5.3. Adjusting unpopular default settings
- 8.1.6. OpenOffice Calc
- 8.1.6.1. Managing files
- 8.1.6.2. Entering labels (text)
- 8.1.6.3. Autofill
- 8.1.6.4. Entering simple formulas
- 8.1.6.5. Summing a column of numbers
- 8.1.6.6. Moving cell contents
- 8.1.6.7. Adjusting column widths and row heights
- 8.1.6.8. Merging cells
- 8.1.6.9. Freezing and splitting windows
- 8.1.6.10. Page Break View
- 8.1.6.11. Setting the print range
- 8.1.6.12. Functions
- 8.1.6.13. Worksheets, or sheets
- 8.1.6.14. Sorting data
- 8.1.6.15. Data sources
- 8.1.6.16. Macros
- 8.1.7. OpenOffice Impress
- 8.1.7.1. Creating a presentation from scratch with AutoPilot
- 8.1.7.2. Opening an existing presentation
- 8.1.7.3. Saving a presentation
- 8.1.7.4. Export formats
- 8.1.7.5. OOoImpress workspace views
- 8.1.7.6. OOoImpress modes
- 8.1.7.7. Editing a presentation
- 8.1.7.8. The presentation palette
- 8.1.7.9. Putting on a slide show
- 8.1.8. Customizing OpenOffice
- 8.1.8.1. Adding a Launcher icon
- 8.1.8.2. Defaulting to the MS Office file formats
- 8.2. KOffice
- 8.2.1. Hands On: Getting to Know KOffice
- 8.2.1.1. Using tabulators in KWord
- 8.2.1.2. Embedding charts into spreadsheets
- 8.2.1. Hands On: Getting to Know KOffice
- 8.3. Other Word Processors
- 8.4. Synching PDAs
- 8.4.1. Checking the Connection
- 8.4.2. KPilot Synchronization
- 8.5. Groupware
- 8.5.1. Basic Group Organization
- 8.5.2. Groupware Server Solutions
- 8.5.2.1. Kolab
- 8.5.2.2. OpenGroupware.org
- 8.5.2.3. phpGroupWare and eGroupware
- 8.5.2.4. OPEN-XCHANGE
- 8.5.2.5. Closed-source products
- 8.5.3. LDAP: Accessing Global Address Books
- 8.6. Managing Your Finances
- 8.6.1. Getting Started
- 8.6.1.1. Choosing a currency
- 8.6.1.2. Choosing accounts
- 8.6.1.3. Entering opening balances
- 8.6.1.4. Finishing your account setup
- 8.6.2. The Account
- 8.6.3. The GnuCash Accounts Window
- 8.6.3.1. Creating new accounts
- 8.6.3.2. Deleting accounts
- 8.6.4. Transactions
- 8.6.4.1. Entering transactions
- 8.6.4.2. Recording split transactions
- 8.6.4.3. Scheduling transactions
- 8.6.5. Reports
- 8.6.6. Real-Life Examples
- 8.6.6.1. Going to the grocery store
- 8.6.6.2. Getting a tax refund
- 8.6.6.3. Buying a car
- 8.6.1. Getting Started
- 8.1. Using OpenOffice
- 9. Multimedia
- 9.1. Multimedia Concepts
- 9.1.1. Digital Sampling
- 9.1.2. File Formats
- 9.1.3. Multimedia Hardware
- 9.2. Kernel and Driver Issues
- 9.2.1. Sound Drivers
- 9.2.1.1. Installation and configuration
- 9.2.1.2. Collecting hardware information
- 9.2.1.3. Configuring ISA Plug and Play (optional)
- 9.2.1.4. Configuring the kernel (optional)
- 9.2.1.5. Configuring kernel modules
- 9.2.1.6. Testing the installation
- 9.2.2. Video Drivers
- 9.2.3. Alternate Input Devices
- 9.2.1. Sound Drivers
- 9.3. Embedded and Other Multimedia Devices
- 9.4. Desktop Environments
- 9.4.1. KDE
- 9.4.2. GNOME
- 9.5. Windows Compatibility
- 9.6. Multimedia Applications
- 9.6.1. Sound Mixers
- 9.6.2. Multimedia Players
- 9.6.3. CD and DVD Burning Tools
- 9.6.4. Speech Tools
- 9.6.5. Image, Sound, and Video Editing and Management Tools
- 9.6.6. Imaging Tools
- 9.6.6.1. Image management with KimDaBa
- 9.6.6.2. Image manipulation with the GIMP
- 9.6.7. Recording Tools
- 9.6.8. Music Composition Tools
- 9.6.9. Internet Telephony and Conferencing Tools
- 9.6.10. Browser Plug-ins
- 9.6.11. Putting It All Together
- 9.7. Multimedia Toolkits and Development Environments
- 9.8. Solutions to Common Problems
- 9.9. References
- 9.1. Multimedia Concepts
- 1. Introduction to Linux
- II. System Administration
- 10. System Administration Basics
- 10.1. Maintaining the System
- 10.2. Managing Filesystems
- 10.2.1. Filesystem Types
- 10.2.2. Mounting Filesystems
- 10.2.3. Automounting Devices
- 10.2.4. Creating Filesystems
- 10.2.5. Checking and Repairing Filesystems
- 10.2.6. Encrypted Filesystems
- 10.2.6.1. Configuring the kernel
- 10.2.6.2. Creating an encrypted filesystem
- 10.2.6.3. Mounting the filesystem
- 10.2.6.4. Security Issues
- 10.3. Managing Swap Space
- 10.3.1. Creating Swap Space
- 10.3.2. Enabling the Swap Space
- 10.3.3. Disabling Swap Space
- 10.4. The /proc Filesystem
- 10.5. Device Files
- 10.6. Scheduling Recurring Jobs Using cron
- 10.7. Executing Jobs Once
- 10.8. Managing System Logs
- 10.9. Processes
- 10.10. Programs That Serve You
- 11. Managing Users, Groups, and Permissions
- 11.1. Managing User Accounts
- 11.1.1. The passwd File
- 11.1.2. Shadow Passwords
- 11.1.3. PAM and Other Authentication Methods
- 11.1.4. The Group File
- 11.1.5. Creating Accounts
- 11.1.6. Deleting and Disabling Accounts
- 11.1.7. Modifying User Accounts
- 11.2. File Ownership and Permissions
- 11.2.1. What Permissions Mean
- 11.2.2. Owners and Groups
- 11.3. Changing the Owner, Group, and Permissions
- 11.1. Managing User Accounts
- 12. Installing, Updating, and Compiling Programs
- 12.1. Upgrading Software
- 12.2. General Upgrade Procedure
- 12.2.1. Using RPM
- 12.2.2. Using dpkg and apt
- 12.3. Automated and Bulk Upgrades
- 12.3.1. YaST Online Update: Automated Updates
- 12.3.2. Red Carpet and ZENworks Linux Management: Alternative Package Management Tools
- 12.3.2.1. Installing Red Carpet
- 12.3.2.2. Using the Red Carpet GUI
- 12.3.2.3. Using the rug command
- 12.3.2.4. Multiple users
- 12.3.2.5. Operating an update server
- 12.4. Upgrading Software Not Provided in Packages
- 12.4.1. Upgrading Libraries
- 12.4.2. Upgrading the Compiler
- 12.5. Archive and Compression Utilities
- 12.5.1. Using gzip and bzip2
- 12.5.2. Using tar
- 12.5.3. Using tar with gzip and bzip2
- 12.5.4. tar Tricks
- 13. Networking
- 13.1. Networking with TCP/IP
- 13.1.1. TCP/IP Concepts
- 13.1.2. Hardware Requirements
- 13.1.3. Configuring TCP/IP with Ethernet
- 13.1.3.1. Your network configuration
- 13.1.3.2. The network configuration files
- 13.1.3.3. /etc/hosts
- 13.1.3.4. /etc/networks
- 13.1.3.5. /etc/host.conf
- 13.1.3.6. /etc/resolv.conf
- 13.1.3.7. Setting your hostname
- 13.1.3.8. Trying out your network
- 13.2. Dial-Up PPP
- 13.2.1. Basic PPP Configuration for Modems
- 13.2.1.1. Requirements
- 13.2.1.2. Serial device names
- 13.2.1.3. Setting up PPP
- 13.2.1.4. Writing a chat script
- 13.2.1.5. Starting up pppd
- 13.2.1.6. Configuring DNS
- 13.2.1.7. Troubleshooting PPP configuration
- 13.2.1.8. PAP and CHAP
- 13.2.1. Basic PPP Configuration for Modems
- 13.3. PPP over ISDN
- 13.3.1. Configuring Your ISDN Hardware
- 13.3.2. Setting Up Synchronous PPP
- 13.3.3. And If It Does Not Work?
- 13.3.4. Where to Go from Here?
- 13.4. ADSL
- 13.5. Cable Modems
- 13.6. Network Diagnostics Tools
- 13.6.1. ping
- 13.6.2. traceroute
- 13.6.3. dig
- 13.1. Networking with TCP/IP
- 14. Printing
- 14.1. Printing
- 14.1.1. Basic Linux Printing Commands
- 14.1.2. Some Common Command-Line Printing Tasks
- 14.1.3. nenscript and enscript
- 14.1.4. Printing Using GUI Tools
- 14.1.5. How the Printing System Processes a File
- 14.2. Managing Print Services
- 14.2.1. Linux Printing Software
- 14.2.1.1. Linux printing daemons
- 14.2.1.2. Ghostscript
- 14.2.1.3. Printer definitions
- 14.2.1.4. Additional printing software
- 14.2.2. Configuring Printer Hardware
- 14.2.2.1. Verifying printer compatibility
- 14.2.2.2. Printer interfaces
- 14.2.2.3. Verifying basic printer connectivity
- 14.2.3. Configuring CUPS Security
- 14.2.3.1. Enabling web-based configuration
- 14.2.3.2. Enabling or disabling browsing
- 14.2.3.3. Restarting CUPS
- 14.2.4. Defining Printers in CUPS
- 14.2.4.1. Accessing the printer definition tool
- 14.2.4.2. Creating a printer definition
- 14.2.4.3. Testing your printer definition
- 14.2.5. Fine-Tuning Printer Definitions
- 14.2.6. Managing Printer Queues
- 14.2.6.1. Using command-line tools
- 14.2.6.2. Using the CUPS web-based interface
- 14.2.7. Maintaining LPD Compatibility
- 14.2.7.1. Maintaining a legacy /etc/printcap file
- 14.2.7.2. Accepting print jobs from LPD systems
- 14.2.8. Printer Troubleshooting
- 14.2.9. Behind the Scenes: CUPS Files and Directories
- 14.2.1. Linux Printing Software
- 14.1. Printing
- 15. File Sharing
- 15.1. Sharing Files with Windows Systems (Samba)
- 15.1.1. Protocols and Things Windows-Related
- 15.1.2. Linux System Preparation and Installing Samba
- 15.1.3. Accessing Remote Windows Files and Printers
- 15.1.3.1. Using the FTP-like smbclient to access Windows
- 15.1.3.2. Using Linux-kernel-based smbfs
- 15.1.3.3. Using Linux-kernel-based cifsfs
- 15.1.3.4. Using Linux desktop tools with libsmbclient
- 15.1.3.5. Printing to printers on Windows systems
- 15.1.4. Sharing Linux Files and Printers with Windows Users
- 15.1.4.1. Installing Samba
- 15.1.4.2. Configuring Samba
- 15.1.4.3. Starting the Samba server
- 15.1.4.4. Adding users
- 15.1.5. An Office File- and Print-Sharing Solution Using Samba
- 15.1.6. Automatic Printer Driver Download
- 15.1.7. Using smbsh for Direct File Manipulation on Remote Systems
- 15.2. NFS Configuration and NIS
- 15.2.1. Configuring Your System as an NFS Client
- 15.2.1.1. Using /etc/fstab NFS client entries
- 15.2.1.2. Finding NFS exported resources and diagnosing problems
- 15.2.1.3. Manual mounting of NFS filesystems
- 15.2.1.4. Adding a directory to the NFS server's exports
- 15.2.2. Configuring Your System as an NIS Client
- 15.2.1. Configuring Your System as an NFS Client
- 15.1. Sharing Files with Windows Systems (Samba)
- 16. The X Window System
- 16.1. A History of X
- 16.2. X Concepts
- 16.3. Hardware Requirements
- 16.4. Installing X.org
- 16.5. Configuring X.org
- 16.6. Running X
- 16.7. Running into Trouble
- 16.8. X and 3D
- 16.8.1. OpenGL Setup
- 16.8.1.1. GLX
- 16.8.1.2. DRI
- 16.8.1.3. Proprietary drivers
- 16.8.1.4. Configuring X.org for OpenGL
- 16.8.1.5. Mesa
- 16.8.1. OpenGL Setup
- 17. System Start and Shutdown
- 17.1. Booting the System
- 17.1.1. Using a Boot Floppy
- 17.1.2. Using GRUB
- 17.1.2.1. The /etc/grub.conf file
- 17.1.2.2. Specifying boot-time options
- 17.1.2.3. Removing GRUB
- 17.2. System Startup and Initialization
- 17.2.1. Kernel Boot Messages
- 17.2.2. init, inittab, and rc Files
- 17.2.3. rc Files
- 17.3. Single-User Mode
- 17.4. Shutting Down the System
- 17.5. A Graphical Runlevel Editor: KSysV
- 17.1. Booting the System
- 18. Configuring and Building the Kernel
- 18.1. Building a New Kernel
- 18.1.1. Obtaining Kernel Sources
- 18.1.1.1. Unpacking the sources
- 18.1.1.2. Applying patches
- 18.1.2. Building the Kernel
- 18.1.2.1. Kernel configuration: make config
- 18.1.2.2. Preparing the ground: make clean
- 18.1.2.3. Compiling the kernel
- 18.1.2.4. Installing the kernel
- 18.1.1. Obtaining Kernel Sources
- 18.2. Loadable Device Drivers
- 18.2.1. Installing the Kernel
- 18.2.2. Compiling Modules
- 18.2.3. Loading a Module
- 18.3. Loading Modules Automatically
- 18.1. Building a New Kernel
- 19. Text Editing
- 19.1. Editing Files Using vi
- 19.1.1. Starting vi
- 19.1.2. Inserting Text and Moving Around
- 19.1.3. Deleting Text and Undoing Changes
- 19.1.4. Changing Text
- 19.1.5. Moving Around the File
- 19.1.6. Saving Files and Quitting vi
- 19.1.7. Editing Another File
- 19.1.8. Including Other Files
- 19.1.9. Running Shell Commands
- 19.1.10. Global Searching and Replacing
- 19.1.11. Moving Text and Using Registers
- 19.1.12. Extending vi
- 19.2. The (X)Emacs Editor
- 19.2.1. Firing It Up
- 19.2.2. Simple Editing Commands
- 19.2.3. Tutorial and Online Help
- 19.2.4. Deleting, Copying, and Moving Text
- 19.2.5. Searching and Replacing
- 19.2.6. Macros
- 19.2.7. Running Commands and Programming Within Emacs
- 19.2.8. Tailoring Emacs
- 19.2.9. Regular Expressions
- 19.2.10. Emacs and the X Window System
- 19.1. Editing Files Using vi
- 20. Text Processing
- 20.1. TeX and LaTeX
- 20.1.1. Learning the Ropes
- 20.1.2. Formatting and Printing
- 20.1.3. Further Reading
- 20.2. XML and DocBook
- 20.3. groff
- 20.3.1. Writing a Manual Page
- 20.3.2. Formatting and Installing the Manual Page
- 20.4. Texinfo
- 20.4.1. Writing the Texinfo Source
- 20.4.2. Formatting Texinfo
- 20.1. TeX and LaTeX
- 10. System Administration Basics
- III. Programming
- 21. Programming Tools
- 21.1. Programming with gcc
- 21.1.1. Quick Overview
- 21.1.2. gcc Features
- 21.1.3. Basic gcc Usage
- 21.1.4. Using Multiple Source Files
- 21.1.5. Optimizing
- 21.1.6. Enabling Debugging Code
- 21.1.7. More Fun with Libraries
- 21.1.7.1. Creating shared libraries
- 21.1.8. Using C++
- 21.2. Makefiles
- 21.2.1. What make Does
- 21.2.2. Some Syntax Rules
- 21.2.3. Macros
- 21.2.4. Suffix Rules and Pattern Rules
- 21.2.5. Multiple Commands
- 21.2.6. Including Other makefiles
- 21.2.7. Interpreting make Messages
- 21.2.8. Autoconf, Automake, and Other Makefile Tools
- 21.3. Debugging with gdb
- 21.3.1. Tracing a Program
- 21.3.2. Examining a Core File
- 21.3.3. Debugging a Running Program
- 21.3.4. Changing and Examining Data
- 21.3.5. Getting Information
- 21.3.6. Miscellaneous Features
- 21.3.6.1. Breakpoints and watchpoints
- 21.3.6.2. Instruction-level debugging
- 21.3.6.3. Using Emacs with gdb
- 21.4. Useful Utilities for C Programmers
- 21.4.1. Debuggers
- 21.4.2. Profiling and Performance Tools
- 21.4.3. Using strace
- 21.4.4. Using Valgrind
- 21.4.5. Interface Building Tools
- 21.4.6. Revision Control Tools: RCS
- 21.4.7. Revision Control Tools: CVS
- 21.4.7.1. Setting up a CVS repository
- 21.4.7.2. Working with CVS
- 21.4.7.3. CVS over the Internet
- 21.4.8. Patching Files
- 21.4.9. Indenting Code
- 21.5. Using Perl
- 21.5.1. A Sample Program
- 21.5.2. More Features
- 21.5.3. Pros and Cons
- 21.6. Java
- 21.6.1. The Promise of Java, or Why You Might Want to Use Java
- 21.6.2. Getting Java for Linux
- 21.7. Python
- 21.7.1. Parsing Output from the Last Command Using Python
- 21.7.2. Developing a Calculator Using Python
- 21.8. Other Languages
- 21.9. Introduction to OpenGL Programming
- 21.9.1. GLUT
- 21.9.2. Qt
- 21.10. Integrated Development Environments
- 21.1. Programming with gcc
- 22. Running a Web Server
- 22.1. Configuring Your Own Web Server
- 22.1.1. httpd.conf
- 22.1.2. srm.conf and access.conf
- 22.1.3. Starting httpd
- 22.1. Configuring Your Own Web Server
- 23. Transporting and Handling Email Messages
- 23.1. The Postfix MTA
- 23.1.1. A Word About DNS
- 23.1.2. Installing Postfix
- 23.1.3. Postfix Configuration
- 23.1.4. Starting Postfix
- 23.1.5. Postfix Logging
- 23.1.6. Running Postfix on System Startup
- 23.1.7. Postfix Relay Control
- 23.1.8. Additional Configurations
- 23.2. Procmail
- 23.2.1. Procmail Concepts
- 23.2.2. Preparing Procmail for Use
- 23.2.2.1. Setting up a sandbox
- 23.2.3. Recipe Syntax
- 23.2.4. Examples
- 23.2.4.1. Making a backup of all incoming mail
- 23.2.4.2. Storing mail from a mailing list in a special mailbox
- 23.2.4.3. Forward messages as SMS
- 23.2.4.4. Sending an out-of-office reply
- 23.3. Filtering Spam
- 23.1. The Postfix MTA
- 24. Running an FTP Server
- 24.1. Introduction
- 24.2. Compiling and Installing
- 24.2.1. RPM Install
- 24.2.2. Compiling from Source
- 24.3. Running ProFTPD
- 24.4. Configuration
- 24.4.1. Getting Started
- 24.4.2. Basic Configuration
- 24.4.3. Advanced Configuration
- 24.4.4. Virtual Hosts
- 21. Programming Tools
- IV. Network Services
- 25. Running Web Applications with MySQL and PHP
- 25.1. MySQL
- 25.1.1. MySQL Installation and Initial Configuration
- 25.1.2. Initial Tasks: Setting Up Users and SQL
- 25.1.3. Creating and Populating a Database
- 25.2. PHP
- 25.2.1. Some Sample PHP
- 25.2.2. PHP4 as an Apache Module
- 25.3. The LAMP Server in Action
- 25.1. MySQL
- 26. Running a Secure System
- 26.1. A Perspective on System Security
- 26.2. Initial Steps in Setting Up a Secure System
- 26.2.1. Shutting Down Unwanted Network Daemons
- 26.2.2. Top 10 Things You Should Never Do
- 26.3. TCP Wrapper Configuration
- 26.3.1. Using TCP Wrappers with inetd
- 26.3.2. Using TCP Wrappers with xinetd
- 26.3.3. /etc/hosts.allow and /etc/hosts.deny
- 26.4. Firewalls: Filtering IP Packets
- 26.4.1. netfilter Basics
- 26.4.1.1. Using the iptables command
- 26.4.2. Developing IP Filtering Rulesets
- 26.4.3. IP Filter Management and Script Files
- 26.4.4. Sample netfilter Configurations
- 26.4.4.1. Simple IP filtering example
- 26.4.4.2. IP filtering to protect an entire network
- 26.4.4.3. IP masquerading example
- 26.4.1. netfilter Basics
- 26.5. SELinux
- 27. Backup and Recovery
- 27.1. Making Backups
- 27.1.1. Simple Backups
- 27.1.1.1. Backing up to tape
- 27.1.1.2. Backing up to CD-R
- 27.1.1.3. Backing up to hard disks
- 27.1.1.4. To compress or not to compress?
- 27.1.2. Incremental Backups
- 27.1.1. Simple Backups
- 27.2. What to Do in an Emergency
- 27.2.1. Repairing Filesystems
- 27.2.2. Accessing Damaged Files
- 27.2.3. Restoring Files from Backup
- 27.1. Making Backups
- 28. Heterogeneous Networking and Running Windows Programs
- 28.1. Sharing Partitions
- 28.1.1. Filesystems and Mounting
- 28.1.2. File Translation Utilities
- 28.2. Emulation and Virtual Operating Systems
- 28.2.1. Wine
- 28.2.1.1. Getting and installing Wine
- 28.2.1.2. A simple example of using Wine
- 28.2.1.3. Configuring Wine
- 28.2.1.4. Running Wine
- 28.2.1.5. Further help
- 28.2.1.6. CrossOver Office
- 28.2.2. VMware Workstation
- 28.2.2.1. So what does it actually do?
- 28.2.2.2. Installing VMware Workstation 5
- 28.2.2.3. VMWare Workstation 5 features
- 28.2.3. Other Programs for Running MS-DOS and Windows Applications on Linux
- 28.2.1. Wine
- 28.3. Remote Desktop Access to Windows Programs
- 28.3.1. rdesktop and TSCLient
- 28.3.1.1. Setting up Windows Terminal Services
- 28.3.1.2. Connecting to the terminal server
- 28.3.1.3. Making Windows applications multiuser aware
- 28.3.1.4. Using Windows applications from the Linux desktop
- 28.3.2. Virtual Network Connection
- 28.3.2.1. Setting up VNC
- 28.3.2.2. Running a Linux VNC server
- 28.3.1. rdesktop and TSCLient
- 28.4. FreeNX: Linux as a Remote Desktop Server
- 28.1. Sharing Partitions
- 25. Running Web Applications with MySQL and PHP
- A. Sources of Linux Information
- A.1. Linux Documentation Project
- A.2. FTP Sites
- A.3. World Wide Web Sites
- A.3.1. General Documentation
- A.3.2. Open Source Projects
- A.3.3. Programming Languages and Tools
- A.3.4. News and Information Sites
- A.3.5. Linux Software Directories and Download Sites
- A.3.6. Linux Distributions
- A.3.7. Commercial Linux Software Companies
- A.3.8. Internet RFCs and Other Standards
- A.3.9. Miscellaneous
- About the Authors
- Colophon
- SPECIAL OFFER: Upgrade this ebook with OReilly