Linux advanced concepts - Part 1
-
Upload
iwillstudycom -
Category
Education
-
view
3.227 -
download
3
description
Transcript of Linux advanced concepts - Part 1
Linux ..some advanced concepts :)
The Linux File System
Default File System
● EXT3● EXT4
Other File Systems● XFS● Reiser4● GFS● BTRFS
Ext4 Enhancements
● Large Filesystem support (1 EB)
● Extends
● Multi-block allocator
● Persistent pre-allocation
● Delayed Allocation
● Journal checksuming
● Faster file system checking
● Sub-directory limit has been removed (32000)
● Nano second time stamps
Users and Persmissions
● Adding / Deleting / Modify users● Managing groups● User variables● Environment variables● ldconfig
Changing and Managing permissions
The long version of a file listing (ls -l) will display the file permissions:
-rwxrwxr-x 1 rvdheij rvdheij 5224 Dec 30 03:22 hello-rw-rw-r-- 1 rvdheij rvdheij 221 Dec 30 03:59 hello.c-rw-rw-r-- 1 rvdheij rvdheij 1514 Dec 30 03:59 hello.sdrwxrwxr-x 7 rvdheij rvdheij 1024 Dec 31 14:52 posixuft
Permissions
OwnerGroup
Interpreting File Permissions
-rwxrwxrwxOther permissions
Group permissions
Owner permissions
Directory flag (d=directory; l=link)
Changing and Managing permissions
● chgrp● chown● chmod
chmod 755 file # Owner=rwx Group=r-x Other=r-x chmod 500 file2 # Owner=r-x Group=--- Other=--- chmod 644 file3 # Owner=rw- Group=r-- Other=r--
chmod +x file # Add execute permission to file for all chmod o-r file # Remove read permission for others chmod a+w file # Add write permission for everyone
Basic System Administration
● Monitoring the System
● memory● disk space● processor
● Load Average
● Creating partitions manually and mount them (cli)
● System and Kernel update
● Sharing files between Windows and Linux
● configuring samba server
Security
● Network Security
● Iptables● TCP Wrappers● Service Level Security● SELinux
● Physical security
Linux Kernel Subsystems
Processes
● User Mode
● Kernel Mode
● Mode Switch
● Context Switch
Manage Process
● Kill Signals
● Zombies Process● Orphan Process● Process priority
Linux Kernel Subsystems
The Linux Kernel
User Commands
Shell
Kernel File System
Device Drivers
Hardware
User commands includes executable programs and scripts
The shell interprets user commands. It is responsible for
finding the commands and starting their execution.
The kernel manages the hardware resources for the rest of the
system.
Questions? Ask at www.iwillstudy.com/forum