SlideShare a Scribd company logo
Red Hat Enterprise Linux
a crash course
1
La 1ère école 100 % dédiée à l'open source
Open Source School est fondée à l'initiative de Smile, leader de
l'intégration et de l'infogérance open source, et de l'EPSI,établissement
privé pionnier de l’enseignement supérieur en informatique.
Dans le cadre du Programme d’Investissements d’Avenir (PIA), le
gouvernement français a décidé de soutenir la création de cette école en
lui attribuant une première aide de 1,4M€ et confirme sa volonté de
soutenir la filière du Logiciel Libre actuellement en plein développement.
Avec une croissance annuelle de plus de 10%, et 4 000
postes vacants chaque année dans le secteur du Logiciel
Libre, OSS entend répondre à la pénurie de compétences du
secteur en mobilisant l’ensemble de l’écosystème et en
proposant la plus vaste offre en matière de formation aux
technologies open source tant en formation initiale qu'en
formation continue.
2
Les formations du plein emploi !
 Formation Continue
Open Source School "Executive Education" est un organisme
de formation qui propose un catalogue de plus de 200
formations professionnelles et différents dispositifs de
reconversion permettant le retour à l’emploi (POE) ou une
meilleure employabilité pour de nombreux professionnels de
l’informatique.
 Pour vos demandes : formations@opensourceschool.fr
 Formation Initiale
100% logiciels libres et 100% alternance, le cursus Open
Source School s’appuie sur le référentiel des blocs de
compétences de l’EPSI.
Il est sanctionné par un titre de niveau I RNCP, Bac+5.
Le programme est proposé dans 6 campus à Bordeaux, Lille,
Lyon, Montpellier, Nantes, Paris.
3
Nos domaines de formations
Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic
Plan
1 Introduction to RHEL
2 Basic system administration
3 Package management
4 Differences in system components
5 Finding help
6 Practice
www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 2/30
Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic
Introduction to RHEL
www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 3/30
Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic
History
History
www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 4/30
Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic
History
History
1991: Linux 0.01
1994: Red Hat Linux 1.0
1996: Debian 1.1
1997: RPM
2003: Fedora and RHEL
www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 5/30
Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic
Licencing
Licencing
www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 6/30
Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic
Licencing
Licencing
Red Hat Enterprise Linux is a commercial distribution of open
source software
You need to pay a subscribtion for updates and support
Sources are freely available
Source availability led to community managed derivatives :
CentOS : enterprise focused
Scientific Linux : for science !
Also commercial derivatives like Oracle Linux
www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 7/30
Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic
Lifecycle
Lifecycle
www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 8/30
Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic
Lifecycle
Lifecycle
RHEL versions have only one number (RHEL4, RHEL5,
RHEL6,...)
5 years of active life (bugfixes and improvements)
5 years of maintenance (only security fixes)
3 years of special Extended Life Cycle (only some security
fixes), additional subscription required
additional subscription requires
Incremental updates (4.5, 5.6, 6.1 ...)
Debian only has a lifecycle of 3 years, similar to the
maintenance phase
Versions of components may slightly change between updates,
but no major upgrades
www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 9/30
Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic
Basic system administration
www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 10/30
Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic
Don’t panic!
Don’t panic!
www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 11/30
Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic
Don’t panic!
Don’t panic!
RHEL is similar to debian, and most other distributions
All kernel utilities are the same : uname, ps, top, vmstat,
ifconfig,...
Basic GNU utilities are the same : sort, grep, awk, ...
Only high-level sysadmin tools change : apt-get,
update-rc.d, ...
www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 12/30
Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic
System configuration
System configuration
www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 13/30
Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic
System configuration
System configuration
Most config files are in /etc/sysconfig
sysconfig/network : gateway, DNS...
sysconfig/network-scripts/ifcfg-eth0 : interface
configuration
www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 14/30
Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic
Service management
Service management
www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 15/30
Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic
Service management
Service management
chkconfig --list (--add ...) : manage enabled services
service httpd start
service network restart
use init.d and rcN.d in the background
When you install a package, it will not automatically be
started for you
www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 16/30
Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic
Package management
www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 17/30
Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic
Package management
Package management uses yum
repositories in /etc/yum.repos.d
yum search keywork
yum info package
yum install package
yum remove package
yum update [package]
yum clean all
rpm -qa
rpm -ql package
rpm -qf /path/to/file
www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 18/30
Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic
EPEL repository
RedHat has much less packages than Debian, usually,
additional packages are required
The only allowed repository is EPEL (Extra Packages for
Enterprise Linux)
Maintainted by the Fedora Project
Stability is guaranteed
www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 19/30
Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic
Differences in system componen
www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 20/30
Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic
apache
apache
www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 21/30
Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic
apache
apache
Apache is called httpd
The user is called apache
Default docroot is /var/www/html
Config in /etc/httpd/conf
VHosts in /etc/httpd/conf.d/*.conf
/etc/init.d/httpd configtest
/etc/init.d/httpd reload
www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 22/30
Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic
php
php
www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 23/30
Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic
php
php
Config is in /etc/php.ini
Includes in /etc/php.d
You can copy php.ini to php-cli.ini if you want a
different config for batchs
On RHEL5.6 and above, you can use PHP 5.3 through the
php53 packages
www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 24/30
Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic
mysql
mysql
www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 25/30
Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic
mysql
mysql
Configuration is in /etc/my.cnf
almost nothing by default
www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 26/30
Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic
Finding help
www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 27/30
Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic
Finding help
From the included documentation :
yum install [links] Deployment Guide-en-US
htmlview
/usr/share/doc/Deployment Guide-en-US-5.2/index.html
Online :
http://docs.redhat.com/
The Deployment Guide is the most interesting document
www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 28/30
Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic
Practice
www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 29/30
Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic
Practice
Install varnish (from EPEL)
Make varnish listen on port 80
Make apache listen on port 8080
Make varnish use apache as a backend
Make varnish start on boot
Make varnish log using apache format (varnishncsa)
www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 30/30

More Related Content

What's hot

Advanced Level Training on Koha / TLS (ToT)
Advanced Level Training on Koha / TLS (ToT)Advanced Level Training on Koha / TLS (ToT)
Advanced Level Training on Koha / TLS (ToT)
Ata Rehman
 
Lpi Part 1 Linux Fundamentals
Lpi Part 1 Linux FundamentalsLpi Part 1 Linux Fundamentals
Lpi Part 1 Linux FundamentalsYemenLinux
 
Oracle on Solaris
Oracle on SolarisOracle on Solaris
PyCon Taiwan 2013 Tutorial
PyCon Taiwan 2013 TutorialPyCon Taiwan 2013 Tutorial
PyCon Taiwan 2013 Tutorial
Justin Lin
 
How to Build Package in Linux Based Systems.
How to Build Package in Linux Based Systems.How to Build Package in Linux Based Systems.
How to Build Package in Linux Based Systems.
İbrahim UÇAR
 
[ 2021 AI + X 여름 캠프 ] 1. linux 기초 & 장비 세팅
[ 2021 AI + X 여름 캠프 ] 1. linux 기초 & 장비 세팅[ 2021 AI + X 여름 캠프 ] 1. linux 기초 & 장비 세팅
[ 2021 AI + X 여름 캠프 ] 1. linux 기초 & 장비 세팅
ChoiYura
 
CPAN For Private Code
CPAN For Private CodeCPAN For Private Code
CPAN For Private Code
Jeffrey Ryan Thalhammer
 
Raspberry zero usb in linux
Raspberry zero usb in linuxRaspberry zero usb in linux
Raspberry zero usb in linux
GSHCO
 
Linux instalação e-conf postfix - pop3 eimap
Linux instalação e-conf postfix - pop3 eimapLinux instalação e-conf postfix - pop3 eimap
Linux instalação e-conf postfix - pop3 eimap
Carlos Eduardo
 
Como criar um repositório Ubuntu
Como criar um repositório UbuntuComo criar um repositório Ubuntu
Como criar um repositório UbuntuCarlos Eduardo
 
Security Considerations on Linux Package Management
Security Considerations on Linux Package ManagementSecurity Considerations on Linux Package Management
Security Considerations on Linux Package Management
Tharindu Edirisinghe
 
Power point on linux commands,appache,php,mysql,html,css,web 2.0
Power point on linux commands,appache,php,mysql,html,css,web 2.0Power point on linux commands,appache,php,mysql,html,css,web 2.0
Power point on linux commands,appache,php,mysql,html,css,web 2.0venkatakrishnan k
 
Linux presentation
Linux presentationLinux presentation
Linux presentation
Ajaigururaj R
 
Linux Networking Commands
Linux Networking CommandsLinux Networking Commands
Linux Networking Commands
tmavroidis
 
Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...
Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...
Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...Carlos Eduardo
 
101 4.1 create partitions and filesystems
101 4.1 create partitions and filesystems101 4.1 create partitions and filesystems
101 4.1 create partitions and filesystems
Acácio Oliveira
 
pfSense Installation Slide
pfSense Installation SlidepfSense Installation Slide
pfSense Installation Slide
Sopon Tumchota
 
Linux Commands
Linux CommandsLinux Commands
Linux Commands
lucita cabral
 
บล๊อกเวปไซท์ บน Open WRT หรือ บน Ubiquiti NanoStation M5 หรือ บน airOS
บล๊อกเวปไซท์ บน Open WRT หรือ บน  Ubiquiti NanoStation M5 หรือ บน airOSบล๊อกเวปไซท์ บน Open WRT หรือ บน  Ubiquiti NanoStation M5 หรือ บน airOS
บล๊อกเวปไซท์ บน Open WRT หรือ บน Ubiquiti NanoStation M5 หรือ บน airOS
Tũi Wichets
 

What's hot (20)

Advanced Level Training on Koha / TLS (ToT)
Advanced Level Training on Koha / TLS (ToT)Advanced Level Training on Koha / TLS (ToT)
Advanced Level Training on Koha / TLS (ToT)
 
Lpi Part 1 Linux Fundamentals
Lpi Part 1 Linux FundamentalsLpi Part 1 Linux Fundamentals
Lpi Part 1 Linux Fundamentals
 
Oracle on Solaris
Oracle on SolarisOracle on Solaris
Oracle on Solaris
 
PyCon Taiwan 2013 Tutorial
PyCon Taiwan 2013 TutorialPyCon Taiwan 2013 Tutorial
PyCon Taiwan 2013 Tutorial
 
How to Build Package in Linux Based Systems.
How to Build Package in Linux Based Systems.How to Build Package in Linux Based Systems.
How to Build Package in Linux Based Systems.
 
[ 2021 AI + X 여름 캠프 ] 1. linux 기초 & 장비 세팅
[ 2021 AI + X 여름 캠프 ] 1. linux 기초 & 장비 세팅[ 2021 AI + X 여름 캠프 ] 1. linux 기초 & 장비 세팅
[ 2021 AI + X 여름 캠프 ] 1. linux 기초 & 장비 세팅
 
CPAN For Private Code
CPAN For Private CodeCPAN For Private Code
CPAN For Private Code
 
Postfix, Imap e Pop3
Postfix, Imap e Pop3Postfix, Imap e Pop3
Postfix, Imap e Pop3
 
Raspberry zero usb in linux
Raspberry zero usb in linuxRaspberry zero usb in linux
Raspberry zero usb in linux
 
Linux instalação e-conf postfix - pop3 eimap
Linux instalação e-conf postfix - pop3 eimapLinux instalação e-conf postfix - pop3 eimap
Linux instalação e-conf postfix - pop3 eimap
 
Como criar um repositório Ubuntu
Como criar um repositório UbuntuComo criar um repositório Ubuntu
Como criar um repositório Ubuntu
 
Security Considerations on Linux Package Management
Security Considerations on Linux Package ManagementSecurity Considerations on Linux Package Management
Security Considerations on Linux Package Management
 
Power point on linux commands,appache,php,mysql,html,css,web 2.0
Power point on linux commands,appache,php,mysql,html,css,web 2.0Power point on linux commands,appache,php,mysql,html,css,web 2.0
Power point on linux commands,appache,php,mysql,html,css,web 2.0
 
Linux presentation
Linux presentationLinux presentation
Linux presentation
 
Linux Networking Commands
Linux Networking CommandsLinux Networking Commands
Linux Networking Commands
 
Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...
Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...
Poppassd setup howto for rhel cent os 5 ‹‹ linux mail server setup and howto ...
 
101 4.1 create partitions and filesystems
101 4.1 create partitions and filesystems101 4.1 create partitions and filesystems
101 4.1 create partitions and filesystems
 
pfSense Installation Slide
pfSense Installation SlidepfSense Installation Slide
pfSense Installation Slide
 
Linux Commands
Linux CommandsLinux Commands
Linux Commands
 
บล๊อกเวปไซท์ บน Open WRT หรือ บน Ubiquiti NanoStation M5 หรือ บน airOS
บล๊อกเวปไซท์ บน Open WRT หรือ บน  Ubiquiti NanoStation M5 หรือ บน airOSบล๊อกเวปไซท์ บน Open WRT หรือ บน  Ubiquiti NanoStation M5 หรือ บน airOS
บล๊อกเวปไซท์ บน Open WRT หรือ บน Ubiquiti NanoStation M5 หรือ บน airOS
 

Similar to Redhat enterprise Linux

Presentation1
Presentation1Presentation1
Presentation1catarino
 
Presentation1
Presentation1Presentation1
Presentation1cedrick
 
CentOS
CentOSCentOS
CentOS
cedrick
 
CentOS
CentOSCentOS
CentOS
mara yerro
 
CentOS
CentOSCentOS
Linux internals v4
Linux internals v4Linux internals v4
Linux internals v4
Liran Ben Haim
 
Licenze Open Source, API, interoperabilità, motori di una nuova web economy
Licenze Open Source, API, interoperabilità, motori di una nuova web economyLicenze Open Source, API, interoperabilità, motori di una nuova web economy
Licenze Open Source, API, interoperabilità, motori di una nuova web economy
Luca Bonesini
 
Licenze Open Source, API, interoperabilità, motori di una nuova web economy
Licenze Open Source, API, interoperabilità, motori di una nuova web economyLicenze Open Source, API, interoperabilità, motori di una nuova web economy
Licenze Open Source, API, interoperabilità, motori di una nuova web economy
Luca Bonesini
 
Osor Launch, presentation at Open Source World Conference 2008 (Málaga, Octob...
Osor Launch, presentation at Open Source World Conference 2008 (Málaga, Octob...Osor Launch, presentation at Open Source World Conference 2008 (Málaga, Octob...
Osor Launch, presentation at Open Source World Conference 2008 (Málaga, Octob...
Juanjo Amor
 
vvvvReadme
vvvvReadmevvvvReadme
vvvvReadme
Mitazaki Yan
 
Uyuni, the solution to manage your IT infrastructure
Uyuni, the solution to manage your IT infrastructure Uyuni, the solution to manage your IT infrastructure
Uyuni, the solution to manage your IT infrastructure
Uyuni Project
 
Uyuni, the solution to manage your IT infrastructure
Uyuni, the solution to manage your IT infrastructure Uyuni, the solution to manage your IT infrastructure
Uyuni, the solution to manage your IT infrastructure
Pau Garcia Quiles
 
Uyuni: the solution to manage your Linux infrastructure (OpenFest 2020)
Uyuni: the solution to manage your Linux infrastructure (OpenFest 2020)Uyuni: the solution to manage your Linux infrastructure (OpenFest 2020)
Uyuni: the solution to manage your Linux infrastructure (OpenFest 2020)
Uyuni Project
 
Uyuni - Introduction and how to manage CentOS
Uyuni - Introduction and how to manage CentOSUyuni - Introduction and how to manage CentOS
Uyuni - Introduction and how to manage CentOS
Pau Garcia Quiles
 
Uyuni - Introduction and how to manage CentOS
Uyuni - Introduction and how to manage CentOSUyuni - Introduction and how to manage CentOS
Uyuni - Introduction and how to manage CentOS
Uyuni Project
 
Uyuni, the solution to manage your infrastructure
Uyuni, the solution to manage your infrastructureUyuni, the solution to manage your infrastructure
Uyuni, the solution to manage your infrastructure
Pau Garcia Quiles
 
The Gory Details of Debian packages
The Gory Details of Debian packagesThe Gory Details of Debian packages
The Gory Details of Debian packages
Jeremiah Foster
 

Similar to Redhat enterprise Linux (20)

Python tutorial
Python tutorialPython tutorial
Python tutorial
 
Presentation1
Presentation1Presentation1
Presentation1
 
Presentation1
Presentation1Presentation1
Presentation1
 
Presentation1
Presentation1Presentation1
Presentation1
 
CentOS
CentOSCentOS
CentOS
 
CentOS
CentOSCentOS
CentOS
 
CentOS
CentOSCentOS
CentOS
 
Linux internals v4
Linux internals v4Linux internals v4
Linux internals v4
 
Licenze Open Source, API, interoperabilità, motori di una nuova web economy
Licenze Open Source, API, interoperabilità, motori di una nuova web economyLicenze Open Source, API, interoperabilità, motori di una nuova web economy
Licenze Open Source, API, interoperabilità, motori di una nuova web economy
 
Licenze Open Source, API, interoperabilità, motori di una nuova web economy
Licenze Open Source, API, interoperabilità, motori di una nuova web economyLicenze Open Source, API, interoperabilità, motori di una nuova web economy
Licenze Open Source, API, interoperabilità, motori di una nuova web economy
 
Osor Launch, presentation at Open Source World Conference 2008 (Málaga, Octob...
Osor Launch, presentation at Open Source World Conference 2008 (Málaga, Octob...Osor Launch, presentation at Open Source World Conference 2008 (Málaga, Octob...
Osor Launch, presentation at Open Source World Conference 2008 (Málaga, Octob...
 
Foss Presentation
Foss PresentationFoss Presentation
Foss Presentation
 
vvvvReadme
vvvvReadmevvvvReadme
vvvvReadme
 
Uyuni, the solution to manage your IT infrastructure
Uyuni, the solution to manage your IT infrastructure Uyuni, the solution to manage your IT infrastructure
Uyuni, the solution to manage your IT infrastructure
 
Uyuni, the solution to manage your IT infrastructure
Uyuni, the solution to manage your IT infrastructure Uyuni, the solution to manage your IT infrastructure
Uyuni, the solution to manage your IT infrastructure
 
Uyuni: the solution to manage your Linux infrastructure (OpenFest 2020)
Uyuni: the solution to manage your Linux infrastructure (OpenFest 2020)Uyuni: the solution to manage your Linux infrastructure (OpenFest 2020)
Uyuni: the solution to manage your Linux infrastructure (OpenFest 2020)
 
Uyuni - Introduction and how to manage CentOS
Uyuni - Introduction and how to manage CentOSUyuni - Introduction and how to manage CentOS
Uyuni - Introduction and how to manage CentOS
 
Uyuni - Introduction and how to manage CentOS
Uyuni - Introduction and how to manage CentOSUyuni - Introduction and how to manage CentOS
Uyuni - Introduction and how to manage CentOS
 
Uyuni, the solution to manage your infrastructure
Uyuni, the solution to manage your infrastructureUyuni, the solution to manage your infrastructure
Uyuni, the solution to manage your infrastructure
 
The Gory Details of Debian packages
The Gory Details of Debian packagesThe Gory Details of Debian packages
The Gory Details of Debian packages
 

More from Open Source School

Linux Administrateur
Linux AdministrateurLinux Administrateur
Linux Administrateur
Open Source School
 
Linux Scripting
Linux Scripting Linux Scripting
Linux Scripting
Open Source School
 
PHP & Initiation Symfony
PHP & Initiation SymfonyPHP & Initiation Symfony
PHP & Initiation Symfony
Open Source School
 
Strategie de Virtualisation Open Source
Strategie de Virtualisation Open SourceStrategie de Virtualisation Open Source
Strategie de Virtualisation Open Source
Open Source School
 
LDAP : Theory and OpenLDAP implementation
LDAP : Theory and OpenLDAP implementationLDAP : Theory and OpenLDAP implementation
LDAP : Theory and OpenLDAP implementation
Open Source School
 
Redis : NoSQL key-data store
Redis : NoSQL key-data storeRedis : NoSQL key-data store
Redis : NoSQL key-data store
Open Source School
 
SSL : Theory and practice
SSL : Theory and practiceSSL : Theory and practice
SSL : Theory and practice
Open Source School
 
Varnish : Advanced and high-performance HTTP caching
Varnish : Advanced and high-performance HTTP cachingVarnish : Advanced and high-performance HTTP caching
Varnish : Advanced and high-performance HTTP caching
Open Source School
 

More from Open Source School (8)

Linux Administrateur
Linux AdministrateurLinux Administrateur
Linux Administrateur
 
Linux Scripting
Linux Scripting Linux Scripting
Linux Scripting
 
PHP & Initiation Symfony
PHP & Initiation SymfonyPHP & Initiation Symfony
PHP & Initiation Symfony
 
Strategie de Virtualisation Open Source
Strategie de Virtualisation Open SourceStrategie de Virtualisation Open Source
Strategie de Virtualisation Open Source
 
LDAP : Theory and OpenLDAP implementation
LDAP : Theory and OpenLDAP implementationLDAP : Theory and OpenLDAP implementation
LDAP : Theory and OpenLDAP implementation
 
Redis : NoSQL key-data store
Redis : NoSQL key-data storeRedis : NoSQL key-data store
Redis : NoSQL key-data store
 
SSL : Theory and practice
SSL : Theory and practiceSSL : Theory and practice
SSL : Theory and practice
 
Varnish : Advanced and high-performance HTTP caching
Varnish : Advanced and high-performance HTTP cachingVarnish : Advanced and high-performance HTTP caching
Varnish : Advanced and high-performance HTTP caching
 

Recently uploaded

Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
ThomasParaiso2
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
nkrafacyberclub
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 

Recently uploaded (20)

Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 

Redhat enterprise Linux

  • 1. Red Hat Enterprise Linux a crash course
  • 2. 1 La 1ère école 100 % dédiée à l'open source Open Source School est fondée à l'initiative de Smile, leader de l'intégration et de l'infogérance open source, et de l'EPSI,établissement privé pionnier de l’enseignement supérieur en informatique. Dans le cadre du Programme d’Investissements d’Avenir (PIA), le gouvernement français a décidé de soutenir la création de cette école en lui attribuant une première aide de 1,4M€ et confirme sa volonté de soutenir la filière du Logiciel Libre actuellement en plein développement. Avec une croissance annuelle de plus de 10%, et 4 000 postes vacants chaque année dans le secteur du Logiciel Libre, OSS entend répondre à la pénurie de compétences du secteur en mobilisant l’ensemble de l’écosystème et en proposant la plus vaste offre en matière de formation aux technologies open source tant en formation initiale qu'en formation continue.
  • 3. 2 Les formations du plein emploi !  Formation Continue Open Source School "Executive Education" est un organisme de formation qui propose un catalogue de plus de 200 formations professionnelles et différents dispositifs de reconversion permettant le retour à l’emploi (POE) ou une meilleure employabilité pour de nombreux professionnels de l’informatique.  Pour vos demandes : formations@opensourceschool.fr  Formation Initiale 100% logiciels libres et 100% alternance, le cursus Open Source School s’appuie sur le référentiel des blocs de compétences de l’EPSI. Il est sanctionné par un titre de niveau I RNCP, Bac+5. Le programme est proposé dans 6 campus à Bordeaux, Lille, Lyon, Montpellier, Nantes, Paris.
  • 4. 3 Nos domaines de formations
  • 5. Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic Plan 1 Introduction to RHEL 2 Basic system administration 3 Package management 4 Differences in system components 5 Finding help 6 Practice www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 2/30
  • 6. Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic Introduction to RHEL www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 3/30
  • 7. Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic History History www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 4/30
  • 8. Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic History History 1991: Linux 0.01 1994: Red Hat Linux 1.0 1996: Debian 1.1 1997: RPM 2003: Fedora and RHEL www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 5/30
  • 9. Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic Licencing Licencing www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 6/30
  • 10. Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic Licencing Licencing Red Hat Enterprise Linux is a commercial distribution of open source software You need to pay a subscribtion for updates and support Sources are freely available Source availability led to community managed derivatives : CentOS : enterprise focused Scientific Linux : for science ! Also commercial derivatives like Oracle Linux www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 7/30
  • 11. Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic Lifecycle Lifecycle www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 8/30
  • 12. Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic Lifecycle Lifecycle RHEL versions have only one number (RHEL4, RHEL5, RHEL6,...) 5 years of active life (bugfixes and improvements) 5 years of maintenance (only security fixes) 3 years of special Extended Life Cycle (only some security fixes), additional subscription required additional subscription requires Incremental updates (4.5, 5.6, 6.1 ...) Debian only has a lifecycle of 3 years, similar to the maintenance phase Versions of components may slightly change between updates, but no major upgrades www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 9/30
  • 13. Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic Basic system administration www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 10/30
  • 14. Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic Don’t panic! Don’t panic! www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 11/30
  • 15. Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic Don’t panic! Don’t panic! RHEL is similar to debian, and most other distributions All kernel utilities are the same : uname, ps, top, vmstat, ifconfig,... Basic GNU utilities are the same : sort, grep, awk, ... Only high-level sysadmin tools change : apt-get, update-rc.d, ... www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 12/30
  • 16. Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic System configuration System configuration www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 13/30
  • 17. Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic System configuration System configuration Most config files are in /etc/sysconfig sysconfig/network : gateway, DNS... sysconfig/network-scripts/ifcfg-eth0 : interface configuration www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 14/30
  • 18. Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic Service management Service management www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 15/30
  • 19. Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic Service management Service management chkconfig --list (--add ...) : manage enabled services service httpd start service network restart use init.d and rcN.d in the background When you install a package, it will not automatically be started for you www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 16/30
  • 20. Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic Package management www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 17/30
  • 21. Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic Package management Package management uses yum repositories in /etc/yum.repos.d yum search keywork yum info package yum install package yum remove package yum update [package] yum clean all rpm -qa rpm -ql package rpm -qf /path/to/file www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 18/30
  • 22. Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic EPEL repository RedHat has much less packages than Debian, usually, additional packages are required The only allowed repository is EPEL (Extra Packages for Enterprise Linux) Maintainted by the Fedora Project Stability is guaranteed www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 19/30
  • 23. Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic Differences in system componen www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 20/30
  • 24. Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic apache apache www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 21/30
  • 25. Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic apache apache Apache is called httpd The user is called apache Default docroot is /var/www/html Config in /etc/httpd/conf VHosts in /etc/httpd/conf.d/*.conf /etc/init.d/httpd configtest /etc/init.d/httpd reload www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 22/30
  • 26. Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic php php www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 23/30
  • 27. Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic php php Config is in /etc/php.ini Includes in /etc/php.d You can copy php.ini to php-cli.ini if you want a different config for batchs On RHEL5.6 and above, you can use PHP 5.3 through the php53 packages www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 24/30
  • 28. Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic mysql mysql www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 25/30
  • 29. Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic mysql mysql Configuration is in /etc/my.cnf almost nothing by default www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 26/30
  • 30. Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic Finding help www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 27/30
  • 31. Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic Finding help From the included documentation : yum install [links] Deployment Guide-en-US htmlview /usr/share/doc/Deployment Guide-en-US-5.2/index.html Online : http://docs.redhat.com/ The Deployment Guide is the most interesting document www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 28/30
  • 32. Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic Practice www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 29/30
  • 33. Introduction to RHEL Basic system administration Package management Differences in system components Finding help Practic Practice Install varnish (from EPEL) Make varnish listen on port 80 Make apache listen on port 8080 Make varnish use apache as a backend Make varnish start on boot Make varnish log using apache format (varnishncsa) www.opensourceschool.fr – Licence Creative Commons (CC BY-SA 3.0 FR) – 30/30