Beginning Ubuntu Server Administration - From Novice to Professional

von: Sander van Vugt

Apress, 2008

ISBN: 9781430205104 , 355 Seiten

Format: PDF, OL

Kopierschutz: Wasserzeichen

Windows PC,Mac OSX für alle DRM-fähigen eReader Apple iPad, Android Tablet PC's Online-Lesen für: Windows PC,Mac OSX,Linux

Preis: 32,09 EUR

Mehr zum Inhalt

Beginning Ubuntu Server Administration - From Novice to Professional


 

Contents at a Glance

5

Contents

6

About the Author

13

About the Technical Reviewer

14

Introduction

15

Who This Book Is For

15

Prerequisites

15

Downloading the Code

16

Contacting the Author

16

Installing Ubuntu Server

17

Preparing for the Installation

17

Starting the Ubuntu Server Installation Process

18

Summary

40

Getting the Most Out of the Command Line

41

Working As root?

41

Working with the Shell

42

Performing Basic File System Management Tasks

46

Piping and Redirection

53

Finding Files

56

Working with an Editor

56

Getting Help

59

Summary

62

Performing Essential System Administration Tasks

63

Software Management

63

Creating Backups

76

Configuring Logging

80

Summary

88

Performing File System Management Tasks

89

Mounting Disks

89

Checking File System Integrity

97

Working with Links

98

Configuring Storage

101

Doing Magic on Your File Systems with dd

118

Summary

121

Configuring Your Server for Security

122

Setting Up User Accounts

122

Creating Groups

132

Configuring Permissions

134

Working with Advanced Linux Permissions

137

Apply Quota to Allow a Maximum Amount of Files

146

Understanding Pluggable Authentication Modules

149

Configuring Administrator Tasks with sudo

155

An Introduction to Setting Up the Netfilter Firewall with iptables

156

Summary

164

Setting the System to Your Hand. Management of Processes, Boot Procedure, Kernel, and Hardware

165

Process Monitoring and Management

165

Executing Processes Automatically

175

Tuning the Boot Procedure

178

Managing Hardware

188

Hardware Management with udev

194

Summary

197

Running It Anyway You Like. An Introduction to Bash Shell Scripting

198

Before You Even Start

198

Working with Variables

207

Performing Calculations in Scripts

212

Using Flow Control

216

Using a Stream Editor

224

Working with Functions

225

A Complex Scripting Example

226

Summary

228

Making Connection. Configuring the Network Interface Card and SSH

229

Configuring the Network Card

229

Troubleshooting Network Connections

242

Connecting Remotely with SSH

255

Configuring SSH

257

Using Key- Based Authentication

259

Tunneling Traffic with SSH

263

Summary

265

Configuring Network Infrastructure Services. Using DNS, DHCP, and NTP

266

Configuring DNS

266

Configuring DHCP

280

Configuring NTP

287

How NTP Works

287

Starting Services with xinetd

293

Summary

297

Using Ubuntu Server As a File and Print Server. Configuring Cups, NFS, and Samba

298

Setting Up a CUPS Print Server

298

Sharing Files with NFS

304

Sharing Files with Samba

310

Summary

322

Setting Up Web Services. Configuring Apache, MySQL, PHP, and FTP

323

Setting Up Apache

323

Working with Virtual Hosts

328

Managing Access to the Web Server

330

Some Words on Apache Performance Tuning

333

Using PHP

334

Setting Up MySQL

335

Setting Up FTP

336

Summary

338

Multiplying Your Server. Ubuntu Server and Virtualization

339

Understanding Virtualization

339

Installing Virtual Machines with KVM

342

Installing Virtual Machines Using Xen

345

Ubuntu Server in a VMware Environment

352

Summary

352

Index

353