Luyện nói tiếng Anh bằng Shadowing qua video: Provision LEMP with Ansible on a Raspberry Pi Cluster (Pi Dramble #4)

Đang tạo bài học...
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.

Vocabulary and speaking notes for this lesson

This C1 speaking lesson is built on the video “Provision LEMP with Ansible on a Raspberry Pi Cluster”. The speaker keeps coming back to these words: server, file, ansible, Raspberry, install. This video has 58 sentences and 974 words to shadow. The speech runs for 5:41. The speaker talks at a natural 172 words per minute, close to everyday conversation. Only 76% of the words are among the 3,000 most common in English, so the vocabulary is demanding.

Key vocabulary in this video

The 15 most advanced words in the video, with pronunciation and meaning:

WordPronunciationMeaning
ansible noun/ˈæn.sɪ.bəl/A hypothetical device that enables users to communicate instantaneously across great distances; that is, a faster-than-light communication device.
balancer noun/ˈbæ.lən.sɚ/One who, or that which, balances.
playbook noun/ˈpleɪ.bʊk/A book containing the text of a play or plays.
cluster noun/ˈklʌstɚ/A bunch or group of several discrete items that are close to each other.
config noun/ˌkənˈfɪɡ/Configuration.
ping verb/pɪŋ/To make a high-pitched, short and somewhat sharp sound.
configure verb/kənˈfɪɡə(ɹ)/To set up or arrange something in such a way that it is ready for operation for a particular purpose, or to someone's particular liking
alternately adverb/ˈɔl.tɚ.nət.li/In reciprocal succession; succeeding by turns; in alternate order.
firewall noun/ˈfaɪ(ə)ɹˌwɔl/A fireproof barrier used to prevent the spread of fire between or through buildings, structures, electrical substation transformers, or within an aircraft or…
refresh verb/ɹɪˈfɹɛʃ/To renew or revitalize.
replica noun/ˈɹɛplɪkə/An exact copy.
deploy verb/dɪˈplɔɪ/To prepare and arrange (originally military unit or units, i.e., to array troops) for use.
specify verb/ˈspɛs.əˌfaɪ/To state explicitly, or in detail, or as a condition.
node noun/noʊd/A knot, knob, protuberance or swelling.
module noun/ˈmɑd͡ʒul/A self-contained component of a system, often interchangeable, which has a well-defined interface to the other components.

Phrasal verbs you will hear

WordPronunciationMeaning
set up verb/ˌsɛt ˈʌp/To make ready for use.
find out verbTo discover, as by asking or investigating.
split up verbCease to be together, break apart from the group.
turn off verbTo power down, to switch off, to put out of operation, to deactivate (an appliance, light, mechanism, functionality etc.).

Ngữ pháp trong video

Những cấu trúc người nói dùng nhiều nhất, kèm đúng cụm từ trong video:

Cấu trúcTrong video
Thì hiện tại hoàn thành have/has + quá khứ phân từ — việc đã xảy ra nhưng còn liên quan đến hiện tạiI've split · I've set · I've already copied
Mệnh đề quan hệ who / which + mệnh đề — thêm thông tin về người hoặc vậtbalancer, which is · servers, which is · file which has

Pronunciation to watch

The speaker uses 27 contractions and reduced forms, such as I've, I'll, I'm. Say them the short way, as you hear them.

  • The “sh” and “zh” sounds: refresh /ɹɪˈfɹɛʃ/, configuration /kənˌfɪɡ.əˈɹeɪ̯.ʃən/
  • Long words — get the stress right: alternately /ˈɔl.tɚ.nət.li/, configuration /kənˌfɪɡ.əˈɹeɪ̯.ʃən/

How to practise with this video

  1. Listen to the whole video once without speaking and note the words you do not know.
  2. Start at 0.75× speed, shadow it sentence by sentence, then go back to normal speed once it feels easy.
  3. Record yourself and compare with the original, paying attention to words like ansible, balancer, playbook.

Phương Pháp Shadowing Là Gì?

Shadowing là kỹ thuật học ngôn ngữ có cơ sở khoa học, ban đầu được phát triển cho chương trình đào tạo phiên dịch viên chuyên nghiệp và được phổ biến rộng rãi bởi nhà đa ngôn ngữ học Dr. Alexander Arguelles. Nguyên lý cốt lõi đơn giản nhưng cực kỳ hiệu quả: bạn nghe tiếng Anh của người bản xứ và lặp lại to ngay lập tức — như một "cái bóng" (shadow) đuổi theo người nói với độ trễ chỉ 1–2 giây. Khác với luyện ngữ pháp hay học từ vựng bị động, Shadowing buộc não bộ và cơ miệng phải đồng thời xử lý và tái tạo ngôn ngữ thực tế. Các nghiên cứu khoa học xác nhận phương pháp này cải thiện đáng kể phát âm, ngữ điệu, nhịp điệu, nối âm, kỹ năng nghe và độ lưu loát khi nói — đặc biệt hiệu quả cho người luyện IELTS Speaking và muốn giao tiếp tiếng Anh tự nhiên như người bản ngữ.

Phương pháp shadowing: đọc hướng dẫn từng bước đầy đủ →