Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
elearning:workbooks:rhel:6:utilisateur:start [2022/02/22 15:15] – admin | elearning:workbooks:rhel:6:utilisateur:start [2023/05/10 16:12] (Version actuelle) – admin | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
~~PDF: | ~~PDF: | ||
- | Version : **2022.01** | + | Version : **2023.01** |
Last updated : ~~LASTMOD~~ | Last updated : ~~LASTMOD~~ | ||
- | ======LCE400 - CentOS 8 Linux (RHEL 8 / Oracle Linux 8) - Fundamentals====== | + | ======LCE400 - Course Presentation====== |
=====Contents===== | =====Contents===== | ||
- | * **LCE500 | + | * **LCE400 |
* Contents | * Contents | ||
- | * Prerequisites | + | * What you will need |
* Hardware | * Hardware | ||
* Software | * Software | ||
* Internet | * Internet | ||
- | * Using our infrastructure | ||
* Training Program | * Training Program | ||
* Skills Assessment | * Skills Assessment | ||
- | =====Prerequisites===== | + | =====What you will need===== |
==== Hardware==== | ==== Hardware==== | ||
* A computer running either MacOS, Linux, Windows(tm) or Solaris(tm), | * A computer running either MacOS, Linux, Windows(tm) or Solaris(tm), | ||
- | * QWERTY | + | * QWERTY Keyboard, |
- | * 4 GB of RAM, | + | * 4 GB of RAM. |
- | * Headphones, | + | |
- | * A mic (optional). | + | |
====Software==== | ====Software==== | ||
- | * Chrome, Edge or Firefox | + | * Browser : |
+ | * Web Chrome | ||
+ | * Microsoft | ||
+ | * Firefox | ||
+ | * Oracle VM VirtualBox for : | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * Virtual disk image : | ||
+ | * OSBoxes - [[https:// | ||
====Internet==== | ====Internet==== | ||
* A fast, **direct** (no proxy or VPN), Internet connection (4G minimum), | * A fast, **direct** (no proxy or VPN), Internet connection (4G minimum), | ||
- | * Access to : https:// | + | * Access to ports 80 and 443 at https:// |
- | * Accessible | + | |
- | + | ||
- | =====Using our infrastructure===== | + | |
- | + | ||
- | The Instructor will assign you an ID ranging from Trainee01 to Trainee10. | + | |
- | + | ||
- | In order to access our infrastructure, | + | |
- | + | ||
- | ^ ID ^ Command ^ | + | |
- | | Trainee01 | ssh -l trainee compute01.ittraining.network -p 21022 | | + | |
- | | Trainee02 | ssh -l trainee compute02.ittraining.network -p 21122 | | + | |
- | | Trainee03 | ssh -l trainee compute03.ittraining.network -p 21222 | | + | |
- | | Trainee04 | ssh -l trainee compute04.ittraining.network -p 21322 | | + | |
- | | Trainee05 | ssh -l trainee compute05.ittraining.network -p 21422 | | + | |
- | | Trainee06 | ssh -l trainee compute06.ittraining.network -p 21522 | | + | |
- | | Trainee07 | ssh -l trainee compute07.ittraining.network -p 21622 | | + | |
- | | Trainee08 | ssh -l trainee compute08.ittraining.network -p 21722 | | + | |
- | | Trainee09 | ssh -l trainee compute09.ittraining.network -p 21822 | | + | |
- | | Trainee10 | ssh -l trainee compute10.ittraining.network -p 21922 | | + | |
- | + | ||
- | **Ask the Instructor for the password**. | + | |
- | + | ||
- | Once you are connected, use the following command to connect to your VM: | + | |
- | + | ||
- | **ssh -l trainee 10.0.2.45** | + | |
- | + | ||
- | If, for any reason, you cannot login via SSH use your Internet browser to navigate to your login page: | + | |
- | + | ||
- | ^ ID ^ URL ( Notez http: et non https: ) ^ | + | |
- | | Trainee01 | http://compute01.ittraining.network | + | |
- | | Trainee02 | http:// | + | |
- | | Trainee03 | http:// | + | |
- | | Trainee04 | http:// | + | |
- | | Trainee05 | http:// | + | |
- | | Trainee06 | http:// | + | |
- | | Trainee07 | http:// | + | |
- | | Trainee08 | http:// | + | |
- | | Trainee09 | http:// | + | |
- | | Trainee10 | http:// | + | |
- | + | ||
- | Enter your ID and ask the Instructor for the password. | + | |
- | + | ||
- | Once logged in, click on the **CentOS8_SSH_10.0.2.45** link. You will be logged into the VM automatically. | + | |
- | + | ||
- | The VM comes with two pre-configured accounts : | + | |
- | + | ||
- | ^ User Name ^ Password ^ | + | |
- | | trainee | trainee | | + | |
- | | root | fenestros | | + | |
=====Training Program===== | =====Training Program===== | ||
- | * **LCE400 - CentOS 8 Linux (RHEL 8 / Oracle Linux 8) - Fundamentals** | + | * **LCE400 - Course Presentation** |
- | * Contents | + | |
* Prerequisites | * Prerequisites | ||
* Hardware | * Hardware | ||
* Software | * Software | ||
* Internet | * Internet | ||
- | * Using our infrastructure | ||
* Training Program | * Training Program | ||
* Skills Assessment | * Skills Assessment | ||
* **LCE401 - File Hierarchy System** | * **LCE401 - File Hierarchy System** | ||
- | * Directory Contents | + | * Linux File Hierarchy System |
- | * Directory Structure | + | |
* File Types | * File Types | ||
- | * The mount command | + | * The mount Command |
- | * Command | + | |
* The /etc/fstab file | * The /etc/fstab file | ||
* Understanding the /etc/fstab file | * Understanding the /etc/fstab file | ||
- | * Mountpoint | + | * Mount Options |
- | * The umount | + | * The umount Command |
- | * Command | + | |
* Unix File Systems | * Unix File Systems | ||
* Superblock | * Superblock | ||
Ligne 116: | Ligne 70: | ||
* Hard (Physical) Links | * Hard (Physical) Links | ||
* Soft (Symbolic) Links | * Soft (Symbolic) Links | ||
- | * **Commands**: | ||
* **LCE402 - The VIsual Editor** | * **LCE402 - The VIsual Editor** | ||
* Presentation | * Presentation | ||
- | * Creating, Opening and Closing files with VI | + | * LAB #1 - Creating, Opening and Closing files with VI |
- | * Commands | + | * 1.1 - Commands |
- | * LAB #1 - Creating a new file with VI | + | * 1.2 - Creating a new file with VI |
- | * LAB #2 - Opening a file in read-only mode using view | + | * 1.3 - Opening a file in read-only mode using view |
- | * LAB #3 - Opening a file in read-write mode using VI | + | * 1.4 - Opening a file in read-write mode using VI |
- | * The set Command | + | * LAB #2 - The set Command |
- | * Commands | + | * 2.1 - Commands |
- | * LAB #4 - Turning on line numbering using set | + | * 2.2 - Turning on line numbering using set |
- | * Moving around within the file | + | * LAB #3 - Moving around within the file |
- | * Commands | + | * 3.1 - Commands |
- | * Inserting Text | + | * LAB #4 - Inserting Text |
- | * Commands | + | * 4.1 - Commands |
- | * LAB #5 - Inserting text | + | * 4.2 - Inserting text |
- | * Searching for Text | + | * LAB #5 - Searching for Text |
- | * Commands | + | * 5.1 - Commands |
- | * LAB #6 - Searching for and replacing text | + | * 5.2 - Searching for and replacing text |
- | * Deleting Text | + | * LAB #6 - Deleting Text |
- | * Commands | + | * 6.1 - Commands |
- | * LAB #7 - Deleting lines | + | * 6.2 - Deleting lines |
- | * Copy, Cut and Paste | + | * LAB #7 - Copy, Cut and Paste |
- | * Commands | + | * 7.1 - Commands |
- | * LAB #8 - Copying, Cutting and pasting text | + | * 7.2 - Copying, Cutting and pasting text |
- | * Configuring a Personalised Interface | + | * LAB #8 - Configuring a Personalised Interface |
- | * **Commands**: | + | |
* **LCE403 - Help and Documentation** | * **LCE403 - Help and Documentation** | ||
Ligne 154: | Ligne 106: | ||
* The makewhatis and whatis Commands under RHEL/CentOS 6 | * The makewhatis and whatis Commands under RHEL/CentOS 6 | ||
* Command Line Switches | * Command Line Switches | ||
- | * The mandb and whatis commands with RHEL/ | + | * The mandb and whatis commands with RHEL/ |
* Command Line Switches | * Command Line Switches | ||
* The info command | * The info command | ||
* Command Line Switches | * Command Line Switches | ||
- | * **Commands**: | ||
* **LCE404 - Basic Shell Commands and Text Manipulation Tools** | * **LCE404 - Basic Shell Commands and Text Manipulation Tools** | ||
- | * Use of Basic Shell Commands | + | * LAB #1 - Use of Basic Shell Commands |
- | * The stty Command | + | * 1.1 - The stty Command |
- | * Command Line Switches | + | * 1.2 - The date command |
- | * The date command | + | * 1.3 - The who Command |
- | * Command Line Switches | + | * 1.4 - The df Command |
- | * The who Command | + | * 1.5 - The free Command |
- | * Command Line Switches | + | * 1.6 - The whoami Command |
- | * The df Command | + | * 1.7 - The pwd Command |
- | * Command Line Switches | + | * 1.8 - The cd Command |
- | * The free Command | + | * 1.9 - The ls Command |
- | * Command Line Switches | + | * 1.10 - The lsof Command |
- | * The whoami Command | + | * 1.11 - The touch Command |
- | * Command Line Switches | + | * 1.12 - The echo Command |
- | * The pwd Command | + | * 1.13 - The cp Command |
- | * Command Line Switches | + | * 1.14 - The file Command |
- | * The cd Command | + | * 1.15 - The cat Command |
- | * Command Line Switches | + | * 1.16 - The mv Command |
- | * The ls Command | + | * 1.17 - The mkdir Command |
- | * Command Line Switches | + | * 1.18 - The rmdir Command |
- | * The lsof Command | + | * 1.19 - The rm Command |
- | * Command Line Switches | + | * 1.20 - The sort Command |
- | * The touch Command | + | * 1.21 - The more Command |
- | * Command Line Switches | + | * 1.22 - The less Command |
- | * The echo Command | + | * 1.23 - The find Command |
- | * Command Line Switches | + | * 1.24 - The su Command |
- | * The cp Command | + | * 1.25 - The updatedb and locate Commands |
- | * Command Line Switches | + | * 1.26 - The whereis Command |
- | * The file Command | + | * 1.27 - The which Command |
- | * Command Line Switches | + | * 1.28 - The uptime Command |
- | * The cat Command | + | * 1.29 - The w Command |
- | * Command Line Switches | + | * 1.30 - The uname Command |
- | * The mv Command | + | * 1.31 - The du Command |
- | * Command Line Switches | + | * 1.32 - The clear Command |
- | * The mkdir Command | + | * 1.33 - The exit Command |
- | * Command Line Switches | + | * 1.34 - The logout Command |
- | * The rmdir Command | + | * 1.35 - The sleep Command |
- | * Command Line Switches | + | * 1.36 - The wall Command |
- | * The rm Command | + | * 1.37 - The seq Command |
- | * Command Line Switches | + | * 1.38 - The screen Command |
- | * The sort Command | + | * LAB #2 - Switches and Arguments |
- | * Command Line Switches | + | * LAB #3 - Regular Expressions |
- | * The more Command | + | |
- | * Command Line Switches | + | |
- | * The less Command | + | |
- | * Command Line Switches | + | |
- | * The find Command | + | |
- | * Command Line Switches | + | |
- | * The su Command | + | |
- | * Command Line Switches | + | |
- | * The updatedb and locate Commands | + | |
- | * Command Line Switches | + | |
- | * The whereis Command | + | |
- | * Command Line Switches | + | |
- | * The which Command | + | |
- | * Command Line Switches | + | |
- | * The uptime Command | + | |
- | * Command Line Switches | + | |
- | * The w Command | + | |
- | * Command Line Switches | + | |
- | * The uname Command | + | |
- | * Command Line Switches | + | |
- | * The du Command | + | |
- | * Command Line Switches | + | |
- | * The clear Command | + | |
- | * The exit Command | + | |
- | * Command Line Switches | + | |
- | * The logout Command | + | |
- | * Command Line Switches | + | |
- | * The sleep Command | + | |
- | * Command Line Switches | + | |
- | * The wall Command | + | |
- | * The seq Command | + | |
- | * Command Line Switches | + | |
- | * The screen Command | + | |
- | * Command Line Switches | + | |
- | * Switches and Arguments | + | |
- | * Manipulating Text Files | + | |
- | * Regular Expressions | + | |
* BREs | * BREs | ||
* EREs | * EREs | ||
+ | * Manipulating Text Files | ||
* Text-search Utilities | * Text-search Utilities | ||
* The grep Command | * The grep Command | ||
- | * Command Line Switches | ||
* The egrep Command | * The egrep Command | ||
- | * Command Line Switches | ||
* The fgrep Command | * The fgrep Command | ||
- | * LAB #1 - Using grep, egrep and fgrep | + | * LAB #4 - Using grep, egrep and fgrep |
* The Stream EDitor SED | * The Stream EDitor SED | ||
- | | + | * LAB #5 - Using sed |
- | | + | |
* The Text Processor AWK | * The Text Processor AWK | ||
* Presentation | * Presentation | ||
Ligne 267: | Ligne 179: | ||
* while | * while | ||
* do-while | * do-while | ||
- | * Command Line Switches | ||
* LAB #3 - Using awk | * LAB #3 - Using awk | ||
- | * Other Useful Commands | + | * LAB 7 - Other Useful Commands |
- | * The expand Command | + | * 7.1 - The expand Command |
- | * Command Line Switches | + | * 7.2 - The unexpand Command |
- | * La Commande | + | * 7.3 - The cut Command |
- | * Command | + | * 7.4 - The uniq Command |
- | * The cut command | + | * 7.5 - The tr Command |
- | * Command | + | * 7.6 - The paste Command |
- | * The uniq Command | + | * 7.7 - The split Command |
- | * Command Line Switches | + | * 7.8 - The diff Command |
- | * The tr Command | + | * 7.9 - The cmp Command |
- | * Command Line Switches | + | * 7.10 - The patch Command |
- | * The paste Command | + | * 7.11 - The strings Command |
- | * Command Line Switches | + | * 7.12 - The comm Command |
- | * The split Command | + | * 7.13 - The head Command |
- | * Command Line Switches | + | * 7.14 - The tail Command |
- | * The diff Command | + | * LAB #8 - Use the grep, tr and cut commands |
- | * Command Line Switches | + | * LAB #9 - Use the grep, awk and sed commands to extract your IPv4 address from the output of ip |
- | * The cmp Command | + | |
- | * Command Line Switches | + | |
- | * The patch Command | + | |
- | * Command Line Switches | + | |
- | * The strings Command | + | |
- | * Command Line Switches | + | |
- | * The comm Command | + | |
- | * Command Line Switches | + | |
- | * The head Command | + | |
- | * Command Line Switches | + | |
- | * The tail Command | + | |
- | * Command Line Switches | + | |
- | | + | |
- | * **Commands**: | + | |
- | * **LCE405 - Command Line Interface** | + | * **LCE405 -Command Line Interface** |
+ | * Contents | ||
* The Shell | * The Shell | ||
* /bin/bash | * /bin/bash | ||
Ligne 310: | Ligne 208: | ||
* The TAB key | * The TAB key | ||
* Metacharacters | * Metacharacters | ||
- | * The * Metacharacter | ||
- | * The ? Metacharacter | ||
- | * The [] Metacharacter | ||
- | * The extglob Option | ||
- | * ? | ||
- | * *(expression) | ||
- | * +(expression) | ||
- | * @(expression) | ||
- | * !(expression) | ||
* Protecting Metacharacters | * Protecting Metacharacters | ||
* Exit Status | * Exit Status | ||
Ligne 337: | Ligne 226: | ||
* Execution | * Execution | ||
* The read command | * The read command | ||
- | * Code de retour | ||
- | * The IFS Variable | ||
* The test Command | * The test Command | ||
- | * Testing Files | ||
- | * LAB #1 | ||
- | * Testing Strings | ||
- | * LAB #2 | ||
- | * Testing Numbers | ||
- | * LAB #3 | ||
- | * Expressions | ||
- | * LAB #4 | ||
- | * Testing the User Environment | ||
- | * LAB #5 | ||
* The %%[[ expression ]]%% Command | * The %%[[ expression ]]%% Command | ||
- | * LAB #6 | ||
* Shell Operators | * Shell Operators | ||
- | * LAB #7 | ||
* The expr Command | * The expr Command | ||
- | * Maths | + | |
- | * Comparisons | + | * Control Structures |
- | * Logic | + | * Loops |
- | * LAB #8 | + | * Start-up Scripts |
- | | + | * LAB #1 - Start-up Scripts |
- | * Maths | + | |
- | * Comparisons | + | |
- | * Logic | + | |
- | * Binary | + | |
- | * LAB #9 | + | |
- | | + | |
- | * If | + | |
- | * case | + | |
- | | + | |
- | * for | + | |
- | * while | + | |
- | * Example | + | |
- | | + | |
- | * LAB #10 | + | |
- | * ~~/ | + | |
- | * ~/.bashrc | + | |
- | * **Commands**: | + | |
- | * **LCE406 - Training Validation** | + | * **LCE406 - Training |
* Course Materials | * Course Materials | ||
* Reminder of the Training Program | * Reminder of the Training Program | ||
Ligne 385: | Ligne 243: | ||
* Training Evaluation | * Training Evaluation | ||
* Exam - Acquired knowledge | * Exam - Acquired knowledge | ||
- | |||
- | |||
----- | ----- | ||
- | Copyright © 2022 Hugh Norris - Non-contractual document. The Training Program may be modified without notice. | + | Copyright © 2023 Hugh Norris - Non-contractual document. The Training Program may be modified without notice. |