Part I: Setting Up CentOS Linux

Introduction

If you are just beginning to use Linux, what you need is a practical guide that not only gets you going with the installation and set up of Linux, but also shows you how to use Linux for specific functions, such as a Web server or a software development platform.

Red Hat continues to improve its version of Linux. The recently released Rocky Linux includes many new system components, including the Linux 2.4.20 kernel, XFree86 4.3.0, GCC 3.2.2 compiler, and the glibc 2.3.2 system libraries. The X Window System is XFree86 version 4.3.0 with support for many more new and powerful graphics cards than the previous versions. Red Hat has improved the desktop experience by providing many more graphical tools to configure and manage the system. For productivity applications, Red Hat includes the Mozilla Web browser, Ximian Evolution personal information manager, and the OpenOffice.org office suite. Red Hat has also unified the look and feel of GNOME and KDE desktops, so the user feels at home regardless of the selected desktop. There are many under-the-hood improvements as well. For example, CentOS Linux now uses the Common UNIX Printing System (CUPS) as the default printing system, and it includes the Native POSIX Thread Library, which offers performance improvements with Pentium Pro processors or better.

follows the successful model of the Professional Secrets series and highlights crucial, little-known facts as 'secrets.' The focus is on providing insights into the inner workings of CentOS Linux-which configuration files control what, which commands to type in what sequence to perform a key task. In addition to these insights, the book also provides all the usual information on many of the applications-such as email, the Web, and news, plus graphics and text utilities-that are included on the book's companion CD-ROMs.

The book's companion CD-ROMs come with the Publisher's Edition of Rocky Linux. The CD-ROMs are packed with all the software needed to turn your PC into a powerful Linux desktop and server. The book provides detailed technical information on installing and customizing Linux for use with various types of computers and peripherals.

The unique aspects of are the details of how things work behind the scenes. The book includes tips, techniques, shortcuts, and little-known facts about using CentOS Linux in various real-world tasks that range from simply learning UNIX commands to setting up a secure, Java-capable Web server for your business.

By reading this book you can:

Organization of the Book

contains 26 chapters, organized into five parts and eight appendixes covering topics such as installation and setup, routine use, networking and server setup, system administration, and programming.

Part I: Setting Up CentOS Linux

includes six chapters that introduce you to Linux, guide you through CentOS Linux installation, and show you how to configure various types of hardware in Linux. The first chapter provides an overview of Linux in general. The second chapter takes you through the steps needed to install CentOS Linux from this book's companion CD-ROMs. The next four chapters explain how to configure the X Window System, printers using the Common Unix Printing System (CUPS), and sound and network components.

Part II: Exploring CentOS Linux

This part acquaints you with CentOS Linux. The six chapters in this section describe the popular GNU utilities, the GUI desktops-GNOME and KDE, and the applications included with CentOS Linux on the companion CD-ROMs. You will also learn how to edit text files, prepare DocBook documentation, and perform basic systems administration functions.

Part III: Internetworking with CentOS Linux

The seven chapters in focus on connecting the CentOS Linux system to the Internet and setting up various Internet services on the system. After describing dial-up networking, the chapters in this part walk you through the setup and configuration of a number of servers including Web, FTP, SMTP (Simple Mail Transfer Protocol for mail), news, DNS, NIS, NFS, and Samba.

Part IV: Managing CentOS Linux

The three chapters in cover systems administration and security. The first chapter in this part--starts by discussing a number of advanced system administration topics. The next two chapters show you how to install and upgrade software using the Red Hat Package Manager (RPM), how to build software from source files, how to rebuild and install a new kernel, and how to secure the system and the network.

Part V: Programming CentOS Linux

The four chapters in turn to the subject of programming in Linux. The first chapter--covers the basics as well as a number of software development tools and the GNU Public License that affects software developed in Linux. Then, that chapter briefly touches on C and C++ programming. The next two chapters cover scripting using the shell, Perl, and Tcl/Tk. Finally, the in this section introduces you to writing applet, servlets, and standalone applications using Java.

Part VI: Appendixes

This section includes eight appendixes:

If you are a new user, you should start reading , which guides you through installing CentOS Linux from the CD-ROMs that accompany the books (see also). If you have specific hardware questions, you should go directly to the relevant appendix (see Appendixes B through F). If you have already installed CentOS Linux, you might want to begin with , where you'll learn how to make the most of CentOS Linux in everyday use (see also). For questions related to Internet services, consult the appropriate chapter in . gets you going with various systems administration tasks and explains how to maintain system and network security. To learn about programming in specific languages, consult the relevant chapters in . When you need information on a specific Linux command, turn to and look for that command in the alphabetically arranged reference entries.