Difference between revisions of "Solaris 10 System Administration Part I"
Jump to navigation
Jump to search
To Solaris
m (→File systems) |
|||
Line 167: | Line 167: | ||
</tr> | </tr> | ||
</table> | </table> | ||
==== Important subdirectories under /etc ==== | |||
<table style="text-align: left; width: 50%;" border="1" | |||
cellpadding="2" cellspacing="0"> | |||
<tr> | |||
<td>/etc/acct</td> | |||
<td>config info for accounting system</td> | |||
</tr> | |||
<tr> | |||
<td>/etc/cron.d</td> | |||
<td>config info for cron utility</td> | |||
</tr> | |||
<tr> | |||
<td>/etc/default</td> | |||
<td>default info for various programs</td> | |||
</tr> | |||
<tr> | |||
<td>/etc/inet</td> | |||
<td>config files for network services</td> | |||
</tr> | |||
<tr> | |||
<td>/etc/init.d</td> | |||
<td>scripts for starting & stopping services</td> | |||
</tr> | |||
<tr> | |||
<td>/etc/lib</td> | |||
<td></td> | |||
</tr> | |||
<tr> | |||
<td>/etc/lp</td> | |||
<td>config info for printer subsystem</td> | |||
</tr> | |||
<tr> | |||
<td>/etc/mail</td> | |||
<td>config info for mail subsystem</td> | |||
</tr> | |||
<tr> | |||
<td>/etc/nfs</td> | |||
<td>config file for NFS server logging</td> | |||
</tr> | |||
<tr> | |||
<td>/etc/opt</td> | |||
<td>config info for optional packages</td> | |||
</tr> | |||
<tr> | |||
<td>/etc/rc#.d</td> | |||
<td>legacy scripts that are executed when entering or leaving a specific run level</td> | |||
</tr> | |||
<tr> | |||
<td>/etc/security</td> | |||
<td>controls files for Role Based Access Control & security privileges</td> | |||
</tr> | |||
<tr> | |||
<td>/etc/skel</td> | |||
<td>default shell initialization files for new users</td> | |||
</tr> | |||
<tr> | |||
<td>/etc/svc</td> | |||
<td>Service Management Facility database & log files</td> | |||
</tr> | |||
</table> | |||
==== Important subdirectories of /usr ==== | |||
<table style="text-align: left; width: 50%;" border="1" | <table style="text-align: left; width: 50%;" border="1" |
Revision as of 13:12, 13 July 2011
My Solaris 10 System Administration Part I notes.
Credits
My main source of information came from Oracle System Administration of Solaris 10 Part I from Oracle University (excellent training) & Solaris 10 man pages.
Solaris 10 OS Directory Hierarchy
File systems
Unix File System (UFS) is the default file system
Directory starts with root directory (/)
Solaris 10 OS includes alternate file system called zettabyte file system (ZFS)
Logically all directories fall below root directory (/)
Physically directories can be located on one or spread over multiple file systems
<insert graphics to show this>
Refer to filesystem man page for more information on file system organization.
$ man -s 5 filesystem
Important directories
Directory | Notes |
/ | root of file system |
/bin | symbolic link to /usr/bin & location for binary files of standard system commands |
/dev | primary directory for logical device names & contents of directory are symbolic links to device files in /devices directory |
/etc | directory holds host-specific config files & databases for system administration |
/export | default directory for commonly shared file systems (like user home directories) |
/home | default directory or mount point for user home directories |
/kernel | |
/lib | |
/mnt | |
/opt | |
/platform | |
/sbin | |
/usr | |
/var |
Important in-memory system directories
/dev/fd | |
/devices | |
/etc/mnttab | |
/etc/svc/volatile | |
/proc | |
/system/contract | |
/system/object | |
/tmp | directory for temporary files (cleared during boot sequence) |
/var/run |
Subdirectories of note under /dev
/dev/dsk | block disk devices |
/dev/fd | file descriptors |
/dev/md | logical volume management metadisk drives |
/dev/pts | pseudo terminal devices |
/dev/rdsk | raw disk devices |
/dev/rmt | raw magnetic devices |
/dev/term | serial devices |
Important subdirectories under /etc
/etc/acct | config info for accounting system |
/etc/cron.d | config info for cron utility |
/etc/default | default info for various programs |
/etc/inet | config files for network services |
/etc/init.d | scripts for starting & stopping services |
/etc/lib | |
/etc/lp | config info for printer subsystem |
/etc/mail | config info for mail subsystem |
/etc/nfs | config file for NFS server logging |
/etc/opt | config info for optional packages |
/etc/rc#.d | legacy scripts that are executed when entering or leaving a specific run level |
/etc/security | controls files for Role Based Access Control & security privileges |
/etc/skel | default shell initialization files for new users |
/etc/svc | Service Management Facility database & log files |