The Virtualization Cookbook for IBM z Systems Volume 4 ...

Front cover

The Virtualization Cookbook for IBM z Systems Volume 4: Ubuntu Server 16.04

Lydia Parziale Pedro Acosta Fred Bader Paul Novak

Redbooks

International Technical Support Organization The Virtualization Cookbook for IBM z Systems Volume 4: Ubuntu Server 16.04 September 2016

SG24-8354-00

Note: Before using this information and the product it supports, read the information in "Notices" on page vii.

First Edition (September 2016) This edition applies to Version 6, Release 3, of IBM z/VM and Ubuntu Server 16.04. ? Copyright International Business Machines Corporation 2016. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

Contents

Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii

IBM Redbooks promotions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix

Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi Important information before you begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii Architectural decisions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii

General criteria . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii Food for thought . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii Specific examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv Font conventions that are used in this cookbook series . . . . . . . . . . . . . . . . . . . . . . . . . xiv Command conventions that are used in this cookbook series . . . . . . . . . . . . . . . . . . . . xiv Operating system releases used . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv Authors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv With gratitude . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv Now you can become a published author, too . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi Comments welcome. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii Stay connected to IBM Redbooks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii

Part 1. Ubuntu Server 16.04 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 At a glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

Chapter 1. Install Ubuntu Server 16.04 on LNXADMIN . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.1 Prepare the Ubuntu bootstrap files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.2 Install Ubuntu onto the Linux administration system . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

1.2.1 Stage 1: The initial network configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.2.2 Stage 2: The Ubuntu 16.04 installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 1.2.3 Partition disks for the LNXADMIN virtual server . . . . . . . . . . . . . . . . . . . . . . . . . . 14 1.2.4 Finishing the installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 1.3 Configure the Ubuntu administration system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 1.3.1 Enable swap on the virtual disks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 1.3.2 Set up data DASD disks to a running Linux virtual server . . . . . . . . . . . . . . . . . . 21 1.3.3 Build a local Ubuntu mirror with apt-mirror on the LNXADMIN virtual server . . . . 25 1.3.4 Install and configure an apache2 HTTP server. . . . . . . . . . . . . . . . . . . . . . . . . . . 27 1.3.5 Reconfigure the software repositories. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 1.3.6 Install and configure vsftpd FTP server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 1.3.7 Import files that are associated with this book . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 1.3.8 Download the bootstrap files for Ubuntu 16.04 . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 1.3.9 Additional configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 1.3.10 Reboot the system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 1.3.11 Verify that the system starts correctly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34

Chapter 2. Automating installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 2.1 Kickstart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36

2.1.1 Using Kickstart with EDEV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 2.2 Configure LNXS0031 for Kickstart using FCP devices . . . . . . . . . . . . . . . . . . . . . . . . . 37 2.3 How to boot SCSI over FCP (LNXS0031). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40

? Copyright IBM Corp. 2016. All rights reserved.

iii

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download