Installation of the server with Linux** (RedHat** 7.1)
==> Concerning
performance it would be advisible to use RedHat**-Linux** 9 as
operating-system for the server.
The disadvantage of version 9 is,
that administration-functions need a GUI (graphical user interface).
As for space reasons only a 12-inch-monitor with a resolution of
640 x 480 pixels can be placed aside the server, version 7.1 ist
used, because it still offers the text-based linuxconf-application.
For the document describing the Installation of a Server with RedHat**-Linux** 9 please follow this link.
This computer
is the central 'working-horse' of the enterprise.
It is
file-server and hosts the server-part of client/server-applications
(e.g. supply-chain-management).
All following instruction are for installing RedHat**-Linux** version 7.1.
During the
boot process from diskette or CD-ROM a 'Welcome' screen is displayed
where different options can be chosen.
At that time key in lowres
and press the Enter-Key.
This will disable the recognition
of the Video-Graphics-Adaptor (VGA) and perform the installation in
Standard-VGA-Mode which is supported by all VGA.
Please select the appropriate values according to your configuration.
This computer
is powerful - particularly the RAM (random-access-memory) and the
hard-disk-system are fast and of best quality.
To utilise all
capabilities an avoid to waste capacity with not used functions
Linux** will be installed as Custom
System.
Select Manually partition with Disk Druid
/boot |
48 MByte |
swap |
1000 MByte |
/ |
Rest of the disk |
Other
directories as requiered; |
Size as requiered |
Choose Partitions to Format:
Choose partitions to format: All (check)
Check for bad blocks while formatting: Yes (check)
Lilo Configuration:
Create boot disk: No (don't check)
Do not change all other values.
Network Configuration:
This
option is not shown if the NIC (network interface card) is not
detected during the installation-process.
In that case the
instruction for 'Configure the Network Interface Card' apply after
finishing the stardard-installation.
Configure using DHCP: No (don't check)
Activate on boot: Yes (check)
IP Adress: 192.168.0.1
Netmask: 255.255.255.0
Netzwork: 192.168.0.0
Broadcast: 192.168.0.255
Hostname: SERVER
Gateway: 192.168.0.253
Primary DNS, Secondary
DNS and Tenary DNS:
The TCP/IP-Addresses of the
Domain-Name-Servers (DNS) are provided by the used
Internet-Service-Provider (ISP) .
Here is a list of some Austrian
ISP:
A-ON: 195.3.96.67, 195.3.96.68
UTA: 195.70.224.61,
195.70.224.62
No firewall (check)
Do not change all other values.
N.B.: The protection of the internal network is done with the firewall installed at the Installation of the Router with Linux** for the connection to an Internet-Service-Provider.
English(USA) (check)
N.B.: If necessary more than one language can be chosen.
System clock uses UTC: Yes (check)
Europe/Vienna (check) - or whereever the server is located ;-)
Choose a Root Password (for Administrator-functions) but do not define other Account Names now.
N.B.: Passwords are case
sensitive; so check if 'caps-lock' is enabled when you enter the
Root Password.
My recomendation is, to use only lower case
character for passwords.
Do not change the values.
Printer Support
Mail/WWW/News Tools
X Window System
GNOME
DOS/Windows Connectivity
Networked Workstation
Dialup Workstation
NFS-Server
SMB (Samba) Server
Web Server
DNS Nameserver
Network Management Workstation
Authoring/Publishing
Depending on utilities to
be installed several packages must be selected individually.
After
checking 'Select individual packages' and clicking on the 'Next'
button, groups of packages will be displayed.
According to the
intended services and application-programs the following packages
must be selected (checked):
Install always |
Applications - System - gnome-linuxconf |
Applications - System - samba-swat |
|
Development
- Languages compat-egcs-c++ |
It might happen, that further packages have to be installed to fulfill dependencies. Please confirm the suggestions of the installer.
Do not change the suggested graphic-adaptor.
Select the color-depth
and the pixel-resolution according to the attached monitor.
The
button 'Test Setting' allows you to check if the chosen values fit
the attached monitor.
Please choose your login type: Text (check)
Under certain
circumstances the TCP-/IP-address defined during
standard-installation is not put to the configuration-file
/etc/hosts.
If you do not find a line starting with the chosen TCP/IP-address
(192.168.0.1 in this example), please insert the missing line.
Here
is an example how the configuration-file /etc/hosts
should look like :
# Do not remove the
following line, or various programs
# that requiere network
functionality will fail
127.0.0.1 localhost
192.168.0.1
server.g2t.office.at SERVER
Configure the Network-Interface-Card:
Newer
network-interface-cards (NIC) are detected during the
standard-installation.
The following instruction have to be done
only, if the NIC was not detected during standard-installation.
alias
eth0 ne
options ne io=0x300
If other lines are already
existing in this file they must not be deletet.
A more detailed
description is given in the Linux Ethernet-Howto.
If the TCP/IP-Addresses
were not already defined at the installation the can now be defined
or altered with linuxconf
.
After starting linuxconf please
choose Config - Networking –
Client tasks – Host name and IP network devices and
enter the following values:
--- Adaptor 1 ---
Enabled: (check with Spacebar)
Config mode: Manual: (check with Spacebar)
Primary name + domain: g2t-server.g2t.office.at
Aliases (opt):
IP address: 192.168.0.1
Netmask (opt.): 255.255.255.0
Net device: eth0
Kernel module:
I/O/port (opt):
Irq (opt):
The TCP/IP-addresses of
the Domain-Name-Servers (DNS, to resolve Internet-domain-names to
IP-adresses) are configured with linuxconf,
too.
Please select Config
- Networking – Client tasks – Name
server specification (DNS) and
input the following values:
DNS is requiered for normal operations: (check with Spacebar)
default domain: g2t-erver.g2t.office.at
IP of name server 1: 195.3.96.67
IP of name server 2 (opt): 195.3.96.68
IP of name server 3 (opt):
search domain 1 (opt):
search domain 2 (opt):
search domain 3 (opt):
search domain 4 (opt):
search domain 5 (opt):
search domain 6 (opt):
The IP-adresses for the name servers are provides by the internet-service-provider; the samples above are the ones for A-Online.
If the drivers for the
network-interface-card are loaded correctly is shown during
startup in step
'Bringing up interface eth0';
it should show
the result [OK].
or
can be checked
after a restart of Linux** with the following command:
modprobe eth0
dmesg |
tail
That shows the last lines
of the log.
Unfortunelately the messages are specific for each
driver; but if the hardware-id of the NIC (e.g. 0060 97 72 b0 93) is
shown – that is a good sign..
If the parameters for the TCP/IP-addresses are korrect can be checked with the following commands.
ping 192.168.0.1 (if this is not the IP-address of the server to be set up replace it with the one defined two steps before)
shows the result:
PING 192.168.0.1
(192.168.0.1) from 192.168.0.1 : 56(84) bytes of data
64 bytes
from 192.168.0.1: icmp_seq=0 ttl=255 time=2.0 ms
64 bytes from
192.168.0.1: icmp_seq=1 ttl=255 time=1.3 ms
64 bytes from
192.168.0.1: icmp_seq=2 ttl=255 time=1.1 ms
64 bytes from
192.168.0.1: icmp_seq=3 ttl=255 time=0.9 ms
'Pinging' can be
interupted with the key-combination CTRL-C and a statistic is
displayed thereafter.
An example of the display-output follows:
--- 192.168.0.1 ping
statistics ---
4 packets transmitted, 4 packets received, 0%
packet loss
round-trip min/avg/max = 0.9/1.2/2.0 ms
If
the computer is already connected to the internal network, then
the connection can be tested by 'pinging' an already existing
computer within the internal network which TCP/IP-address is known.
ping 192.168.0.2 (where the 'pinged' PC must be active and have TCP/IP services installed)
shows the result:
PING 192.168.0.2
(192.168.0.2) from 192.168.0.1 : 56(84) bytes of data
64 bytes
from 192.168.0.2: icmp_seq=0 ttl=255 time=3.2 ms
64 bytes from
192.168.0.2: icmp_seq=1 ttl=255 time=1.4 ms
64 bytes from
192.168.0.2: icmp_seq=2 ttl=255 time=1.3 ms
64 bytes from
192.168.0.2: icmp_seq=3 ttl=255 time=1.3 ms
64 bytes from
192.168.0.2: icmp_seq=4 ttl=255 time=1.3 ms
'Pinging' can be
interupted with the key-combination CTRL-C and a statistic is
displayed thereafter.
An example of the display-output follows:
--- 192.168.0.2 ping
statistics ---
5 packets transmitted, 5 packets received, 0%
packet loss
round-trip min/avg/max = 1.3/1.7/3.2 ms
Further
Tasks:
This document described
how to set up the operating system RedHat**-Linux** version
7.1.
Installation instructions for further task to be completed on
the way to a fully operational server are described in separate
documents: