SlideShare a Scribd company logo
1 of 22
Redhat Certified System 
Administration (RHCSA) 
& 
Redhat Certified 
Engineer(RHCE)
Hardware requirement for RHEL6 
Installation 
• 64-bit system 
• Ram requirement 
• Hard Drive 
• CDROM Drive
Basic commands in RHCE6 
• pwd 
• cd 
• ls 
• ls –l 
• vi 
• cat 
• rm 
• mkdir 
• rmdir 
• more & less 
• head 
• tail 
• logout 
• init 0 
• exit 
• clear 
• sudo 
• gedit 
• reboot 
• man
USERADD 
1. /etc/passwd 
2. /etc/shadow 
3. /etc/gshadow 
4. /etc/group 
5. /etc/spool/mail 
6. /etc/home
Description 
R Read 
W Write 
X Execute 
S Set user or group ID on execution 
U Permission granted to user who owns the file 
G Permission granted to user in the file’s group 
O permission granted to other user
Digits permission 
0 none 
1 execute 
2 write 
4 read 
3(1+2) write and execute 
5(1+4) read and execute 
7(1+2+4) read, write and execute
RPM in Linux 
1. rpm –q <package name> 
2. Rpm –qa 
3. Rpm –ivh foo-1.0-1.i386.rpm 
4. Rpm –e foo 
5. Rpm –Uvh foo-2.0.1.i386.rpm
Linux ACL 
Categories of ACLs per file 
1. For an individual user 
2. For a user group 
3. Via the effective rights mask 
4. For users not in the user group associated 
with file.
File system Administration 
Useful commands for file system 
1. Df –h 
2. Du 
3. Mount 
4. umount 
5. Fdisk –l 
6. Fdisk /dev/sda 
7. Mkfs –t ext4 /dev/sda6 
8. fstab
Create Swap partition 
• Fdisk /dev/sda 
• Reboot –f 
• Mkswap /dev/sda6 
• Swapon /dev/sda 
• Fstab
LVM(logical volume management 
For step for create a LVM 
1. Create PV 
2. Create VG 
3. Create LVM 
4. Format LVM & mount it
Basic commands for LVM 
1. Pvcreate 
2. Pvdisplay 
3. Vgcreate 
4. Vgdisplay 
5. Lvcreate 
6. mkfs.ext4 /dev/vol1/lv1
Extend LVM 
• Lvextend +60MB /dev/vol0/lv1 
• Resize2fs /dev/vol0/lv1
Reduce LVM size 
• Umount 
• E2fsck –f /dev/vol0/lv1 
• resize2fs /dev/vol0/lv1 60MB 
• Lvreduce 60MB /dev/vol0/lv1 
• mount
KERNEL and GRUB 
“kernel is the core part of any operating system 
which allows every activity which is going to 
occur in your operation system” 
* Command for kernel version- 
Uname –r 
o/p 
2.6.22-14-generic
servers 
i. TELNET 
ii. SSH 
iii. FTP 
iv. NIS 
v. NFS 
vi. SAMBA 
vii. NTP 
viii. DNS
Configure Telnet server 
1 . Server side 
• Install Telnet server software 
• Configure 
• Service xinetd restart 
• Security 
Setenforce 0 
Iptables –f 
2. Client side 
* telnet <server ip>
Configure SSH Server 
1. Server side 
• Install SSH server software 
• Configure SSH server 
• Service sshd restart 
• Security 
Setenforce 0 
Iptables –f 
2. Client side 
* Ssh <server ip>
Configure FTP server 
1. server side 
• Install FTP server software 
• Configure FTP server 
• Service vsftpd restart 
• Security 
Setenforce 0 
Iptables –f 
2. Client side 
* Software install 
* ftp <server ip>
Configure NIS Server 
1. Server side 
install ypserv software 
Configure NiS server 
service ypserv restart 
2. Client side 
install ypbind software 
run setup command
Configure NFS server 
1. Server side 
install nfs –utis software 
configure server 
service nfs restart 
2. Client side 
mount <server ip> : /movies /media/abc
Configure SAMBA server 
1. Server side 
install samba software 
configure samba 
service smb restart 
2. Client side 
install sambaclient software 
mount <server ip> : /movies /media/abc

More Related Content

What's hot

101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management
Acácio Oliveira
 
Squid proxy-configuration-guide
Squid proxy-configuration-guideSquid proxy-configuration-guide
Squid proxy-configuration-guide
jasembo
 
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
maclean liu
 

What's hot (20)

Rac on NFS
Rac on NFSRac on NFS
Rac on NFS
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 
RPM: Speed up your deploy
RPM: Speed up your deployRPM: Speed up your deploy
RPM: Speed up your deploy
 
Software Packaging with RPM
Software Packaging with RPMSoftware Packaging with RPM
Software Packaging with RPM
 
RPM (LINUX)
RPM (LINUX)RPM (LINUX)
RPM (LINUX)
 
101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management
 
OTRS
OTRSOTRS
OTRS
 
Linux clustering solution
Linux clustering solutionLinux clustering solution
Linux clustering solution
 
Squid proxy-configuration-guide
Squid proxy-configuration-guideSquid proxy-configuration-guide
Squid proxy-configuration-guide
 
Linux High Availability Overview - openSUSE.Asia Summit 2015
Linux High Availability Overview - openSUSE.Asia Summit 2015 Linux High Availability Overview - openSUSE.Asia Summit 2015
Linux High Availability Overview - openSUSE.Asia Summit 2015
 
Vbox virtual box在oracle linux 5 - shoug 梁洪响
Vbox virtual box在oracle linux 5 - shoug 梁洪响Vbox virtual box在oracle linux 5 - shoug 梁洪响
Vbox virtual box在oracle linux 5 - shoug 梁洪响
 
青云CoreOS虚拟机部署kubernetes
青云CoreOS虚拟机部署kubernetes 青云CoreOS虚拟机部署kubernetes
青云CoreOS虚拟机部署kubernetes
 
Hadoop Cluster - Basic OS Setup Insights
Hadoop Cluster - Basic OS Setup InsightsHadoop Cluster - Basic OS Setup Insights
Hadoop Cluster - Basic OS Setup Insights
 
Building a Two Node SLES 11 SP2 Linux Cluster with VMware
Building a Two Node SLES 11 SP2 Linux Cluster with VMwareBuilding a Two Node SLES 11 SP2 Linux Cluster with VMware
Building a Two Node SLES 11 SP2 Linux Cluster with VMware
 
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
 
Known basic of NFV Features
Known basic of NFV FeaturesKnown basic of NFV Features
Known basic of NFV Features
 
Ceph issue 해결 사례
Ceph issue 해결 사례Ceph issue 해결 사례
Ceph issue 해결 사례
 
[오픈소스컨설팅] 프로메테우스 모니터링 살펴보고 구성하기
[오픈소스컨설팅] 프로메테우스 모니터링 살펴보고 구성하기[오픈소스컨설팅] 프로메테우스 모니터링 살펴보고 구성하기
[오픈소스컨설팅] 프로메테우스 모니터링 살펴보고 구성하기
 
High performance content hosting
High performance content hosting High performance content hosting
High performance content hosting
 
101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management
 

Viewers also liked

Docker 101: Introduction to Docker
Docker 101: Introduction to DockerDocker 101: Introduction to Docker
Docker 101: Introduction to Docker
Docker, Inc.
 

Viewers also liked (12)

Lpic linux
Lpic linux Lpic linux
Lpic linux
 
Overview Linux certification may 2014
Overview Linux certification may 2014Overview Linux certification may 2014
Overview Linux certification may 2014
 
Enterprise Linux 7 new feature_network configuration
Enterprise Linux 7 new feature_network configurationEnterprise Linux 7 new feature_network configuration
Enterprise Linux 7 new feature_network configuration
 
Lecture4
Lecture4Lecture4
Lecture4
 
(CCNA, RHCE, CEH)
(CCNA, RHCE, CEH)(CCNA, RHCE, CEH)
(CCNA, RHCE, CEH)
 
Mail server on linux
Mail server on linux Mail server on linux
Mail server on linux
 
Red hat enterprise linux 7 (rhel 7)
Red hat enterprise linux 7 (rhel 7)Red hat enterprise linux 7 (rhel 7)
Red hat enterprise linux 7 (rhel 7)
 
A Gentle Introduction To Docker And All Things Containers
A Gentle Introduction To Docker And All Things ContainersA Gentle Introduction To Docker And All Things Containers
A Gentle Introduction To Docker And All Things Containers
 
Docker by Example - Basics
Docker by Example - Basics Docker by Example - Basics
Docker by Example - Basics
 
Docker introduction
Docker introductionDocker introduction
Docker introduction
 
Docker 101: Introduction to Docker
Docker 101: Introduction to DockerDocker 101: Introduction to Docker
Docker 101: Introduction to Docker
 
OpenStack Framework Introduction
OpenStack Framework IntroductionOpenStack Framework Introduction
OpenStack Framework Introduction
 

Similar to RHCE Training

Ericas-Linux-Plus-Study-Guide
Ericas-Linux-Plus-Study-GuideEricas-Linux-Plus-Study-Guide
Ericas-Linux-Plus-Study-Guide
Erica StJohn
 
Quick-and-Easy Deployment of a Ceph Storage Cluster with SLES
Quick-and-Easy Deployment of a Ceph Storage Cluster with SLESQuick-and-Easy Deployment of a Ceph Storage Cluster with SLES
Quick-and-Easy Deployment of a Ceph Storage Cluster with SLES
Jan Kalcic
 
Virtualization and automation of library software/machines + Puppet
Virtualization and automation of library software/machines + PuppetVirtualization and automation of library software/machines + Puppet
Virtualization and automation of library software/machines + Puppet
Omar Reygaert
 

Similar to RHCE Training (20)

Ericas-Linux-Plus-Study-Guide
Ericas-Linux-Plus-Study-GuideEricas-Linux-Plus-Study-Guide
Ericas-Linux-Plus-Study-Guide
 
Death matchtournament del2014
Death matchtournament del2014Death matchtournament del2014
Death matchtournament del2014
 
Sistemas operacionais 8
Sistemas operacionais 8Sistemas operacionais 8
Sistemas operacionais 8
 
Deploying to Ubuntu on Linode
Deploying to Ubuntu on LinodeDeploying to Ubuntu on Linode
Deploying to Ubuntu on Linode
 
Linux lecture6
Linux lecture6Linux lecture6
Linux lecture6
 
Quick-and-Easy Deployment of a Ceph Storage Cluster with SLES
Quick-and-Easy Deployment of a Ceph Storage Cluster with SLESQuick-and-Easy Deployment of a Ceph Storage Cluster with SLES
Quick-and-Easy Deployment of a Ceph Storage Cluster with SLES
 
#WeSpeakLinux Session
#WeSpeakLinux Session#WeSpeakLinux Session
#WeSpeakLinux Session
 
Ldap configuration documentation
Ldap configuration documentationLdap configuration documentation
Ldap configuration documentation
 
Install and configure linux
Install and configure linuxInstall and configure linux
Install and configure linux
 
tow nodes Oracle 12c RAC on virtualbox
tow nodes Oracle 12c RAC on virtualboxtow nodes Oracle 12c RAC on virtualbox
tow nodes Oracle 12c RAC on virtualbox
 
Linux
Linux Linux
Linux
 
Kickstart server
Kickstart serverKickstart server
Kickstart server
 
Installing odoo v8 from github
Installing odoo v8 from githubInstalling odoo v8 from github
Installing odoo v8 from github
 
Virtualization and automation of library software/machines + Puppet
Virtualization and automation of library software/machines + PuppetVirtualization and automation of library software/machines + Puppet
Virtualization and automation of library software/machines + Puppet
 
Containers with systemd-nspawn
Containers with systemd-nspawnContainers with systemd-nspawn
Containers with systemd-nspawn
 
NFS.ppt
NFS.pptNFS.ppt
NFS.ppt
 
An Introduction To Linux
An Introduction To LinuxAn Introduction To Linux
An Introduction To Linux
 
3. introduction of centos
3. introduction of centos3. introduction of centos
3. introduction of centos
 
02 Hadoop deployment and configuration
02 Hadoop deployment and configuration02 Hadoop deployment and configuration
02 Hadoop deployment and configuration
 
linux installation.pdf
linux installation.pdflinux installation.pdf
linux installation.pdf
 

Recently uploaded

Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
dharasingh5698
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 

Recently uploaded (20)

Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Intro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdfIntro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdf
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 

RHCE Training

  • 1. Redhat Certified System Administration (RHCSA) & Redhat Certified Engineer(RHCE)
  • 2. Hardware requirement for RHEL6 Installation • 64-bit system • Ram requirement • Hard Drive • CDROM Drive
  • 3. Basic commands in RHCE6 • pwd • cd • ls • ls –l • vi • cat • rm • mkdir • rmdir • more & less • head • tail • logout • init 0 • exit • clear • sudo • gedit • reboot • man
  • 4. USERADD 1. /etc/passwd 2. /etc/shadow 3. /etc/gshadow 4. /etc/group 5. /etc/spool/mail 6. /etc/home
  • 5. Description R Read W Write X Execute S Set user or group ID on execution U Permission granted to user who owns the file G Permission granted to user in the file’s group O permission granted to other user
  • 6. Digits permission 0 none 1 execute 2 write 4 read 3(1+2) write and execute 5(1+4) read and execute 7(1+2+4) read, write and execute
  • 7. RPM in Linux 1. rpm –q <package name> 2. Rpm –qa 3. Rpm –ivh foo-1.0-1.i386.rpm 4. Rpm –e foo 5. Rpm –Uvh foo-2.0.1.i386.rpm
  • 8. Linux ACL Categories of ACLs per file 1. For an individual user 2. For a user group 3. Via the effective rights mask 4. For users not in the user group associated with file.
  • 9. File system Administration Useful commands for file system 1. Df –h 2. Du 3. Mount 4. umount 5. Fdisk –l 6. Fdisk /dev/sda 7. Mkfs –t ext4 /dev/sda6 8. fstab
  • 10. Create Swap partition • Fdisk /dev/sda • Reboot –f • Mkswap /dev/sda6 • Swapon /dev/sda • Fstab
  • 11. LVM(logical volume management For step for create a LVM 1. Create PV 2. Create VG 3. Create LVM 4. Format LVM & mount it
  • 12. Basic commands for LVM 1. Pvcreate 2. Pvdisplay 3. Vgcreate 4. Vgdisplay 5. Lvcreate 6. mkfs.ext4 /dev/vol1/lv1
  • 13. Extend LVM • Lvextend +60MB /dev/vol0/lv1 • Resize2fs /dev/vol0/lv1
  • 14. Reduce LVM size • Umount • E2fsck –f /dev/vol0/lv1 • resize2fs /dev/vol0/lv1 60MB • Lvreduce 60MB /dev/vol0/lv1 • mount
  • 15. KERNEL and GRUB “kernel is the core part of any operating system which allows every activity which is going to occur in your operation system” * Command for kernel version- Uname –r o/p 2.6.22-14-generic
  • 16. servers i. TELNET ii. SSH iii. FTP iv. NIS v. NFS vi. SAMBA vii. NTP viii. DNS
  • 17. Configure Telnet server 1 . Server side • Install Telnet server software • Configure • Service xinetd restart • Security Setenforce 0 Iptables –f 2. Client side * telnet <server ip>
  • 18. Configure SSH Server 1. Server side • Install SSH server software • Configure SSH server • Service sshd restart • Security Setenforce 0 Iptables –f 2. Client side * Ssh <server ip>
  • 19. Configure FTP server 1. server side • Install FTP server software • Configure FTP server • Service vsftpd restart • Security Setenforce 0 Iptables –f 2. Client side * Software install * ftp <server ip>
  • 20. Configure NIS Server 1. Server side install ypserv software Configure NiS server service ypserv restart 2. Client side install ypbind software run setup command
  • 21. Configure NFS server 1. Server side install nfs –utis software configure server service nfs restart 2. Client side mount <server ip> : /movies /media/abc
  • 22. Configure SAMBA server 1. Server side install samba software configure samba service smb restart 2. Client side install sambaclient software mount <server ip> : /movies /media/abc