01 / 08
Out from inside one machine
The twelve chapters so far have been all inside one machine.
files, permissions, processes, scripts, time, recordsFrom here the remaining lessons are about between machines.
The first thing is how to check your address.
~ $ ip addr1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 ... inet 127.0.0.1/8 scope host loThat 127.0.0.1 is your address.
Something to say honestly.
> This Linux is not connected to the internet outside
It runs inside your browser, so getting out needs a separate relay, and this course does not have one.
ping 127.0.0.1 comes back (yourself)ping 8.8.8.8 does not (a server outside)It is not broken; it is built that way.
Even so, there is plenty to learn.
how to read an address (what is the /8 in 127.0.0.1/8?)name against address (/etc/hosts)whether there is a road (ip route)sorting out where it stops when nothing connectsThe last one especially. On a real site, when somebody says "it will not connect", the person who can say how far is fine and where it goes wrong is strong. Let us learn that reading.
And at the end of this chapter you will stand up a web server in this one machine and connect to it yourself. Without going outside, you can still feel how networking works.