Professional Documents
Culture Documents
cover
Linux System
Administration I:
Implementation
(Course Code QLX03)
Trademarks
IBM® is a registered trademark of International Business Machines Corporation.
The following are trademarks of International Business Machines Corporation in the United
States, or other countries, or both:
AIX® DB2® Domino™
Hummingbird® Lotus® OS/2®
PS/2® XT™
Windows and Windows NT are trademarks of Microsoft Corporation in the United States,
other countries, or both.
Intel and Pentium are trademarks of Intel Corporation in the United States, other countries,
or both.
UNIX is a registered trademark of The Open Group in the United States and other
countries.
Linux is a registered trademark of Linus Torvalds in the United States and other countries.
Other company, product and service names may be trademarks or service marks of others.
The information contained in this document has not been submitted to any formal IBM test and is distributed on an “as is” basis without
any warranty either express or implied. The use of this information or the implementation of any of these techniques is a customer
responsibility and depends on the customer’s ability to evaluate and integrate them into the customer’s operational environment. While
each item may have been reviewed by IBM for accuracy in a specific situation, there is no guarantee that the same or similar results will
result elsewhere. Customers attempting to adapt these techniques to their own environments do so at their own risk.
© Copyright International Business Machines Corporation 2001, 2004. All rights reserved.
This document may not be reproduced in whole or in part without the prior written permission of IBM.
Note to U.S. Government Users — Documentation related to restricted rights — Use, duplication or disclosure is subject to restrictions
set forth in GSA ADP Schedule Contract with IBM Corp.
V2.0
Lab Set Up Guide
TOC Contents
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
Purpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
PC Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Network Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Well-known Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Set Up Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Installing the Instructor System with Fedora Core 2 . . . . . . . . . . . . . . . . . . . . . . 3
Installing the Instructor System with Red Hat Enterprise Linux 3 ES . . . . . . . . . . 5
Installing the Instructor System with SuSE Professional 9.0 . . . . . . . . . . . . . . . . 8
Uploading and Exporting Fedora Core 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Uploading and Exporting Red Hat Enterprise Linux 3 ES . . . . . . . . . . . . . . . . . 10
Uploading and Exporting SuSE Professional 9.0 . . . . . . . . . . . . . . . . . . . . . . . . 10
TMK Trademarks
The reader should recognize that the following terms, which appear in the content of this
training document, are official trademarks of IBM or other companies:
IBM® is a registered trademark of International Business Machines Corporation.
The following are trademarks of International Business Machines Corporation in the United
States, or other countries, or both:
AIX® DB2® Domino™
Hummingbird® Lotus® OS/2®
PS/2® XT™
Windows and Windows NT are trademarks of Microsoft Corporation in the United States,
other countries, or both.
Intel and Pentium are trademarks of Intel Corporation in the United States, other countries,
or both.
UNIX is a registered trademark of The Open Group in the United States and other
countries.
Linux is a registered trademark of Linus Torvalds in the United States and other countries.
Other company, product and service names may be trademarks or service marks of others.
LSGp Purpose
This Lab Set Up Guide provides directions for installing, preparing, and verifying the lab
hardware and software in preparation for conducting a class of course LX03.
The Requirements sections of this document may also be used to determine the specific
hardware and software needed to conduct a class.
Uempty Requirements
Hardware Requirements
PC Requirements
Each pair of students, preferably each individual student, requires one Linux-compatible
PC. In addition to that, the instructor requires a similar PC, positioned so all the students
can view the display, preferably through a projector or an LCD panel on an overhead
projector.
Each PC requires at least the following:
• A Pentium-500 processor or compatible
• 256 MB of memory
• A hard disk of at least 8 GB
• A CD-ROM player
• A Fast ethernet adapter card, connected to the classroom network.
All the hardware should be compatible with Linux. To find out if your hardware is compatible
with Linux, visit http://www.redhat.com or http://www.suse.com.
Network Requirements
All computers in the classroom should be connected to each other using a Fast ethernet
LAN (100 Mbps). This LAN may or may not be connected to the outside world.
Regardless of whether the LAN is connected to the outside world, DHCP and DNS need to
be set up for the classroom. If DHCP or DNS is not configured, contact the instructor before
the class starts so that he or she can make provisions for this. Configuring DHCP and DNS
for a network is outside the scope of this Lab Setup Guide.
Well-known Problems
The following problems occur often, especially in IBM classrooms:
• Laptops: The course material does not allow for the use of PCMCIA network adapters,
which is the common adapter type on laptops. Therefore, it is not recommended to run
this class on laptops. If the class needs to run on laptops, contact the instructor
beforehand so that he/she is able to anticipate any problems.
• Token Ring: Token-Ring is not as well supported as Ethernet in Linux. If at all possible,
run this class under Ethernet. If that is not possible, then contact the instructor
beforehand so that he/she is able to anticipate any problems.
Software Requirements
This course is compatible with Fedora Core 2, Red Hat Enterprise Linux 3 Entry Server
and SuSE Linux Professional 9. It is up to the country curriculum manager to decide
whether the class runs on Fedora, Red Hat or SuSE, or that students get the choice at the
start of the class.
The student systems should not be installed with Linux, since the students will do this as
part of the lab exercises.
If the class is to run on Fedora Core 2, then every student should be provided with one
Fedora Core 2 boot.iso CD. The ISO image for this CD can be found on the Fedora Core
2 CD 1, in the directory images/.
If the class is to run on Red Hat Enterprise Linux 3 Entry Server, then every student
should be provided with one Red Hat Enterprise Linux 3 Entry Server boot.iso CD. The
ISO image for this CD can be found on the Red Hat Enterprise Linux 3 CD 1, in the
directory images/.
If the class is to run on SuSE Professional 9.0, then every students should be provided
with one SuSE Professional 9.0 CD 1. The other four CDs are not required.
In addition to the media listed above, each student also needs a blank, unformatted
floppy disk for the backup exercises.
The instructor system should be installed with one of the distributions above, and
configured as a network install server. For this you are going to need one or more of the
following:
• A complete set of Fedora Core 2 CDs, or the Fedora Core 2 DVD
• A complete set of Red Hat Enterprise Linux 3 Entry Server CDs
• A complete set of SuSE 9.0 Professional CDs
Note that it doesn’t matter whether this server is based on Fedora, Red Hat or SuSE, as
long as the server exports the correct CDs. So a Red Hat server can be used to support a
Fedora or SuSE class, and vice versa. However, since the instructor server is likely to be
used as a demonstration server as well, it is best to install this machine with the distribution
that is going to be used by most students in class.
See the set up instructions in this document for instructions on how to set up the instructor
server.
Notice
The instructor server has an identical setup to the kickstart server which can be used to
automatically setup the student systems for other Linux courses, such as LX07, LX25 and
LX26. Therefore, if such a kickstart server already exists, then this one can be used instead
of the instructor system.
Student Systems
No lab setup is needed on the student systems. You might want to wipe the hard disk so no
traces of previous classes remain on the system.
Instructor System
The following steps are required for the instructor system:
1. Install the distribution of choice (Fedora Core 2, Red Hat Enterprise Linux 3 ES or SuSE
Professional 9.0). You only need to install ONE distribution!
2. Upload the images for ALL distributions used in class, and make sure these are
available to student systems.
See below for the exact steps.
__ 5. Red Hat Enterprise Linux will boot and start up the graphical install method. This
might take several minutes.
__ 6. At the “Welcome to Red Hat Enterprise Linux” screen, click Next.
__ 7. Choose the language for the installation process and click Next.
__ 8. Choose your keyboard model and layout, and click Next.
__ 9. Choose your mouse type and port. If you have a two-button mouse, select “Emulate
3 Buttons” as well. Click Next.
__ 10. Select “Manually Partition with Disk Druid”. Click Next.
__ 11. The Disk Druid screen will now allow you to create your Linux partitions. Remove all
currently existing partitions and create three new partitions:
• One partition will be used as /boot partition. It's mount point should be “/boot”,
the partition type should be “ext3”and the size of this partition should be 100
Megabytes.
• The second partition will be used as root partition. It's mount point should be
“/”, the partition type should be “ext3”and the size of this partition should at
least be 3500 Megabytes. It is best to fill this partition to maximum allowable
size.
• The third partition will be used as swap space. A swap space does not have a
mount point (it will show as “<Swap Partition>”. The size should be equal to
the amount of memory you have, with a maximum of 256 Megabytes and the
partition type should be “swap”.
Click Next. If a warning appears about swap being too low or /boot being too small,
ignore this.
__ 12. The next screen will allow you to set up your boot loader. Use the default which is
GRUB, the Grand Unified Bootloader. Accept all other defaults here as well. Click
Next.
__ 13. Configure the network adapter with the correct IP address, netmask and so forth, or
choose DHCP.
__ 14. Choose “No Firewall”, then click Next.
__ 15. Use “English (USA)” as default language. Click Next.
__ 16. Now select your Time Zone, then click Next.
__ 17. In the next screen set the root password to ibmlnx. Click Next.
__ 18. Select “Customize the set of packages to be installed”. Click Next.
__ 19. Now you will have to choose which packages to install. For the instructor system you
will need the following:
• X Window System
Uempty that the installation process continues automatically after the reboot even though the
system boots from CD. You don’t have to touch the keyboard at all!
__ 10. Feed additional CDs when the install process asks for them.
__ 11. Set the root password to ibmlnx. Click Next.
__ 12. Check and adjust the network configuration, if necessary. Then click Next.
__ 13. Do not validate Internet access, so select “No, skip this test”. Click Next.
__ 14. Select “Stand-Alone Machine” and click Next.
__ 15. Add a user account “instructor”, using the password “ibmlnx”. Click Next.
__ 16. Read the release notes and click Next.
__ 17. Check and adjust the hardware configuration, if necessary. Then click Next.
__ 18. Click Finish. You are now finished with the installation.
backpg
Back page
®