You are on page 1of 982

SUSE Linux Enterprise Server

10

www.novell.com

May 11, 2007

Installation and Administration

May 11, 2007 Installation and Administration
SUSE Linux Enterprise Server 10 www.novell.com May 11, 2007 Installation and Administration

Installation and Administration

All content is copyright © Novell, Inc.

Legal Notice

This manual is protected under Novell intellectual property rights. By reproducing, duplicating or distributing this manual you explicitly agree to conform to the terms and conditions of this license agreement.

This manual may be freely reproduced, duplicated and distributed either as such or as part of a bundled package in electronic and/or printed format, provided however that the following conditions are ful- filled:

That this copyright notice and the names of authors and contributors appear clearly and distinctively on all reproduced, duplicated and distributed copies. That this manual, specifically for the printed format, is reproduced and/or distributed for noncommercial use only. The express authorization of Novell, Inc must be obtained prior to any other use of any manual or part thereof.

For Novell trademarks, see the Novell Trademark and Service Mark list http://www.novell .com/company/legal/trademarks/tmlist.html. * Linux is a registered trademark of Linus Torvalds. All other third party trademarks are the property of their respective owners. A trademark symbol (®, ™ etc.) denotes a Novell trademark; an asterisk (*) denotes a third party trademark.

All information found in this book has been compiled with utmost attention to detail. However, this does not guarantee complete accuracy. Neither Novell, Inc., SUSE LINUX Products GmbH, the authors, nor the translators shall be held liable for possible errors or the consequences thereof.

Contents

About This Guide

 

xv

Part I Deployment

 

1

1 Planning for SUSE Linux Enterprise

 

3

1.1 Considerations for Deployment of a SUSE Linux Enterprise .

 

.

.

.

.

.

.

.

5

1.2 Deployment of SUSE Linux Enterprise

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

5

1.3 Running SUSE Linux Enterprise .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

6

2 Deployment Strategies

 

7

2.1 Deploying up to 10 Workstations .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

7

2.2 Deploying up to 100 Workstations .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

9

2.3 Deploying More than 100 Workstations

 

16

3 Installation with YaST

 

17

3.1 IBM System z: System Start-Up for Installation

 

17

3.2 System Start-Up for Installation .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

18

3.3 The Boot Screen

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

19

3.4 Language

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

21

3.5 IBM System z: Hard Disk Configuration

 

22

3.6 License Agreement

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

24

3.7 System Analysis .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

24

3.8 Time Zone .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

25

3.9 Installation Summary

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

26

3.10 Performing the Installation .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

30

3.11 Configuration of the Installed System

 

32

3.12 Graphical Login .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

41

4

Remote Installation

43

4.1 Installation Scenarios for Remote Installation

 

43

4.2 Setting Up the Server Holding the Installation Sources

 

52

4.3 Preparing the Boot of the Target System

 

62

4.4 Booting the Target System for Installation

 

72

4.5 Monitoring the Installation Process

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

77

5 Automated Installation

 

81

5.1 Simple Mass Installation .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

81

5.2 Rule-Based Autoinstallation

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

93

5.3 For More Information .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

98

6 Deploying Customized Preinstallations

 

99

6.1 Preparing the Master Machine .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

100

6.2 Customizing the firstboot Installation

 

100

6.3 Cloning the Master Installation .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

108

6.4 Personalizing the Installation .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

109

7 Advanced Disk Setup

 

111

7.1 LVM Configuration .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

111

7.2 Soft RAID Configuration

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

119

8 System Configuration with YaST

 

125

8.1 YaST Language .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

126

8.2 The YaST Control Center

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

126

8.3 Software

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

127

8.4 Hardware .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

141

8.5 System .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

147

8.6 Network Devices .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

159

8.7 Network Services

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

160

8.8 AppArmor

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

167

8.9 Security and Users .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

167

8.10 Virtualization

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

176

8.11 Miscellaneous .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

176

8.12 YaST in Text Mode .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

179

8.13 Managing YaST from the Command Line

 

183

8.14 SaX2 .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

186

8.15 Troubleshooting

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

192

8.16 For More Information

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

192

9

Managing Software with ZENworks

193

 

9.1 Managing Packages from the Command Line with rug

 

194

9.2 Managing Packages with the ZEN Tools

 

197

9.3 For More Information

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

202

1

0 Updating SUSE Linux Enterprise

 

203

 

10.1 Updating SUSE Linux Enterprise

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

203

10.2 Installing Service Packs .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

205

10.3 Software Changes from Version 9 to Version 10

 

211

Part II Administration

 

225

1 1 OpenWBEM

 

227

 

11.1 Setting Up OpenWBEM .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

229

11.2 Changing the OpenWBEM CIMOM Configuration

 

234

11.3 For More Information

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

254

1 2 Mass Storage over IP Networks—iSCSI

 

257

 

12.1 Setting Up an iSCSI Target

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

257

12.2 Configuring iSCSI Initiator

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

262

1 3 Oracle Cluster File System 2

 

267

 

13.1 Overview of OCFS2 .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

267

13.2 Creating an OCFS2 Volume .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

274

13.3 Mounting an OCFS2 Volume

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

279

13.4 Additional Information .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

280

1 4 Access Control Lists in Linux

 

281

 

14.1 Traditional File Permissions

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

281

14.2 Advantages of ACLs

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

283

14.3 Definitions

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

283

14.4 Handling ACLs .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

284

14.5 ACL Support in Applications .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

292

14.6 For More Information

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

293

1 5 RPM—the Package Manager

 

295

 

15.1

Verifying Package Authenticity .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

296

15.3 RPM and Patches

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

297

15.4 Delta RPM Packages

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

299

15.5 RPM Queries

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

300

15.6 Installing and Compiling Source Packages

 

303

15.7 Compiling RPM Packages with build .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

305

15.8 Tools for RPM Archives and the RPM Database

 

306

1 6 System Monitoring Utilities

 

307

Debugging

16.1 .

.

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

308

16.2 Files and File Systems

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

310

16.3 Hardware Information

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

313

16.4 Networking .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

315

16.5 The /proc File System .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

316

16.6 Processes .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

320

16.7 System Information

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

324

16.8 User Information

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

328

16.9 Time and Date .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

329

1 7 Working with the Shell

 

331

17.1 Getting Started with the Bash Shell .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

332

17.2 Users and Access Permissions .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

343

17.3 Important Linux Commands

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

347

17.4 The vi Editor

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

358

Part III System

 

363

1 8 32-Bit and 64-Bit Applications in a 64-Bit System Environment

 

365

18.1 Runtime Support

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

366

18.2 Software Development .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

367

18.3 Software Compilation on Biarch Platforms

 

368

18.4 Kernel Specifications .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

370

1 9 Booting and Configuring a Linux System

 

371

19.1 The Linux Boot Process .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

371

19.2 The init Process .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

375

19.3 System Configuration via /etc/sysconfig

 

384

2 0 The Boot Loader

 

387

20.1

Selecting a Boot Loader .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

388

20.2 Booting with GRUB .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

388

20.3 Configuring the Boot Loader with YaST

 

398

20.4 Uninstalling the Linux Boot Loader .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

402

20.5 Creating Boot CDs .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

402

20.6 The Graphical SUSE Screen

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

404

20.7 Troubleshooting .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

405

20.8 For More Information

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

406

2 1 Special System Features

 

407

21.1 Information about Special Software Packages

 

407

21.2 Virtual Consoles .

.

.

.

.