SlideShare a Scribd company logo
1 of 24
VISVESVARAYA TECHNOLOGICAL UNIVERSITY BELGAUM




                              Technical Seminar
                                    On
                             “Linux Administration”
                                    By
                                YOGESH K S
                                4GH08CS058

                             Under the guidance of
                              Mr.Annaiah.,B.E.,M.Tech
                               Asst.professor
Seminar co-ordinator                                         Head of the Department
Mr.Chethan K.C.,B.E,M.Tech                              Dr. K.C Ravishankar B.E., M.Tech., Ph.d
                                                            Professor & Head,Dept.of
   Asst.professor
                                                               CS&E, GEC,Hassan
Linux Administration
Contents

1.   Introduction
2.   Admin Tasks
3.   Installation of Linux
4.   Admin Login
5.   User and Group management
6.   Security
7.   Backup & Restore
8.   Packages
9.   Conclusion
Introduction


• Linux is based on Unix

• Administration involves the management of
  entire system

• From maintaining user accounts to performing
  backups
Admin Roles & Tasks

• Install and Upgrade systems
• User management
• Group management
• Security
• Networking
• Backup and Restore
• Communicate with the users
• Managing System Services
• Adding or Removing application packages
and many more..
Installation of Linux

Several methods are available some of them are:

• FTP: One of the earliest method used for performing
       network installations

• HTTP: Installation is served from a web server.

• NFS: Distribution tree is shared/exported on an NFS server.

• From the Optical or removable media.
Admin Login

Two ways-
   • Login directly as root   • Using su command
User management

• Done using either CLI or GUI.

Using CLI: 3 commands are used-
useradd- Creates or adds a new
user
usermod- Modifies the user
account like username, password
etc.,
(options –l, -p, -d,-g,-u )
userdel- Deletes the user. –r
option is used to delete home
directory
User management using GUI

Go to the System => Administration
=> Users & Groups.

Click on Add User and the do the
following instructions

Add the user name, full name of the
user, password

Click on OK and the user gets added
to the system.
Group management


• Similar kind of users are added to a particular
  group.
• 3 commands are used-
groupadd- adds or creates a
group
groupmod- modifies a
group(options –g, -n, -p)
groupdel- deletes a particular
group
Networking


• Basic tools used for networking are ping, ftp, telnet
  and ssh.

• ping is used in checking
  the network.
• ftp is used to transfer files
  between hosts.
• telnet is used for remote
  login.
• ssh is also used for remote
  login and is secure.
Communicating with Users

• The admin should
   communicate with the users
   to intimate about the changes.
• Commands used-
wall- addresses all users
simultaneously who are
currently logged in.
 Syntax: wall msg

write-addresses a single user
Syntax: write username [tty] msg
Managing System Services


• System services can be managed using either service
  command or GUI.
• Using service command:
Start a service-
service service_name start
Stop a service-
service service_name stop
Restart a service
service service_name restart
Managing Services Using GUI


Go to the System =>
Administration => Services.

This opens a Service
Configuaration window.

Click on the required Service to
start, stop or restart it.

Give the admin password
whenever prompted and click ok.
Security

• Linux is more secure and it is enhanced with its
  Firewall and SELinux.

• Firewall: Enable Firewall
  Using GUI (System->
  Administration-
  >Firewall) to activate
  the firewall
• Allow standard services
  and any specific port
  based application
• All other services and
  ports are blocked
SELinux
• Malicious or broken software can have root-level
  access to the entire system by running as a root
  process.

• SELinux (Security Enhanced Linux) provides
  enhanced security.

• SELinux can take one of these three values
enforcing - SELinux security policy is enforced.
permissive - SELinux prints warnings instead of
enforcing.
disabled - SELinux is fully disabled
SELinux Configuration

• Use GUI (Applications -
  >System Settings->
  Security Level) to
  activate SELinux
• Enable/Disable SELinux
• Allow standard features
  in various services
  (http,nis,nfs,dns etc.)
• All other services and
  features are blocked
Backup & Restore

• Backup the user area or configuration file
• Use tar to take backup on a different disk or tape
• Backup can be scheduled using cron
• Backup: tar –zcvf <dev filename> <Directory Tree to be
  backedup>
• Restore: tar –zxvf <dev filename> <file to be
  recovered>
• Backup should be occasionally checked by restoring it
• Backup Policy: Full Backup every weekly/fortnightly
  and incremental backup every day
Adding & Removing Packages

• Can be done using source code of the package, binary
  rpms or yum utility.
• Using source code-
• This is hard way to install a package.
• Usual steps-
Download the required tar compressed file and extract it.
Run ./configure and make for compiling.
Run make install.
• May run into problems because of shared libraries or
  compilation.
Using RPM(Redhat Package Manager)

• Be aware of Architecture and type of kernel.
• Syntax: rpm [options] file.rpm(-i=install, -U= upgrade,
  -e= erase)
• To install a package: rpm –i pkg.rpm
• To remove a package: rpm –e pkg
Using YUM(Yellowdog Updater, Modified)



• Easiest way to install a package.
• No need to worry about architecture and
  kernel.
• Resolves dependencies automatically.
• Syntax to install: yum install package-name
• To uninstall any package: yum remove package-
  name
Conclusion
                Conclusion

• Discussed only few essential linux
  administration tools.




• Full administration requires an in-depth
  knowledge of different components of system.
Any Qs?
ThanQ You

More Related Content

What's hot

A Project Report on Linux Server Administration
A Project Report on Linux Server AdministrationA Project Report on Linux Server Administration
A Project Report on Linux Server AdministrationAvinash Kumar
 
Ansible presentation
Ansible presentationAnsible presentation
Ansible presentationJohn Lynch
 
Introduction to linux ppt
Introduction to linux pptIntroduction to linux ppt
Introduction to linux pptOmi Vichare
 
Comparing windows vs mac vs linux
Comparing windows vs mac vs linuxComparing windows vs mac vs linux
Comparing windows vs mac vs linuxHan Nguyen Van
 
RHEL-7 Administrator Guide for RedHat 7
RHEL-7  Administrator Guide for RedHat 7RHEL-7  Administrator Guide for RedHat 7
RHEL-7 Administrator Guide for RedHat 7Hemnath R.
 
Ansible presentation
Ansible presentationAnsible presentation
Ansible presentationKumar Y
 
Ubuntu desktop
Ubuntu desktopUbuntu desktop
Ubuntu desktopGehrai
 
Complete Guide for Linux shell programming
Complete Guide for Linux shell programmingComplete Guide for Linux shell programming
Complete Guide for Linux shell programmingsudhir singh yadav
 
Unix/Linux Basic Commands and Shell Script
Unix/Linux Basic Commands and Shell ScriptUnix/Linux Basic Commands and Shell Script
Unix/Linux Basic Commands and Shell Scriptsbmguys
 
Linux and its history
Linux and its historyLinux and its history
Linux and its historyKamal Ahmed
 
Linux architecture
Linux architectureLinux architecture
Linux architecturemcganesh
 
Linux standard file system
Linux standard file systemLinux standard file system
Linux standard file systemTaaanu01
 
Introduction to Ansible
Introduction to AnsibleIntroduction to Ansible
Introduction to AnsibleKnoldus Inc.
 
Network File System
Network File SystemNetwork File System
Network File SystemDivyang Oza
 

What's hot (20)

A Project Report on Linux Server Administration
A Project Report on Linux Server AdministrationA Project Report on Linux Server Administration
A Project Report on Linux Server Administration
 
Nfs
NfsNfs
Nfs
 
Ansible presentation
Ansible presentationAnsible presentation
Ansible presentation
 
Ansible - Introduction
Ansible - IntroductionAnsible - Introduction
Ansible - Introduction
 
Introduction to linux ppt
Introduction to linux pptIntroduction to linux ppt
Introduction to linux ppt
 
Comparing windows vs mac vs linux
Comparing windows vs mac vs linuxComparing windows vs mac vs linux
Comparing windows vs mac vs linux
 
RHEL-7 Administrator Guide for RedHat 7
RHEL-7  Administrator Guide for RedHat 7RHEL-7  Administrator Guide for RedHat 7
RHEL-7 Administrator Guide for RedHat 7
 
Ansible presentation
Ansible presentationAnsible presentation
Ansible presentation
 
VMware vSphere
VMware vSphereVMware vSphere
VMware vSphere
 
Ubuntu desktop
Ubuntu desktopUbuntu desktop
Ubuntu desktop
 
Complete Guide for Linux shell programming
Complete Guide for Linux shell programmingComplete Guide for Linux shell programming
Complete Guide for Linux shell programming
 
Unix/Linux Basic Commands and Shell Script
Unix/Linux Basic Commands and Shell ScriptUnix/Linux Basic Commands and Shell Script
Unix/Linux Basic Commands and Shell Script
 
Linux
LinuxLinux
Linux
 
Shell scripting
Shell scriptingShell scripting
Shell scripting
 
Linux and its history
Linux and its historyLinux and its history
Linux and its history
 
Linux architecture
Linux architectureLinux architecture
Linux architecture
 
Linux Run Level
Linux Run LevelLinux Run Level
Linux Run Level
 
Linux standard file system
Linux standard file systemLinux standard file system
Linux standard file system
 
Introduction to Ansible
Introduction to AnsibleIntroduction to Ansible
Introduction to Ansible
 
Network File System
Network File SystemNetwork File System
Network File System
 

Viewers also liked

Linux System Administration Crash Course
Linux System Administration Crash CourseLinux System Administration Crash Course
Linux System Administration Crash CourseJason Cannon
 
tybsc it sem 5 Linux administration notes of unit 1,2,3,4,5,6 version 3
tybsc it sem 5 Linux administration notes of unit 1,2,3,4,5,6 version 3tybsc it sem 5 Linux administration notes of unit 1,2,3,4,5,6 version 3
tybsc it sem 5 Linux administration notes of unit 1,2,3,4,5,6 version 3WE-IT TUTORIALS
 
Linux ppt
Linux pptLinux ppt
Linux pptlincy21
 
Linux.ppt
Linux.ppt Linux.ppt
Linux.ppt onu9
 
Getting Started With Linux Administration
Getting Started With Linux AdministrationGetting Started With Linux Administration
Getting Started With Linux AdministrationEdureka!
 
Linux commands and file structure
Linux commands and file structureLinux commands and file structure
Linux commands and file structureSreenatha Reddy K R
 
Linux command ppt
Linux command pptLinux command ppt
Linux command pptkalyanineve
 
Chiropractic Whiplash
Chiropractic WhiplashChiropractic Whiplash
Chiropractic Whiplashablettdc
 
oracle linux administration | oracle linux training - oracle trainings
oracle linux administration | oracle linux training - oracle trainingsoracle linux administration | oracle linux training - oracle trainings
oracle linux administration | oracle linux training - oracle trainingsOnlineOracleTrainings
 
Chapter 02
Chapter 02Chapter 02
Chapter 02cclay3
 
Linux system administration
Linux system administrationLinux system administration
Linux system administrationorionsconsulting
 
Webinar: Linux administration : Past, Present and Is the Future
Webinar: Linux administration : Past, Present and Is the FutureWebinar: Linux administration : Past, Present and Is the Future
Webinar: Linux administration : Past, Present and Is the FutureEdureka!
 
مقدمة وتمهيد - Charisma Code كاريزما كود
مقدمة وتمهيد - Charisma Code كاريزما كود مقدمة وتمهيد - Charisma Code كاريزما كود
مقدمة وتمهيد - Charisma Code كاريزما كود Ahmad Salameh
 
استعدادات السفر
استعدادات السفراستعدادات السفر
استعدادات السفرsis shiraviolet
 
Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Wave Digitech
 
Terminal Commands (Linux - ubuntu) (part-1)
Terminal Commands  (Linux - ubuntu) (part-1)Terminal Commands  (Linux - ubuntu) (part-1)
Terminal Commands (Linux - ubuntu) (part-1)raj upadhyay
 
Different types of Editors in Linux
Different types of Editors in LinuxDifferent types of Editors in Linux
Different types of Editors in LinuxBhavik Trivedi
 

Viewers also liked (20)

Linux System Administration Crash Course
Linux System Administration Crash CourseLinux System Administration Crash Course
Linux System Administration Crash Course
 
tybsc it sem 5 Linux administration notes of unit 1,2,3,4,5,6 version 3
tybsc it sem 5 Linux administration notes of unit 1,2,3,4,5,6 version 3tybsc it sem 5 Linux administration notes of unit 1,2,3,4,5,6 version 3
tybsc it sem 5 Linux administration notes of unit 1,2,3,4,5,6 version 3
 
UNIX/Linux training
UNIX/Linux trainingUNIX/Linux training
UNIX/Linux training
 
Linux ppt
Linux pptLinux ppt
Linux ppt
 
Linux.ppt
Linux.ppt Linux.ppt
Linux.ppt
 
Getting Started With Linux Administration
Getting Started With Linux AdministrationGetting Started With Linux Administration
Getting Started With Linux Administration
 
Linux commands and file structure
Linux commands and file structureLinux commands and file structure
Linux commands and file structure
 
Linux command ppt
Linux command pptLinux command ppt
Linux command ppt
 
Chiropractic Whiplash
Chiropractic WhiplashChiropractic Whiplash
Chiropractic Whiplash
 
oracle linux administration | oracle linux training - oracle trainings
oracle linux administration | oracle linux training - oracle trainingsoracle linux administration | oracle linux training - oracle trainings
oracle linux administration | oracle linux training - oracle trainings
 
Chapter 02
Chapter 02Chapter 02
Chapter 02
 
Linux system administration
Linux system administrationLinux system administration
Linux system administration
 
Introduction to unix
Introduction to unixIntroduction to unix
Introduction to unix
 
Webinar: Linux administration : Past, Present and Is the Future
Webinar: Linux administration : Past, Present and Is the FutureWebinar: Linux administration : Past, Present and Is the Future
Webinar: Linux administration : Past, Present and Is the Future
 
مقدمة وتمهيد - Charisma Code كاريزما كود
مقدمة وتمهيد - Charisma Code كاريزما كود مقدمة وتمهيد - Charisma Code كاريزما كود
مقدمة وتمهيد - Charisma Code كاريزما كود
 
استعدادات السفر
استعدادات السفراستعدادات السفر
استعدادات السفر
 
Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013
 
Linux introduction (eng)
Linux introduction (eng)Linux introduction (eng)
Linux introduction (eng)
 
Terminal Commands (Linux - ubuntu) (part-1)
Terminal Commands  (Linux - ubuntu) (part-1)Terminal Commands  (Linux - ubuntu) (part-1)
Terminal Commands (Linux - ubuntu) (part-1)
 
Different types of Editors in Linux
Different types of Editors in LinuxDifferent types of Editors in Linux
Different types of Editors in Linux
 

Similar to Linux administration

Protecting confidential files using SE-Linux
Protecting confidential files using SE-LinuxProtecting confidential files using SE-Linux
Protecting confidential files using SE-LinuxGiuseppe Paterno'
 
Linux.pptx
Linux.pptxLinux.pptx
Linux.pptxNitz18
 
selinuxbasicusage.pptx
selinuxbasicusage.pptxselinuxbasicusage.pptx
selinuxbasicusage.pptxPandiya Rajan
 
A Day In The Life Of A Linux Administrator
A Day In The Life Of A Linux AdministratorA Day In The Life Of A Linux Administrator
A Day In The Life Of A Linux AdministratorEdureka!
 
Linux container, namespaces & CGroup.
Linux container, namespaces & CGroup. Linux container, namespaces & CGroup.
Linux container, namespaces & CGroup. Neeraj Shrimali
 
Linux host review
Linux host reviewLinux host review
Linux host reviewrglaal
 
NGINX Installation and Tuning
NGINX Installation and TuningNGINX Installation and Tuning
NGINX Installation and TuningNGINX, Inc.
 
CH12-CompSec4e.pptx
CH12-CompSec4e.pptxCH12-CompSec4e.pptx
CH12-CompSec4e.pptxams1ams11
 
Enforce Your Application Security
Enforce Your Application SecurityEnforce Your Application Security
Enforce Your Application SecurityNuxeo
 
SELinux concept in rhel_Linux_today.pptx
SELinux concept in rhel_Linux_today.pptxSELinux concept in rhel_Linux_today.pptx
SELinux concept in rhel_Linux_today.pptxAbhradipChatterjee2
 
Systems administration for coders presentation
Systems administration for coders presentationSystems administration for coders presentation
Systems administration for coders presentationMatt Willsher
 
How to Audit Linux - Gene Kartavtsev, ISACA MN
How to Audit Linux - Gene Kartavtsev, ISACA MNHow to Audit Linux - Gene Kartavtsev, ISACA MN
How to Audit Linux - Gene Kartavtsev, ISACA MNGene Kartavtsev
 
operating system calls input and output by (rohit malav)
operating system calls input and output by (rohit malav)operating system calls input and output by (rohit malav)
operating system calls input and output by (rohit malav)Rohit malav
 
Bn 1027 demo linux adminstration
Bn 1027 demo  linux adminstrationBn 1027 demo  linux adminstration
Bn 1027 demo linux adminstrationconline training
 
DevSecOps: Taking a DevOps Approach to Security
DevSecOps: Taking a DevOps Approach to SecurityDevSecOps: Taking a DevOps Approach to Security
DevSecOps: Taking a DevOps Approach to SecurityAlert Logic
 
A GitOps model for High Availability and Disaster Recovery on EKS
A GitOps model for High Availability and Disaster Recovery on EKSA GitOps model for High Availability and Disaster Recovery on EKS
A GitOps model for High Availability and Disaster Recovery on EKSWeaveworks
 
Insider operating system
Insider   operating systemInsider   operating system
Insider operating systemAditi Saxena
 

Similar to Linux administration (20)

Protecting confidential files using SE-Linux
Protecting confidential files using SE-LinuxProtecting confidential files using SE-Linux
Protecting confidential files using SE-Linux
 
Linux.pptx
Linux.pptxLinux.pptx
Linux.pptx
 
selinuxbasicusage.pptx
selinuxbasicusage.pptxselinuxbasicusage.pptx
selinuxbasicusage.pptx
 
A Day In The Life Of A Linux Administrator
A Day In The Life Of A Linux AdministratorA Day In The Life Of A Linux Administrator
A Day In The Life Of A Linux Administrator
 
Linux container, namespaces & CGroup.
Linux container, namespaces & CGroup. Linux container, namespaces & CGroup.
Linux container, namespaces & CGroup.
 
Linux host review
Linux host reviewLinux host review
Linux host review
 
Jenkins Tutorial.pdf
Jenkins Tutorial.pdfJenkins Tutorial.pdf
Jenkins Tutorial.pdf
 
NGINX Installation and Tuning
NGINX Installation and TuningNGINX Installation and Tuning
NGINX Installation and Tuning
 
CH12-CompSec4e.pptx
CH12-CompSec4e.pptxCH12-CompSec4e.pptx
CH12-CompSec4e.pptx
 
Enforce Your Application Security
Enforce Your Application SecurityEnforce Your Application Security
Enforce Your Application Security
 
SELinux concept in rhel_Linux_today.pptx
SELinux concept in rhel_Linux_today.pptxSELinux concept in rhel_Linux_today.pptx
SELinux concept in rhel_Linux_today.pptx
 
Systems administration for coders presentation
Systems administration for coders presentationSystems administration for coders presentation
Systems administration for coders presentation
 
How to Audit Linux - Gene Kartavtsev, ISACA MN
How to Audit Linux - Gene Kartavtsev, ISACA MNHow to Audit Linux - Gene Kartavtsev, ISACA MN
How to Audit Linux - Gene Kartavtsev, ISACA MN
 
operating system calls input and output by (rohit malav)
operating system calls input and output by (rohit malav)operating system calls input and output by (rohit malav)
operating system calls input and output by (rohit malav)
 
Os
OsOs
Os
 
Unix/Linux
Unix/Linux Unix/Linux
Unix/Linux
 
Bn 1027 demo linux adminstration
Bn 1027 demo  linux adminstrationBn 1027 demo  linux adminstration
Bn 1027 demo linux adminstration
 
DevSecOps: Taking a DevOps Approach to Security
DevSecOps: Taking a DevOps Approach to SecurityDevSecOps: Taking a DevOps Approach to Security
DevSecOps: Taking a DevOps Approach to Security
 
A GitOps model for High Availability and Disaster Recovery on EKS
A GitOps model for High Availability and Disaster Recovery on EKSA GitOps model for High Availability and Disaster Recovery on EKS
A GitOps model for High Availability and Disaster Recovery on EKS
 
Insider operating system
Insider   operating systemInsider   operating system
Insider operating system
 

Recently uploaded

Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 

Recently uploaded (20)

Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 

Linux administration

  • 1. VISVESVARAYA TECHNOLOGICAL UNIVERSITY BELGAUM Technical Seminar On “Linux Administration” By YOGESH K S 4GH08CS058 Under the guidance of Mr.Annaiah.,B.E.,M.Tech Asst.professor Seminar co-ordinator Head of the Department Mr.Chethan K.C.,B.E,M.Tech Dr. K.C Ravishankar B.E., M.Tech., Ph.d Professor & Head,Dept.of Asst.professor CS&E, GEC,Hassan
  • 3. Contents 1. Introduction 2. Admin Tasks 3. Installation of Linux 4. Admin Login 5. User and Group management 6. Security 7. Backup & Restore 8. Packages 9. Conclusion
  • 4. Introduction • Linux is based on Unix • Administration involves the management of entire system • From maintaining user accounts to performing backups
  • 5. Admin Roles & Tasks • Install and Upgrade systems • User management • Group management • Security • Networking • Backup and Restore • Communicate with the users • Managing System Services • Adding or Removing application packages and many more..
  • 6. Installation of Linux Several methods are available some of them are: • FTP: One of the earliest method used for performing network installations • HTTP: Installation is served from a web server. • NFS: Distribution tree is shared/exported on an NFS server. • From the Optical or removable media.
  • 7. Admin Login Two ways- • Login directly as root • Using su command
  • 8. User management • Done using either CLI or GUI. Using CLI: 3 commands are used- useradd- Creates or adds a new user usermod- Modifies the user account like username, password etc., (options –l, -p, -d,-g,-u ) userdel- Deletes the user. –r option is used to delete home directory
  • 9. User management using GUI Go to the System => Administration => Users & Groups. Click on Add User and the do the following instructions Add the user name, full name of the user, password Click on OK and the user gets added to the system.
  • 10. Group management • Similar kind of users are added to a particular group. • 3 commands are used- groupadd- adds or creates a group groupmod- modifies a group(options –g, -n, -p) groupdel- deletes a particular group
  • 11. Networking • Basic tools used for networking are ping, ftp, telnet and ssh. • ping is used in checking the network. • ftp is used to transfer files between hosts. • telnet is used for remote login. • ssh is also used for remote login and is secure.
  • 12. Communicating with Users • The admin should communicate with the users to intimate about the changes. • Commands used- wall- addresses all users simultaneously who are currently logged in. Syntax: wall msg write-addresses a single user Syntax: write username [tty] msg
  • 13. Managing System Services • System services can be managed using either service command or GUI. • Using service command: Start a service- service service_name start Stop a service- service service_name stop Restart a service service service_name restart
  • 14. Managing Services Using GUI Go to the System => Administration => Services. This opens a Service Configuaration window. Click on the required Service to start, stop or restart it. Give the admin password whenever prompted and click ok.
  • 15. Security • Linux is more secure and it is enhanced with its Firewall and SELinux. • Firewall: Enable Firewall Using GUI (System-> Administration- >Firewall) to activate the firewall • Allow standard services and any specific port based application • All other services and ports are blocked
  • 16. SELinux • Malicious or broken software can have root-level access to the entire system by running as a root process. • SELinux (Security Enhanced Linux) provides enhanced security. • SELinux can take one of these three values enforcing - SELinux security policy is enforced. permissive - SELinux prints warnings instead of enforcing. disabled - SELinux is fully disabled
  • 17. SELinux Configuration • Use GUI (Applications - >System Settings-> Security Level) to activate SELinux • Enable/Disable SELinux • Allow standard features in various services (http,nis,nfs,dns etc.) • All other services and features are blocked
  • 18. Backup & Restore • Backup the user area or configuration file • Use tar to take backup on a different disk or tape • Backup can be scheduled using cron • Backup: tar –zcvf <dev filename> <Directory Tree to be backedup> • Restore: tar –zxvf <dev filename> <file to be recovered> • Backup should be occasionally checked by restoring it • Backup Policy: Full Backup every weekly/fortnightly and incremental backup every day
  • 19. Adding & Removing Packages • Can be done using source code of the package, binary rpms or yum utility. • Using source code- • This is hard way to install a package. • Usual steps- Download the required tar compressed file and extract it. Run ./configure and make for compiling. Run make install. • May run into problems because of shared libraries or compilation.
  • 20. Using RPM(Redhat Package Manager) • Be aware of Architecture and type of kernel. • Syntax: rpm [options] file.rpm(-i=install, -U= upgrade, -e= erase) • To install a package: rpm –i pkg.rpm • To remove a package: rpm –e pkg
  • 21. Using YUM(Yellowdog Updater, Modified) • Easiest way to install a package. • No need to worry about architecture and kernel. • Resolves dependencies automatically. • Syntax to install: yum install package-name • To uninstall any package: yum remove package- name
  • 22. Conclusion Conclusion • Discussed only few essential linux administration tools. • Full administration requires an in-depth knowledge of different components of system.