Professional Documents
Culture Documents
NSM 01
NSM 01
Cristian-Mihai AMARANDEI
Email: cristian-mihai.amarandei@academic.tuiasi.ro
”Network Service Management” – Course Notes
●
and ...
… what to do when
SOMETHING GOES WRONG!!!
OR
Course structure
Lectures
– 1 h/week [Total: 14 h]
– Attendance: highly encouraged
– Details on topics ... some tips and tricks
Applications
– 2 h/week [Total: 28 h]
– Attendance: mandatory
– Hands on
●
learn how to deal with network services: install, deploy and troubleshoot
●
learn how to connect them
NSM Lecture 1 - Intro 11/37
”Network Service Management” – Course Notes
Evaluation Criteria
Final assessment - 50% ( Minimum grade 5 !)
– theoretical knowledge test (quiz on Moodle)
●
no information materials
Continuous assessment
– Laboratory work 50% (Minimum grade 5 !)
Linux
system architecture
Linux
system architecture
●
Kernel
– Interface between hardware and the operating system
– Resposable for:
●
Resource allocation (i.e. memory, CPU)
●
Contains device drivers - usually ones, which are specific to the hardware peripherals that you are using
●
Resource accounting
●
System security
●
Standard Library of Procedures
– a standard library of procedures, which allows the "userland" software to communicate with the kernel (often
called "libc“)
●
Standard Utilities and User Applications
– a set of standard Unix-like utilities: simple commands that are used in day-to-day use of the operating
system, as well as specific user applications and services
●
Block 0 – contains the code needed to further initialize the
operating system; ●
Block 2 to n (n – disk formating constant) contains a
●
Block 1 or superblock – is a data structure that represents list of i-nodes (i-list or i-node list) that are used to
a file system and contains the following information: track and maintain information about each file created
– the size of the file system, the list of storage blocks on the filesystem.
– the number of free blocks. – i-node – is a data structure represents an object in the file
– the location of all free blocks. system with a unique identifier that stores all the
– the index of the next free block in the free block list. information about a file except its name and its actual data
– the size of the inode list.
– the number of free inodes in the file system.
– the index of the next free inode in the free inode list
●
Special attributes
– SUID/SGID (“ s” ) bit
●
change owners identity
– Sticky (“t” ) bit
●
Initially used to store the text segment of a program in swap after the program end it’s execution
●
Now used only for directories (only the owner can delete them)
– Example: /tmp - users can add/remove their own files but cannot remove the /tmp or someone else files
Field 1 Field 2 Field 3 Field 4 Field 5 Field 6 Field 7 Field 8 Field 9 Field 10
●
Field 1: file type – First = readable “ r”
– second = writeable “w”
– “-” common file – third = executable “ x”; s/t: executable and setuid/setgid/sticky; S/T:
– “d” directory setuid/setgid or sticky, but not executable.
●
Field 5: specifies the number of links or directories inside this
– “b” block device,“c” character device directory (by default 2 because of “.” si ”..”)
– “l” link, “p” pipe, “s” socket ●
Field 6,7: the owner and the group that file belongs to (any
user in that group will have the permissions given in the field
●
Field 2,3,4: three groups of three characters 3)
– what the owner can do ●
Field 8: size in bytes
– what the group members can do ●
Field 9: date of last modification
– what other users can do ●
Field 10: name of the file/direcotry
NSM Lecture 1 - Intro 22/37
”Network Service Management” – Course Notes
Reading assignment
●
The Linux System Administrator's Guide
– Chapters 2,3,4
References
This presentation is intended for lecturing purposes only and it is based on the references listed below. Therefore, the students are encouraged to (and they should) read
thoroughly the original documents listed below in order to improve their skills.
●
Matthew West - The Linux System Administrator's Guide
– http://www.learnlinux.org.za/courses/build/fundamentals/index.html
●
The Linux System Administrators' Guide
– http://www.tldp.org/LDP/sag/sag.pdf
●
The Linux Network Administrator's Guide, Second Edition
– http://www.tldp.org/LDP/nag2/nag2.pdf
●
Securing & Optimizing Linux: The Ultimate Solution
– http://www.tldp.org/LDP/solrhe/Securing-Optimizing-Linux-The-Ultimate-Solution-v2.0.pdf
●
Filesystem Hierarchy Standard
– http://www.pathname.com/fhs/pub/fhs-2.3.pdf
●
Red Hat Enterprise Linux Documentation
– https://access.redhat.com/documentation/en/red-hat-enterprise-linux/