Getting Started With Linux Administration

Download Getting Started With Linux Administration

Post on 06-Apr-2017

1.145 views

Category:

Technology

3 download

Embed Size (px)

TRANSCRIPT

<ul><li><p>Getting Started with Linux Administration</p></li><li><p>What will you learn today?</p><p> Why you should learn Linux?</p><p> Roles &amp; Responsibilities of a Linux Administrator</p><p> Installation and Upgradation in Linux</p><p> Storage Migration using LVM</p><p> User Administration in Linux</p><p>www.edureka.co/linux-admin</p></li><li><p>Why Linux? </p><p>www.edureka.co/linux-admin</p><p>Multiple Distributions</p><p>Very Easy To Learn and Use</p><p>Very Secured</p><p>Freely Available</p><p>Fast and Effective</p><p>Virus Free</p></li><li><p>Roles &amp; Responsibilities</p><p>www.edureka.co/linux-admin</p><p> Installation &amp; Upgradation</p><p> Patching</p><p> Application support</p><p> Storage migrations</p><p> User Administration</p><p> Installation and configuring servers/services</p><p> Backup &amp; Restore</p><p> Troubleshooting </p><p> Network Engineer</p><p> Linux Admin System Engineer</p><p> Application support</p><p> Support Engineer </p><p> Software Engineer</p></li><li><p>Installation &amp; Upgradation</p><p>www.edureka.co/linux-admin</p><p> Performing manual &amp; network based installations</p><p> VMWare installations</p><p> Implementation OS upgradation by performing </p><p>necessary tests</p><p> Writing and implementing necessary pre &amp; post </p><p>install scripts as a part of installation</p></li><li><p>Installation</p><p>www.edureka.co/linux-admin</p><p> Power on your computer system.</p><p> Go to BIOS setup and change your first boot device to CD/DVD</p><p> Insert the CentOS CD/DVD disk into your computer</p><p> Follow steps from the installation guide in LMS.</p><p> For installing as a VM, install Virtual manager software for your OS.</p><p> Start VM and select CentOS as guest OS.</p><p> Insert the CentOS CD/DVD disk into your computer</p><p> Follow steps from the installation guide in LMS.</p><p>Pre-requisites</p><p>OR</p></li><li><p>RPM Package Manager</p><p>www.edureka.co/linux-admin</p><p> RPM provides complete software packaging features, including pre-and post-install scripts, dependencies, meta </p><p>information, and an installed software database</p><p> The database of all installed software maintained on the machine comes in handy for tracking and updating, </p><p>dependency verification, and software management</p><p> RPM format Packagename.version.release.architect.rpm</p><p>Prerequisites</p></li><li><p>RPM Package Manager (Contd.)</p><p>www.edureka.co/linux-admin</p><p>RPM Features :</p><p> Provides package management:</p><p>Install</p><p>Remove or Uninstall</p><p>Query</p><p>Upgrade</p><p>Verify</p><p> Automatically verifies packages using GPG, MD5, SHA1SUMs</p><p> Automatically reports on unresolved dependencies</p></li><li><p>Patching</p><p>www.edureka.co/linux-admin</p><p> Deploying patches in test, monitor and deploy to production</p><p>$ patch &lt; patch.file $ patch source.code.file &lt; patch.file $ patch -p LEVEL &lt; {/path/to/patch/file}</p><p> Documentation Bug fixes</p></li><li><p>www.edureka.co/linux-admin</p><p>How to Apply a Patch?</p></li><li><p>Application Support</p><p>www.edureka.co/linux-admin</p><p> Perform system/application installation</p><p> Perform system/service problem </p><p>management and troubleshooting</p><p> Execute system/service configuration management</p></li><li><p>Application Support</p><p>www.edureka.co/linux-admin</p><p> Participate in ticket support for internal teams and </p><p>external vendors by troubleshooting customer issues in </p><p>Production, Pre-Production and Customer test </p><p>environments</p><p> Track day to day incidents and issues using special </p><p>monitoring tools</p></li><li><p>Storage Migrations</p><p>www.edureka.co/linux-admin</p><p>Migrating LVM partitions</p><p> One of the excellent feature, where we can migrate the logical volumes to a new disk without the data-loss and downtime.</p><p>Map networks</p><p> Nagios/Nagvis, Mila_Ajax_Map, Safe Mapping and Reporting Tool (SMART), Network Scaner, NMap Console</p></li><li><p>Storage Migrations</p><p>www.edureka.co/linux-admin</p><p>Check file system layout</p><p>LUN</p><p> virtual layer between physical disk and application</p></li><li><p>User Administration</p><p>www.edureka.co/linux-admin</p><p> Creating / Using groups</p><p> Managing user accounts</p><p> Automation if needed</p></li><li><p>User Administration</p><p>www.edureka.co/linux-admin</p><p>User Administration</p><p> To manage users via command line, the following commands are used</p><p> useradd</p><p> usermod</p><p> userdel</p><p> passwd</p><p> The user configuration files are stored in two files</p><p> /etc/passwd</p><p> /etc/shadow</p></li><li><p>User Administration cat command (Contd.)</p><p>www.edureka.co/linux-admin</p><p>Adding a New User Account</p><p> Syntax: useradd [options] username</p><p> Command: useradd edureka1</p><p>To set password for a specific user</p><p> Syntax: passwd username</p><p> Command: passwd edureka1</p><p>passwd without argument defaultsto change the password of thecurrently logged-in user</p></li><li><p>User Administration - Modifying Accounts</p><p>www.edureka.co/linux-admin</p><p>Modifying / Deleting User Accounts</p><p>Usermod command is used to edit/modify ordelete user accounts</p><p> syntax: usermod [options] username</p><p>To change users home directory</p><p> Command: usermod -d /home/edureka3edureka3</p><p> The usermod -d option changed the usershome directory from /tmp/edureka3 to/home/edureka3</p></li><li><p>User Administration Sudo users</p><p>www.edureka.co/linux-admin</p><p>Sudo user</p><p> Sudo allows a permitted user to execute a command as the superuser or another user as specified by the security policy</p></li><li><p>User Administration Sudo users (Contd.)</p><p>www.edureka.co/linux-admin</p><p>Sudo user</p><p> visudo command edits /etc/sudoers file in </p><p>a safe fashion, locking the file from making </p><p>simultaneous edits</p></li><li><p>User Administration - Setting ACL</p><p>www.edureka.co/linux-admin</p><p>Access Control Lists (ACLs)</p><p>Setting ACL</p><p> Command: setfacl -m u:edureka:rw linux.txt</p><p> Assigned read and write permission to useredureka</p></li><li><p>User Administration - Remove Permissions</p><p>www.edureka.co/linux-admin</p><p>Access Control Lists (ACLs)</p><p>Remove permissions for the user</p><p> Command: setfacl -x u:joial linux.txt</p></li><li><p>Configuring Services</p><p>www.edureka.co/linux-admin</p><p>Manage high availability and high traffic servers</p><p>Maintain the performance, security, consistency, backup and availability of servers</p><p>Server Administration</p><p>Working on open source software</p><p>Proactive Server Monitoring</p><p>Writing Scripts for Systems management &amp; automation</p><p>Ticket handling</p></li><li><p>Course Details</p><p>www.edureka.co/linux-admin</p><p>Become an expert in Linux Administration</p><p>Go to www.edureka.co/linux-admin</p><p>Edureka's Linux Administration course: </p><p> This course is designed to shape you as a Linux professional &amp; help you to run applications, perform desired functions on your system and networks, create a network configuration, and maintain security administration.</p><p> You will work on a Project which involves performing some of the day-to-day activities you would need to do as a Linux administrator.</p><p> Online Live Courses: 42 hours Assignments: 25 hours Project: 20 hours Lifetime Access + 24 X 7 Support</p></li><li><p>Thank You</p><p>Questions/Queries/Feedback</p><p>Recording and presentation will be made available to you within 24 hours</p></li></ul>