Shadowing Practice: Provision LEMP with Ansible on a Raspberry Pi Cluster (Pi Dramble #4) - Learn English Speaking with Video

Kies een oefenmodus

Elke modus opent een volledig scherm oefenruimte.

58 zinnen
Als zinnen te kort of te lang zijn, klik op Bewerken om ze aan te passen.
1
Welcome to the Raspberry Pi Dramble cluster video series.
2
In this video, I'm going to show you how you can use Ansible to install all the software
3
that you need onto this Raspberry Pi cluster so that you can run a Drupal 8 website on it.
4
The first step after setting up all the networking is to make sure
5
that your computer and Ansible can communicate with all the Raspberry Pis using the IP addresses that we had set up.
6
So the first thing that I'm going to do is I'm going to make sure
7
that I can ping all the servers from Ansible.
8
And what this command is doing is saying look at all the servers in the inventory file
9
that I specified and run the ping module which basically pings the server and checks and makes sure it can connect.
10
And in this case it's saying that it can connect to all of them so that's good.
11
I'll show you the inventory file really quick.
12
Note that this one's a little more complicated than the one that I showed you in the networking video.
13
This one shows you that I've split up the the different servers by the balancer, which is this one on the top, and then the web servers,
14
which is these two, the second and third Raspberry Pis, and then the database servers, which is the last two, the master and then the slave or the replica.
15
So once I've set up that inventory file and made sure that I can communicate with the servers,
16
I'm ready to run the Ansible playbook that'll deploy all the software that's needed.
17
So I'm going to go to the Provision the Raspberry Pi page here
18
and it gives me two commands I need to run.
19
First I need to make sure that I install all the Ansible Galaxy requirements.
20
So I run this command, I already did that, and I also need to make sure
21
that I have a config.yaml file which has all the specific settings for my cluster.
22
So I've already copied this example.config.yaml file over to config.yaml, and I've tweaked a few settings to my likings.
23
Once that's done, I can run this ansible playbook command, which is going to run a bunch of different task lists
24
that will install all the software that you need on all the Raspberry Pis.
25
One of the cool things about using ansible is, since I've already told it about all the servers that I have, I can run commands like this,
26
which will check how much RAM is free on each of the Raspberry Pis using the free command.
27
Once I've described everything to Ansible, then Ansible can do everything for me instead of me having to log in to each of the servers.
28
If you want to find out more about how to use Ansible this way, and why you'd want to use Ansible,
29
I have another video that I'll link called Ansible one-on-one on a cluster of Raspberry Pis.
30
I also wrote a book on it, Ansible for DevOps, if you're interested in diving deeper.
31
But for now I'm going to take this command and let it run.
32
While it's running I'll kind of briefly explain what it's doing
33
and then I'll let it run while the video is sped up since it takes a while to run.
34
So first of all it's calling this main.yaml file.
35
This file includes three different files, one file that runs on the balancer, one file that runs on the database servers, and one file that runs on the web servers.
36
So let's take a quick look at the database playbook.
37
If I look here, it loads some variables from these different files.
38
It makes sure that there's a certain piece of software installed on the Raspberry Pi, the sudo package.
39
Then it will set up a firewall, it sets up some security settings, it installs and configures MySQL for the database server,
40
and it also installs Munin node which is software used to monitor the server.
41
And then there's also some scripts in a custom role I have
42
that installs a few scripts to control the LEDs on the front.
43
notice that the LEDs right now are all turned off, but through the course of this playbook, LEDs will start turning on,
44
like this one just turned on as the configuration for the balancer just finished.
45
So I have some scripts that will control the LEDs from software
46
and I'll show you how those are used at the end of the playbook run.
47
Now that everything's finished, you'll notice that the LEDs in all the Pies, except for the two web servers at this point, are turned on and green.
48
That means that they're ready to go and that I could install Drupal on them next.
49
Before I get to that though,
50
I'll show you how the balancer is actually balancing the request to these other two servers by loading the site www.pydramble.com,
51
which is what I've configured in my config.yaml file.
52
If I go here, it's actually going to send a request to this first server, and the first server is going to balance that request to one of the other two servers.
53
So if I hit enter, you'll see that there is a red and a red on this one, and if I refresh the page, it's actually going to send the request to this server.
54
And you'll see that every time I send a request, it always goes to the load balancer,
55
and then the balancer sends the requests alternately to one of these two servers.
56
So at this point it's saying file not found
57
which basically means I don't have Drupal installed on the Pi Dramble cluster yet.
58
Thank you.

App downloaden

Alles wat je nodig hebt om vloeiend te spreken

AI UitspraakScoor elke zin
IPA OefeningBeheers elk geluid
WoordenschatBouw je woordenschat op
WoordenspelLeren terwijl je speelt

Zelfde Kanaal

FOR YOU

Aanbevolen Video

Woordenschat en spreektips bij deze les

Deze spreekles op niveau C1 is gebaseerd op de video “Provision LEMP with Ansible on a Raspberry Pi Cluster”. Deze woorden komen het vaakst terug: server, file, ansible, Raspberry, install. Deze video bevat 58 zinnen en 974 woorden om na te spreken. Het gesproken deel duurt 5:41. De spreker praat in een natuurlijk tempo van ongeveer 172 woorden per minuut, dicht bij een alledaags gesprek. Slechts 76% van de woorden hoort bij de 3.000 meest gebruikte Engelse woorden, dus de woordenschat is pittig.

Belangrijke woorden in deze video

De 10 moeilijkste woorden uit de video, met uitspraak en betekenis:

WoordUitspraakBetekenis
cluster zelfstandig naamwoord/ˈklʌstɚ/tros
ping werkwoord/pɪŋ/pingen
configure werkwoord/kənˈfɪɡə(ɹ)/configureren
alternately bijwoord/ˈɔl.tɚ.nət.li/beurtelings
firewall zelfstandig naamwoord/ˈfaɪ(ə)ɹˌwɔl/brandmuur
refresh werkwoord/ɹɪˈfɹɛʃ/verfrissen
deploy werkwoord/dɪˈplɔɪ/uitrollen
specify werkwoord/ˈspɛs.əˌfaɪ/specificeren
module zelfstandig naamwoord/ˈmɑd͡ʒul/module
liking zelfstandig naamwoord/ˈlaɪkɪŋ/genot

Phrasal verbs die je zult horen

WoordUitspraakBetekenis
set up werkwoord/ˌsɛt ˈʌp/bereiden, voorbereiden
find out werkwoordontdekken, onderzoeken
turn off werkwoorduitzetten, uitschakelen

Grammatica in deze video

De structuren die de spreker het meest gebruikt, met de exacte woorden uit de video:

StructuurIn de video
Present perfect have/has + voltooid deelwoord — iets uit het verleden dat nu nog teltI've split · I've set · I've already copied
Betrekkelijke bijzinnen who / which + zin — extra informatie over een persoon of dingbalancer, which is · servers, which is · file which has
Lijdende vorm be + voltooid deelwoord — het gaat om wat er gebeurt, niet om wie het doetis sped · are turned

Uitspraak om op te letten

De spreker gebruikt 27 samentrekkingen en verkorte vormen, zoals I've, I'll, I'm. Spreek ze kort uit, zoals je ze hoort.

  • De klanken “sh” en “zh”: refresh /ɹɪˈfɹɛʃ/, configuration /kənˌfɪɡ.əˈɹeɪ̯.ʃən/
  • Lange woorden — let op de klemtoon: alternately /ˈɔl.tɚ.nət.li/, configuration /kənˌfɪɡ.əˈɹeɪ̯.ʃən/

Klanken die Nederlandstaligen lastig vinden:

  • Stemhebbende eindmedeklinker — /b/, /d/, /g/, /z/, /v/ niet verscherpen: config /ˌkənˈfɪɡ/, node /noʊd/
  • /æ/ — opener dan de Nederlandse “e”: ansible /ˈæn.sɪ.bəl/, balancer /ˈbæ.lən.sɚ/
  • /g/ — een harde plofklank, geen Nederlandse “g”: config /ˌkənˈfɪɡ/, configure /kənˈfɪɡə(ɹ)/, configuration /kənˌfɪɡ.əˈɹeɪ̯.ʃən/

Zo oefen je met deze video

  1. Luister de hele video één keer zonder te spreken en noteer de woorden die je niet kent.
  2. Begin op 0,75× snelheid, spreek zin voor zin na en ga terug naar normale snelheid zodra het makkelijk gaat.
  3. Neem jezelf op en vergelijk met het origineel; let daarbij op woorden als cluster, ping, configure.

Wat is de Shadowing-techniek?

Shadowing is een wetenschappelijk onderbouwde taalleermethode die oorspronkelijk is ontwikkeld voor professionele tolkentraining en gepopulariseerd door polyglot Dr. Alexander Arguelles. De methode is eenvoudig maar krachtig: je luistert naar native Engelse audio en herhaalt het onmiddellijk hardop — als een schaduw die de spreker volgt met slechts 1–2 seconden vertraging. In tegenstelling tot passief luisteren of grammaticadrills, dwingt shadowing je hersenen en mondspieren om echte spraakpatronen tegelijkertijd te verwerken en te reproduceren. Onderzoek toont aan dat het de uitspraaknauwkeurigheid, intonatie, ritme, verbonden spraak, luisterbegrip en spreekvaardigheid aanzienlijk verbetert — waardoor het een van de meest effectieve methoden is voor IELTS Speaking-voorbereiding en echte Engelse communicatie.

Shadowing-techniek: lees de volledige stap-voor-stap-gids →