Prática de Shadowing: Provision LEMP with Ansible on a Raspberry Pi Cluster (Pi Dramble #4) - Aprenda a falar inglês com vídeo

Escolha um modo de prática

Cada modo abre uma sala de prática em tela cheia.

58 frases
Se as frases estiverem muito curtas ou longas, clique em Edit para ajustá-las.
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.

Baixar aplicativo

Tudo o que você precisa para falar fluentemente

Pronúncia com IANota em cada frase
Prática de IPADomine cada som
VocabulárioMonte seu banco de palavras
Jogo de vocabulárioAprenda brincando

Vocabulário e dicas de fala para esta lição

Esta aula de conversação de nível C1 usa o vídeo “Provision LEMP with Ansible on a Raspberry Pi Cluster”. As palavras que mais se repetem: server, file, ansible, Raspberry, install. Este vídeo tem 58 frases e 974 palavras para praticar shadowing. A fala dura 5:41. O falante fala em ritmo natural, cerca de 172 palavras por minuto, próximo de uma conversa do dia a dia. Apenas 76% das palavras estão entre as 3.000 mais comuns do inglês, por isso o vocabulário é exigente.

Vocabulário principal deste vídeo

As 12 palavras mais avançadas do vídeo, com pronúncia e significado:

PalavraPronúnciaSignificado
ansible substantivo/ˈæn.sɪ.bəl/ansível
cluster substantivo/ˈklʌstɚ/aglomeração, aglomerado
configure verbo/kənˈfɪɡə(ɹ)/configurar
alternately advérbio/ˈɔl.tɚ.nət.li/alternadamente
firewall substantivo/ˈfaɪ(ə)ɹˌwɔl/parede corta-fogo
refresh verbo/ɹɪˈfɹɛʃ/refrescar
replica substantivo/ˈɹɛplɪkə/réplica, cópia exata
deploy verbo/dɪˈplɔɪ/posicionar
specify verbo/ˈspɛs.əˌfaɪ/especificar
module substantivo/ˈmɑd͡ʒul/módulo
configuration substantivo/kənˌfɪɡ.əˈɹeɪ̯.ʃən/configuração
liking substantivo/ˈlaɪkɪŋ/gosto

Phrasal verbs que você vai ouvir

PalavraPronúnciaSignificado
set up verbo/ˌsɛt ˈʌp/preparar
find out verbodescobrir
turn off verbodesligar, apagar

Gramática neste vídeo

As estruturas que o falante mais usa, com as palavras exatas do vídeo:

EstruturaNo vídeo
Present perfect have/has + particípio passado — uma ação passada que ainda importa agoraI've split · I've set · I've already copied
Orações relativas who / which + oração — informação extra sobre uma pessoa ou coisabalancer, which is · servers, which is · file which has
Voz passiva be + particípio passado — o foco está no que acontece, não em quem fazis sped · are turned

Pronúncia para ficar de olho

O falante usa 27 contrações e formas reduzidas, como I've, I'll, I'm. Diga-as na forma curta, do jeito que você ouve.

  • Os sons de “sh” e “zh”: refresh /ɹɪˈfɹɛʃ/, configuration /kənˌfɪɡ.əˈɹeɪ̯.ʃən/
  • Palavras longas — acerte a sílaba tônica: alternately /ˈɔl.tɚ.nət.li/, configuration /kənˌfɪɡ.əˈɹeɪ̯.ʃən/

Sons difíceis para falantes de português:

  • Consoante final — sem acrescentar um “i” depois: playbook /ˈpleɪ.bʊk/, config /ˌkənˈfɪɡ/, node /noʊd/
  • /l/ final — a língua toca o céu da boca, não vira “u”: ansible /ˈæn.sɪ.bəl/, firewall /ˈfaɪ(ə)ɹˌwɔl/, module /ˈmɑd͡ʒul/

Como praticar com este vídeo

  1. Ouça o vídeo inteiro uma vez sem falar e anote as palavras que você não conhece.
  2. Comece na velocidade 0,75×, faça shadowing frase por frase e volte à velocidade normal quando ficar fácil.
  3. Grave a sua voz e compare com o original, prestando atenção a palavras como ansible, cluster, configure.

O que é a Técnica de Shadowing?

Shadowing é uma técnica de aprendizado de idiomas com base científica, originalmente desenvolvida para o treinamento de intérpretes profissionais. O método é simples, mas poderoso: você ouve áudio em inglês nativo e repete imediatamente em voz alta — como uma sombra seguindo o falante com 1-2 segundos de atraso. Pesquisas mostram melhora significativa na precisão da pronúncia, entonação, ritmo, sons conectados, compreensão auditiva e fluência na fala.

Técnica de shadowing: leia o guia completo passo a passo →