IBM 88743RU User Guide - Page 81

Configuring, Linux

Page 81 highlights

j. Make sure that Yes, exit the Setup Utility is selected; then, press Enter. Configuring Linux For SOL operation on the server, you must configure the Linux operating system to expose the Linux initialization (booting) process. This enables users to log in to the Linux console through an SOL session and directs Linux output to the serial console. See the documentation for your specific Linux operating-system type for information and instructions. Use one of the following procedures to enable SOL sessions for your Linux operating system. You must be logged in as a root user to perform these procedures. Configuring Red Hat Enterprise Linux ES 2.1: Note: This procedure is based on a default installation of Red Hat Enterprise Linux ES 2.1. The file names, structures, and commands might be different for other versions of Red Hat Linux. To configure the general Linux parameters for SOL operation when using the Red Hat Enterprise Linux ES 2.1 operating system, complete the following steps. Note: Hardware flow control prevents character loss during communication over a serial connection. You must enable it when using a Linux operating system. 1. Add the following line to the end of the # Run gettys in standard runlevels section of the /etc/inittab file. This enables hardware flow control and enables users to log in through the SOL console. 7:2345:respawn:/sbin/agetty -h ttyS1 19200 vt102 2. Add the following line at the bottom of the /etc/securetty file to enable a user to log in as the root user through the SOL console: ttyS1 LILO configuration: If you are using LILO, complete the following steps: 1. Modify the /etc/lilo.conf file: a. Add the following text to the end of the first default=linux line: -Monitor b. Comment out the map=/boot/map line by adding a # at the beginning of the line. c. Comment out the message=/boot/message line by adding a # at the beginning of the line. d. Add the following line before the first image= line: # This will allow you to only Monitor the OS boot via SOL e. Add the following text to the end of the first label=linux line: -Monitor f. Add the following line to the first image= section. This enables SOL. append="console=ttyS1,19200n8 console=tty1" g. Add the following lines between the two image= sections: # This will allow you to Interact with the OS boot via SOL image=/boot/vmlinuz-2.4.9-e.12smp label=linux-Interact initrd=/boot/initrd-2.4.9-e.12smp.img read-only Chapter 3. Configuring the server 69

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110

j.
Make
sure
that
Yes,
exit
the
Setup
Utility
is
selected;
then,
press
Enter.
Configuring
Linux
For
SOL
operation
on
the
server,
you
must
configure
the
Linux
operating
system
to
expose
the
Linux
initialization
(booting)
process.
This
enables
users
to
log
in
to
the
Linux
console
through
an
SOL
session
and
directs
Linux
output
to
the
serial
console.
See
the
documentation
for
your
specific
Linux
operating-system
type
for
information
and
instructions.
Use
one
of
the
following
procedures
to
enable
SOL
sessions
for
your
Linux
operating
system.
You
must
be
logged
in
as
a
root
user
to
perform
these
procedures.
Configuring
Red
Hat
Enterprise
Linux
ES
2.1:
Note:
This
procedure
is
based
on
a
default
installation
of
Red
Hat
Enterprise
Linux
ES
2.1.
The
file
names,
structures,
and
commands
might
be
different
for
other
versions
of
Red
Hat
Linux.
To
configure
the
general
Linux
parameters
for
SOL
operation
when
using
the
Red
Hat
Enterprise
Linux
ES
2.1
operating
system,
complete
the
following
steps.
Note:
Hardware
flow
control
prevents
character
loss
during
communication
over
a
serial
connection.
You
must
enable
it
when
using
a
Linux
operating
system.
1.
Add
the
following
line
to
the
end
of
the
#
Run
gettys
in
standard
runlevels
section
of
the
/etc/inittab
file.
This
enables
hardware
flow
control
and
enables
users
to
log
in
through
the
SOL
console.
7:2345:respawn:/sbin/agetty
-h
ttyS1
19200
vt102
2.
Add
the
following
line
at
the
bottom
of
the
/etc/securetty
file
to
enable
a
user
to
log
in
as
the
root
user
through
the
SOL
console:
ttyS1
LILO
configuration:
If
you
are
using
LILO,
complete
the
following
steps:
1.
Modify
the
/etc/lilo.conf
file:
a.
Add
the
following
text
to
the
end
of
the
first
default=linux
line:
-Monitor
b.
Comment
out
the
map=/boot/map
line
by
adding
a
#
at
the
beginning
of
the
line.
c.
Comment
out
the
message=/boot/message
line
by
adding
a
#
at
the
beginning
of
the
line.
d.
Add
the
following
line
before
the
first
image=
line:
#
This
will
allow
you
to
only
Monitor
the
OS
boot
via
SOL
e.
Add
the
following
text
to
the
end
of
the
first
label=linux
line:
-Monitor
f.
Add
the
following
line
to
the
first
image=
section.
This
enables
SOL.
append="console=ttyS1,19200n8
console=tty1"
g.
Add
the
following
lines
between
the
two
image=
sections:
#
This
will
allow
you
to
Interact
with
the
OS
boot
via
SOL
image=/boot/vmlinuz-2.4.9-e.12smp
label=linux-Interact
initrd=/boot/initrd-2.4.9-e.12smp.img
read-only
Chapter
3.
Configuring
the
server
69