Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Buy Now $54.99
Standard view
Full view
of .
Look up keyword or section
Like this
27Activity

Table Of Contents

What You Get with CentOS
Stepping Stone to Red Hat Enterprise Linux
What Is Linux?
Linux’s Roots in UNIX
Common Linux Features
Primary Advantages of Linux
Going Forward with CentOS
Help from the CentOS Project
Training and Certification
Documentation
Summary
Using the CentOS Live CD
Quick Installation
Detailed Installation Instructions
Installing CentOS 5
Choosing Computer Hardware
Preparing for Installation Using the Live CD
Beginning the Installation
Running CentOS Firstboot
Going Forward after Installation
Special Installation Procedures
Alternatives for Starting Installation
Installing from Other Media
Starting a VNC Install
Performing a Kickstart Installation
Special Installation Topics
Setting up to Dual-Boot Linux and Windows
Partitioning Your Disks
Using the GRUB Boot Loader
Troubleshooting Installation
Logging in to CentOS
Getting Familiar with the Desktop
Touring Your Desktop
Tips for Configuring Your Desktop
Using the GNOME Desktop
Using the Metacity Window Manager
Using the GNOME Panels
Using the Nautilus File Manager
Changing GNOME Preferences
Managing Removable Media
Trying Other GNOME Applications
Exiting GNOME
Running 3D Accelerated Desktop Effects
Switching Desktop Environments
Using the KDE Desktop
Starting with KDE
KDE Desktop Basics
Managing Files with the Konqueror File Manager
Using the Konqueror Browser Features
Configuring Konqueror Options
Managing Windows
Configuring the Desktop
Adding Widgets
Using the Xfce Desktop Environment
Troubleshooting Your Desktop
GUI Doesn’t Work at Startup
Tuning Your Video Card and Monitor
Configuring Video Cards for Gaming
Getting More Information
The Shell Interface
Checking Your Login Session
Checking Directories and Permissions
Checking System Activity
Exiting the Shell
Understanding the Shell
Using the Shell in Linux
Locating Commands
Rerunning Commands
Connecting and Expanding Commands
Using Shell Environment Variables
Common Shell Environment Variables
Managing Background and Foreground Processes
Configuring Your Shell
Working with the Linux File System
Creating Files and Directories
Moving, Copying, and Deleting Files
Using the vi Text Editor
Starting with Vi
Moving around the File
Searching for Text
Using Numbers with Commands
Getting and Installing Software Packages
Downloading and Installing Applications with yum
Getting CentOS Software Updates
Managing RPM Packages
Using the Add/Remove Window
Using the rpm Command
Using Software in Different Formats
Understanding Software Package Names and Formats
Understanding Different Archive Formats
Building and Installing from Source Code
Using CentOS to Run Applications
Finding Common Desktop Applications in Linux
Investigating Your Desktop
Starting Applications from a Menu
Starting Applications from a Run Application Window
Starting Applications from a Terminal Window
Running Remote X Applications
Running Microsoft Windows, DOS, and Macintosh Applications
Running DOS Applications
Running Microsoft Windows Applications in Linux
Running Applications in Virtual Environments
Running Applications Virtually with Xen
Running Applications Virtually with KVM and QEMU
Desktop Publishing in Linux
Using Text Editors and Notepads
Using Word Processors
Using Traditional Linux Publishing Tools
Creating Documents in Groff or LaTeX
Text Processing with Groff
Text Processing with TeX/LaTeX
Converting Documents
Creating DocBook Documents
Understanding SGML and XML
Displaying PDF Files with Evince
Doing Page Layout with Scribus
Working with Graphics
Manipulating Images with GIMP
Taking Screen Captures
Creating Vector Graphic Images with Inkscape
Using Scanners Driven by SANE
Web Publishing
Understanding Multimedia and Legal Issues in Linux
Extending Freedom to Codecs
Listening to Music in Linux
Configuring a Sound Card
Choosing Audio Players
Watching Video with Xine
Using Totem Movie Player
Using a Digital Camera
Displaying Images in gThumb
Using Your Camera as a Storage Device
Overview of Internet Applications and Commands
Browsing the Web
Understanding Web Browsing
Thunderbird Mail Client
Text-Based Mail Programs
Participating in Newsgroups
Instant Messaging with Pidgin
Sharing Files with BitTorrent
Using Remote Login, Copy, and Execution
Using Telnet for Remote Login
Copying Files with FTP
Getting Files with wget
Using ssh for Remote Login/Remote Execution
Using scp for Remote File Copy
Using the ‘‘r’’ Commands: rlogin, rcp, and rsh
Using the root User Account
Becoming the Super User (the su Command)
Using Graphical Administration Tools
Administrative Commands
Administrative Configuration Files
Administrative Log Files
Using Other Administrative Logins
Administering Your Linux System
Configuring Hardware
Checking Your Hardware
Managing Hardware with HAL
Reconfiguring Hardware with kudzu
Configuring Modules
Managing File Systems and Disk Space
Mounting File Systems
Using the mkfs Command to Create a File System
Adding a Hard Disk
Using RAID Disks
Checking System Space
Monitoring System Performance
Watch Computer Usage with System Monitor
Monitoring CPU Usage with top
Monitoring Power Usage on Laptop Computers
Using Security Enhanced Linux
Understanding Security Enhanced Linux
Types and Roles in SELinux
Users in SELinux
Policies in SELinux
Tools in SELinux
Using SELinux in CentOS
SELinux
Checking Whether SELinux Is On
Checking SELinux Status
Creating user accounts
Deleting user accounts
Creating User Accounts
Adding Users with useradd
Adding Users with User Manager
Setting User Defaults
Supplying Initial Login Scripts
Supplying Initial .bashrc and .bash_profile Files
Supplying an Initial .tcshrc File
Configuring System-Wide Shell Options
Configuring System-Wide Bash Options
Setting System Profiles
Adding User Accounts to Servers
Creating Portable Desktops
Providing Support to Users
Creating a Technical Support Mailbox
Resetting a User’s Password
Modifying Accounts
Modifying User Accounts with usermod
Modifying User Accounts with User Manager
Deleting User Accounts
Deleting User Accounts with userdel
Deleting User Accounts with User Manager
Checking Disk Quotas
Using Quota to Check Disk Usage
Using du to Check Disk Use
Removing Temp Files Automatically
Sending Mail to All Users
Understanding shell scripts
Understanding Shell Scripts
Executing and Debugging Shell Scripts
Understanding Shell Variables
Performing Arithmetic in Shell Scripts
Using Programming Constructs in Shell Scripts
Some Useful External Programs
Trying Some Simple Shell Scripts
System Initialization
Starting init
The inittab File
System Startup and Shutdown
Starting Run-Level Scripts
Understanding Run-Level Scripts
Understanding What Start-Up Scripts Do
Changing Run-Level Script Behavior
Reorganizing or Removing Run-Level Scripts
Adding Run-Level Scripts
Managing xinetd Services
Manipulating Run Levels
Scheduling System Tasks
Using at.allow and at.deny
Specifying When Jobs Are Run
Submitting Scheduled Jobs
Viewing Scheduled Jobs
Deleting Scheduled Jobs
Using the batch Command
Using the cron Facility
Making a Simple Backup Archive
Doing a Simple Backup with rsync
Backing Up Files Locally
Backing Up Files Remotely
Choosing Backup Tools
Selecting a Backup Strategy
Full Backup
Incremental Backup
Disk Mirroring
Network Backup
Selecting a Backup Medium
Magnetic Tape
Writable CD Drives
Writable DVD Drives
Writing CDs or DVDs with growisofs
Backing Up to a Hard Drive
Backing Up Files with dump
Creating a Backup with dump
Understanding Dump Levels
Automating Backups with cron
Restoring Backed-Up Files
Restoring an Entire File System
Recovering Individual Files
Configuring Amanda for Network Backups
Creating Amanda Directories
Creating the amanda.conf file
Creating a disklist File
Adding Amanda Network Services
Performing an Amanda Backup
Using the pax Archiving Tool
Linux security checklist
Linux Security Checklist
Using Password Protection
Choosing Good Passwords
Using a Shadow Password File
Securing Linux with iptables Firewalls
Using the Security Level Configuration Window
Configuring an iptables Firewall
Controlling Access to Services with TCP Wrappers
Checking Log Files
Replacing the sysklogd Package
Understanding the rsyslogd Service
Tracking Log Messages with logwatch
Using the Secure Shell Package
Starting the SSH Service
Using the ssh, sftp, and scp commands
Using SSH, SCP, and SFTP without Passwords
Securing Linux Servers
Understanding Attack Techniques
Protecting against Denial-of-Service Attacks
Protecting against Distributed DOS Attacks
Protecting against Intrusion Attacks
Securing Servers with SELinux
Protecting Web Servers with Certificates and Encryption
Connecting to the Network with NetworkManager
Connecting to a Wireless Network
Connecting to a Wired Network
Setting Up a Virtual Private Network Connection
Understanding Local Area Networks
Planning, Getting, and Setting Up LAN Hardware
Configuring TCP/IP for Your LAN
Setting Up a Wireless LAN
Understanding Wireless Networks
Choosing Wireless Hardware
Getting Wireless Drivers
Installing Wireless Linux Software
Configuring the Wireless LAN
Testing Distances
Setting Wireless Extensions
Understanding Internet Protocol Addresses
IP Address Classes
Understanding Netmasks
Classless Inter-Domain Routing
Getting IP Addresses
Troubleshooting Your LAN
Did Linux Find Your Ethernet Driver at Boot Time?
Can You Reach Another Computer on the LAN?
Is Your Ethernet Connection Up?
Troubleshooting a Wireless LAN
Watching LAN Traffic with Wireshark
Understanding how the Internet is structured
Understanding How the Internet Is Structured
Internet Domains
Hostnames and IP Addresses
Routing
Proxies
Using Dial-Up Connections to the Internet
Getting Information
Setting Up Dial-Up PPP
Creating a Dial-Up Connection with the Network Configuration Window
Launching Your PPP Connection
Launching Your PPP Connection on Demand
Checking Your PPP Connection
Connecting Your LAN to the Internet
Setting Up Linux as a Router
Configuring the Linux Router
Configuring Network Clients
Configuring a Virtual Private Network Connection
Understanding IPsec
Using IPsec Protocols
Using IPsec in CentOS
Configuring an OpenVPN Server
Setting Up Linux as a Proxy Server
Starting the Squid Daemon
Using a Simple squid.conf File
Modifying the Squid Configuration File
Debugging Squid
Setting Up Proxy Clients
Configuring Firefox to Use a Proxy
Configuring Other Browsers to Use a Proxy
Common UNIX Printing Service
Setting Up Printers
Using the Printer Configuration Window
Using Web-Based CUPS Administration
Configuring the CUPS Server (cupsd.conf)
Configuring CUPS Printer Options
Using Printing Commands
Using lpr to Print
Listing Status with lpc
Removing Print Jobs with lprm
Configuring Print Servers
Configuring a Shared CUPS Printer
Configuring a Shared Samba Printer
Goals of Setting Up a File Server
Setting Up an NFS File Server
Sharing NFS File Systems
Using NFS File Systems
Unmounting NFS File Systems
Other Cool Things to Do with NFS
Setting Up a Samba File Server
Getting and Installing Samba
Configuring a Simple Samba Server
Configuring Samba with SWAT
Working with Samba Files and Commands
Setting Up Samba Clients
Troubleshooting Your Samba Server
Introducing SMTP and Sendmail
Introducing SMTP and Sendmail
Installing and Running Sendmail
Starting Sendmail
Other Programs
Logging Performed by Sendmail
Configuring Sendmail
Getting a Domain Name
Configuring Basic Sendmail Settings (sendmail.mc)
Defining Outgoing Mail Access
Configuring Virtual Servers
Configuring Virtual Users
Adding User Accounts
Starting Sendmail and Generating Database Files
Re-Directing Mail
Introducing Postfix
Stopping Spam with SpamAssassin
Using SpamAssassin
Setting Up SpamAssassin on Your Mail Server
Setting E-Mail Readers to Filter Spam
Getting Mail from the Server (POP3 or IMAPv4)
Accessing Mailboxes in Linux
Configuring IMAPv4 and POP3 with Dovecot
Getting Mail from Your Browser with SquirrelMail
Administering a Mailing List with Mailman
Quick-Starting the Apache Web Server
Configuring the Apache Server
Configuring the Web Server (httpd.conf)
Configuring Modules and Related Services (/etc/httpd/conf.d/*.conf)
Starting and Stopping the Server
Monitoring Server Activities
Displaying Server Information
Displaying Server Status
Further Security of Server-Info and Server-Status
Logging Errors
Logging Hits
Analyzing Web-Server Traffic
Understanding LDAP
Defining Information in Schemas
Structuring Your LDAP Directories
Setting Up the OpenLDAP Server
Installing OpenLDAP Packages
Configuring the OpenLDAP Server (slapd.conf)
Starting the OpenLDAP Service
Setting Up the Address Book
More Ways to Configure LDAP
Accessing an LDAP Address Book from Thunderbird
Using the Dynamic Host Configuration Protocol
Setting Up a DHCP Server
Opening Your Firewall and SELinux for DHCP
Configuring the /etc/dhcpd.conf File
Starting the DHCP Server
Setting Up a DHCP Client
Finding MySQL Packages
Configuring the MySQL Server
Using MySQL User/Group Accounts
Adding Administrative Users
Setting MySQL Options
Using Sample my.cnf Files
Starting the MySQL Server
Checking That MySQL Server Is Working
Working with MySQL Databases
Starting the mysql Command
Creating a Database with MySQL
Adding Data to a MySQL Database Table
Understanding MySQL Tables
Displaying MySQL Databases
Displaying All or Selected Records
Displaying Selected Columns
Sorting Data
Making Changes to Tables and Records
Altering the Structure of MySQL Tables
Updating and Deleting MySQL Records
Adding and Removing User Access
Adding Users and Granting Access
Revoking Access
Backing Up Databases
Checking and Fixing Databases
Determining Goals for Your Server
Using a Hosting Service
Connecting a Public Server
Choosing an ISP
Configuring Your Public Server
Configuring Networking
Configuring Servers
Managing Security
Setting Up a Domain Name System Server
Understanding DNS
DNS Name Server Example
Quick-Starting a DNS Server
Checking That DNS Is Working
Getting More Information about BIND
P. 1
CentOS Bible

CentOS Bible

Ratings: (0)|Views: 2,596|Likes:
Published by Wiley
Authoritative guide to a rapidly growing Linux distribution

This is one of the first, if not the first comprehensiveguide to the CentOS Linux operating system. Linux guru TimBornocyzyk, thoroughly covers the topic whether you're a Linuxnovice or a regular who now wants to master this increasinglypopular distribution.

First find out how to install and configure CentOS. From there,you'll cover a wealth of Linux and CentOS tools, functions, andtechniques, including: how to work in the GNOME and KDE desktopenvironments; how to use the Linux shell, file system, and texteditor; how to configure CUPS printers, Samba for file and printersharing and other features using GUI tools; and more.

CentOS (Community ENTerprise Operating System) is a Linuxoperating system maintained by a small team of core developersbased on Red Hat Enterprise Linux (RHEL) Lead author Christopher Negus is the bestselling Linux authorof such books as Fedora 10 and Red Hat Enterprise LinuxBible and Linux 2009 Edition Bible; he is also a memberof the Red Hat Enterprise Linux training team Tech edited by key member of the CentOS development team, RalphAngenendt, and foreword written by lead CentOS developer, KaranbirSingh. Learn how to set up users, automate system tasks, back up andrestore files, and prepare for the latest security issues andthreats; also learn how to use and customize the desktop menus,icons, window manager, and xterm; and how to create and publishformatted documents Explores available Linux multimedia applications for graphics,audio, video and CD burning The DVD includes complete copy of the most current CentOSDistribution – CentOS 5.3

For getting the most out of CentOS Linux, this is the book youneed to succeed.

Note: CD-ROM/DVD and other supplementary materials arenot included as part of eBook file.

Authoritative guide to a rapidly growing Linux distribution

This is one of the first, if not the first comprehensiveguide to the CentOS Linux operating system. Linux guru TimBornocyzyk, thoroughly covers the topic whether you're a Linuxnovice or a regular who now wants to master this increasinglypopular distribution.

First find out how to install and configure CentOS. From there,you'll cover a wealth of Linux and CentOS tools, functions, andtechniques, including: how to work in the GNOME and KDE desktopenvironments; how to use the Linux shell, file system, and texteditor; how to configure CUPS printers, Samba for file and printersharing and other features using GUI tools; and more.

CentOS (Community ENTerprise Operating System) is a Linuxoperating system maintained by a small team of core developersbased on Red Hat Enterprise Linux (RHEL) Lead author Christopher Negus is the bestselling Linux authorof such books as Fedora 10 and Red Hat Enterprise LinuxBible and Linux 2009 Edition Bible; he is also a memberof the Red Hat Enterprise Linux training team Tech edited by key member of the CentOS development team, RalphAngenendt, and foreword written by lead CentOS developer, KaranbirSingh. Learn how to set up users, automate system tasks, back up andrestore files, and prepare for the latest security issues andthreats; also learn how to use and customize the desktop menus,icons, window manager, and xterm; and how to create and publishformatted documents Explores available Linux multimedia applications for graphics,audio, video and CD burning The DVD includes complete copy of the most current CentOSDistribution – CentOS 5.3

For getting the most out of CentOS Linux, this is the book youneed to succeed.

Note: CD-ROM/DVD and other supplementary materials arenot included as part of eBook file.

More info:

Publish date: Jun 3, 2009
Added to Scribd: Feb 06, 2010
Copyright:Traditional Copyright: All rights reservedISBN:9780470538333
List Price: $54.99 Buy Now

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
This book can be read on up to 6 mobile devices.
See more
See less

02/17/2015

983

9780470538333

$54.99

USD

You're Reading a Free Preview
Pages 20 to 293 are not shown in this preview.
You're Reading a Free Preview
Pages 324 to 337 are not shown in this preview.
You're Reading a Free Preview
Pages 357 to 781 are not shown in this preview.
You're Reading a Free Preview
Pages 801 to 983 are not shown in this preview.

Activity (27)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Diego Zurita liked this
710507 liked this
Wilson Toaquiza liked this
ysaiasv liked this
Gopal Sonune liked this

You're Reading a Free Preview

Download
scribd