|
||||||||||||||||
| Website Setup, Debian Linux Operating System... | ||||||||||||||||
| Follow the instructions below to install the Debian Linux operating system. At the time that I installed my servers, I used Debian Etch version 4.0.1. Other servers may be available, and although I encourage using the latest version, the installation may differ. Below the installation instructions are configuration files that will need to be modified. It should be noted that these instructions assume that the computer is connected to a network where a DHCP server is available. | ||||||||||||||||
|
||||||||||||||||
| Filename: /etc/hostname | ||||||||||||||||
| This file contains the name of the server and must be unique within your network. The example below is for the fc1 server. | ||||||||||||||||
| fc1 | ||||||||||||||||
| Filename: /etc/hosts | ||||||||||||||||
| This file contains the name and IP address of the server. The example below is for the fc1 server. | ||||||||||||||||
|
127.0.0.1 localhost.localdomain localhost 192.168.254.101 fc1.caauwe.com fc1 # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts |
||||||||||||||||
| Filename: /etc/resolv.conf | ||||||||||||||||
| This file contains IP address of the servers that will be used for DNS.
Note that the last nameserver in each list below is the IP address of the DSL or Cable Modem. For server fc1: |
||||||||||||||||
|
domain caauwe.com nameserver 127.0.0.1 nameserver 192.168.254.102 nameserver 192.168.254.1 |
||||||||||||||||
| For server fc2: | ||||||||||||||||
|
domain caauwe.com nameserver 127.0.0.1 nameserver 192.168.254.101 nameserver 192.168.254.1 |
||||||||||||||||
| For all other servers: | ||||||||||||||||
|
domain caauwe.com nameserver 192.168.254.102 nameserver 192.168.254.101 nameserver 192.168.254.1 |
||||||||||||||||
| Filename: /etc/network/interfaces | ||||||||||||||||
| This file contains the IP address and network information of the server Initially, it is setup to use a dynamic IP address via DHCP, but this should be changed to a static address. The example below is for the fc1 server. | ||||||||||||||||
|
# The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 iface eth0 inet static address 192.168.254.101 netmask 255.255.255.0 network 192.168.254.0 broadcast 192.168.254.255 gateway 192.168.254.1 |
||||||||||||||||