Linux System Administration: A User's Guide
Marcel Gagné
- 出版商: Addison Wesley
- 出版日期: 2001-09-28
- 定價: $1,900
- 售價: 8.0 折 $1,520
- 語言: 英文
- 頁數: 560
- 裝訂: Paperback
- ISBN: 0201719347
- ISBN-13: 9780201719345
-
相關分類:
Linux
立即出貨(限量) (庫存=2)
買這商品的人也買了...
-
$1,800$1,710 -
$699TCP/IP Addressing: Designing and Optimizing Your Ip Addressing Scheme, 2/e
-
$790Network Intrusion Detection, 2/e
-
$1,940$1,843 -
$2,250$2,138 -
$1,520Linux System Security, 2/e
-
$450$360 -
$550$435 -
$750$638 -
$650$199 -
$590$466 -
$280$221 -
$960The Essentials of Computer Organization and Architecture
-
$690$538 -
$800$784 -
$825Automating Unix and Linux Administration (Paperback)
-
$560$504 -
$450$356 -
$2,010$1,910 -
$1,616Web Application Design Handbook : Best Practices for Web-Based Software
-
$2,210$2,100 -
$6,710$6,375 -
$490Perfect Passwords: Selection, Protection and Authentication
-
$650$553 -
$700jQuery: A Beginner's Guide (Paperback)
相關主題
商品描述
"Gagne is clearly an insider in the Linux community, familiar with both the technical details and the culture, which sets this book apart from others in the field."
--Joseph Sloan, Lead System Administrator, Mirai Consulting
This comprehensive, hands-on guide to Linux system administration provides you with the deeper understanding of the inner workings of Linux and the pragmatic techniques you need to become an outstanding Linux system administrator--whether you are a career administrator in a corporate environment or simply administering your home system.
Written both for those who are new to Linux and those who are already proficient and wish to hone their skills, Linux System Administration starts with the basics and builds up to more sophisticated material.
You will find complete coverage of all major system administration topics:
- Linux versus UNIX
- Installation tips and tricks
- Working effectively with the Linux command line
- Organizing and working with system users
- Disks, file systems, backup, and restore
- The inner workings of X and the graphical desktop
- Configuring and using scanners, CD-Recordables, and other devices
- Internet connectivity
- Finding, building, and installing software
- Kernel building and renovation
- Scripting and automation
- Network administration, electronic mail, and Web services
- Integrating Windows with Linux
- System logs and accounting
- Security and firewalls
- Performance monitoring and tuning
Using standard Linux tools (PostgreSQL, Apache, Perl, and more) this book will help you deploy a feature-rich corporate intranet featuring online discussion groups, bulletin boards, a company phone directory, and a document center. You will also learn everything you need to know to install a complete electronic mail and Internet gateway solution for your home or office on a single, shared connection. In addition, numerous anecdotes from the trenches, examples of techniques to try, and plenty of experience-based advice bring important concepts to life.
Written with good humor and enthusiasm for the profession of system administration, as well as a deep appreciation for the power and flexibility of Linux, Linux System Administration will teach you the tricks of the trade, guide your efforts, and serve as a definitive and comprehensive reference.
Table of Contents
Acknowledgments.
1. Introduction.
The System Administrator's Job.
About This Book.
The Command Line Rules!
GUIs Rule!
Flexibility.
Is There Anything You Can't Do with Linux?
Regrets, I've Had a Few....
Resources.
2. Linux versus Linux versus UNIX.
The Windows Question
A Question of Distribution.
So Which Linux Distribution Should You Choose?
SuSE.
Caldera.
Mandrake.
Slackware.
Debian.
Turbolinux.
Getting Linux.
Getting Others to Try Linux.
Sharing Space with Windows.
A Changing Landscape.
Resources.
3. Help (and the Truth) Is Out There.
Show Me the PATH, man!
Graphical Man Pages.
info (the Command, That Is).
HOWTOs and Distributed DOCs
The Linux Documentation Project
Linux User Groups.
Usenet News.
Resources.
4. Linux System Installation.
Hardware Considerations.
Passing Boot Options
Dual Booting.
The 12 (13, 14, 15...) Steps to Any Installation.
Step 2: Selecting the Installation Type.
Step 3: Selecting a Language (Parlez-vous Francais?).
Step 4: Choosing a Keyboard Type.
Step 5: Selecting Your Mouse.
Step 6: Selecting a Time Zone.
Step 7: Creating a Partition
Step 8: Formatting the Partitions.
Step 9: To LILO or Not to LILO.
Step 10: Choosing and Installing Software Packages.
Step 11: Configuring the Network.
Step 12: Identifying Yourself.
Step 13: The Dreaded X Window Configuration.
Step 14: The Boot Disk Question.
The (Emergency) Boot Disk.
Starting Linux.
Shutting Down Linux.
Resources.
5. Taking Command of Linux.
Working with Files.
Listing Files with Emotion!
File Permissions: A First Look
Making Your Life Easier with alias
Standard Input and Standard Output
tee: A Very Special Pipe.
STDERR
The Road to Nowhere
Linux Commands: Working with Directories.
There's No Place Like $HOME
More on File Permissions
Who Can Do What?
Who Was That Masked User?
The setuid Bit
File Attributes
Finding Anything
grep’ping for Dollars (or Anything Else for That Matter) and Piping.
Processes.
Interrupting, Suspending, and Restarting Processes.
Killing Processes.
“I Am vi, the Great and Powerful”
Recovering a VIM Session
Power vi: Start-up Options.
Pico: A kinder, gentler editor.
Emacs
Resources.
6. Daemons and Runlevels.
The rc.local File and Runlevels.
Switching between Runlevels
The chkconfig Command.
Runlevels the Graphical Way.
The (Not) Last Word.
Resources.
7. Users and Groups.
When Not to Use the root User.
Managing Users
Managing Groups
Modifying Groups.
Removing Groups.
Adding Users
Group Participation.
E-mail-Only Accounts
Yet More User-Creation Controls.
Modifying a User Account.
Deleting a User Account
Checking the Password File
User and Group Administration the GUI Way.
Choosing Good Passwords
How Crackers Crack Your Passwords.
What Next?
I Logged In from Where?
How Not to Be a “Sucker” .
Resources.
8. Disks and File Systems.
Understanding Your File Systems.
The File System Tree.
The /usr File System.
The /var File System
The /tmp File System
The /proc File System
The /lost+found File System.
Bad Superblock?
How Much Space Have I Got Again?
What's This about Inodes?
Mounting and Unmounting File Systems.
Creating File Systems.
Working with Quotas
Turning Quotas On and Off
Setting Limits.
Back to Grace
Letting the Users Know.
Resources.
9. X and the Graphical Desktop.
Graphical Login Managers
The World beneath the Surface.
The xinitrc File.
The .xserverrc File
The Xresources File
Look, Ma! I Can Run Multiple Desktops!
Backing Up and Restoring the Desktop
Running X Applications Remotely
Choosing a Window Manager
The Tab Window Manager (twm).
Window Maker.
KDE.
GNOME.
Qvwm.
Tweaking X and Dealing with Problems.
Tuning Video Modes with xvidtune.
The “Messed Up” X Session.
Screen Captures
Resources
10. Dialing Up to the Internet with PPP.
Where the Information Goes
The Graphical Alternative.
Automagic PPP Connections.
wvdial.
Resources.
11. Finding, Building, and Installing Software.
TUCOWS Linux.
SourceForge.
Rpmfind
Ibiblio.org.
Installing and Building Software.
Compiling from Source.
Step 2: Building Your Programs.
Downloading and Installing Perl Modules.
Package Managers.
Updating or Installing Packages on a Debian System.
Finding Out a Package's Current Release Level
What Is That Strange File?
Using apt-get to Install or Update Software.
Educating apt-get.
Graphical Alternatives.
Red Hat Package Manager.
Upgrading an RPM Package.
Uninstalling an RPM Package.
Everything You Ever Wanted to Know about an RPM Package, but Were Afraid to Ask.
RPM: The Graphical Alternatives.
installpkg: Slackware's Lonely Child.
Resources.
12. Kernel Building and Renovation.
When Should I Rebuild My Kernel?
Downloading and Building a New Kernel.
Automatic Build and Install
What about the 2.4 Kernel?
Resources.
13. Printers and Printing.
How Printing Works.
Filters.
HP JetDirect Adaptors.
Printer Job Control.
Printing Anything to Any Printer.
Tying It Up: Advanced Filters with Ghostscript.
Why PostScript?
A Few PostScript Tricks.
Alternative Print Systems.
PDQ.
CUPS.
Miscellaneous Tips and Tricks.
Resources.
14. Scripting and Scripting Languages.
It's Commands All the Way Down.
A First Look at Variables.
More on Variables
Special Characters.
Really Programming the Shell.
Specifying the Shell.
Perl.
Other Languages Worthy of Consideration.
Resources.
15. Simplified Administration through Automation.
cron: Punching Linux's Clock.
Editing the crontab.
Could I See an Example?
Running Jobs with at
A Question of Permissions.
Other Tools for Automation.
Automatic Downloads: ncftp.
Automatic Web Fetch: wget.
Scripting for Interactive Sessions: expect.
Automating Interactive Automation.
Resources.
16. Devices, Devices, and More Devices.
SCSI versus IDE
CD-ROMs and CD-RWs
Scanners
Front Ends.
XSane
Tape Drives.
Miscellaneous Devices.
Resources.
17. Backups and Restores.
Basic Tools in Every Linux System.
Using cpio.
Working with tar
Backing Up Windows Workstations.
Selecting a Backup Medium.
Restoring with (You Guessed It) restore.
Identity Backups.
Backing Up to a CD-RW
Backups the Graphical Way.
Kdat: Graphical and Free
Commercial Solutions.
Arkeia
Other Considerations.
Final Words
Resources.
18. Network Administration.
Services and Ports
IP Addresses, Networks, and Subnets, Oh My!
IP Addresses and Networks
Subnets, Netmasks, and Broadcast Addresses.
Intermezzo
Setting Up Your PC Network (Act 18, Scene 2).
Setting the IP Address.
Routing
Using netstat
Domain Name Services (Act 18, Scene 3).
Will the Real DNS Please Stand Up.
Setting Up Your Own Name Server.
The /etc/named.conf File.
Listing of /etc/named.conf.
Zones
Your Own Zone File
And Now the Reverse DNS Zone.
Does It Work?
What's All This about “Lame Servers” ?
Who Gets to See the Information?
DNS Wrap-up
File Sharing Under Linux (Act 18, Scene 4).
Network File System.
Making a Remote File System Available.
Mounting an NFS Partition
Specifying Mounts with /etc/fstab
Simplifying Network Mounts with Linux autofs.
Network Information Service (Act 18, Scene 5).
Configuring the NIS Client.
The /etc/nsswitch.conf File.
Miscellaneous Network Tricks: Time Synchronization.
NTP.
Wait! What about the GUIs?
Resources.
19. Tools, Tools, and More Tools.
Webmin
Graphical Administration Tools.
Tiny but Powerful Tools.
tomsrtbt.
Trinux.
The Tiny Conclusion.
There's No Control Like Remote Control.
Resources.
20. Proof of Concept, Part 1.
Building Your Own Corporate Portal.
Building Apache from Source.
Basic Apache Configuration.
The Basics of Web-Connected Databases.
An Introduction to PostgreSQL.
Perl DBI and DBD for Database Access.
The CGI Back End
The Face of the Intranet
Resources
21. Proof of Concept, Part 2.
What to Look for in an ISP.
Setting Up Your ISP Dial-up Connection with diald.
Automatic Remote Mail Pickup with fetchmail
IP Forwarding and Masquerading.
DNS Revisited.
Putting It All Together.
Basic Firewall Services.
Setting Up the Mail Server with Linux.
The Components
Setting Up the POP3 Server.
Setting Up sendmail.
Your DNS Setup.
Setting Up Users and Aliases.
Setting Up Your Client MUAs.
Not-So-Stupid sendmail Tricks
The Multidrop Domain.
Stop the Spam!
Resources.
22. Integrating Windows with Linux.
A Note on Passwords.
Configuring the Server.
The PC Side
Printing with Samba
Printing from the Windows Client.
The GUI Way to Administer Samba.
Backing Up Windows Workstations.
Running Windows on Linux.
VMware
Win4Lin.
Resources.
23. System Logs and Accounting.
Looking at Your Log Files.
What the Names Mean
Cleaning Up and What the Numbers Mean.
syslogd: The Master Logger.
Back to the logger Program.
Automating the Log-Checking Process.
Logcheck.
Web Site Log Analysis.
The Webalizer.
Resources.
24. Secure Computing.
Personal Encryption
An Introduction to the Secure Shell.
OpenSSH.
Secure Sockets Layer.
OpenSSH (Right Back Where You Started).
PGP and GnuPG.
Building Trust Relationships.
Building a Secure Web Server.
Building the SSL-Enabled Apache Server.
Resources.
25. Security: The Battle for Your System.
The Basics: Your TCP Wrappers.
What Your TCP Wrapper Is Telling You.
“Hey, My Logs Have Nothing in Them!”
Detecting the Cracker.
The Cracker's Not-So-Invisible Footsteps.
More Thoughts If You Have Been Cracked.
Port Scanners, Sniffers, and the Cracker's Tools.
Sniffers.
PortSentry: Active Intrusion Detection and Response.
ipchains and Firewalls.
Quick and Easy Firewall Solutions.
Locating the Cracker and Reporting Him or Her.
Keeping Up-to-Date.
Resources.
26. Performance Monitoring and Tuning.
Monitoring and Analyzing Performance.
The top Command
Graphical tops.
The free Command
Working with vmstat
Performance Enhancing Tweaks.
/proc Revisited.
File System Tweaks.
Improving Disk Drive Performance.
Do-It-Yourself Benchmarks.
Resources.
Appendix A: The All-Linux Office?
Appendix B: The GNU General Public
License.
商品描述(中文翻譯)
「Gagne在Linux社群中顯然是一位內部人,熟悉技術細節和文化,這使得這本書與其他同類書籍有所不同。」
- Joseph Sloan,Mirai Consulting首席系統管理員
這本全面而實用的Linux系統管理指南,將為您提供對Linux內部運作的深入理解,以及成為優秀的Linux系統管理員所需的實用技巧,無論您是在企業環境中從事系統管理職業,還是僅僅管理家用系統。
這本書既適合Linux新手,也適合已經熟練並希望提升技能的人士,從基礎知識開始,逐步深入更高級的內容。
您將找到對所有主要系統管理主題的全面涵蓋,包括:
- Linux與UNIX的比較
- 安裝技巧和訣竅
- 有效使用Linux命令行
- 組織和管理系統使用者
- 磁盤、文件系統、備份和還原
- X和圖形桌面的內部運作
- 配置和使用掃描儀、CD-Recordables和其他設備
- 網際網路連接
- 尋找、構建和安裝軟體
- 內核構建和更新
- 腳本和自動化
- 網路管理、電子郵件和網頁服務
- 將Windows與Linux整合
- 系統日誌和帳務
- 安全性和防火牆
- 效能監控和調優
使用標準的Linux工具(如PostgreSQL、Apache、Perl等),本書將幫助您部署功能豐富的企業內部網,包括在線討論組、公告板、公司電話目錄和文件中心。您還將學習到一切有關在單一共享連接上為家庭或辦公室安裝完整的電子郵件和網際網路閘道解決方案所需的知識。此外,書中還包含許多來自實戰的趣聞軼事、技巧示例和基於經驗的建議,使重要概念更加生動。
本書以幽默和對系統管理職業的熱情撰寫,同時對Linux的強大和靈活性深表讚賞,《Linux系統管理》將教授您行業內的技巧,引導您的努力,並作為一本權威而全面的參考書。
目錄:
致謝
1. 簡介
- 什麼是Linux?
- 為什麼選擇Linux?
- 系統管理員的工作
- 本書概述
- 命令行的規則!
- 圖形界面的規則!
- 靈活性
- Linux有什麼不能做的嗎?
- 我有一些遺憾...
- 資源
2. Linux vs Linux vs UNIX
- UNIX的問題
- Windows的問題
- 發行版的問題
- 那麼,您應該選擇哪個Linux發行版?
- Red Hat Linux
- SuSE
- Caldera
- Mandrake
- Slackware
- Debian
- Turbolinux
- 獲取Linux
- 讓其他人嘗試Linux
- 與Windows共享空間
- 那麼沒有磁盤空間怎麼辦?
- 不斷變化的局勢
- 資源
3. 幫助(和真相)在那裡
- 文件和手冊
- 如果您不知道命令名稱怎麼辦?
- 顯示PATH
- 圖形手冊
- info命令
- HOWTO和分佈式文檔
- Linux文檔項目
- Linux```