3100_setup.pdf

8
7/21/2019 3100_setup.pdf http://slidepdf.com/reader/full/3100setuppdf 1/8 Copying all or part of this manual, or distributing such copies, is strictly prohibited. To report suspected copying, please call 1-800-PIRATES. 1 Version 1 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). da1 provides services you need for the exercises (such as DNS), and also serves as second machine in some of the exercises that involve two machines. Setup Your Computer In the following it is explained how to setup your computer to do the exercises. You have to do the following:  “Set Up da-host” on page 1  “Set Up da1” on page 6 Set Up da-host 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 install da-host, you can use one of the following methods:  “Install da-host by Using AutoYaST” on page 1  “Install da-host Manually” on page 2 After that, you have to do the following task:  “Install VMware Player” on page 5 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-1 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

Upload: mariosergiosl

Post on 07-Mar-2016

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 3100_setup.pdf

7/21/2019 3100_setup.pdf

http://slidepdf.com/reader/full/3100setuppdf 1/8

Copying all or part of this manual, or distributing such copies, is strictly prohibited.

To report suspected copying, please call 1-800-PIRATES.

1Version 1

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).

da1 provides services you need for the exercises (such as DNS), and also serves as

second machine in some of the exercises that involve two machines.

Setup Your Computer 

In the following it is explained how to setup your computer to do the exercises. You

have to do the following:

  “Set Up da-host” on page 1

 

“Set Up da1” on page 6

Set Up da-host 

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 install da-host, you can use

one of the following methods:

  “Install da-host by Using AutoYaST” on page 1

  “Install da-host Manually” on page 2

After that, you have to do the following task:

  “Install VMware Player” on page 5

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-1 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

Page 2: 3100_setup.pdf

7/21/2019 3100_setup.pdf

http://slidepdf.com/reader/full/3100setuppdf 2/8

Upgrading to Novell Certified Linux Professional 11 / Workbook 

Copying all or part of this manual, or distributing such copies, is strictly prohibited.

To report suspected copying, please call 1-800-PIRATES.

Version 12

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.

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.

Install da-host Manually

To install da-host manually, do the following:

1. Boot your Workstation with the SUSE Linux Enterprise Server 11 DVD.

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

server 

Available Hardware Storage Location for da-host.xml

Page 3: 3100_setup.pdf

7/21/2019 3100_setup.pdf

http://slidepdf.com/reader/full/3100setuppdf 3/8

Copying all or part of this manual, or distributing such copies, is strictly prohibited.

To report suspected copying, please call 1-800-PIRATES.

3Version 1

Setup Instructions

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, 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 select Next. You are

returned to the Installation Settings overview dialog.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

Page 4: 3100_setup.pdf

7/21/2019 3100_setup.pdf

http://slidepdf.com/reader/full/3100setuppdf 4/8

Upgrading to Novell Certified Linux Professional 11 / Workbook 

Copying all or part of this manual, or distributing such copies, is strictly prohibited.

To report suspected copying, please call 1-800-PIRATES.

Version 14

iii. When prompted to accept software licenses, click Accept. (5 times)

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 theinitial 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, configure your network settings by doing

the following, then click Next:

a. From the Network Configuration dialog, select the Firewall entry configure

the following settings:

Allowed Services: Secure Shell Server 

  Allowed Services: Advanced > TCP and UDP ports 67:69

  Masquerading: Select Masquerade Networks

b. From the Network Configuration dialog, select Network Interfaces >

Hostname/DNS tab.  In the Name Server 1 field, enter 172.17.8.101 and make sure that

digitalairlines.com appears in the Domain Search field, then click OK .

13. From the Test Internet Connection dialog, select No, Skip This Test, then click

Next.

14. In the Installation Overview dialog, make sure that Use Following

Configuration is selected, then click Next.

15. In the User Authentication dialog, make sure Local (/etc/passwd) is selected,

then click Next.

16. In the New Local User dialog, enter the following, then click Next

  User’s Full Name: Geeko Novell

  Username: geeko

  Password: novell

  Confirm Password: novell

Confirm the warnings by clicking Yes.

Page 5: 3100_setup.pdf

7/21/2019 3100_setup.pdf

http://slidepdf.com/reader/full/3100setuppdf 5/8

Copying all or part of this manual, or distributing such copies, is strictly prohibited.

To report suspected copying, please call 1-800-PIRATES.

5Version 1

Setup Instructions

17. In the Release Notes dialog, click Next.

18. In the Hardware Configuration dialog, make sure that the values for

Resolution and Monitor are correct for your hardware, then click Next.

19. In the Installation Completed dialog, click Finish.

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

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

Install VMware Player 

To install VMware Player on da-host, do the following:

1. Download the VMware Player for Linux software from http://

www.vmware.com/download/player/ (http://www.vmware.com/download/

 player/).

2. Login to the graphical desktop as geeko (password: novell).

3. Open a terminal and switch to user root by entering su - (password: novell).

4. Install VMware Player by entering

rpm -ihv /path/to/VMware-Player-2.x.x-x .i386.rpm

5. Create the /vmware directory and make it writable for regular users:

 mkdir -m 1777 /vmware

6. Unpack the da1-sles.zip archive:

cd /vmware

unzip /path/to/da1-sles11.zip 

chown -R geeko: /vmware/da1-sles11

7. Create the /etc/sysconfig/network/ifcfg-vmnet1  file with the

following content:

BOOTPROTO='static'

STARTMODE='auto'

USERCONTROL='no'

IPADDR='172.17.8.1/16'

8. To make sure the settings in the file take effect, reboot your computer.

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

10. In the terminal window, enter ip a s dev vmnet1. You should see an output similar

to the following:

Page 6: 3100_setup.pdf

7/21/2019 3100_setup.pdf

http://slidepdf.com/reader/full/3100setuppdf 6/8

Upgrading to Novell Certified Linux Professional 11 / Workbook 

Copying all or part of this manual, or distributing such copies, is strictly prohibited.

To report suspected copying, please call 1-800-PIRATES.

Version 16

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.

11. Conditional: If there is no vmnet1 interface visible in the output of ip a s, do the

following:

a. Load the VMware kernel modules using the /etc/init.d/vmware  start

command.

b. Make sure the modules are loaded automatically when the machine boots byentering

chkconfig vmware off

chkconfig vmware on

This will ensure that the vmware start script is run at the correct point during

the boot process.

Set Up da1

da1 is a SUSE Linux Enterprise Server 11. This virtual machine provides services,

you need for the exercises (like DNS). To set up the machine, do the following:1. As user Geeko, open the main menu, click More Applications and select

System > VMware Player.

2. In the End User License Agreement dialog, click Accept.

3. (Optional) If you are prompted to download available updates, click Cancel.

4. Click Open an existing Virtual Machine.

5.  Navigate to the /vmware/da1-sles11  directory and select da1-

sles11.vmx, then click Open.

6. When prompted whether you moved or copied the VM, click I copied it.

The virtual machine starts.

7. To change the keyboard layout from US English to another one, do the following:

a. log in as user geeko with password novell.

b. Start YaST and select Hardware > Keyboard Layout.

c. Select your keyboard layout  from the Layout menu and click OK .

d. When prompted to test your settings, click Test.

Page 7: 3100_setup.pdf

7/21/2019 3100_setup.pdf

http://slidepdf.com/reader/full/3100setuppdf 7/8

Copying all or part of this manual, or distributing such copies, is strictly prohibited.

To report suspected copying, please call 1-800-PIRATES.

7Version 1

Setup Instructions

e. In the XFine2 dialog, click Save.

f. In the Configuration Saved dialog, click Yes.

g. Close the YaST Control Center 

8. Open a terminal window and ping da-host with the following command:

ping da-host.digitalairlines.com

You should see echo replies.

9. You are now ready to begin with the first exercise.

 NOTE: Included on the course DVD is the emptyVM.zip file that contains a VMware image with

no operating system installed. It is not used during the course. You could use it, for instance, to

install a SLES 11 server or SLED11 desktop and configure it according to your own requirements.

Page 8: 3100_setup.pdf

7/21/2019 3100_setup.pdf

http://slidepdf.com/reader/full/3100setuppdf 8/8

Upgrading to Novell Certified Linux Professional 11 / Workbook 

Copying all or part of this manual, or distributing such copies, is strictly prohibited.

To report suspected copying, please call 1-800-PIRATES.

Version 18