Foreword |
|
xix | |
Acknowledgments |
|
xxi | |
Introduction |
|
xxiii | |
|
1 The Basics of Oracle Solaris 11 |
|
|
1 | (16) |
|
Welcome to Oracle Solaris 11 |
|
|
2 | (12) |
|
So, Why Should You Use Oracle Solaris 11? |
|
|
2 | (1) |
|
A New Name, a New Owner, a Familiar Operating System |
|
|
3 | (1) |
|
|
4 | (4) |
|
A Short Review of Solaris' Long History |
|
|
8 | (1) |
|
|
8 | (1) |
|
|
9 | (1) |
|
|
9 | (5) |
|
|
14 | (1) |
|
For Those Moving from Solaris 10 to Solaris 11 |
|
|
15 | (1) |
|
|
15 | (1) |
|
|
15 | (2) |
|
2 Getting Ready for Solaris 11 |
|
|
17 | (22) |
|
Where Solaris 11 Runs: Hardware Requirements |
|
|
18 | (3) |
|
The Application Guarantee Program |
|
|
21 | (1) |
|
Testing Your x86 System for Solaris 11 Compatibility |
|
|
21 | (5) |
|
The Oracle Solaris 11 Live Media |
|
|
26 | (12) |
|
Running the Solaris 11 Live Media |
|
|
27 | (3) |
|
Preparing Your x86 System for Solaris 11 Installation |
|
|
30 | (3) |
|
|
33 | (4) |
|
Other Installation Methods |
|
|
37 | (1) |
|
|
38 | (1) |
|
|
38 | (1) |
|
|
39 | (24) |
|
|
40 | (3) |
|
|
40 | (1) |
|
|
40 | (1) |
|
|
41 | (2) |
|
|
43 | (1) |
|
|
43 | (1) |
|
A Range of Installation Scenarios |
|
|
43 | (3) |
|
|
43 | (1) |
|
|
44 | (1) |
|
|
44 | (1) |
|
|
45 | (1) |
|
Notes on Virtual Machines |
|
|
45 | (1) |
|
The GUI Interactive Installation |
|
|
46 | (8) |
|
|
47 | (1) |
|
|
48 | (1) |
|
Start the Interactive GUI Installation |
|
|
48 | (1) |
|
|
48 | (2) |
|
|
50 | (1) |
|
Partitions for Solaris and More |
|
|
50 | (2) |
|
|
52 | (1) |
|
|
52 | (1) |
|
|
52 | (2) |
|
|
54 | (7) |
|
|
54 | (2) |
|
A GRUB Option for Windows |
|
|
56 | (1) |
|
|
57 | (1) |
|
Configure a GRUB Password |
|
|
58 | (1) |
|
|
59 | (2) |
|
|
61 | (1) |
|
|
61 | (2) |
|
4 Alternative Oracle Solaris 11 Installation Methods |
|
|
63 | (30) |
|
|
64 | (1) |
|
Solaris 11 on x86 and SPARC Systems: What's the Same? |
|
|
64 | (1) |
|
Solaris 11 on x86 and SPARC Systems: What's Different? |
|
|
64 | (1) |
|
|
65 | (8) |
|
|
73 | (6) |
|
The Distribution Constructor |
|
|
74 | (3) |
|
Booting Client Systems from the Al Server |
|
|
77 | (1) |
|
Transitioning from JumpStart to Automated Installer for Solaris 10 Administrators |
|
|
78 | (1) |
|
Configuring Oracle Solaris 11 |
|
|
79 | (1) |
|
Unconfiguring a Solaris 11 System |
|
|
79 | (1) |
|
(Re)configuring a Solaris 11 System |
|
|
79 | (1) |
|
Installing Solaris as a Virtual Machine Guest |
|
|
80 | (10) |
|
The Oracle Solaris 11 VM for Oracle VM VirtualBox |
|
|
87 | (1) |
|
|
88 | (2) |
|
|
90 | (1) |
|
|
91 | (2) |
|
5 The Solaris Graphical Desktop Environment |
|
|
93 | (50) |
|
|
94 | (4) |
|
A Fully Featured Desktop Environment |
|
|
95 | (1) |
|
The UNIX Client Server Model for GUIs |
|
|
96 | (2) |
|
|
98 | (1) |
|
The GNOME Desktop Environment |
|
|
98 | (21) |
|
|
98 | (1) |
|
|
99 | (17) |
|
|
116 | (2) |
|
Installing the OpenOffice.org Suite |
|
|
118 | (1) |
|
|
119 | (22) |
|
|
119 | (15) |
|
System Administration Menu |
|
|
134 | (7) |
|
|
141 | (1) |
|
|
142 | (1) |
|
|
143 | (20) |
|
|
144 | (2) |
|
What Is a Solaris 11 Service? |
|
|
144 | (1) |
|
|
145 | (1) |
|
|
145 | (1) |
|
|
146 | (1) |
|
|
146 | (6) |
|
|
146 | (2) |
|
Starting and Stopping Services |
|
|
148 | (4) |
|
|
152 | (1) |
|
|
152 | (1) |
|
Creating a Service Manifest |
|
|
153 | (1) |
|
|
153 | (5) |
|
|
154 | (1) |
|
|
154 | (2) |
|
|
156 | (2) |
|
|
158 | (4) |
|
Using the svcs Program for Service Diagnostics |
|
|
158 | (4) |
|
|
162 | (1) |
|
|
162 | (1) |
|
7 The Image Packaging System (IPS) |
|
|
163 | (24) |
|
|
164 | (4) |
|
|
164 | (1) |
|
|
165 | (3) |
|
Installing Application Software |
|
|
168 | (7) |
|
|
169 | (1) |
|
Updating Application Software |
|
|
170 | (2) |
|
Other Useful pkg Subcommands |
|
|
172 | (1) |
|
Configuring Local Repositories |
|
|
173 | (2) |
|
|
175 | (4) |
|
Managing Boot Environments |
|
|
176 | (2) |
|
Updating the Operating System Kernel |
|
|
178 | (1) |
|
|
179 | (6) |
|
Software Installation and Update (Using the GUI) |
|
|
179 | (3) |
|
Boot Environment Management (Using the GUI) |
|
|
182 | (3) |
|
|
185 | (1) |
|
|
185 | (2) |
|
8 Solaris at the Command Line |
|
|
187 | (20) |
|
|
188 | (5) |
|
|
189 | (1) |
|
The Current Working Directory |
|
|
189 | (1) |
|
|
189 | (1) |
|
|
190 | (1) |
|
|
191 | (1) |
|
|
192 | (1) |
|
|
193 | (3) |
|
|
193 | (1) |
|
|
193 | (1) |
|
|
194 | (1) |
|
|
195 | (1) |
|
|
195 | (1) |
|
|
196 | (1) |
|
|
196 | (2) |
|
|
197 | (1) |
|
Outputting Files to the Screen |
|
|
197 | (1) |
|
Top and Bottom File Readers |
|
|
198 | (1) |
|
|
198 | (1) |
|
|
198 | (3) |
|
Lines, Words, and Characters |
|
|
199 | (1) |
|
|
199 | (1) |
|
|
200 | (1) |
|
File Redirection and More |
|
|
201 | (1) |
|
|
201 | (4) |
|
|
202 | (2) |
|
|
204 | (1) |
|
|
205 | (1) |
|
|
205 | (2) |
|
|
207 | (22) |
|
Disk Structure and Naming Conventions |
|
|
208 | (3) |
|
|
211 | (17) |
|
|
212 | (1) |
|
|
212 | (3) |
|
|
215 | (5) |
|
ZFS as the Root/Boot Filesystem |
|
|
220 | (1) |
|
ZFS for Managing HOME Directories |
|
|
221 | (1) |
|
|
222 | (2) |
|
|
224 | (1) |
|
|
224 | (4) |
|
|
228 | (1) |
|
|
228 | (1) |
|
10 Customize the Solaris Shells |
|
|
229 | (20) |
|
|
230 | (7) |
|
|
230 | (1) |
|
|
231 | (1) |
|
|
232 | (1) |
|
|
233 | (4) |
|
|
237 | (4) |
|
|
237 | (2) |
|
When There's Only One Command Line |
|
|
239 | (1) |
|
All Manner of Shell Characters |
|
|
239 | (2) |
|
|
241 | (6) |
|
The Basics of Shell Scripts |
|
|
242 | (3) |
|
|
245 | (1) |
|
|
246 | (1) |
|
|
247 | (1) |
|
|
247 | (2) |
|
|
249 | (26) |
|
|
250 | (7) |
|
|
251 | (1) |
|
|
251 | (1) |
|
|
252 | (1) |
|
Role Based Access Control (RBAC) and Administrative Privileges |
|
|
252 | (5) |
|
Local Configuration Files |
|
|
257 | (6) |
|
Commands Used for Managing Users and Groups |
|
|
258 | (1) |
|
Command-line Account Management |
|
|
258 | (5) |
|
|
263 | (1) |
|
|
263 | (11) |
|
|
263 | (8) |
|
An LDAP Data Interchange Format File |
|
|
271 | (2) |
|
|
273 | (1) |
|
|
273 | (1) |
|
|
274 | (1) |
|
|
274 | (1) |
|
|
274 | (1) |
|
|
275 | (20) |
|
Installation and Initial Configuration Security |
|
|
276 | (1) |
|
|
276 | (1) |
|
Hardening and Minimizing the OS Installation |
|
|
276 | (1) |
|
|
277 | (5) |
|
Basic UNIX File Access Permissions |
|
|
277 | (3) |
|
Additional File Protections: umask |
|
|
280 | (1) |
|
Additional File Protections: encryption |
|
|
281 | (1) |
|
|
282 | (2) |
|
|
282 | (1) |
|
Setting Password Policies |
|
|
283 | (1) |
|
Role Based Access Control (RBAC) |
|
|
284 | (3) |
|
The All-Powerful root User |
|
|
284 | (1) |
|
|
284 | (2) |
|
Privileged Execution with sudo |
|
|
286 | (1) |
|
|
287 | (1) |
|
|
287 | (1) |
|
|
288 | (2) |
|
|
288 | (2) |
|
|
290 | (3) |
|
|
291 | (1) |
|
|
291 | (2) |
|
|
293 | (1) |
|
|
293 | (1) |
|
|
293 | (2) |
|
|
295 | (16) |
|
|
296 | (2) |
|
|
296 | (2) |
|
What OS Software Do I Have? |
|
|
298 | (1) |
|
|
298 | (6) |
|
|
298 | (1) |
|
How to Look: Observability Tools |
|
|
299 | (4) |
|
|
303 | (1) |
|
|
304 | (1) |
|
|
304 | (1) |
|
|
304 | (1) |
|
|
305 | (4) |
|
|
305 | (1) |
|
|
305 | (2) |
|
Some Performance-Monitoring Guidelines |
|
|
307 | (1) |
|
The Performance Monitor GUI |
|
|
307 | (2) |
|
Oracle Hardware and Software Support |
|
|
309 | (1) |
|
|
310 | (1) |
|
|
310 | (1) |
|
14 Solaris Virtualization |
|
|
311 | (34) |
|
Introduction: Zones and Virtualization |
|
|
312 | (1) |
|
|
312 | (1) |
|
Basic Zones Administration |
|
|
313 | (4) |
|
|
313 | (2) |
|
Zone Login, Boot, and Shutdown |
|
|
315 | (2) |
|
|
317 | (6) |
|
|
318 | (1) |
|
Adding a Directory from the Global Zone |
|
|
319 | (1) |
|
Zone Access to the DVD-ROM Drive |
|
|
320 | (1) |
|
|
320 | (1) |
|
|
321 | (2) |
|
Advanced Zones Administration |
|
|
323 | (5) |
|
|
323 | (3) |
|
CPU Shares and the Fair Share Scheduler |
|
|
326 | (1) |
|
|
327 | (1) |
|
|
328 | (1) |
|
Zone Performance and Statistics |
|
|
328 | (3) |
|
Zones and Discrete Privileges |
|
|
331 | (1) |
|
More Zones Administration |
|
|
331 | (11) |
|
|
331 | (2) |
|
Changing a Zone's Name and Its Root Dataset |
|
|
333 | (1) |
|
|
334 | (4) |
|
|
338 | (3) |
|
|
341 | (1) |
|
Tips, Tricks, and Pitfalls |
|
|
342 | (2) |
|
|
342 | (1) |
|
Profile for Automatic Installer |
|
|
342 | (2) |
|
Interactive sysconfig to Create Profile XML |
|
|
344 | (1) |
|
|
344 | (1) |
|
|
344 | (1) |
|
|
345 | (26) |
|
|
346 | (2) |
|
|
346 | (1) |
|
|
347 | (1) |
|
The Internet Print Protocol (IPP) and CUPS |
|
|
348 | (13) |
|
|
348 | (1) |
|
|
349 | (1) |
|
Set Up a Printer Administrator |
|
|
350 | (1) |
|
The Printer Configuration Tool |
|
|
350 | (8) |
|
A Printer Class Is a Group of Printers |
|
|
358 | (1) |
|
Print Server Configuration |
|
|
358 | (2) |
|
Connect to a Remote Print Server |
|
|
360 | (1) |
|
The Other Printer Configuration Tool |
|
|
360 | (1) |
|
|
361 | (8) |
|
The Main CUPS Server Configuration File: cupsd.conf |
|
|
361 | (2) |
|
Additional CUPS Configuration Options |
|
|
363 | (1) |
|
Configured Printers in printers.conf |
|
|
364 | (3) |
|
Configured Groups of Printers |
|
|
367 | (1) |
|
Printers Shared via Samba |
|
|
367 | (1) |
|
|
368 | (1) |
|
|
369 | (2) |
|
|
371 | (28) |
|
|
372 | (17) |
|
|
372 | (1) |
|
DNS Configuration Concepts |
|
|
373 | (1) |
|
|
373 | (1) |
|
|
374 | (1) |
|
|
374 | (1) |
|
|
374 | (1) |
|
A New Way to Configure a DNS Client |
|
|
375 | (3) |
|
DNS Client Configuration Files |
|
|
378 | (1) |
|
|
378 | (2) |
|
DNS Server Configuration in SMF |
|
|
380 | (1) |
|
Creating a DNS Forwarding Name Server |
|
|
380 | (1) |
|
Extending DNS for a Primary or Secondary Server |
|
|
381 | (1) |
|
|
382 | (1) |
|
|
383 | (5) |
|
|
388 | (1) |
|
The Dynamic Host Configuration Protocol (DHCP) |
|
|
389 | (8) |
|
|
390 | (5) |
|
|
395 | (1) |
|
|
395 | (1) |
|
|
396 | (1) |
|
|
397 | (1) |
|
|
398 | (1) |
|
|
399 | (20) |
|
A sendmail Configuration Plan |
|
|
400 | (1) |
|
|
400 | (10) |
|
|
401 | (1) |
|
Customizing the Configuration for a Local System |
|
|
401 | (1) |
|
Mail Clients on a Network |
|
|
401 | (1) |
|
Creating a New Configuration File |
|
|
402 | (4) |
|
Virtual Hosts and sendmail |
|
|
406 | (1) |
|
sendmail and Transport Layer Security |
|
|
406 | (4) |
|
|
410 | (1) |
|
Alias Management in sendmail |
|
|
410 | (1) |
|
|
411 | (1) |
|
|
411 | (1) |
|
|
411 | (1) |
|
|
411 | (2) |
|
Contents of the Mail Queue |
|
|
412 | (1) |
|
Processing the Mail Queue |
|
|
412 | (1) |
|
|
412 | (1) |
|
|
413 | (4) |
|
|
413 | (1) |
|
Testing the Configuration |
|
|
414 | (1) |
|
|
414 | (1) |
|
|
415 | (1) |
|
|
415 | (2) |
|
|
417 | (1) |
|
|
418 | (1) |
|
18 Solaris Trusted Extensions |
|
|
419 | (22) |
|
Overview of Trusted Extensions |
|
|
420 | (1) |
|
Enabling Trusted Extensions |
|
|
421 | (6) |
|
Zones and Trusted Extensions |
|
|
421 | (1) |
|
Enabling Trusted Extensions |
|
|
421 | (1) |
|
|
422 | (4) |
|
Trusted Extensions Tips and Pitfalls |
|
|
426 | (1) |
|
Creating and Installing a Labeled Zone |
|
|
427 | (6) |
|
A Detour into the Shared-ip and Exclusive-ip Zones |
|
|
433 | (2) |
|
Some Observations, More Tips, and Pitfalls |
|
|
434 | (1) |
|
|
435 | (1) |
|
|
435 | (1) |
|
|
436 | (1) |
|
|
437 | (1) |
|
Managing Devices in Trusted Extensions |
|
|
437 | (2) |
|
Network Access with Trusted Extensions |
|
|
439 | (1) |
|
|
440 | (1) |
|
|
440 | (1) |
|
19 The Network File System |
|
|
441 | (16) |
|
|
442 | (6) |
|
|
442 | (1) |
|
|
442 | (1) |
|
|
443 | (1) |
|
Additional Common Features |
|
|
443 | (1) |
|
NFS Service Configuration |
|
|
443 | (4) |
|
|
447 | (1) |
|
|
448 | (1) |
|
Basic NFS Filesystem Sharing |
|
|
448 | (1) |
|
Client Configuration Options |
|
|
449 | (6) |
|
Mount from the Command Line |
|
|
450 | (1) |
|
|
450 | (1) |
|
|
451 | (3) |
|
|
454 | (1) |
|
|
454 | (1) |
|
|
455 | (1) |
|
|
455 | (1) |
|
|
455 | (2) |
|
20 The FTP and Secure Shell Services |
|
|
457 | (24) |
|
Secure and Insecure Communications |
|
|
458 | (2) |
|
Insecure Remote Connections |
|
|
458 | (1) |
|
FTP and SFTP Client Commands |
|
|
459 | (1) |
|
|
460 | (6) |
|
FTP Server Files and Utilities |
|
|
460 | (1) |
|
Review the Default FTP Server Configuration File |
|
|
460 | (3) |
|
Set Up a Basic Anonymous FTP Server |
|
|
463 | (1) |
|
A chroot Jail for ProFTPD |
|
|
463 | (1) |
|
|
464 | (1) |
|
|
464 | (1) |
|
|
465 | (1) |
|
|
465 | (1) |
|
|
466 | (1) |
|
The Configuration of an SSH Server |
|
|
466 | (14) |
|
|
466 | (1) |
|
Secure Shell Client Commands |
|
|
467 | (1) |
|
The Main Client Configuration File |
|
|
468 | (2) |
|
Additional Files in the /etc/ssh Directory |
|
|
470 | (1) |
|
Private and Public Key Pairs for SSH |
|
|
471 | (1) |
|
The Main SSH Server Configuration File |
|
|
471 | (4) |
|
Additional Security in the SSH Server Configuration |
|
|
475 | (1) |
|
More Security with TCP Wrappers |
|
|
475 | (1) |
|
More Security with Passphrases |
|
|
476 | (1) |
|
|
477 | (1) |
|
Send That Passphrase to an SSH Server |
|
|
478 | (1) |
|
More Security with Hashed Hosts |
|
|
479 | (1) |
|
|
480 | (1) |
|
|
480 | (1) |
|
|
481 | (32) |
|
|
482 | (16) |
|
|
483 | (1) |
|
|
484 | (2) |
|
The Standard Samba Configuration File |
|
|
486 | (10) |
|
|
496 | (1) |
|
|
497 | (1) |
|
|
498 | (14) |
|
Make Sure UNIX Samba Is "Off" |
|
|
499 | (1) |
|
The Solaris CIFS Packages |
|
|
499 | (4) |
|
Configure a Mapping Strategy |
|
|
503 | (2) |
|
Set Up Membership in a Workgroup or Domain |
|
|
505 | (1) |
|
Set Up WINS and Related Services |
|
|
506 | (1) |
|
Configure CIFS Users and Groups |
|
|
506 | (1) |
|
|
507 | (1) |
|
Create a ZFS Share for Solaris CIFS |
|
|
507 | (2) |
|
Use the sharemgr Command to Create a CIFS Share |
|
|
509 | (1) |
|
|
510 | (1) |
|
The Automouter and Home Directories |
|
|
510 | (1) |
|
|
511 | (1) |
|
|
512 | (1) |
|
|
512 | (1) |
|
22 Apache and the Web Stack |
|
|
513 | (30) |
|
|
514 | (9) |
|
|
514 | (1) |
|
|
514 | (7) |
|
Keep Modules to a Minimum |
|
|
521 | (2) |
|
Basic Apache Configuration |
|
|
523 | (8) |
|
|
523 | (1) |
|
|
524 | (1) |
|
Apache with Virtual Hosts |
|
|
524 | (6) |
|
|
530 | (1) |
|
|
531 | (10) |
|
|
531 | (3) |
|
|
534 | (1) |
|
|
535 | (2) |
|
|
537 | (2) |
|
Isolating Apache Within a Zone |
|
|
539 | (2) |
|
|
541 | (1) |
|
|
541 | (2) |
|
A Oracle Solaris 11 11/11 Quick Command Reference |
|
|
543 | (6) |
|
|
544 | (1) |
|
|
544 | (1) |
|
|
544 | (1) |
|
|
545 | (1) |
|
|
545 | (1) |
|
|
546 | (1) |
|
|
546 | (1) |
|
|
546 | (1) |
|
|
547 | (1) |
|
|
547 | (2) |
|
B Oracle Solaris 11 11/11 Information Library File |
|
|
549 | (4) |
Index |
|
553 | |