쉐도잉 연습: Install NetBox with Docker on Ubuntu 24.04/22.04 LTS | Ep. 2 - 영상으로 영어 말하기 배우기

레슨 만드는 중...
1
Still tracking your network inventory in spreadsheets?
2
In this video, we are fixing that.
3
I'd walk you through installing Netbox, which is a powerful modern source of truth for your network using Docker on Ubuntu.
4
This will serve as the single source of truth for our network automation project in this series.
5
By the end, you'd have a clean scalable alternative to messy spreadsheet and a good foundation ready for automation.
6
So this is our Netbox interface.
7
to organize our site, including which regions they are located.
8
We can have multiple tenants on netbox and we can add our racks, devices, connections, power connections, wireless,
9
IPAM, VPN, circuit and all of that.
10
So basically it provides us all that we need to document
11
our network in a single place there are two ways
12
that we can install netbox we can go the manual route
13
where we'll be responsible for installing the various components of netbox
14
so like the database caching redis and all of that
15
so the manual route will do it on our own now this is involving
16
because it gives us that control but because we are starting out we want to get the
17
then we can focus on our actual automation.
18
So in this video, we'd use the Docker version.
19
Pretty simple and straightforward.
20
The various components are pre -configured and packaged as container images.
21
All that we need to do is to pull the repo, define the port on which we want Netbox to listen on,
22
pull the container images, and start the containers.
23
First, you can see just a couple of steps and we are done.
24
And because we'd want to log into Netbox, We'd need to create a user.
25
In our demo today, we'll be installing Netbox using Docker on Ubuntu 24 .04.
26
I have tested this with Ubuntu 22 .04 so it works on both versions.
27
Because we are doing this from scratch, there are dependencies that we need on our Ubuntu server.
28
We need to install Docker and we need Docker Compose.
29
Just a quick note on Docker Compose.
30
version of Docker Compose, but the syntax for that would be docker -compose.
31
Now the newer version is docker space compose.
32
The newer version is available in the official Docker repository, not the Ubuntu repo.
33
What that means is that we have to add the official Docker repo, then we can pull this.
34
So let's get started.
35
In my case, I would use an EC2 instance that is running the Ubuntu 24 .04 OS.
36
So let's open the CLI for this.
37
As you can see the private IP address 172 .31 .4143,
38
that right here, and we'll assess this using the public IP address.
39
So the first thing I'll do right out of the way is to add our Docker repository, because that's where we would pull the Docker Compose.
40
So add the official GPG key for Docker.
41
Then we can add the docker repository.
42
I would make all of these commands available to you, in the video description.
43
Now that we have this out of the way, we would refresh the list of available packages and versions.
44
So we do sudo update.
45
So take just a couple of seconds to run.
46
Once we are done with this, we would proceed to install the latest version of any packages.
47
So we do CD app upgrade.
48
Now we have been asked whether we want to continue on, yes or no. We would say yes.
49
We could have simply passed this ES at the point of running the command.
50
So it will take a while for this to run
51
The reason we did both of these is to ensure that our system is up to date,
52
is secure before installing any new software like Docker.
53
So 98 % progress.
54
We are almost there.
55
In our case, there was a kernel update which will require us to reboot.
56
Because this is a lab or a demo, we could have proceeded without rebooting.
57
A word of caution however, if you are doing this in a production environment,
58
make sure that you are able to reboot the server in case there's running any other services.
59
it will just take a couple of seconds for this to reboot.
60
Let's see.
61
Let's restart our terminal and see if we should put it.
62
So we've rebooted our next step.
63
is to proceed with our installation of Docker and Docker Compose.
64
Okay.
65
So we installed Docker, now we passed the "yes" to it at the point of running the command.
66
Thank you.
67
Now if we had run Docker version before installing this, we would have seen that we wouldn't have Docker installed but now we have Docker. and start.
68
Now we proceed to install Docker Compose.
69
Thank you.
70
Thank you.
71
you All done. So...
72
Docker not okay?
73
Thank you.
74
Look So we are good.
75
Next, we want to ensure that when the server reboots, Docker starts automatically and the service also starts immediately.
76
So we'll say systemctl .com.
77
Enable Docker.
78
and start docker if we check the status We should have the Docker service running.
79
Okay.
80
What we want to do next is that we want to ensure
81
that our current user is able to run Docker commands without SIDO.
82
To do that, we would add a current user to the Docker group.
83
Now if we had done just this, we'd have to log out and log in or reboot before this takes effect,
84
but we want this to take effect immediately.
85
So at this point, we've looked at the dependencies needed.
86
to Yeah, we've looked at the dependencies needed to pull a repo and get going.
87
So our next step, we go and clone the NetBox Docker repository.
88
Thank you. and navigate.
89
So when we do a list, we see the folder here.
90
So we navigate into this folder.
91
And we do list.
92
There are two key files that we need to pay attention to.
93
So the first one is docker -compose .yaml.
94
In this file, we have the services.
95
You can think of these as the images that you'll be pulling from Docker.
96
NetBox, we have the database, caching, redis, and all of that.
97
Then we also need to create a file which defines the port under which NetBox will be available.
98
Basically the port that NetBox will listen to.
99
Now this file must be called specifically dash compose dot override dot YAML.
100
If you look at the list of our files, we don't have that file specifically, but we have an example that tells us how that file can look like.
101
So basically, as we see here, we just have the services netbox and we define the port 8000 and would stick to this.
102
What we'll do next is to actually.
103
write to that file So now if we do a list, we have docker -compose .override .yaml.
104
And if we look into this, It has just what we need.
105
Next step would pull our container images with docker -compose -pull.
106
So it will take about a minute.
107
We are pulling NetBox, we are pulling the database
108
and we are pulling Caching as we saw in the Docker Compose .yaml file.
109
Let's give this a minute.
110
and we should be done good.
111
Now that we have pulled the images, if you do, let's say docker, images we have our images but we don't have any
112
containers running our next step is to start our containers the command we'd use would be Docker Compose
113
We can do this.
114
Let me just give some space so this becomes obvious.
115
Thank you.
116
Thank you.
117
When you do this, we have all the logs show on our screen.
118
The other option is that we can run this in a detached mode.
119
With the detached mode, we can now access to the prompt.
120
I will run it in the detached mode then I'll post it to show you how you can actually check their locks, even their life locks as this runs.
121
This process of starting up the containers will take about
122
five minutes to complete but i would want to
123
you know let it go through
124
the process so that we can see how this works look at the logs and
125
if there are any errors we can take note of them
126
at this point you could have actually exited out of this and check the logs but
127
I would want to wait for about two minutes because there is an error message that
128
you would see or may see and I would want to clarify
129
that so that you are not alarmed when you see that so let's just give this a couple of seconds
130
within two minutes we should see this.
131
You can forward it, about a minute ahead if you can't wait.
132
Thank you.
133
Alright, if you see this arrow, this is still running at the backend.
134
The process of bringing up the container images is still running at the backend.
135
And there are some dependencies that are needed.
136
before netbox actually runs.
137
And we saw that here, right?
138
So we said netbox depends on the database and caching and all of that.
139
We can go ahead and check the logs and see what is happening.
140
So if you do Thank you.
141
Docker Compose Logs Thank you.
142
It will show us their logs, but if you want their live logs as and when it happens,
143
We can add the -f We are still in the process of setting up the various components.
144
I said this will take about five minutes to get done, but I would want us to just wait till we see all that is happening.
145
also in case we run into any errors.
146
Now, if you are taking node, of a netbox interface.
147
So you are seeing virtualization, DCIM, then tenancy, IPAM.
148
This sounds familiar, right?
149
When we went here, we saw all of those.
150
tenancy virtualization ipam so basically at the back end it is setting up all of these components BPMs, wireless, tagging.
151
What we expect to see or cue that everything is okay is that the netbox service is running.
152
So at this point we have not seen it so we are still waiting but they used to fully complete Thank you.
153
Alright, so there we have it.
154
We have our Netbox application started.
155
So we are good at this point.
156
So we can come out of this.
157
And now if you go back to our instance, this is the IP address of our instance.
158
and the port we said was 8000.
159
So there we go, we have our netbox installed, we have our interface, but it is asking us of a username and password.
160
We didn't create one.
161
So that would be our last step so we run this command Thank you to create a super user.
162
It would prompt us for the username, their email address and their password.
163
so a username do packets to purpose Email address then you'd enter your very secured password.
164
confirm the password So our super user has been created successfully.
165
So we go back and we enter our user and our password. So there we go.
166
We have a netbox.
167
Instance fully created from scratch.
168
We don't have anything at this point.
169
There are no regions.
170
There are no sites.
171
We don't have any tenants.
172
There are no devices.
173
Nothing at all.
174
In our next video, we'll look at adding some data into Netbox.
175
So our sites, devices, and all of that.
176
If you found this interesting, kindly subscribe to the channel, hit like and the bell icon so you don't miss any videos.
177
Thank you.

맥락 및 배경

이 비디오에서는 네트워크 인벤토리를 스프레드시트에서 관리하는 대신, 최신 네트워크 관리 도구인 NetBox를 Ubuntu 시스템에서 Docker를 사용하여 설치하는 방법을 소개합니다. 강사는 이 과정을 통해 네트워크 자동화 프로젝트의 기초를 다지며, 과거의 복잡한 스프레드시트 대신 사용하기 간편한 솔루션을 제공합니다. 이 설치 과정은 영어 회화 연습을 원하는 학습자들에게도 유용한 경험을 제공할 것입니다.

일상 대화에서 자주 쓰는 5가지 표현

  • 그것은 우리의 네트워크 자동화 프로젝트의 단일 진실 원천이 될 것입니다.
  • 우리는 여러 테넌트를 NetBox에 추가할 수 있습니다.
  • 환경을 설정하기 위한 여러 단계가 필요합니다.
  • Docker 이미지에서 다양한 구성 요소가 미리 구성되어 있습니다.
  • 이제 모든 패키지를 최신 상태로 유지하겠습니다.

단계별 쉐도잉 가이드

이 비디오는 초보자에게 적합한 영어 쉐도잉 연습을 위한 훌륭한 자료입니다. 다음은 이 비디오 내용을 효과적으로 따라잡기 위한 단계별 가이드입니다:

  1. 비디오 시청: 처음에는 비디오를 한번 전체 시청하면서 전체 맥락을 파악합니다. 이때 네트워크 관리와 관련된 용어에 귀 기울이세요.
  2. 짧은 구간 반복: 비디오의 짧은 구간을 재생하고, 강사의 발음을 따라 해 보세요. 예를 들어, '우리는 여러 테넌트를 추가할 수 있습니다'라는 문장을 반복하며 영어 발음 교정에 집중합니다.
  3. 발음 확인: 비디오에서 제공하는 표현을 따라 했을 때, 자신의 발음을 녹음하여 비교해보세요. 이러한 과정은 IELTS 스피킹 준비에도 큰 도움이 됩니다.
  4. 대화 연습: 친구나 스터디 그룹과 함께 비디오의 내용에 대해 토론해 보세요. 영어 회화 연습을 통해 더욱 자신감을 가지게 될 것입니다.
  5. 지속적인 개선: 영상의 내용을 이해하고 나면, 해당 개념을 다른 맥락에서도 적용해 보세요. 예를 들어, Docker 사용에 대해 다른 자료를 찾아보고 그 내용을 서로 비교하는 것이 좋습니다.

이와 같은 방법으로 영어 쉐도잉 연습을 통해 자신감을 키우고 영어 실력을 향상시킬 수 있습니다.

쉐도잉이란? 영어 실력을 빠르게 키우는 과학적 방법

쉐도잉(Shadowing)은 원래 전문 통역사 훈련을 위해 개발된 언어 학습 기법으로, 다언어 학자인 Dr. Alexander Arguelles에 의해 대중화된 방법입니다. 핵심 원리는 간단하지만 매우 강력합니다: 원어민의 영어를 들으면서 1~2초의 짧은 지연으로 즉시 소리 내어 따라 말하는 것——마치 '그림자(shadow)'처럼 화자를 따라가는 것입니다. 문법 공부나 수동적인 청취와 달리, 쉐도잉은 뇌와 입 근육이 동시에 실시간으로 영어를 처리하고 재현하도록 훈련합니다. 연구에 따르면 이 방법은 발음 정확도, 억양, 리듬, 연음, 청취력, 말하기 유창성을 크게 향상시킵니다. IELTS 스피킹 준비와 자연스러운 영어 소통을 원하는 분들에게 특히 효과적입니다.