linux admin [email protected]@rockfortnetworks.com

22
Linux Admin www.rockfortnetworks.com [email protected]

Upload: henry-dickerson

Post on 12-Jan-2016

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Linux Admin  linuxadmin.bng@rockfortnetworks.comlinuxadmin.bng@rockfortnetworks.com

Linux Admin

www.rockfortnetworks.com [email protected]

Page 2: Linux Admin  linuxadmin.bng@rockfortnetworks.comlinuxadmin.bng@rockfortnetworks.com

About Linux admin Linux (i/ links/ˈ  LIN-uks[5][6] or, less frequently used, / la n ks/ˈ ɪ ə  LYN-uks)[6][7] is a Unix-like and mostly POSIX-compliant[8] computer operating system assembled under the model of free and open-source software development and distribution. The defining component of Linux is the Linux kernel,[9] an operating system kernel first released on 5 October 1991 by Linus Thorvaldsen.[10][11] The Free Software Foundation uses the name GNU/Linux, which has led to some controversy. The development of Linux is one of the most prominent examples of free and open-source software collaboration. The underlying source code may be used, modified, and distributed—commercially or non-commercially—by anyone under licenses such as the GNU General Public License.

Page 3: Linux Admin  linuxadmin.bng@rockfortnetworks.comlinuxadmin.bng@rockfortnetworks.com

Linux was originally developed as a free operating system for Intel x86-based personal computers. It has since been ported to more computer hardware platforms than any other operating system.[citation needed] It is a leading operating system on servers and other big iron systems such as mainframe computers and supercomputers. Although not released until 1992 due to legal complications, development of 386BSD, from which NetBSD, OpenBSD and FreeBSD descended, predated that of Linux. Linus Torvalds has said that if 386BSD had been available at the time, he probably would not have created Linux.

Page 4: Linux Admin  linuxadmin.bng@rockfortnetworks.comlinuxadmin.bng@rockfortnetworks.com

A Linux-based system is a modular Unix-like operating system. It derives much of its basic design from principles established in Unix during the 1970s and 1980s. Such a system uses a monolithic kernel, the Linux kernel, which handles process control, networking, and peripheral and file system access.

Page 5: Linux Admin  linuxadmin.bng@rockfortnetworks.comlinuxadmin.bng@rockfortnetworks.com

Components of Linux System Kernel:- Kernel is the core part of Linux. It is responsible for all major activities of this operating system. It is consists of various modules and it interacts directly with the underlying hardware. System Library:- System libraries are special functions or programs using which application programs or system utilities accesses Kernel's features. System Utility:- System Utility programs are responsible to do specialized, individual level tasks

Page 6: Linux Admin  linuxadmin.bng@rockfortnetworks.comlinuxadmin.bng@rockfortnetworks.com
Page 7: Linux Admin  linuxadmin.bng@rockfortnetworks.comlinuxadmin.bng@rockfortnetworks.com

Basic Features of Linux Portable :- Portability means software's can works on different types of hardwires in same way. Linux kernel and application programs supports their installation on any kind of hardware platform. Open Source:- Linux source code is freely available and it is community based development project. Multi-User :- Linux is a multiuser system means multiple users can access system resources like memory/ ram/ application programs at same time.

Page 8: Linux Admin  linuxadmin.bng@rockfortnetworks.comlinuxadmin.bng@rockfortnetworks.com

Multiprogramming :- Linux is a multiprogramming system means multiple applications can run at same time. Hierarchical File System :- Linux provides a standard file structure in which system files/ user files are arranged. Shell :- Linux provides a special interpreter program which can be used to execute commands of the operating system. Security :- Linux provides user security using authentication features like password protection/ controlled access to specific files/ encryption of data.

Page 9: Linux Admin  linuxadmin.bng@rockfortnetworks.comlinuxadmin.bng@rockfortnetworks.com

Architecture of Linux

Page 10: Linux Admin  linuxadmin.bng@rockfortnetworks.comlinuxadmin.bng@rockfortnetworks.com

Linux System Architecture is consists of following layers1. Hardware layer :- Hardware consists of all peripheral devices (RAM/ HDD/ CPU etc).2. Kernel  :- Core component of Operating System, interacts directly with hardware, provides low level services to upper layer components.3. Shell :- An interface to kernel, hiding complexity of kernel's functions from users. Takes commands from user and executes kernel's functions.4. Utilities : - Utility programs giving user most of the functionalities of an operating systems

Page 11: Linux Admin  linuxadmin.bng@rockfortnetworks.comlinuxadmin.bng@rockfortnetworks.com

contents Introduction to Linux/Unix History of Linux Layered Architecture Kernel & Shell Common UNIX Flavors System Boot Up Virtual Consoles Linux Fundamentals Introduction to Bash shell Getting Started – Shell prompts Linux Command – Arguments & Options Basic Commands pwd, date, who, id

Page 12: Linux Admin  linuxadmin.bng@rockfortnetworks.comlinuxadmin.bng@rockfortnetworks.com

uname, whereis, tty Getting help on Commands Managing Files & Directories Hard Link & Soft Link vi Editor Files & Directories Search find command Filters tee, wc, tr, cut sort, head, tail more, less, grep File System Commands df & du

Page 13: Linux Admin  linuxadmin.bng@rockfortnetworks.comlinuxadmin.bng@rockfortnetworks.com

Awk Programming Language Working with Run Levels Shutting the System down System Directories User Management User and Group Concepts Creating, modifying and deleting User Accounts Creating, modifying and deleting Group Accounts Password Aging Default User Files The su command – switch between users Understanding File and Directory Permissions chown & chgrp umask command

Page 14: Linux Admin  linuxadmin.bng@rockfortnetworks.comlinuxadmin.bng@rockfortnetworks.com

Process Management Viewing Processes Process Tree & Process Status ps & pstree commands Identifying System & Daemon Processes Foreground and Background Processes Tuning Process Scheduling Process Priority nice & renice commands Killing / Terminating a Processes Max Processes per User – ulimit

Page 15: Linux Admin  linuxadmin.bng@rockfortnetworks.comlinuxadmin.bng@rockfortnetworks.com

Software Package Management Software Repositories Redhat Vs. Debian Redhat Tools – rpm and yum Debian Tools – dpkg and apt-get Bash Shell Scripting Bash Shell Configuration Scripts Shell Variables Environment Variables Set & unset of variables Exporting Variables Configuring Shell

Page 16: Linux Admin  linuxadmin.bng@rockfortnetworks.comlinuxadmin.bng@rockfortnetworks.com

Use of /etc/profile and .profile Exit status of a Command cat Command Standard Files I/O Redirection Sample Shell script Executing a Shell script Passing parameters to Shell script Arithmetic Operations Logical Operations Conditional Statements Iterative Statements Case Statements

Page 17: Linux Admin  linuxadmin.bng@rockfortnetworks.comlinuxadmin.bng@rockfortnetworks.com

Functionss Debugging Shell scripts Linux/Unix Backup Tool Backup through tar / cpio / dd commands Recovering single / multiple files Linux/Unix Networking IPv4 Fundamentals TCP/UDP Fundamentals Linux Network Interfaces Services & Ports ping telnet ssh netstat tool

Page 18: Linux Admin  linuxadmin.bng@rockfortnetworks.comlinuxadmin.bng@rockfortnetworks.com

Job Scheduling Scheduling jobs through at & cron Managing access permissions to at & cron utilities crontab file format Performance Monitoring & Troubleshooting System Status – Resource Consumption System Status – Memory Usage System Status – I/O Activity System Status – CPU Usage Resource Usage – Trends top, iostat, vmstat, sar commands

Page 19: Linux Admin  linuxadmin.bng@rockfortnetworks.comlinuxadmin.bng@rockfortnetworks.com

Troubleshooting Methods Process Profiling Process Syscall Tracing – strace Process Libcall Tracing – ltrace Process Kernel/User Space Time Check Filesystem Corruptions and Recovery Installation of Linux OS Partition Considerations Installing Linux – DVD/Virtual Machine

Page 20: Linux Admin  linuxadmin.bng@rockfortnetworks.comlinuxadmin.bng@rockfortnetworks.com

Salient features of Linux admin :

80% hands on / practical classes. Real time Scenarios / Project Exposure. Limited no of students per batch. Corporate Training Atmosphere Week end Batches to suit Professional. Placement Assistance which includes1. Resume Preparation 2. Individual Counselling3. Offline Support, which includes email queries and assignments.4. Association with people who are working for more

than 20 Companies who may provide interviews . Backup Classes. Provision to come for one more batch.

Page 21: Linux Admin  linuxadmin.bng@rockfortnetworks.comlinuxadmin.bng@rockfortnetworks.com

Platinum features of shell script Will get complete product development cycle, which includes Demand from customer. Design-decision. Conceptualization. Analysis. Design finalize. DFMEA. Finalization. Drawing release. Tool design. Product to the market.

Page 22: Linux Admin  linuxadmin.bng@rockfortnetworks.comlinuxadmin.bng@rockfortnetworks.com