Documente Academic
Documente Profesional
Documente Cultură
Munavalli Matt K S
BIHE-BCA
Agenda
An Overview of the UNIX
Unix Installation
Pre Install
Post Install
Startup & Shutdown
Shell & Unix Command
File System
Account Management
Network File System (NFS)
Install Additional Software
Package Management
Install Form Source Code
Process & Job control
An Overview of the Unix OS
At first, unix was designed to let a number of programmer
access the same time and share its resource. The important
features that make unix favorite are:
Multitasking
Multiuser
Portability
Unix Tools
Unix Communication
Library of application software
Unix Structure
Kernel
Hardware
Application Program
Information before install
Root (/)
swap
/usr
/var
/home
Post Install
ROM Phase
Boot Program Phase
Kernel initialization Phase
Init Phase
Boot ROM Phase
Type Symbol
Regular file -
Directory d
Character device c
Block device b
Unix domain socket s
Name pipes p
link file l
File Access Permission
2 2 + 2 1 + 20
The following example shows the use of the
ls –la command to display permission file
Permission and Owner Command
username:password:uid:gid:comment:
home-directory:loginshell
Fields in /etc/shadow file
username:password:lastchange:min:max:
warn:inactive:expire
Startup Files
Once the home directory is created the startup files can be
copied in or created. Again you should remember that this will
be done as the root user and so root will own the files. You
must remember to change the ownership.
For example
The following is example set of commands that will perform
these tasks.
mkdir home_directory
cp -pr /etc/skel/.* home_directory
chown -R login_name home_directory
chgrp -R group_name home_directory
chmod -R 700 home_directory
The NFS Distributed File System
The NFS environment contains the following components:
NFS server – A system that contains the file resources to be shared with other
systems on the network.
NFS client – A system that mounts the file resources shared over the network a
nd presents the file resources as if they were local.
Configuring the NFS File Server
ServerName avalon.bu.ac.th
ServerAdmin root@avalon.bu.ac.th
DocumentRoot "/usr/local/apache/htdocs"