You are on page 1of 6

Setup Instructions

Setup Instructions

The exercises in the workbook are based on running a SUSE Linux Enterprise Server
11 (SLES11) on the actual hardware (da-host) and one SUSE Linux Enterprise Server
11 running in a VMware virtual machine (da1) that is installed in Section 2 and used
in later exercises requiring two machines.

Review the da-host Computer Setup Requirements


The following are the da-host computer setup hardware and software requirements:

Table Intro-1 DA-HOST Computer Setup Requirements

Setup Minimum Requirements

Hardware You need a host computer that meets the following requirements:

 Pentium 4 (or comparable) - 2 Ghz CPU (or faster)


 Monitor and Graphics Card capable of displaying 1280x1024 (or
higher) resolution
 2 GB (or more) RAM
 60 GB (or more) hard disk drive
 CD/DVD drive

Make sure that the host computer is actually utilizing the full 4 GB of
RAM. If not, exercises can run extremely slow or even stall a process.

Set Up Your da-host Server


da-host is the machine where you work most of the time during the exercises. This
machine will host the da1 VMware virtual machine.
To run the virtual machine, you need to download the VMware player software from
http://www.vmware.com/.
To install da-host, you can use one of the following methods:
 “Install da-host Manually” on page 2
 “Install da-host by Using AutoYaST” on page 5

Version 1 Copying all or part of this manual, or distributing such copies, is strictly prohibited. 1
To report suspected copying, please call 1-800-PIRATES.

Copyright 2010, Novell, Inc. ONLINE VIEWING ONLY. NO COPYING, PRINTING, OR DISTRIBUTION ALLOWED.
Novell’s Guide to the LPIC-1 Certification Using SUSE Linux Enterprise Server 11 / Instructor Guide

Install da-host Manually


To install da-host manually, do the following:
1. Boot your Workstation with the SUSE Linux Enterprise Server 11 DVD.
Wait while the machine boots.
2. When the GRUB installation screen appears, highlight the Installation option by
using the arrow keys.
You have 20 seconds to highlight the option before GRUB boots from the hard
drive.
3. Set the display resolution by pressing F2, then select the display resolution that
matches your monitor. It should not be less than 1024x768.
4. In the Welcome dialog, do the following:
a. Make sure that the correct keyboard layout is selected in the Keyboard
Layout menu. If not, select Keyboard Layout and choose your layout.
b. Select Yes, I Agree to the License Terms, then click Next.
5. In the Media Check dialog, click Next.
6. From the Installation Mode dialog, make sure that New Installation is selected,
then click Next.
7. Configure your time zone information by doing the following:
a. From the Clock and Time Zone dialog, select USA and Mountain (Denver);
then click Change.
b. Set the Current Time and Current Date to match your current time and
date; then select Accept.
Time is set according to the 24-hour clock format. The date format is dd/
mm/yyyy.
c. Click Next.
8. In the Server Base Scenario dialog, ensure that Physical Machine is selected,
then click Next.
9. From the Installation Settings dialog, do the following:
a. Check the suggested partitioning under the Partitioning heading. If it does
not list partition 1 (/dev/sda1) for swap and partition 2 (/dev/sda2) for /
(root), do the following:
i. Select Partitioning.
ii. Select your harddisk (the first entry in the Hard Disk box); then click
Next.
iii. Click Use entire hard disk.
iv. Deselect Propose Separate Home Partition, then click Next. You are
returned to the Installation Settings overview dialog.

2 Copying all or part of this manual, or distributing such copies, is strictly prohibited. Version 1
To report suspected copying, please call 1-800-PIRATES.

Copyright 2010, Novell, Inc. ONLINE VIEWING ONLY. NO COPYING, PRINTING, OR DISTRIBUTION ALLOWED.
Setup Instructions

b. To install software that is not included in the default selection, do the


following:
i. Select Software from the Installation Settings dialog.
ii. Select the C/C++ Compiler and Tools Pattern, then select Accept
iii. When prompted to accept software licenses, click Accept.
iv. When prompted to review the automatic changes, click Continue. You
are returned to the Installation Settings overview dialog.
c. Click Install.
d. When prompted to confirm the installation, click Install. Wait while the
initial installation is performed.
After the initial installation is complete, SLES 11 restarts.
10. In the Password for the System Administrator “root” dialog, as password type
novell, then click Next. Confirm the two warnings by clicking Yes.
11. In the Hostname and Domain Name dialog type the following information,
then click Next.
 Hostname: da-host
 Domain Name: digitalairlines.com
 Change Hostname via DHCP: Deselect
 Write Hostname to /etc/hosts: Select
12. In the Network Configuration dialog, select the Firewall entry

13. In the center frame, select Allowed Services.

14. In the Firewall Configuration: Allowed Services frame, do the following:


a. From the Allowed Services drop-down menu, select Secure Shell Server,
then click Add.
b. Click the Advanced button and enter the following values in the Additional
Allowed Ports frame: :
 TCP Ports: 67:69
 UDP Ports: 67:69
Click OK twice.
15. In the Network Configuration dialog, click Next.

16. From the Test Internet Connection dialog, select No, Skip This Test, then click
Next.
17. In the Installation Overview dialog, make sure that Use Following
Configuration is selected, then click Next.
18. In the User Authentication dialog, make sure Local (/etc/passwd) is selected,
then click Next.
19. In the New Local User dialog, enter the following, then click Next
 User’s Full Name: Geeko Novell

Version 1 Copying all or part of this manual, or distributing such copies, is strictly prohibited. 3
To report suspected copying, please call 1-800-PIRATES.

Copyright 2010, Novell, Inc. ONLINE VIEWING ONLY. NO COPYING, PRINTING, OR DISTRIBUTION ALLOWED.
Novell’s Guide to the LPIC-1 Certification Using SUSE Linux Enterprise Server 11 / Instructor Guide

 Username: geeko
 Password: novell
 Confirm Password: novell
Confirm the warnings by clicking Yes.
20. In the Release Notes dialog, click Next.

21. In the Hardware Configuration dialog, make sure that the values for
Resolution and Monitor are correct for your hardware, then click Next.
22. In the Installation Completed dialog, click Finish.

The installation is completed and the SLES 11 login screen appears.


23. Remove the SUSE Linux Enterprise Server 11 DVD from your DVD drive.

24. To install VMware Player and the VMware virtual disk on da-host, do the
following:
a. Login to the graphical desktop as geeko (password: novell).
b. Download the VMware Player for Linux software from http://
www.vmware.com/download/player/ (http://www.vmware.com/download/
player/).
c. Open a terminal and switch to user root by entering su - (password:
novell).
d. Install VMware Player by entering
rpm -ihv /path/to/VMware-Player-2.x.x-x.i386.rpm
e. Enter the following command:
chkconfig vmware off ; chkconfig vmware on
f. Create the /vmware directory and make it writable for regular users:
mkdir -m 1777 /vmware
g. Insert the 3112 Course CDROM into the DVD drive and unpack the da1-
3112.zip archive:
cd /vmware
unzip /path/to/da1-3112.zip
chown -R geeko: /vmware/da1-3112
h. Create the /etc/sysconfig/network/ifcfg-vmnet1 file with the
following content:
BOOTPROTO='static'
STARTMODE='auto'
USERCONTROL='no'
IPADDR='172.17.8.1/16'
i. To make sure the settings in the file take effect, reboot your computer.

4 Copying all or part of this manual, or distributing such copies, is strictly prohibited. Version 1
To report suspected copying, please call 1-800-PIRATES.

Copyright 2010, Novell, Inc. ONLINE VIEWING ONLY. NO COPYING, PRINTING, OR DISTRIBUTION ALLOWED.
Setup Instructions

j. After the reboot, log in as geeko and open a terminal window.


k. In the terminal window, enter ip a s dev vmnet1. You should see an
output similar to the following:
da-host:~ # ip a s dev vmnet1
6: vmnet1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast state UNKNOWN qlen 1000
link/ether 00:50:56:c0:00:01 brd ff:ff:ff:ff:ff:ff
inet 192.168.172.1/24 brd 192.168.172.255 scope global
vmnet1
inet 172.17.8.1/16 brd 172.17.255.255 scope global vmnet1
inet6 fe80::250:56ff:fec0:1/64 scope link
valid_lft forever preferred_lft forever
The other address you see in the output above (192.168.172.1/24) is the
address VMware Player assigns to the interface. It is not relevant, as da1
uses a fixed IP address (172.17.8.101/16) and does not rely on IP addresses
being distributed by VMware Player via DHCP.

NOTE: SUSE Linux Enterprise Server 11 will be installed into the empty VMware files in Section 2
of this course.

Install da-host by Using AutoYaST


On the course CD in the Setup directory, you can find an AutoYaST XML file for the
installation of da-host, called da-host.xml. Depending on your host’s hardware,
copy the file to another storage device:

Table Intro-2 Copies of da-host.xml

Available Hardware Storage Location for da-host.xml

2 CD/DVD drives No copy needed

Floppy disk drive Copy to floppy disk

USB port Copy to USB stick or USB hard drive

NFS and DHCP server in your network Copy into the exported directory on your NFS
server

To install da-host using AutoYaST, do the following:


1. Be sure there are no data on the server that you still need, because all existing
data on the hard disk will be erased.
2. Boot the server from the SUSE Linux Enterprise Server 11 Product DVD.
3. When the installation screen appears, highlight the Installation option by using
the arrow keys.
You have 20 seconds to highlight the option before GRUB boots from the hard
drive.

Version 1 Copying all or part of this manual, or distributing such copies, is strictly prohibited. 5
To report suspected copying, please call 1-800-PIRATES.

Copyright 2010, Novell, Inc. ONLINE VIEWING ONLY. NO COPYING, PRINTING, OR DISTRIBUTION ALLOWED.
Novell’s Guide to the LPIC-1 Certification Using SUSE Linux Enterprise Server 11 / Instructor Guide

4. Set the display resolution by pressing F2; then select the display resolution
matching your monitor, it should not be less than 1024x768.
5. Insert the media containing the file da-host.xml.
6. In the Boot Options field, type the following (depending on the media containing
the da-host.xml file):
 da-host.xml on the course DVD:
autoyast=dvd:///Setup/da-host.xml instmode=cd
 da-host.xml on a floppy disk:
autoyast=floppy:///da-host.xml instmode=cd
 da-host.xml on a USB device:
autoyast=usb:///da-host.xml instmode=cd
 da-host.xml on an NFS server:
autoyast=nfs://IP-address/path_to_file/da-
host.xml netsetup=dhcp

Then press Enter.


The kernel loads and the SUSE Linux Enterprise Server 11 installation begins.
YaST accesses the file da-host.xml and installs SLES 11 according to the
configuration contained in that file.
7. (Conditional) If the installation stops at some early point, reset the computer,
restart the installation and try one of the other installation options, like
Installation—ACPI Disabled.
8. After the login screen appears, log in as geeko (password novell) and install
VMware Player as described in Install da-host Manually, Step 24 on page 4.

6 Copying all or part of this manual, or distributing such copies, is strictly prohibited. Version 1
To report suspected copying, please call 1-800-PIRATES.

Copyright 2010, Novell, Inc. ONLINE VIEWING ONLY. NO COPYING, PRINTING, OR DISTRIBUTION ALLOWED.

You might also like