Common Administration Tasks
只搜寻这本书
以 PDF 格式下载本书

............................Contents


1. How to Find Information About Solaris Software
1
..Where Is the Information? 2
....Installing Software 2
....User Environment Management 3
....File System Management 3
....Peripheral Installation and Administration 4
....Network Administration 5
....NIS+ Configuration and Administration 6
....General System Administration 7
..What's In All Those Books? 9
....Solaris 1.x to Solaris 2.x Transition Guide 9
....x86: Installing Solaris Software 9
....SPARC: Installing Solaris Software 10
....Administration Application Reference Manual 10
....Administration Supplement for Solaris Platforms 11
....Software and AnswerBook Packages Administration Guide 11
....Common Administration Tasks 11
....Direct Xlib User's Guide 11
....File System Administration 11
....Name Services Administration Guide 12
....Name Services Configuration Guide 12
....TCP/IP Network Administration Guide 13
....NFS Administration Guide 13
....NIS+ Transition Guide 13
....Peripherals Administration 13
....Security, Performance, and Accounting Administration 14
....SunDiag User's Guide 14
....SunSHIELD Basic Security Module Guide 14
....User Accounts, Printers, and Mail Administration 15
....OpenBoot Command Reference Manual 15
....OpenBoot Quick Reference 15

2. Halting a System
17
..Init States 18
....· How to Determine a System's Init State 19
....· How to Change the Init State 20
..Choosing Which Shutdown Command to Use 21
..Shutting Down a System by Using shutdown 23
....· How to Shut Down a Multiuser System 23
....· How to Shut Down and Reboot a Multiuser System 24
....Overriding the shutdown Defaults 24
..Shutting Down a System by Using init 25
....· How to Shut Down a Single-User System 25
....· How to Shut Down and Reboot a Single-User System. 25
....· How to Shut Down Your System Quickly 25

3. Boot Files
27
..Kernel Modules Directory (/kernel) 27
..Kernel Configuration File (/etc/system) 28
..The System Initialization File (/etc/inittab) 28
..Run Control Files 31
..Understanding the Boot Messages File 36
....· How to Look at the Boot Messages 36

4. Adding Systems to a Network
37
..System Configurations 37
....Servers 38
....Standalone Networked Systems 38
....Standalone Non-Networked Systems 39
....Diskless Clients 39
....Dataless Clients 39
..Using Host Manager to Add Clients and Standalone Systems 40
....· How to Start Host Manager 40
....· How to Add Standalone System Information 42
....· How to Add Support for a Diskless Client 43
....· How to Add Support for a Dataless Client 46

5. Examining and Changing System Information
49
..Examining System Information 49
....Determining the PROM Version 49
....· How to Determine the Host Name 49
....· How to Print the Host ID number 50
....· How to Determine the Amount of Memory 50
....· How to Determine the Kernel Architecture Type 50
....· How to Determine the Processor Type 50
....· How to Determine the Operating System Release 51
....· How to Display System Information With the Workspace
.......Menu 51
..The /etc/system File 52
....Format of the /etc/system File 52
..Changing System Information 54
....· How to Set the Number of Processes per User 54
....· How to Change the Host Name of a System 55
....· How to Increase the Number of Pseudo-ttys to 256 55
....· How to Increase the Number of Lock Requests 55
....· How to Increase Shared Memory Segments 56

6. Using crontab
57
..Overview 57
....The crontab Command 58
....The cron Command 58
..The Format of crontab Files 58
..Creating crontab Files 59
....· How to Create a crontab File 59
..Editing crontab Files 60
....· How to Edit Your Own crontab File 60
....· How to Edit the Superuser's crontab File 60
....· How to Edit Another User's crontab File 60
..Displaying crontab Files 60
....· How to Display Your Own crontab File 61
....· How to Display the Superuser's crontab File 61
....· How to Display a User's crontab File 61
..Removing crontab Files 61
....· How to Remove Your Own crontab File 61
....· How to Remove the Superuser's crontab File 61
....· How to Remove a User's crontab File 61
..Controlling Access to crontab 62

7. Accessing Remote Files and Systems
63
..Logging In to a Remote System 63
....· How to Log In to a Remote System 63
....· How to Log Out From a Remote System 64
....· How to Log In to a Remote System With a Different User
.......Name 64
....· How to Allow Remote Login by the Superuser 64
..Executing Commands on a Remote System Without Logging In 65
....· How to Execute a Command on a Remote System 65
..Checking Who Is Logged In to a Remote System 65
....· How to Find Out Who Is Logged In to Remote Systems 66
..Copying a File or a Directory Over a Network 66
....Copying a File or Directory With the rcp Command 66
....Copying a File With the ftp Command 68

8. Enabling and Using Crash Dumps
71
.. What Happens When a System Crashes 71
....Error Messages Created by a Crash 72
..What Is a Crash Dump? 73
....How Crash Dumps Are Created 73
..Enabling and Disabling Crash Dumps 74
..Recovering From a Crash 76
....What to Do if a System Hangs 76
....What to Do if Rebooting Fails 77
..Using a Crash Dump 78
..Additional Diagnostic Techniques 78
....Looking at Messages Generated During Booting 78
....Using System Error Logging (syslogd) 79