Richard Nguyen giving a thumbs-up ← Back to my portfolio

Richard Nguyen · IT learning notes

Learn the basics.
Come back and practice.

Short explanations, real examples from my Raspberry Pi, and questions to help the ideas stick. Built for students learning alongside me.

Your study routine

Read one lesson. Explain it in your own words. Answer the question before revealing the answer. Check it off when you have reviewed it—you can uncheck it whenever you want to practice again.

0 of 8 lessons reviewed

Review checkmarks are saved only in this browser on this device. They do not sync across devices. Clearing browser data clears them.

Lesson 01 · Hardware foundations

Computers: the main parts

Hardware means the physical parts of a computer. Software means the programs and instructions it runs.

On my Pi, RAM holds active program data. The microSD card holds the operating system, and the external hard drive stores media.

Remember: More RAM can help when memory is the bottleneck. It does not automatically fix a slow network or an overloaded CPU.

Check your understanding

Where should a movie stay after the Pi is turned off: RAM or storage?

Reveal the answer

Storage. RAM is temporary working space; the movie file belongs on persistent storage.

Back to lesson menu ↑

Lesson 02 · Operating-system foundations

Linux, terminals, and commands

An operating system manages hardware, files, and programs. Linux is technically the kernel—the core that manages resources. A Linux distribution combines it with tools and other software to make a usable operating system.

A terminal gives you a text interface. A shell, such as Bash, interprets the commands you type. Nano is a text editor you can open from that shell.

Commands to practice on your Pi
CommandWhat it does
pwdPrints the folder you are currently in.
lsLists visible files and folders.
cd ~/portfolioMoves into your portfolio folder. The ~ means your home directory.
cat index.htmlDisplays the file's text in the terminal.
nano index.htmlOpens the file for editing.

Try pwd, then cd ~/portfolio, then pwd again. Compare the paths. These commands do not edit your files.

Watch the location: Commands act on the computer whose shell you are using. After SSH connects to the Pi, commands run on the Pi.

Check your understanding

You want to list files without opening an editor. Which command should you use?

Reveal the answer

Use ls. Nano edits files; cd changes your current folder; pwd shows its path.

Back to lesson menu ↑

Lesson 03 · Networking foundations

Clients, servers, IP addresses, and ports

A client requests a service. A server provides it. These describe roles: the same computer can be a client for one task and a server for another.

My sister's phone is a Jellyfin client. My Pi provides the server. My Jellyfin setup uses port 8096; my local website service uses port 8080.

127.0.0.1 means this device itself. On your phone it refers to your phone—not your Pi. A private address also is not automatically reachable from the public internet.

Check your understanding

Why can several network services run on the same Pi?

Reveal the answer

They can listen on different ports or addresses. Clients connect to the appropriate endpoint for each service.

Back to lesson menu ↑

Lesson 04 · How this website works

HTML, CSS, and Nginx

HTML describes page structure and content: headings, paragraphs, images, and links. CSS controls presentation: colors, spacing, and layout. JavaScript adds behavior, such as saving the review checkboxes on this page.

Nginx, pronounced “engine-x,” is web-server software. It can send static files to browsers and can also act as a reverse proxy, forwarding requests to another service.

  1. A browser requests a page.
  2. The request reaches the web server, possibly through a proxy.
  3. Nginx serves the requested HTML file.
  4. The browser reads it, requests any linked assets, and draws the page.

For my portfolio, Nginx serves files such as index.html and portrait.png. The browser applies the CSS to display the navy background and blue headings.

Important distinction: Nginx serves files; nano edits them. Docker running Jellyfin does not prove that Nginx also runs in a container.

Read the official Nginx beginner's guide

Check your understanding

You want to change the background color. Do you edit the HTML content, CSS, or DNS?

Reveal the answer

CSS controls the background color. DNS helps resolve domain names and does not control page design.

Back to lesson menu ↑

Lesson 05 · Homelab practice

Docker, images, and containers

Docker provides tools to build, distribute, and run applications in containers.

An image is a packaged template containing application files and dependencies. A container is an instance created from an image, with its own configuration and writable layer. Containers can be running or stopped.

On a Linux host, containers use isolation features while sharing the host's kernel. A virtual machine runs a separate guest operating system and its own kernel. Isolation is useful, but a container is not an absolute security boundary.

I downloaded a Jellyfin image and created a container from it. Docker manages the container; Jellyfin is the application serving my media.

Analogy: The image is like a recipe; a container is like a dish made from it. One image can be used to create multiple containers.

Run docker ps to list running containers, or docker ps -a to include stopped ones.

Containers · Images · Docker overview

Check your understanding

Does downloading the Jellyfin image mean a Jellyfin container is already running?

Reveal the answer

No. Downloading an image provides the template. A container still needs to be created and started.

Back to lesson menu ↑

Lesson 06 · Keeping your files

Mounts, persistence, and backups

A mount makes a filesystem available at a directory. On my Pi, the external drive is mounted at /mnt/seagate.

A Docker bind mount makes a host file or directory accessible inside a container. A Docker volume is persistent storage managed by Docker. Neither is automatically a backup.

My Jellyfin container accesses media from the Pi's external drive through a bind mount. The files stay on the host drive even if that container is replaced.

Files stored only in a container's writable layer are lost when that container is removed. Stopping a container does not itself remove that layer. Important data needs persistent storage and separate backups.

Backup: an additional copy you can restore. A copy on another device also protects against failure of the original device.

Check your understanding

Is a media folder mounted into a container automatically backed up?

Reveal the answer

No. A mount provides access to files. A backup requires another copy that you can restore.

Back to lesson menu ↑

Lesson 07 · Working away from home

SSH, SFTP, and Tailscale

SSH provides encrypted remote access, commonly to a command-line shell. SFTP transfers files over SSH. Dolphin can use SFTP to show remote folders.

Tailscale creates an encrypted private network between authorized devices. It can provide a route to your Pi away from home, but the destination service still needs to be running and its access rules must allow the connection.

At Starbucks, I helped my sister set up Tailscale and Jellyfin. We successfully played Friends on her phone from the server at home.

Ordinary Tailscale access is private. Publishing a website for anyone to visit is a separate step; tools such as Tailscale Funnel can expose a selected service publicly.

Keep the roles clear: Tailscale supplies network connectivity, SSH supplies a remote shell, and Jellyfin supplies media playback.

Check your understanding

Does connecting to Tailscale automatically sign you into Jellyfin?

Reveal the answer

No. Network connectivity and application sign-in are separate. Jellyfin still uses its own accounts and permissions.

Back to lesson menu ↑

Lesson 08 · A repeatable habit

Troubleshoot one step at a time

Start with what you can observe. Make one change at a time so you can tell what helped.

  1. Describe the problem: What fails? On which device? What changed?
  2. Check the basics: Power, network connection, address, and port.
  3. Narrow the scope: Does it work on the Pi itself? At home? Away from home?
  4. Read the evidence: Record exact errors and check relevant service status or logs.
  5. Test one explanation: Prefer a small, reversible change.
  6. Verify and document: Repeat the original task and write down the result.

If a portrait is missing but the page loads, check the image filename and path first. Linux filenames are case-sensitive: portrait.png and Portrait.png can be different files.

Practice note: These are my beginner study notes and homelab examples, not an official CompTIA course or a complete exam-objective checklist.

Check your understanding

A webpage loads but one image is missing. Should you reinstall the operating system?

Reveal the answer

No. First check the image path, filename, capitalization, and whether the file exists. Start with evidence and the smallest relevant checks.

Back to lesson menu ↑

Connect the ideas to a real project

Read how I built my Jellyfin media server and identify the hardware, software, storage, and networking pieces in the story.

These notes support foundational IT learning and hands-on projects. For exam preparation, compare your study plan with the official objectives for your exam version.

Keep learning from the source