-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
587 lines (527 loc) · 37.6 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>RHCSA Exam Preparation - RHEL 9</title>
<style>
body {
font-family: "Helvetica Neue", Arial, sans-serif;
background-color: #121212;
color: #eaeaea;
margin: 0;
display: flex;
flex-direction: row;
}
/* Left Sidebar */
.sidebar {
background-color: #cc0000;
color: #fff;
width: 20%;
min-height: 100vh;
padding: 20px;
box-sizing: border-box;
position: fixed;
display: flex;
flex-direction: column;
justify-content: center; /* Center content vertically */
align-items: center;
}
table {
width: 70%;
text-align: center;
border-collapse: collapse;
}
td {
font-weight: bold;
padding: 2px 0;
width: 70%;
color: white;
}
.image-container img, .image-container-bottom img {
width: 100%;
height: auto;
}
.redhat {
font-size: 3.3vw;
color: white;
}
.line {
height: 0.2vw;
width: 100%;
background-color: white;
margin: 0;
padding: 0;
}
.certified {
font-size: 2vw;
letter-spacing: 0.15em;
color: white;
}
.system {
font-size: 2.9vw;
letter-spacing: 0.1em;
font-weight: normal;
color: white;
}
.admin {
font-size: 1.35vw;
letter-spacing: 0.1em;
color: white;
}
/* Right Sidebar (Tabs) */
.objectives-sidebar {
background-color: #1a1a1a;
color: #fff;
width: 20%;
min-height: 100vh;
padding: 20px;
box-sizing: border-box;
position: fixed;
right: 0;
top: 0;
display: flex;
flex-direction: column;
justify-content: center; /* Center content vertically */
align-items: center; /* Align items centrally */
}
.tabs {
display: flex;
flex-direction: column;
width: 100%;
border-bottom: 1px solid #333;
}
.tabs div {
padding: 10px;
background-color: #1a1a1a;
text-align: left;
border-bottom: 1px solid #333;
color: #eaeaea;
cursor: pointer;
}
.tabs div:hover {
background-color: #333;
}
.tabs div.active {
background-color: #cc0000;
}
/* Main Content */
.main-content {
width: 60%;
margin-left: 20%;
margin-right: 20%;
padding: 20px;
box-sizing: border-box;
background-color: #282424;
}
h2 {
color: #ffc107;
}
p {
line-height: 1.8;
}
h3, h4, strong {
color: #ffc107;
}
section {
padding: 20px 0;
border-bottom: 1px solid #333;
}
/* Tab Content */
.tab-content {
display: none;
padding: 20px;
background-color: #383434;
color: #eaeaea;
margin-top: 10px;
border-radius: 15px; /* Curved corners */
overflow: hidden;
position: relative;
}
.tab-content.active {
display: block;
}
/* Profile-like Image */
.profile-image img {
width: 50px;
height: 50px;
border-radius: 50%; /* Circular shape */
position: absolute;
top: 10px; /* Moved image slightly upward */
left: 20px;
}
/* Gradual Button Appearance */
.gradual-buttons {
display: flex;
flex-direction: column; /* Arrange buttons in a column */
justify-content: flex-start; /* Align buttons to the left */
gap: 10px; /* Space between buttons */
margin-top: 20px;
}
.gradual-buttons button {
display: block; /* Ensure buttons behave like block elements */
text-align: left; /* Align text to the left */
background-color: #1a1a1a;
color: #ffffff;
border: 1px solid transparent; /* Optional: Makes the border more visible if needed */
padding: 10px;
border-radius: 5px;
cursor: pointer;
font-weight: bold; /* Make text bold */
transition: background-color 0.7s ease;
}
.gradual-buttons button:hover {
background-color: #cc0000;
color: #ffffff;
}
/* Markdown Container */
.markdown-container {
background-color: #2e2f34;
padding: 20px;
border-radius: 10px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
margin-top: 20px;
}
/* Code block styling */
pre, code {
background-color: #2d2d2d;
color: #00ff7f;
font-family: 'Courier New', Courier, monospace;
padding: 5px;
border-radius: 4px;
overflow-x: auto;
}
pre {
padding: 15px;
white-space: pre-wrap;
line-height: 1.5;
}
code {
padding: 2px 4px;
}
@media (max-width: 768px) {
body {
flex-direction: column;
}
.sidebar, .objectives-sidebar {
width: 100%;
position: relative;
}
.main-content {
width: 100%;
margin-left: 0;
margin-right: 0;
padding: 10px;
}
.tabs div {
font-size: 1.1em;
}
.tabs {
width: 100%;
flex-direction: row;
overflow-x: scroll;
}
.tab-content {
padding: 10px;
}
.line {
height: 1px;
width: 100%;
}
.redhat {
font-size: 14vw;
}
.certified {
font-size: 8.5vw;
}
.system {
font-size: 12vw;
}
.admin {
font-size: 5.5vw;
}
}
</style>
</head>
<body>
<!-- Left Sidebar -->
<div class="sidebar">
<table>
<tr class="image-container">
<td><img src="https://github.com/RHCSA/RHCSA.github.io/blob/main/photos/redhat.png?raw=true" alt="RedHat Logo"></td>
</tr>
<tr>
<td class="redhat">Red Hat</td>
</tr>
<tr>
<td><div class="line"></div></td>
</tr>
<tr>
<td class="certified">CERTIFIED</td>
</tr>
<tr>
<td class="system">SYSTEM</td>
</tr>
<tr>
<td class="admin">ADMINISTRATOR</td>
</tr>
<tr class="image-container-bottom">
<td>
<a href="https://www.credly.com/badges/fff62969-d5cf-4e57-b4a3-856c2a0b12a9" target="_blank">
<img src="https://images.credly.com/size/340x340/images/572de0ba-2c59-4816-a59d-b0e1687e45ee/image.png" alt="RHCSA Badge">
</a>
</td>
</tr>
<tr class="image-container-bottom">
<td>
<a href="https://www.youtube.com/@RHCSA_EX200" target="_blank">
<img src="https://github.com/RHCSA/RHCSA.github.io/blob/main/photos/youtube-button.png?raw=true" alt="Youtube Channel">
</a>
</td>
</tr>
</table>
</div>
<!-- Main Content Area -->
<div class="main-content">
<h1 style="text-align: center;">RHCSA (EX200) Exam Preparation Guide</h1>
<!-- Tab Content with Gradual Buttons -->
<div id="Introduction" class="tab-content">
<h4>Welcome to the RHCSA (EX200) Exam Preparation Guide</h4>
<p>Are you aiming to pass the Red Hat Certified System Administrator (RHCSA) EX200 exam? You're in the right place! </p>
<p>This website offers a comprehensive course designed to help you master all the essential skills and concepts needed for success. Whether you're just starting your journey or looking to sharpen your knowledge before the exam, we cover everything you need to know, chapter by chapter.</p>
<p>On the right, you will find 10 chapters, each based on the official objectives of the RHCSA exam. These chapters are packed with detailed explanations and practical exam questions, so you can practice and gain confidence as you prepare for the test.</p>
<p>Here’s my RHCSA certification as proof of my journey:</p>
<div style="text-align: center;">
<a href="https://www.credly.com/badges/fff62969-d5cf-4e57-b4a3-856c2a0b12a9" target="_blank">
<img src="https://github.com/RHCSA/RHCSA.github.io/blob/main/photos/Red_Hat_Certified_System_Administrator_RHCSA.jpg?raw=true" alt="RHCSA Certification" style="max-width: 100%; height: auto; border: 1px solid #ccc; box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);">
</a>
</div>
</div>
<!-- Tab Content with Gradual Buttons -->
<div id="chapter1" class="tab-content">
<h2>Chapter 01: Understand and use essential tools:</h2>
<div class="gradual-buttons">
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/01-%20Understand%20and%20use%20essential%20tools/01-%20Access%20a%20shell%20prompt%20and%20issue%20commands%20with%20correct%20syntax.md', 'chapter1')">01- Access a shell prompt and issue commands with correct syntax</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/01-%20Understand%20and%20use%20essential%20tools/02-%20Use%20input-output%20redirection.md', 'chapter1')">02- Use input-output redirection</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/01-%20Understand%20and%20use%20essential%20tools/03-%20Use%20grep%20and%20regular%20expressions%20to%20analyze%20text.md', 'chapter1')">03- Use grep and regular expressions to analyze text</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/01-%20Understand%20and%20use%20essential%20tools/04-%20Access%20remote%20systems%20using%20SSH.md', 'chapter1')">04- Access remote systems using SSH</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/01-%20Understand%20and%20use%20essential%20tools/05-%20Log%20in%20and%20switch%20users%20in%20multiuser%20targets.md', 'chapter1')">05- Log in and switch users in multiuser targets</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/01-%20Understand%20and%20use%20essential%20tools/06-%20Archive%2C%20compress%2C%20unpack%2C%20and%20uncompress%20files%20using%20tar%2C%20gzip%2C%20and%20bzip2.md', 'chapter1')">06- Archive, compress, unpack, and uncompress files using tar, gzip, and bzip2</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/01-%20Understand%20and%20use%20essential%20tools/07-%20Create%20and%20edit%20text%20files.md', 'chapter1')">07- Create and edit text files</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/01-%20Understand%20and%20use%20essential%20tools/08-%20Create%2C%20delete%2C%20copy%2C%20and%20move%20files%20and%20directories.md', 'chapter1')">08- Create, delete, copy, and move files and directories</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/01-%20Understand%20and%20use%20essential%20tools/09-%20Create%20hard%20and%20soft%20links.md', 'chapter1')">09- Create hard and soft links</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/01-%20Understand%20and%20use%20essential%20tools/10-%20List%2C%20set%2C%20and%20change%20standard%20ugo%20rwx%20permissions.md', 'chapter1')">10- List, set, and change standard ugo rwx permissions</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/01-%20Understand%20and%20use%20essential%20tools/11-%20Locate%2C%20read%2C%20and%20use%20system%20documentation%20including%20man%2C%20info%2C%20and%20files%20in%20%20usr%20share%20doc.md', 'chapter1')">11- Locate, read, and use system documentation including man, info, and files in usr share doc</button>
</div>
<div class="markdown-container">
<div class="text-content"></div>
</div>
</div>
<!-- Tab Content with Gradual Buttons -->
<div id="chapter2" class="tab-content">
<h2>Chapter 02: Create simple shell scripts:</h2>
<div class="gradual-buttons">
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/02-%20Create%20simple%20shell%20scripts.md/01-%20Conditionally%20execute%20code%20use%20of%20if%2C%20test%2C%20%5B%5D%2C%20etc.md', 'chapter2')">01- Conditionally execute code use of if, test, [], etc.</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/02-%20Create%20simple%20shell%20scripts.md/02-%20Use%20Looping%20constructs%20(for%2C%20etc.)%20to%20process%20file%2C%20command%20line%20input.md', 'chapter2')">02- Use Looping constructs (for, etc.) to process file, command line input</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/02-%20Create%20simple%20shell%20scripts.md/03-%20Process%20script%20inputs%20(%241%2C%20%242%2C%20etc.).md', 'chapter2')">03- Process script inputs ($1, $2, etc.)</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/02-%20Create%20simple%20shell%20scripts.md/04-%20Processing%20output%20of%20shell%20commands%20within%20a%20script.md', 'chapter2')">04- Processing output of shell commands within a script</button>
</div>
<div class="markdown-container">
<div class="text-content"></div>
</div>
</div>
<!-- Tab Content with Gradual Buttons -->
<div id="chapter3" class="tab-content">
<h2>Chapter 03: Operate running systems:</h2>
<div class="gradual-buttons">
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/03-%20Operate%20running%20systems/01-%20Boot%2C%20reboot%2C%20and%20shut%20down%20a%20system%20normally.md', 'chapter3')">01- Boot, reboot, and shut down a system normally</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/03-%20Operate%20running%20systems/02-%20Boot%20systems%20into%20different%20targets%20manually.md', 'chapter3')">02- Boot systems into different targets manually</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/03-%20Operate%20running%20systems/03-%20Interrupt%20the%20boot%20process%20in%20order%20to%20gain%20access%20to%20a%20system.md', 'chapter3')">03- Interrupt the boot process in order to gain access to a system</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/03-%20Operate%20running%20systems/04-%20Identify%20CPU%20and%20Memory%20intensive%20processes%20and%20kill%20processes.md', 'chapter3')">04- Identify CPU and Memory intensive processes and kill processes</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/03-%20Operate%20running%20systems/05-%20Adjust%20process%20scheduling.md', 'chapter3')">05- Adjust process scheduling</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/03-%20Operate%20running%20systems/06-%20Manage%20tuning%20profiles.md', 'chapter3')">06- Manage tuning profiles</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/03-%20Operate%20running%20systems/07-%20Locate%20and%20interpret%20system%20log%20files%20and%20journals.md', 'chapter3')">07- Locate and interpret system log files and journals</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/03-%20Operate%20running%20systems/08-%20Preserve%20system%20journals.md', 'chapter3')">08- Preserve system journals</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/03-%20Operate%20running%20systems/09-%20Start%2C%20stop%2C%20and%20check%20the%20status%20of%20network%20services.md', 'chapter3')">09- Start, stop, and check the status of network services</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/03-%20Operate%20running%20systems/10-%20Securely%20transfer%20files%20between%20systems.md', 'chapter3')">10- Securely transfer files between systems</button>
</div>
<div class="markdown-container">
<div class="text-content"></div>
</div>
</div>
<!-- Tab Content with Gradual Buttons -->
<div id="chapter4" class="tab-content">
<h2>Chapter 04: Configure local storage:</h2>
<div class="gradual-buttons">
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/04-%20Configure%20local%20storage/01-%20List%2C%20create%2C%20delete%20partitions%20on%20MBR%20and%20GPT%20disks.md', 'chapter4')">01- List, create, delete partitions on MBR and GPT disks</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/04-%20Configure%20local%20storage/02-%20Create%20and%20remove%20physical%20volumes.md', 'chapter4')">02- Create and remove physical volumes</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/04-%20Configure%20local%20storage/03-%20Assign%20physical%20volumes%20to%20volume%20groups.md', 'chapter4')">03- Assign physical volumes to volume groups</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/04-%20Configure%20local%20storage/04-%20Create%20and%20delete%20logical%20volumes.md', 'chapter4')">04- Create and delete logical volumes</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/04-%20Configure%20local%20storage/05-%20Configure%20systems%20to%20mount%20file%20systems%20at%20boot%20by%20universally%20unique%20ID%20(UUID)%20or%20label.md', 'chapter4')">05- Configure systems to mount file systems at boot by universally unique ID (UUID) or label</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/04-%20Configure%20local%20storage/06-%20Add%20new%20partitions%20and%20logical%20volumes%2C%20and%20swap%20to%20a%20system%20non-destructively.md', 'chapter4')">06- Add new partitions and logical volumes, and swap to a system non-destructively</button>
</div>
<div class="markdown-container">
<div class="text-content"></div>
</div>
</div>
<!-- Tab Content with Gradual Buttons -->
<div id="chapter5" class="tab-content">
<h2>Chapter 05: Create and configure file systems:</h2>
<div class="gradual-buttons">
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/05-%20Create%20and%20configure%20file%20systems/01-%20Create%2C%20mount%2C%20unmount%2C%20and%20use%20vfat%2C%20ext4%2C%20and%20xfs%20file%20systems.md', 'chapter5')">01- Create, mount, unmount, and use vfat, ext4, and xfs file systems</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/05-%20Create%20and%20configure%20file%20systems/02-%20Mount%20and%20unmount%20network%20file%20systems%20using%20NFS.md', 'chapter5')">02- Mount and unmount network file systems using NFS</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/05-%20Create%20and%20configure%20file%20systems/03-%20Configure%20autofs.md', 'chapter5')">03- Configure autofs</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/05-%20Create%20and%20configure%20file%20systems/04-%20Extend%20existing%20logical%20volumes.md', 'chapter5')">04- Extend existing logical volumes</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/05-%20Create%20and%20configure%20file%20systems/05-%20Create%20and%20configure%20set-GID%20directories%20for%20collaboration.md', 'chapter5')">05- Create and configure set-GID directories for collaboration</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/05-%20Create%20and%20configure%20file%20systems/06-%20Diagnose%20and%20correct%20file%20permission%20problems.md', 'chapter5')">06- Diagnose and correct file permission problems.md</button>
</div>
<div class="markdown-container">
<div class="text-content"></div>
</div>
</div>
<!-- Tab Content with Gradual Buttons -->
<div id="chapter6" class="tab-content">
<h2>Chapter 06: Deploy, configure, and maintain systems:</h2>
<div class="gradual-buttons">
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/06-%20Deploy%2C%20configure%2C%20and%20maintain%20systems/01-%20Schedule%20tasks%20using%20at%20and%20cron.md', 'chapter6')">01- Schedule tasks using at and cron</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/06-%20Deploy%2C%20configure%2C%20and%20maintain%20systems/02-%20Start%20and%20stop%20services%20and%20configure%20services%20to%20start%20automatically%20at%20boot.md', 'chapter6')">02- Start and stop services and configure services to start automatically at boot</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/06-%20Deploy%2C%20configure%2C%20and%20maintain%20systems/03-%20Configure%20systems%20to%20boot%20into%20a%20specific%20target%20automatically.md', 'chapter6')">03- Configure systems to boot into a specific target automatically</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/06-%20Deploy%2C%20configure%2C%20and%20maintain%20systems/04-%20Configure%20time%20service%20clients.md', 'chapter6')">04- Configure time service clients</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/06-%20Deploy%2C%20configure%2C%20and%20maintain%20systems/05-%20Install%20and%20update%20software%20packages%20from%20Red%20Hat%20Network%2C%20a%20remote%20repository%2C%20or%20from%20the%20local%20file%20system.md', 'chapter6')">05- Install and update software packages from Red Hat Network, a remote repository, or from the local file system</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/06-%20Deploy%2C%20configure%2C%20and%20maintain%20systems/06-%20Modify%20the%20system%20bootloader.md', 'chapter6')">06- Modify the system bootloader.md</button>
</div>
<div class="markdown-container">
<div class="text-content"></div>
</div>
</div>
<!-- Tab Content with Gradual Buttons -->
<div id="chapter7" class="tab-content">
<h2>Chapter 07: Manage basic networking:</h2>
<div class="gradual-buttons">
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/07-%20Manage%20basic%20networking/01-%20Configure%20IPv4%20and%20IPv6%20addresses.md', 'chapter7')">01- Configure IPv4 and IPv6 addresses</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/07-%20Manage%20basic%20networking/02-%20Configure%20hostname%20resolution.md', 'chapter7')">02- Configure hostname resolution</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/07-%20Manage%20basic%20networking/03-%20Configure%20network%20services%20to%20start%20automatically%20at%20boot.md', 'chapter7')">03- Configure network services to start automatically at boot</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/07-%20Manage%20basic%20networking/04-%20Restrict%20network%20access%20using%20firewall-cmd%20firewall.md', 'chapter7')">04- Restrict network access using firewall-cmd firewall</button>
</div>
<div class="markdown-container">
<div class="text-content"></div>
</div>
</div>
<!-- Tab Content with Gradual Buttons -->
<div id="chapter8" class="tab-content">
<h2>Chapter 08: :</h2>
<div class="gradual-buttons">
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/08-%20Manage%20users%20and%20groups/01-%20Create%2C%20delete%2C%20and%20modify%20local%20user%20accounts.md', 'chapter8')">01- Create, delete, and modify local user accounts</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/08-%20Manage%20users%20and%20groups/02-%20Change%20passwords%20and%20adjust%20password%20aging%20for%20local%20user%20accounts.md', 'chapter8')">02- Change passwords and adjust password aging for local user accounts</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/08-%20Manage%20users%20and%20groups/03-%20Create%2C%20delete%2C%20and%20modify%20local%20groups%20and%20group%20memberships.md', 'chapter8')">03- Create, delete, and modify local groups and group memberships</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/08-%20Manage%20users%20and%20groups/04-%20Configure%20superuser%20access.md', 'chapter8')">04- Configure superuser access</button>
</div>
<div class="markdown-container">
<div class="text-content"></div>
</div>
</div>
<!-- Tab Content with Gradual Buttons -->
<div id="chapter9" class="tab-content">
<h2>Chapter 09: Manage security:</h2>
<div class="gradual-buttons">
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/09-%20Manage%20security/01-%20Configure%20firewall%20settings%20using%20firewall-cmd%20firewalld.md', 'chapter9')">01- Configure firewall settings using firewall-cmd firewalld</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/09-%20Manage%20security/02-%20Manage%20default%20file%20permissions.md', 'chapter9')">02- Manage default file permissions</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/09-%20Manage%20security/03-%20Configure%20key-based%20authentication%20for%20SSH.md', 'chapter9')">03- Configure key-based authentication for SSH</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/09-%20Manage%20security/04-%20Set%20enforcing%20and%20permissive%20modes%20for%20SELinux.md', 'chapter9')">04- Set enforcing and permissive modes for SELinux</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/09-%20Manage%20security/05-%20List%20and%20identify%20SELinux%20file%20and%20process%20context.md', 'chapter9')">05- List and identify SELinux file and process context</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/09-%20Manage%20security/06-%20Restore%20default%20file%20contexts.md', 'chapter9')">06- Restore default file contexts</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/09-%20Manage%20security/07-%20Manage%20SELinux%20port%20labels.md', 'chapter9')">07- Manage SELinux port labels</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/09-%20Manage%20security/08-%20Use%20boolean%20settings%20to%20modify%20system%20SELinux%20settings.md', 'chapter9')">08- Use boolean settings to modify system SELinux settings</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/09-%20Manage%20security/09-%20Diagnose%20and%20address%20routine%20SELinux%20policy%20violations.md', 'chapter9')">09- Diagnose and address routine SELinux policy violations</button>
</div>
<div class="markdown-container">
<div class="text-content"></div>
</div>
</div>
<!-- Tab Content with Gradual Buttons -->
<div id="chapter10" class="tab-content">
<h2>Chapter 10: Manage containers:</h2>
<div class="gradual-buttons">
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/10-%20Manage%20containers/01-%20Find%20and%20retrieve%20container%20images%20from%20a%20remote%20registry.md', 'chapter10')">01- Find and retrieve container images from a remote registry</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/10-%20Manage%20containers/02-%20Inspect%20container%20images.md', 'chapter10')">02- Inspect container images</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/10-%20Manage%20containers/03-%20Perform%20container%20management%20using%20commands%20such%20as%20podman%20and%20skopeo.md', 'chapter10')">03- Perform container management using commands such as podman and skopeo</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/10-%20Manage%20containers/04-%20Perform%20basic%20container%20management%20such%20as%20running%2C%20starting%2C%20stopping%2C%20and%20listing%20running%20containers.md', 'chapter10')">04- Perform basic container management such as running, starting, stopping, and listing running containers</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/10-%20Manage%20containers/05-%20Run%20a%20service%20inside%20a%20container.md', 'chapter10')">05- Run a service inside a container</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/10-%20Manage%20containers/06-%20Configure%20a%20container%20to%20start%20automatically%20as%20a%20systemd%20service.md', 'chapter10')">06- Configure a container to start automatically as a systemd service</button>
<button onclick="loadMarkdown('https://raw.githubusercontent.com/RHCSA/RHCSA.github.io/refs/heads/main/contents/10-%20Manage%20containers/07-%20Attach%20persistent%20storage%20to%20a%20container.md', 'chapter10')">07- Attach persistent storage to a container</button>
</div>
<div class="markdown-container">
<div class="text-content"></div>
</div>
</div>
<!-- Add other chapters and contents as needed -->
</div>
<!-- Right Sidebar for Tabs -->
<div class="objectives-sidebar">
<div class="tabs">
<div class="tab" onclick="openTab(event, 'Introduction')">Introduction</div>
<div class="tab" onclick="openTab(event, 'chapter1')">Chapter 01): Understand and use essential tools</div>
<div class="tab" onclick="openTab(event, 'chapter2')">Chapter 02): Create simple shell scripts</div>
<div class="tab" onclick="openTab(event, 'chapter3')">Chapter 03): Operate running systems</div>
<div class="tab" onclick="openTab(event, 'chapter4')">Chapter 04): Configure local storage</div>
<div class="tab" onclick="openTab(event, 'chapter5')">Chapter 05): Create and configure file systems</div>
<div class="tab" onclick="openTab(event, 'chapter6')">Chapter 06): Deploy, configure, and maintain systems</div>
<div class="tab" onclick="openTab(event, 'chapter7')">Chapter 07): Manage basic networking</div>
<div class="tab" onclick="openTab(event, 'chapter8')">Chapter 08): Manage users and groups</div>
<div class="tab" onclick="openTab(event, 'chapter9')">Chapter 09): Manage security</div>
<div class="tab" onclick="openTab(event, 'chapter10')">Chapter 10): Manage containers</div>
</div>
</div>
<!-- JavaScript for Tab Navigation and Typing Effect -->
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<script>
let currentInterval = null;
function typeEffect(element, html) {
let i = 0;
const speed = 5;
element.innerHTML = ""; // Clear content before typing
function typeWriter() {
if (i < html.length) {
element.innerHTML = html.substring(0, i + 1);
i++;
setTimeout(typeWriter, speed);
}
}
typeWriter();
}
function openTab(evt, tabName) {
const tabContents = document.querySelectorAll('.tab-content');
tabContents.forEach(content => content.classList.remove('active'));
const tabs = document.querySelectorAll('.tab');
tabs.forEach(tab => tab.classList.remove('active'));
const contentElement = document.getElementById(tabName);
contentElement.classList.add('active');
evt.currentTarget.classList.add('active');
}
function loadMarkdown(url, tabId) {
const contentDiv = document.querySelector(`#${tabId} .text-content`);
contentDiv.innerHTML = ""; // Clear existing content
if (currentInterval) {
clearInterval(currentInterval); // Stop any previously running interval
}
fetch(url)
.then(response => response.text())
.then(data => {
const htmlContent = marked.parse(data); // Parse Markdown to HTML
let i = 0;
currentInterval = setInterval(() => {
if (i < htmlContent.length) {
contentDiv.innerHTML = htmlContent.slice(0, i); // Render gradually
i++;
} else {
clearInterval(currentInterval); // Clear interval once finished
}
}, 10); // Adjust speed as necessary
})
.catch(error => console.error('Error fetching content:', error));
}
// Set default active tab on page load
document.querySelector('.tabs .tab').click();
</script>
</body>
</html>