a day in the life of a linux administrator
TRANSCRIPT
A day in the life of A linux administrator
For Queries:Post on Twitter @edurekaIN: #askEdurekaPost on Facebook /edurekaIN
For more details please contact us: US : 1800 275 9730 (toll free)INDIA : +91 88808 62004Email Us : [email protected]
View Red Hat Linux Administration course details at www.edureka.co/linux-admin
Slide 2
Why you should learn Linux
What are the responsibilities of a Linux Admin
How Installation and Upgradation is done
LVM Storage Migration
User Administration in Linux
How to Configure Services in Linux
By the end of this webinar, you will be able to understand:
Objectives
Slide 3Slide 3Slide 3 www.edureka.co/linux-admin
Multiple Distributions
Very Easy To Learn and Use
Very Secured
Freely Available
Fast and Effective
Virus Free
Why Linux?
Slide 4Slide 4Slide 4 www.edureka.co/linux-admin
Roles & Responsibilities
Installation & Upgradation
Patching
Application support
Storage migrations
User Administration
Installation and configuring servers/services
Backup & Restore
Troubleshooting
Network Engineer
Linux Admin
System Engineer
Application support
Support Engineer
Software Engineer
Slide 5Slide 5Slide 5 www.edureka.co/linux-admin
Installation & Upgradation
Performing manual & network based installations
VMWare installations
Implementation OS upgradation by performing
necessary tests
Writing and implementing necessary pre & post install
scripts as a part of installation
Slide 6 www.edureka.co/linux-admin
Installation
Power on your computer system.
Go to BIOS setup and change your first boot device to CD/DVD
Insert the CentOS CD/DVD disk into your computer
Follow steps from the installation guide in LMS.
For installing as a VM, install Virtual manager software for your OS.
Start VM and select CentOS as guest OS.
Insert the CentOS CD/DVD disk into your computer
Follow steps from the installation guide in LMS.
Pre-requisites
OR
Slide 7Slide 7Slide 7 www.edureka.co/linux-admin
RPM Package Manager
RPM provides complete software packaging features, including pre-and post-install scripts, dependencies, meta
information, and an installed software database
The database of all installed software maintained on the machine comes in handy for tracking and updating,
dependency verification, and software management
RPM format – Packagename.version.release.architect.rpm
Prerequisites
Slide 8 www.edureka.co/linux-admin
RPM Package Manager (Contd.)
RPM Features :
Provides package management:
»Install
»Remove or Uninstall
»Query
»Upgrade
»Verify
Automatically verifies packages using GPG, MD5, SHA1SUMs
Automatically reports on unresolved dependencies
Slide 9Slide 9Slide 9 www.edureka.co/linux-admin
Patching
Deploying patches in test, monitor and deploy to production
$ patch < patch.file $ patch source.code.file < patch.file $ patch -p LEVEL < {/path/to/patch/file}
Documentation Bug fixes
Slide 11Slide 11Slide 11 www.edureka.co/linux-admin
Application Support
Perform system/application installation
Perform system/service problem
management and troubleshooting
Execute system/service configuration management
Slide 12Slide 12Slide 12 www.edureka.co/linux-admin
Application Support
Participate in ticket support for internal teams and
external vendors by troubleshooting customer issues in
Production, Pre-Production and Customer test
environments
Track day to day incidents and issues using special
monitoring tools
Slide 13Slide 13Slide 13 www.edureka.co/linux-admin
Storage Migrations
Migrating LVM partitions
• One of the excellent feature, where we can migrate the logical volumes to a new disk without the data-loss and downtime.
Map networks
• Nagios/Nagvis, Mila_Ajax_Map, Safe Mapping and Reporting Tool (SMART), Network Scaner, NMap Console
Slide 14 Course Url
Check file system layout
LUN
• virtual layer between physical disk and application
Storage Migrations
Slide 15Slide 15Slide 15 www.edureka.co/linux-admin
User Administration
Creating / Using groups
Managing user accounts
Automation if needed
Slide 16 www.edureka.co/linux-admin
User Administration
To manage users via command line, the following commands are used
» useradd
» usermod
» userdel
» passwd
The user configuration files are stored in two files
» /etc/passwd
» /etc/shadow
User Administration
Slide 17 www.edureka.co/linux-admin
Adding a New User Account
Syntax: useradd [options] username
Command: useradd edureka1
To set password for a specific user
Syntax: passwd username
Command: passwd edureka1
User Administration – cat command (Contd.)
passwd without argument defaultsto change the password of thecurrently logged-in user
Slide 18 www.edureka.co/linux-admin
Modifying / Deleting User Accounts
Usermod command is used to edit/modify ordelete user accounts
syntax: usermod [options] username
To change user’s home directory
Command: usermod -d /home/edureka3edureka3
The usermod -d option changed theuser’s home directory from/tmp/edureka3 to/home/edureka3
User Administration - Modifying Accounts
Slide 19 www.edureka.co/linux-admin
Sudo user
Sudo allows a permitted user to execute a command as the superuser or another user as specified by the security policy
User Administration – Sudo users
Slide 20 www.edureka.co/linux-admin
Sudo user
Visudo command edits /etc/sudoers file in
a safe fashion, locking the file from making
simultaneous edits
User Administration – Sudo users (Contd.)
Slide 21 www.edureka.co/linux-admin
Access Control Lists (ACLs)
Setting ACL
Command: setfacl -m u:edureka:rwlinux.txt
Assigned read and write permission touser edureka
User Administration - Setting ACL
Slide 22 www.edureka.co/linux-admin
Access Control Lists (ACLs)
Remove permissions for the user
Command: setfacl -x u:joial linux.txt
Removed ACL entries assigned to user joial
User Administration - Remove Permissions
Slide 23Slide 23Slide 23 www.edureka.co/linux-admin
Configuring Services
Manage high availability and high traffic servers
Maintain the performance, security, consistency, backup and availability of servers
Server Administration
Working on open source software
Proactive Server Monitoring
Writing Scripts for Systems management & automation
Ticket handling
Slide 24Slide 24Slide 24 www.edureka.co/linux-admin
Reference ( Images ):
• www.geekrepublic.org• www.automationworld.com• www.talktohacker.com