HOWTO - Configure Harold

Jonathan Marks


     jm (at) cmex (dot) org
    

Revision History
Revision 0.0124-Aug-2001Revised by: jm
Initial Entry:

$id:$

This document covers the installation and configuration of software on "harold". "harold" is a general virtual server, serving up http, ftp, smtp, pop3, dns, mgetty, faxing, printing, cvs, nfs, samba, pptp vpn, and many other services. It is intended to be used behind a firewall in a Demilitarized Zone (DMZ). This type of configuration is typical for a small low volume site. Its prime purpose is to document the configuration of one of my servers. I share this in the hope that it may help others.


Table of Contents
1. Introduction and Administrivia
1.1. Introduction
1.2. Document Conventions
1.3. Document Blah
References
2. Harold's Hardware
2.1. Motherboard
2.2. CPU
2.3. Video Controller
2.4. Ethernet Network Controller
2.5. Serial Ports
2.6. Parallel Port
2.7. IDE, Hardrives, CDROM's and Controllers
2.8. Floppy Drive
References
3. Installing Linux
References
4. Initial Configuring and Securing
4.1. Configuring and Securing Bootup
4.1.1. init and /etc/inittab
4.1.2. /etc/rc.d/rc.sysinit
4.1.3. /etc/rc.d/rc.local
4.2. Enabling Remote Services
4.2.1. Enabling Telnet
4.2.2. Enabling FTP
4.2.3. TCP Wrappers Settings
4.2.4. Making It Work
4.3. Console Fonts
4.4. Bash Configuration
References
5. Upgrading the Kernel
5.1. Introduction
5.2. Installing the Latest Kernel Source and Patches
5.2.1. Getting and Installing the Latest Kernel
5.2.2. Getting and Making the Patches
5.3. Configuring the Kernel for Build
5.3.1. Upgrading a Earlier Kernel Version Custom Build
5.3.2. Configuring the Kernel
5.3.2.1. Code Maturity Level
5.3.2.2. Loadable Module Support
5.3.2.3. Processor type and features
5.3.2.4. General Setup
5.3.2.5. Binary emulation of other systems
5.3.2.6. Memory Technology Devices (MTD)
5.3.2.7. Parallel Port Support
5.3.2.8. Plug and Play Configuration
5.3.2.9. Block Devices
5.3.2.10. Multi-device Support
5.3.2.11. Networking Options
5.3.2.12. Telephony Support
5.3.2.13. ATA/IDE/MFM/RLL Support
5.3.2.14. SCSI Support
5.3.2.15. FireWire Support
5.3.2.16. I2O Support
5.3.2.17. Network Device Support
5.3.2.18. Amateur Radio Support
5.3.2.19. IrDA Support
5.3.2.20. ISDN Subsystem
5.3.2.21. Old CDROM Drivers
5.3.2.22. Input Core Support
5.3.2.23. Character Devices
5.3.2.24. Multimedia Devices
5.3.2.25. Crypto Hardware Support
5.3.2.26. File Systems
5.3.2.27. Console Drivers
5.3.2.28. Sound Support
5.3.2.29. USB support
5.3.2.30. Bluetooth support
5.3.2.31. Kernel Hacking
5.4. Building the Kernel
5.5. Installing the Kernel
5.5.1. First Time Kernel Install
5.5.2. Following Kernel Installs
References
6. Network Configuration
6.1. What do we want to achieve?
6.2. IP Configuration
6.3. IP Aliasing
6.4. Checking the IP Configuration
6.5. Resolver Configuration
6.6. Network Services Switch
6.7. Checking Network Resolution
References
7. Name Serving (DNS)
7.1. DNS Configuration
7.2. DNS Maintenance
7.3. Verifying DNS Operation
8. File System Mounts NFS and Automount Configuration
8.1. File System Mounts
8.2. NFS Setup
8.2.1. NFS Daemons
8.2.2. NFS Exports
8.3. Automounter
9. Printer Configuration
9.1. Setting up a local printer
9.2. Printing to a remote printer under Linux
10. Samba Configuration
10.1. Setting up Samba
10.2. Samba Passwords for Windows Logins
10.3. Samba Printer Sharing
11. Tips and Tricks
11.1. Running X apps on remote hosts
A. Harold's Configuration Files
A.1. /etc/auto.master
A.2. /etc/auto.mnt
A.3. /etc/bashrc
A.4. /etc/exports
A.5. /etc/ftpaccess
A.6. /etc/fstab
A.7. /etc/host.conf
A.8. /etc/hosts
A.9. /etc/hosts.allow
A.10. /etc/hosts.deny
A.11. /etc/inittab
A.12. /etc/lilo.conf
A.13. /etc/named.conf
A.14. /etc/nsswitch.conf
A.15. /etc/printcap
A.16. /etc/profile
A.17. /etc/rc.d/rc.local
A.18. /etc/resolv.conf
A.19. /etc/samba/smb.conf
A.20. /etc/securetty
A.21. /etc/skel/.bashrc
A.22. /etc/skel/.bash_profile
A.23. /etc/sysconfig/i18n
A.24. /etc/sysconfig/network
A.25. /etc/sysconfig/network-scripts/ifcfg-eth0
A.26. /etc/sysconfig/network-scripts/ifcfg-eth0-rng0
A.27. /etc/sysconfig/network-scripts/ifup-ipalias
A.28. /etc/xinetd.d/telnet
A.29. /etc/xinetd.d/wu-ftp
A.30. /usr/src/linux-2.4/.config
A.31. /var/named/db.127.0.0
A.32. /var/named/db.root
A.33. /var/named/ext-pri/db.209.53.193
A.34. /var/named/ext-pri/db.64.114.81
A.35. /var/named/ext-pri-db.cara-marks.com
A.36. /var/named/ext-pri/db.cmex.org
A.37. /var/named/ext-pri/db.e-voice-mail.com
A.38. /var/named/ext-pri-db.jonathan-marks.com
A.39. /var/named/ext-pri/db.jmarks-asc.com
A.40. /var/named/ext-pri/networksrus.com
A.41. /var/named/ext-pri/db.networks-r-us.com
A.42. /var/named/ext-pri/db.novatek.co.nz
A.43. /var/named/ext-pri/db.software-foundry.com
A.44. /var/named/ext-pri/db.sorcerers-foundry.com
A.45. /var/named/ext-pri/db.steven-marks.com
A.46. /var/named/ext-pri/db.vanessa-marks.com
A.47. /var/named/int-pri/db.192.168.0
A.48. /var/named/int-pri-db.cara-marks.com
A.49. /var/named/int-pri/db.cmex.org
A.50. /var/named/int-pri/db.e-voice-mail.com
A.51. /var/named/int-pri/db.jonathan-marks.com
A.52. /var/named/int-pri/db.jmarks-asc.com
A.53. /var/named/int-pri/networksrus.com
A.54. /var/named/int-pri/db.networks-r-us.com
A.55. /var/named/int-pri/db.novatek.co.nz
A.56. /var/named/int-pri/db.software-foundry.com
A.57. /var/named/int-pri/db.sorcerers-foundry.com
A.58. /var/named/int-pri/db.steven-marks.com
A.59. /var/named/int-pri/db.vanessa-marks.com
A.60. /var/named/update-db.root
List of Figures
9-1. Printtool's main Screen
9-2. Printtool's New Printer Screen
9-3. Printtool's First Configure Screen
9-4. Printtool's Second Configure Screen
9-5. Printtool's Final Configure Screen
9-6. Printtool's Remote Unix LPD Configure Screen
9-7. Printtool's Remote Server LPD Configure Screen