Linux
Beyond The Home
5
CHAPTER 1
Network Based Linux Installation
5
Setting Up The Installation Server …………………………………………………………….. 5
Creating Boot Diskettes ………………………………………………………………………… 9
The Network Installation ……………………………………………………………………… 10
Troubleshooting The Network Installation ………………………………………………….. 11
Automating Installation With Redhat Kickstart……………………………………………... 12
15
CHAPTER 2
Linux Software RAID
15
RAID Types …………………………………………………………………………………….. 15
Before You Start ……………………………………………………………………………….. 17
Configuring Software RAID …………………………………………………………………... 18
25
CHAPTER 3
Expanding Linux Partitions With LVM
25
LVM Terminologies ……………………………………………………………………………. 25
Configuring LVM Devices …………………………………………………………………….. 26
33CHAPTER 4
Managing Disk Usage With Quotas
33
Setting Up Quotas …………………………………………………………………………….. 33
Other Quota Topics …………………………………………………………………………… 35
i
CHAPTER 5
37
Remote Disk Access With NFS
37
Installing NFS ………………………………………………………………………………….. 37
How To Get NFS Started ……………………………………………………………………... 38
The /etc/exports File …………………………………………………………………………... 39Activating Modifications The Exports File …………………………………………………... 39
NFS And DNS …………………………………………………………………………………. 40
Configuring The NIS Client …………………………………………………………………… 40
Other NFS Considerations …………………………………………………………………… 41
43
CHAPTER 6
Centralized Logins With NIS
43
Scenario ………………………………………………………………………………………… 43
Configuring The NFS Server …………………………………………………………………. 44Configuring The NFS Client ………………………………………………………………….. 45
Configuring The NIS Server ………………………………………………………………….. 46
Adding New NIS Users ……………………………………………………………………….. 48
Configuring The NIS Client …………………………………………………………………… 49
53
CHAPTER 7
Controlling Web Usage With Squid
53
Download and Install The Squid Package ………………………………………………….. 54
The /etc/squid/squid.conf File………………………………………………………………... 54
Configuring Web Browsers To Use Your Squid Server …………………………………… 57
How To Get Squid Started ……………………………………………………………………. 57
Squid And Firewalls …………………………………………………………………………… 58
Squid Disk Usage ……………………………………………………………………………… 58
Troubleshooting Squid ………………………………………………………………………... 58
Other Squid Capabilities ……………………………………………………………………… 58
ii
CHAPTER 8
59
Modifying The Kernel To Improve Performance
59Download and Install The Kernel Sources Package ………………………………………. 60
Creating A Custom Kernel ……………………………………………………………………. 60
Updating GRUB ……………………………………………………………………………….. 65
Creating A Boot Diskette For The New Kernel …………………………………………….. 66
Updating The Kernel Using RPMs …………………………………………………………... 66
67
CHAPTER 9
Configuring Linux VPNs
67
VPN Guidelines………………………………………………………………………………... 67
Scenario ………………………………………………………………………………………… 68
Download And Install The FreeS/WAN Package …………………………………………... 69
FreeS/WAN Configuration Steps …………………………………………………………….. 71
Testing Your FreeS/WAN VPN ………………………………………………………………. 74
Possible Changes To IP Tables NAT/Masquerade Rules ………………………………… 76
How To Ensure FreeS/WAN Starts When Rebooting ……………………………………... 77
Using Pre-Shared Keys (PSK) ……………………………………………………………….. 77
© Linux HomeNetworking & Silicon Valley CCIE Help Guides - © Peter Harrison 2002-2003. All
rights reserved.
iii
iv
Chapter 1
Network Based Linux Installation
===========================================
In This Chapter
Chapter 1
Network Based Linux Installation
Setting Up The Installation Server
Creating Boot Diskettes
The Network Installation
Troubleshooting The Network InstallationAutomating Installation With Redhat Kickstart
© Peter Harrison, www.linuxhomenetworking.com
===========================================
RedHat Linux allows you to do operating system installations via a network connection.
The procedure is fairly simple:
• Connect the new server...
Regístrate para leer el documento completo.